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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getApiKeyId()
      The api key id of the principal if provided.
      com.google.protobuf.ByteString getApiKeyIdBytes()
      The api key id of the principal if provided.
      java.lang.String getId()
      The id of the principal.
      com.google.protobuf.ByteString getIdBytes()
      The id of the principal.
      java.lang.String getName()
      The name of the principal.
      com.google.protobuf.ByteString getNameBytes()
      The name of the principal.
      java.lang.String getType()
      The type of the principal.
      com.google.protobuf.ByteString getTypeBytes()
      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 Detail

      • getType

        java.lang.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

        java.lang.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

        java.lang.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

        java.lang.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.