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 Type
    Method
    Description
    The api key id of the principal if provided.
    com.google.protobuf.ByteString
    The api key id of the principal if provided.
    The id of the principal.
    com.google.protobuf.ByteString
    The id of the principal.
    The name of the principal.
    com.google.protobuf.ByteString
    The name of the principal.
    The type of the principal.
    com.google.protobuf.ByteString
    The type of the principal.

    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

    • 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

      String getId()
       The id of the principal.
       
      string id = 2;
      Returns:
      The id.
    • getIdBytes

      com.google.protobuf.ByteString getIdBytes()
       The id of the principal.
       
      string id = 2;
      Returns:
      The bytes for id.
    • getName

      String getName()
       The name of the principal.
       
      string name = 3;
      Returns:
      The name.
    • 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.