Interface PrincipalOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Principal, Principal.Builder

@Generated public interface PrincipalOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
     
    The service account which needs to be granted the permission.
    com.google.protobuf.ByteString
    The service account which needs to be granted the permission.
    The user who needs to be granted permission.
    com.google.protobuf.ByteString
    The user who needs to be granted permission.
    boolean
    The service account which needs to be granted the permission.
    boolean
    The user who needs to be granted permission.

    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

    • hasUser

      boolean hasUser()
       The user who needs to be granted permission.
       
      string user = 1;
      Returns:
      Whether the user field is set.
    • getUser

      String getUser()
       The user who needs to be granted permission.
       
      string user = 1;
      Returns:
      The user.
    • getUserBytes

      com.google.protobuf.ByteString getUserBytes()
       The user who needs to be granted permission.
       
      string user = 1;
      Returns:
      The bytes for user.
    • hasServiceAccount

      boolean hasServiceAccount()
       The service account which needs to be granted the permission.
       
      string service_account = 2;
      Returns:
      Whether the serviceAccount field is set.
    • getServiceAccount

      String getServiceAccount()
       The service account which needs to be granted the permission.
       
      string service_account = 2;
      Returns:
      The serviceAccount.
    • getServiceAccountBytes

      com.google.protobuf.ByteString getServiceAccountBytes()
       The service account which needs to be granted the permission.
       
      string service_account = 2;
      Returns:
      The bytes for serviceAccount.
    • getPrincipalCase

      Principal.PrincipalCase getPrincipalCase()