Interface PrincipalOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Principal,Principal.Builder
@Generated(value="protoc",
comments="annotations:PrincipalOrBuilder.java.pb.meta")
public interface PrincipalOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe api key id of the principal if provided.com.google.protobuf.ByteStringThe api key id of the principal if provided.getId()The id of the principal.com.google.protobuf.ByteStringThe id of the principal.getName()The name of the principal.com.google.protobuf.ByteStringThe name of the principal.getType()The type of the principal.com.google.protobuf.ByteStringThe type of the principal.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
-
getType
String getType()The type of the principal. Possible type values: user, serviceaccount.
string type = 1;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()The type of the principal. Possible type values: user, serviceaccount.
string type = 1;- Returns:
- The bytes for type.
-
getId
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()The id of the principal.
string id = 2;- Returns:
- The bytes for id.
-
getName
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The name of the principal.
string name = 3;- Returns:
- The bytes for name.
-
getApiKeyId
String getApiKeyId()The api key id of the principal if provided.
string api_key_id = 4;- Returns:
- The apiKeyId.
-
getApiKeyIdBytes
com.google.protobuf.ByteString getApiKeyIdBytes()The api key id of the principal if provided.
string api_key_id = 4;- Returns:
- The bytes for apiKeyId.
-