Interface AltsContextOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AltsContext, AltsContext.Builder
@Generated
public interface AltsContextOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanAdditional attributes of the peer.The application protocol negotiated for this connection.com.google.protobuf.ByteStringThe application protocol negotiated for this connection.The local service account.com.google.protobuf.ByteStringThe local service account.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.booleanThe RPC protocol versions supported by the peer.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getApplicationProtocol
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
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.
-
getSecurityLevelValue
int getSecurityLevelValue()The security level of the created secure channel.
.grpc.gcp.SecurityLevel security_level = 3;- Returns:
- The enum numeric value on the wire for securityLevel.
-
getSecurityLevel
SecurityLevel getSecurityLevel()The security level of the created secure channel.
.grpc.gcp.SecurityLevel security_level = 3;- Returns:
- The securityLevel.
-
getPeerServiceAccount
String getPeerServiceAccount()The peer service account.
string peer_service_account = 4;- Returns:
- The peerServiceAccount.
-
getPeerServiceAccountBytes
com.google.protobuf.ByteString getPeerServiceAccountBytes()The peer service account.
string peer_service_account = 4;- Returns:
- The bytes for peerServiceAccount.
-
getLocalServiceAccount
String getLocalServiceAccount()The local service account.
string local_service_account = 5;- Returns:
- The localServiceAccount.
-
getLocalServiceAccountBytes
com.google.protobuf.ByteString getLocalServiceAccountBytes()The local service account.
string local_service_account = 5;- Returns:
- The bytes for localServiceAccount.
-
hasPeerRpcVersions
boolean hasPeerRpcVersions()The RPC protocol versions supported by the peer.
.grpc.gcp.RpcProtocolVersions peer_rpc_versions = 6;- Returns:
- Whether the peerRpcVersions field is set.
-
getPeerRpcVersions
RpcProtocolVersions getPeerRpcVersions()The RPC protocol versions supported by the peer.
.grpc.gcp.RpcProtocolVersions peer_rpc_versions = 6;- Returns:
- The peerRpcVersions.
-
getPeerRpcVersionsOrBuilder
RpcProtocolVersionsOrBuilder getPeerRpcVersionsOrBuilder()The RPC protocol versions supported by the peer.
.grpc.gcp.RpcProtocolVersions peer_rpc_versions = 6; -
getPeerAttributesCount
int getPeerAttributesCount()Additional attributes of the peer.
map<string, string> peer_attributes = 7; -
containsPeerAttributes
Additional attributes of the peer.
map<string, string> peer_attributes = 7; -
getPeerAttributes
-
getPeerAttributesMap
-
getPeerAttributesOrDefault
-
getPeerAttributesOrThrow
-