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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsAttributes(java.lang.String key)
Additional attributes of the identity.java.util.Map<java.lang.String,java.lang.String>
getAttributes()
Deprecated.int
getAttributesCount()
Additional attributes of the identity.java.util.Map<java.lang.String,java.lang.String>
getAttributesMap()
Additional attributes of the identity.java.lang.String
getAttributesOrDefault(java.lang.String key, java.lang.String defaultValue)
Additional attributes of the identity.java.lang.String
getAttributesOrThrow(java.lang.String key)
Additional attributes of the identity.java.lang.String
getHostname()
Hostname of a connection endpoint.com.google.protobuf.ByteString
getHostnameBytes()
Hostname of a connection endpoint.Identity.IdentityOneofCase
getIdentityOneofCase()
java.lang.String
getServiceAccount()
Service account of a connection endpoint.com.google.protobuf.ByteString
getServiceAccountBytes()
Service account of a connection endpoint.boolean
hasHostname()
Hostname of a connection endpoint.boolean
hasServiceAccount()
Service account of a connection endpoint.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasServiceAccount
boolean hasServiceAccount()
Service account of a connection endpoint.
string service_account = 1;
- Returns:
- Whether the serviceAccount field is set.
-
getServiceAccount
java.lang.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
java.lang.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
boolean containsAttributes(java.lang.String key)
Additional attributes of the identity.
map<string, string> attributes = 3;
-
getAttributes
@Deprecated java.util.Map<java.lang.String,java.lang.String> getAttributes()
Deprecated.UsegetAttributesMap()
instead.
-
getAttributesMap
java.util.Map<java.lang.String,java.lang.String> getAttributesMap()
Additional attributes of the identity.
map<string, string> attributes = 3;
-
getAttributesOrDefault
java.lang.String getAttributesOrDefault(java.lang.String key, java.lang.String defaultValue)
Additional attributes of the identity.
map<string, string> attributes = 3;
-
getAttributesOrThrow
java.lang.String getAttributesOrThrow(java.lang.String key)
Additional attributes of the identity.
map<string, string> attributes = 3;
-
getIdentityOneofCase
Identity.IdentityOneofCase getIdentityOneofCase()
-
-