Class HandshakerResult
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.grpc.alts.internal.HandshakerResult
- All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, HandshakerResultOrBuilder, Serializable
@Generated
public final class HandshakerResult
extends com.google.protobuf.GeneratedMessage
implements HandshakerResultOrBuilder
Protobuf type
grpc.gcp.HandshakerResult- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typegrpc.gcp.HandshakerResultNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, 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 HandshakerResultstatic final intprivate booleanstatic final intprivate com.google.protobuf.ByteStringstatic final intprivate Identitystatic final intprivate intprivate byteprivate static final com.google.protobuf.Parser<HandshakerResult> static final intstatic final intprivate Identityprivate RpcProtocolVersionsstatic final intprivate Objectprivate 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
ConstructorsModifierConstructorDescriptionprivateprivateHandshakerResult(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe application protocol negotiated for this connection.com.google.protobuf.ByteStringThe application protocol negotiated for this connection.static HandshakerResultstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanIndicate whether the handshaker service client should keep the channel between the handshaker service open, e.g., in order to handle post-handshake messages in the future.com.google.protobuf.ByteStringCryptographic key data.The local identity used in the handshake.The local identity used in the handshake.intThe maximum frame size of the peer.com.google.protobuf.Parser<HandshakerResult> The authenticated identity of the peer.The authenticated identity of the peer.The RPC protocol versions supported by the peer.The RPC protocol versions supported by the peer.The record protocol negotiated for this connection.com.google.protobuf.ByteStringThe record protocol negotiated for this connection.intinthashCode()booleanThe local identity used in the handshake.booleanThe authenticated identity of the peer.booleanThe RPC protocol versions supported by the peer.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic HandshakerResult.Builderstatic HandshakerResult.BuildernewBuilder(HandshakerResult prototype) protected HandshakerResult.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static HandshakerResultparseDelimitedFrom(InputStream input) static HandshakerResultparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HandshakerResultparseFrom(byte[] data) static HandshakerResultparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HandshakerResultparseFrom(com.google.protobuf.ByteString data) static HandshakerResultparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HandshakerResultparseFrom(com.google.protobuf.CodedInputStream input) static HandshakerResultparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HandshakerResultparseFrom(InputStream input) static HandshakerResultparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HandshakerResultparseFrom(ByteBuffer data) static HandshakerResultparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<HandshakerResult> 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, internalGetMapFieldReflection, 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 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_
-
KEY_DATA_FIELD_NUMBER
public static final int KEY_DATA_FIELD_NUMBER- See Also:
-
keyData_
private com.google.protobuf.ByteString keyData_ -
PEER_IDENTITY_FIELD_NUMBER
public static final int PEER_IDENTITY_FIELD_NUMBER- See Also:
-
peerIdentity_
-
LOCAL_IDENTITY_FIELD_NUMBER
public static final int LOCAL_IDENTITY_FIELD_NUMBER- See Also:
-
localIdentity_
-
KEEP_CHANNEL_OPEN_FIELD_NUMBER
public static final int KEEP_CHANNEL_OPEN_FIELD_NUMBER- See Also:
-
keepChannelOpen_
private boolean keepChannelOpen_ -
PEER_RPC_VERSIONS_FIELD_NUMBER
public static final int PEER_RPC_VERSIONS_FIELD_NUMBER- See Also:
-
peerRpcVersions_
-
MAX_FRAME_SIZE_FIELD_NUMBER
public static final int MAX_FRAME_SIZE_FIELD_NUMBER- See Also:
-
maxFrameSize_
private int maxFrameSize_ -
memoizedIsInitialized
private byte memoizedIsInitialized -
DEFAULT_INSTANCE
-
PARSER
-
-
Constructor Details
-
HandshakerResult
private HandshakerResult(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
HandshakerResult
private HandshakerResult()
-
-
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
-
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 interfaceHandshakerResultOrBuilder- Returns:
- The applicationProtocol.
-
getApplicationProtocolBytes
public com.google.protobuf.ByteString getApplicationProtocolBytes()The application protocol negotiated for this connection.
string application_protocol = 1;- Specified by:
getApplicationProtocolBytesin interfaceHandshakerResultOrBuilder- Returns:
- The bytes for applicationProtocol.
-
getRecordProtocol
The record protocol negotiated for this connection.
string record_protocol = 2;- Specified by:
getRecordProtocolin interfaceHandshakerResultOrBuilder- Returns:
- The recordProtocol.
-
getRecordProtocolBytes
public com.google.protobuf.ByteString getRecordProtocolBytes()The record protocol negotiated for this connection.
string record_protocol = 2;- Specified by:
getRecordProtocolBytesin interfaceHandshakerResultOrBuilder- Returns:
- The bytes for recordProtocol.
-
getKeyData
public com.google.protobuf.ByteString getKeyData()Cryptographic key data. The key data may be more than the key length required for the record protocol, thus the client of the handshaker service needs to truncate the key data into the right key length.
bytes key_data = 3;- Specified by:
getKeyDatain interfaceHandshakerResultOrBuilder- Returns:
- The keyData.
-
hasPeerIdentity
public boolean hasPeerIdentity()The authenticated identity of the peer.
.grpc.gcp.Identity peer_identity = 4;- Specified by:
hasPeerIdentityin interfaceHandshakerResultOrBuilder- Returns:
- Whether the peerIdentity field is set.
-
getPeerIdentity
The authenticated identity of the peer.
.grpc.gcp.Identity peer_identity = 4;- Specified by:
getPeerIdentityin interfaceHandshakerResultOrBuilder- Returns:
- The peerIdentity.
-
getPeerIdentityOrBuilder
The authenticated identity of the peer.
.grpc.gcp.Identity peer_identity = 4;- Specified by:
getPeerIdentityOrBuilderin interfaceHandshakerResultOrBuilder
-
hasLocalIdentity
public boolean hasLocalIdentity()The local identity used in the handshake.
.grpc.gcp.Identity local_identity = 5;- Specified by:
hasLocalIdentityin interfaceHandshakerResultOrBuilder- Returns:
- Whether the localIdentity field is set.
-
getLocalIdentity
The local identity used in the handshake.
.grpc.gcp.Identity local_identity = 5;- Specified by:
getLocalIdentityin interfaceHandshakerResultOrBuilder- Returns:
- The localIdentity.
-
getLocalIdentityOrBuilder
The local identity used in the handshake.
.grpc.gcp.Identity local_identity = 5;- Specified by:
getLocalIdentityOrBuilderin interfaceHandshakerResultOrBuilder
-
getKeepChannelOpen
public boolean getKeepChannelOpen()Indicate whether the handshaker service client should keep the channel between the handshaker service open, e.g., in order to handle post-handshake messages in the future.
bool keep_channel_open = 6;- Specified by:
getKeepChannelOpenin interfaceHandshakerResultOrBuilder- Returns:
- The keepChannelOpen.
-
hasPeerRpcVersions
public boolean hasPeerRpcVersions()The RPC protocol versions supported by the peer.
.grpc.gcp.RpcProtocolVersions peer_rpc_versions = 7;- Specified by:
hasPeerRpcVersionsin interfaceHandshakerResultOrBuilder- Returns:
- Whether the peerRpcVersions field is set.
-
getPeerRpcVersions
The RPC protocol versions supported by the peer.
.grpc.gcp.RpcProtocolVersions peer_rpc_versions = 7;- Specified by:
getPeerRpcVersionsin interfaceHandshakerResultOrBuilder- Returns:
- The peerRpcVersions.
-
getPeerRpcVersionsOrBuilder
The RPC protocol versions supported by the peer.
.grpc.gcp.RpcProtocolVersions peer_rpc_versions = 7;- Specified by:
getPeerRpcVersionsOrBuilderin interfaceHandshakerResultOrBuilder
-
getMaxFrameSize
public int getMaxFrameSize()The maximum frame size of the peer.
uint32 max_frame_size = 8;- Specified by:
getMaxFrameSizein interfaceHandshakerResultOrBuilder- Returns:
- The maxFrameSize.
-
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 HandshakerResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HandshakerResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HandshakerResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HandshakerResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HandshakerResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HandshakerResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static HandshakerResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static HandshakerResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static HandshakerResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static HandshakerResult 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 HandshakerResult.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
-