Package io.grpc.alts.internal
Interface AltsContextOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AltsContext,AltsContext.Builder
public interface AltsContextOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsPeerAttributes(java.lang.String key)Additional attributes of the peer.java.lang.StringgetApplicationProtocol()The application protocol negotiated for this connection.com.google.protobuf.ByteStringgetApplicationProtocolBytes()The application protocol negotiated for this connection.java.lang.StringgetLocalServiceAccount()The local service account.com.google.protobuf.ByteStringgetLocalServiceAccountBytes()The local service account.java.util.Map<java.lang.String,java.lang.String>getPeerAttributes()Deprecated.intgetPeerAttributesCount()Additional attributes of the peer.java.util.Map<java.lang.String,java.lang.String>getPeerAttributesMap()Additional attributes of the peer.java.lang.StringgetPeerAttributesOrDefault(java.lang.String key, java.lang.String defaultValue)Additional attributes of the peer.java.lang.StringgetPeerAttributesOrThrow(java.lang.String key)Additional attributes of the peer.RpcProtocolVersionsgetPeerRpcVersions()The RPC protocol versions supported by the peer.RpcProtocolVersionsOrBuildergetPeerRpcVersionsOrBuilder()The RPC protocol versions supported by the peer.java.lang.StringgetPeerServiceAccount()The peer service account.com.google.protobuf.ByteStringgetPeerServiceAccountBytes()The peer service account.java.lang.StringgetRecordProtocol()The record protocol negotiated for this connection.com.google.protobuf.ByteStringgetRecordProtocolBytes()The record protocol negotiated for this connection.SecurityLevelgetSecurityLevel()The security level of the created secure channel.intgetSecurityLevelValue()The security level of the created secure channel.booleanhasPeerRpcVersions()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.
-
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
java.lang.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
java.lang.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
boolean containsPeerAttributes(java.lang.String key)
Additional attributes of the peer.
map<string, string> peer_attributes = 7;
-
getPeerAttributes
@Deprecated java.util.Map<java.lang.String,java.lang.String> getPeerAttributes()
Deprecated.UsegetPeerAttributesMap()instead.
-
getPeerAttributesMap
java.util.Map<java.lang.String,java.lang.String> getPeerAttributesMap()
Additional attributes of the peer.
map<string, string> peer_attributes = 7;
-
getPeerAttributesOrDefault
java.lang.String getPeerAttributesOrDefault(java.lang.String key, java.lang.String defaultValue)Additional attributes of the peer.
map<string, string> peer_attributes = 7;
-
getPeerAttributesOrThrow
java.lang.String getPeerAttributesOrThrow(java.lang.String key)
Additional attributes of the peer.
map<string, string> peer_attributes = 7;
-
-