Package io.grpc.alts.internal
Interface IdentityOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Identity
,Identity.Builder
public interface IdentityOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsAttributes
(String key) Additional attributes of the identity.Deprecated.int
Additional attributes of the identity.Additional attributes of the identity.getAttributesOrDefault
(String key, String defaultValue) Additional attributes of the identity.Additional attributes of the identity.Hostname of a connection endpoint.com.google.protobuf.ByteString
Hostname of a connection endpoint.Service account of a connection endpoint.com.google.protobuf.ByteString
Service account of a connection endpoint.boolean
Hostname of a connection endpoint.boolean
Service account of a connection endpoint.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasServiceAccount
boolean hasServiceAccount()Service account of a connection endpoint.
string service_account = 1;
- Returns:
- Whether the serviceAccount field is set.
-
getServiceAccount
String getServiceAccount()Service account of a connection endpoint.
string service_account = 1;
- Returns:
- The serviceAccount.
-
getServiceAccountBytes
com.google.protobuf.ByteString getServiceAccountBytes()Service account of a connection endpoint.
string service_account = 1;
- Returns:
- The bytes for serviceAccount.
-
hasHostname
boolean hasHostname()Hostname of a connection endpoint.
string hostname = 2;
- Returns:
- Whether the hostname field is set.
-
getHostname
String getHostname()Hostname of a connection endpoint.
string hostname = 2;
- Returns:
- The hostname.
-
getHostnameBytes
com.google.protobuf.ByteString getHostnameBytes()Hostname of a connection endpoint.
string hostname = 2;
- Returns:
- The bytes for hostname.
-
getAttributesCount
int getAttributesCount()Additional attributes of the identity.
map<string, string> attributes = 3;
-
containsAttributes
Additional attributes of the identity.
map<string, string> attributes = 3;
-
getAttributes
Deprecated.UsegetAttributesMap()
instead. -
getAttributesMap
Additional attributes of the identity.
map<string, string> attributes = 3;
-
getAttributesOrDefault
Additional attributes of the identity.
map<string, string> attributes = 3;
-
getAttributesOrThrow
Additional attributes of the identity.
map<string, string> attributes = 3;
-
getIdentityOneofCase
Identity.IdentityOneofCase getIdentityOneofCase()
-