Package io.grpc.alts.internal
Class AltsContext
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.grpc.alts.internal.AltsContext
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,AltsContextOrBuilder,Serializable
@Generated
public final class AltsContext
extends com.google.protobuf.GeneratedMessage
implements AltsContextOrBuilder
Protobuf type
grpc.gcp.AltsContext- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typegrpc.gcp.AltsContextprivate static final classNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intprivate Objectprivate intprivate static final AltsContextstatic final intprivate Objectprivate byteprivate static final com.google.protobuf.Parser<AltsContext> static final intstatic final intstatic final intprivate RpcProtocolVersionsprivate Objectstatic final intprivate Objectstatic final intprivate intprivate static final longFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateprivateAltsContext(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdditional attributes of the peer.booleanThe application protocol negotiated for this connection.com.google.protobuf.ByteStringThe application protocol negotiated for this connection.static AltsContextstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe local service account.com.google.protobuf.ByteStringThe local service account.com.google.protobuf.Parser<AltsContext> Deprecated.intAdditional attributes of the peer.Additional attributes of the peer.getPeerAttributesOrDefault(String key, String defaultValue) Additional attributes of the peer.Additional attributes of the peer.The RPC protocol versions supported by the peer.The RPC protocol versions supported by the peer.The peer service account.com.google.protobuf.ByteStringThe peer service account.The record protocol negotiated for this connection.com.google.protobuf.ByteStringThe record protocol negotiated for this connection.The security level of the created secure channel.intThe security level of the created secure channel.intinthashCode()booleanThe RPC protocol versions supported by the peer.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic AltsContext.Builderstatic AltsContext.BuildernewBuilder(AltsContext prototype) protected AltsContext.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static AltsContextparseDelimitedFrom(InputStream input) static AltsContextparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AltsContextparseFrom(byte[] data) static AltsContextparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AltsContextparseFrom(com.google.protobuf.ByteString data) static AltsContextparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AltsContextparseFrom(com.google.protobuf.CodedInputStream input) static AltsContextparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AltsContextparseFrom(InputStream input) static AltsContextparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AltsContextparseFrom(ByteBuffer data) static AltsContextparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AltsContext> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
bitField0_
private int bitField0_ -
APPLICATION_PROTOCOL_FIELD_NUMBER
public static final int APPLICATION_PROTOCOL_FIELD_NUMBER- See Also:
-
applicationProtocol_
-
RECORD_PROTOCOL_FIELD_NUMBER
public static final int RECORD_PROTOCOL_FIELD_NUMBER- See Also:
-
recordProtocol_
-
SECURITY_LEVEL_FIELD_NUMBER
public static final int SECURITY_LEVEL_FIELD_NUMBER- See Also:
-
securityLevel_
private int securityLevel_ -
PEER_SERVICE_ACCOUNT_FIELD_NUMBER
public static final int PEER_SERVICE_ACCOUNT_FIELD_NUMBER- See Also:
-
peerServiceAccount_
-
LOCAL_SERVICE_ACCOUNT_FIELD_NUMBER
public static final int LOCAL_SERVICE_ACCOUNT_FIELD_NUMBER- See Also:
-
localServiceAccount_
-
PEER_RPC_VERSIONS_FIELD_NUMBER
public static final int PEER_RPC_VERSIONS_FIELD_NUMBER- See Also:
-
peerRpcVersions_
-
PEER_ATTRIBUTES_FIELD_NUMBER
public static final int PEER_ATTRIBUTES_FIELD_NUMBER- See Also:
-
peerAttributes_
-
memoizedIsInitialized
private byte memoizedIsInitialized -
DEFAULT_INSTANCE
-
PARSER
-
-
Constructor Details
-
AltsContext
private AltsContext(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
AltsContext
private AltsContext()
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getApplicationProtocol
The application protocol negotiated for this connection.
string application_protocol = 1;- Specified by:
getApplicationProtocolin interfaceAltsContextOrBuilder- Returns:
- The applicationProtocol.
-
getApplicationProtocolBytes
public com.google.protobuf.ByteString getApplicationProtocolBytes()The application protocol negotiated for this connection.
string application_protocol = 1;- Specified by:
getApplicationProtocolBytesin interfaceAltsContextOrBuilder- Returns:
- The bytes for applicationProtocol.
-
getRecordProtocol
The record protocol negotiated for this connection.
string record_protocol = 2;- Specified by:
getRecordProtocolin interfaceAltsContextOrBuilder- Returns:
- The recordProtocol.
-
getRecordProtocolBytes
public com.google.protobuf.ByteString getRecordProtocolBytes()The record protocol negotiated for this connection.
string record_protocol = 2;- Specified by:
getRecordProtocolBytesin interfaceAltsContextOrBuilder- Returns:
- The bytes for recordProtocol.
-
getSecurityLevelValue
public int getSecurityLevelValue()The security level of the created secure channel.
.grpc.gcp.SecurityLevel security_level = 3;- Specified by:
getSecurityLevelValuein interfaceAltsContextOrBuilder- Returns:
- The enum numeric value on the wire for securityLevel.
-
getSecurityLevel
The security level of the created secure channel.
.grpc.gcp.SecurityLevel security_level = 3;- Specified by:
getSecurityLevelin interfaceAltsContextOrBuilder- Returns:
- The securityLevel.
-
getPeerServiceAccount
The peer service account.
string peer_service_account = 4;- Specified by:
getPeerServiceAccountin interfaceAltsContextOrBuilder- Returns:
- The peerServiceAccount.
-
getPeerServiceAccountBytes
public com.google.protobuf.ByteString getPeerServiceAccountBytes()The peer service account.
string peer_service_account = 4;- Specified by:
getPeerServiceAccountBytesin interfaceAltsContextOrBuilder- Returns:
- The bytes for peerServiceAccount.
-
getLocalServiceAccount
The local service account.
string local_service_account = 5;- Specified by:
getLocalServiceAccountin interfaceAltsContextOrBuilder- Returns:
- The localServiceAccount.
-
getLocalServiceAccountBytes
public com.google.protobuf.ByteString getLocalServiceAccountBytes()The local service account.
string local_service_account = 5;- Specified by:
getLocalServiceAccountBytesin interfaceAltsContextOrBuilder- Returns:
- The bytes for localServiceAccount.
-
hasPeerRpcVersions
public boolean hasPeerRpcVersions()The RPC protocol versions supported by the peer.
.grpc.gcp.RpcProtocolVersions peer_rpc_versions = 6;- Specified by:
hasPeerRpcVersionsin interfaceAltsContextOrBuilder- Returns:
- Whether the peerRpcVersions field is set.
-
getPeerRpcVersions
The RPC protocol versions supported by the peer.
.grpc.gcp.RpcProtocolVersions peer_rpc_versions = 6;- Specified by:
getPeerRpcVersionsin interfaceAltsContextOrBuilder- Returns:
- The peerRpcVersions.
-
getPeerRpcVersionsOrBuilder
The RPC protocol versions supported by the peer.
.grpc.gcp.RpcProtocolVersions peer_rpc_versions = 6;- Specified by:
getPeerRpcVersionsOrBuilderin interfaceAltsContextOrBuilder
-
internalGetPeerAttributes
-
getPeerAttributesCount
public int getPeerAttributesCount()Description copied from interface:AltsContextOrBuilderAdditional attributes of the peer.
map<string, string> peer_attributes = 7;- Specified by:
getPeerAttributesCountin interfaceAltsContextOrBuilder
-
containsPeerAttributes
Additional attributes of the peer.
map<string, string> peer_attributes = 7;- Specified by:
containsPeerAttributesin interfaceAltsContextOrBuilder
-
getPeerAttributes
Deprecated.UsegetPeerAttributesMap()instead.- Specified by:
getPeerAttributesin interfaceAltsContextOrBuilder
-
getPeerAttributesMap
Additional attributes of the peer.
map<string, string> peer_attributes = 7;- Specified by:
getPeerAttributesMapin interfaceAltsContextOrBuilder
-
getPeerAttributesOrDefault
Additional attributes of the peer.
map<string, string> peer_attributes = 7;- Specified by:
getPeerAttributesOrDefaultin interfaceAltsContextOrBuilder
-
getPeerAttributesOrThrow
Additional attributes of the peer.
map<string, string> peer_attributes = 7;- Specified by:
getPeerAttributesOrThrowin interfaceAltsContextOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AltsContext parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AltsContext parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AltsContext parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AltsContext parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AltsContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AltsContext parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AltsContext parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AltsContext parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AltsContext parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AltsContext.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-