Interface CredentialOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Credential,Credential.Builder
public interface CredentialOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe unique id or identity that used to identify the client or consumer.com.google.protobuf.ByteStringThe unique id or identity that used to identify the client or consumer.getKey()The value of the unique API key.com.google.protobuf.ByteStringThe value of the unique API key.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
-
getKey
String getKey()The value of the unique API key.
string key = 1 [(.validate.rules) = { ... }- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()The value of the unique API key.
string key = 1 [(.validate.rules) = { ... }- Returns:
- The bytes for key.
-
getClient
String getClient()The unique id or identity that used to identify the client or consumer.
string client = 2 [(.validate.rules) = { ... }- Returns:
- The client.
-
getClientBytes
com.google.protobuf.ByteString getClientBytes()The unique id or identity that used to identify the client or consumer.
string client = 2 [(.validate.rules) = { ... }- Returns:
- The bytes for client.
-