Package io.grpc.alts.internal
Interface HandshakerResultOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HandshakerResult
,HandshakerResult.Builder
public interface HandshakerResultOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getApplicationProtocol()
The application protocol negotiated for this connection.com.google.protobuf.ByteString
getApplicationProtocolBytes()
The application protocol negotiated for this connection.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.com.google.protobuf.ByteString
getKeyData()
Cryptographic key data.Identity
getLocalIdentity()
The local identity used in the handshake.IdentityOrBuilder
getLocalIdentityOrBuilder()
The local identity used in the handshake.int
getMaxFrameSize()
The maximum frame size of the peer.Identity
getPeerIdentity()
The authenticated identity of the peer.IdentityOrBuilder
getPeerIdentityOrBuilder()
The authenticated identity of the peer.RpcProtocolVersions
getPeerRpcVersions()
The RPC protocol versions supported by the peer.RpcProtocolVersionsOrBuilder
getPeerRpcVersionsOrBuilder()
The RPC protocol versions supported by the peer.java.lang.String
getRecordProtocol()
The record protocol negotiated for this connection.com.google.protobuf.ByteString
getRecordProtocolBytes()
The record protocol negotiated for this connection.boolean
hasLocalIdentity()
The local identity used in the handshake.boolean
hasPeerIdentity()
The authenticated identity of the peer.boolean
hasPeerRpcVersions()
The RPC protocol versions supported by the peer.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getApplicationProtocol
java.lang.String getApplicationProtocol()
The application protocol negotiated for this connection.
string application_protocol = 1;
- Returns:
- The applicationProtocol.
-
getApplicationProtocolBytes
com.google.protobuf.ByteString getApplicationProtocolBytes()
The application protocol negotiated for this connection.
string application_protocol = 1;
- Returns:
- The bytes for applicationProtocol.
-
getRecordProtocol
java.lang.String getRecordProtocol()
The record protocol negotiated for this connection.
string record_protocol = 2;
- Returns:
- The recordProtocol.
-
getRecordProtocolBytes
com.google.protobuf.ByteString getRecordProtocolBytes()
The record protocol negotiated for this connection.
string record_protocol = 2;
- Returns:
- The bytes for recordProtocol.
-
getKeyData
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;
- Returns:
- The keyData.
-
hasPeerIdentity
boolean hasPeerIdentity()
The authenticated identity of the peer.
.grpc.gcp.Identity peer_identity = 4;
- Returns:
- Whether the peerIdentity field is set.
-
getPeerIdentity
Identity getPeerIdentity()
The authenticated identity of the peer.
.grpc.gcp.Identity peer_identity = 4;
- Returns:
- The peerIdentity.
-
getPeerIdentityOrBuilder
IdentityOrBuilder getPeerIdentityOrBuilder()
The authenticated identity of the peer.
.grpc.gcp.Identity peer_identity = 4;
-
hasLocalIdentity
boolean hasLocalIdentity()
The local identity used in the handshake.
.grpc.gcp.Identity local_identity = 5;
- Returns:
- Whether the localIdentity field is set.
-
getLocalIdentity
Identity getLocalIdentity()
The local identity used in the handshake.
.grpc.gcp.Identity local_identity = 5;
- Returns:
- The localIdentity.
-
getLocalIdentityOrBuilder
IdentityOrBuilder getLocalIdentityOrBuilder()
The local identity used in the handshake.
.grpc.gcp.Identity local_identity = 5;
-
getKeepChannelOpen
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;
- Returns:
- The keepChannelOpen.
-
hasPeerRpcVersions
boolean hasPeerRpcVersions()
The RPC protocol versions supported by the peer.
.grpc.gcp.RpcProtocolVersions peer_rpc_versions = 7;
- Returns:
- Whether the peerRpcVersions field is set.
-
getPeerRpcVersions
RpcProtocolVersions getPeerRpcVersions()
The RPC protocol versions supported by the peer.
.grpc.gcp.RpcProtocolVersions peer_rpc_versions = 7;
- Returns:
- The peerRpcVersions.
-
getPeerRpcVersionsOrBuilder
RpcProtocolVersionsOrBuilder getPeerRpcVersionsOrBuilder()
The RPC protocol versions supported by the peer.
.grpc.gcp.RpcProtocolVersions peer_rpc_versions = 7;
-
getMaxFrameSize
int getMaxFrameSize()
The maximum frame size of the peer.
uint32 max_frame_size = 8;
- Returns:
- The maxFrameSize.
-
-