Interface ResourceAccessSpecOrBuilder

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

@Generated public interface ResourceAccessSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getReadersList

      List<String> getReadersList()
       Optional. The format of strings follows the pattern followed by IAM in the
       bindings. user:{email}, serviceAccount:{email} group:{email}.
       The set of principals to be granted reader role on the resource.
       
      repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the readers.
    • getReadersCount

      int getReadersCount()
       Optional. The format of strings follows the pattern followed by IAM in the
       bindings. user:{email}, serviceAccount:{email} group:{email}.
       The set of principals to be granted reader role on the resource.
       
      repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of readers.
    • getReaders

      String getReaders(int index)
       Optional. The format of strings follows the pattern followed by IAM in the
       bindings. user:{email}, serviceAccount:{email} group:{email}.
       The set of principals to be granted reader role on the resource.
       
      repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The readers at the given index.
    • getReadersBytes

      com.google.protobuf.ByteString getReadersBytes(int index)
       Optional. The format of strings follows the pattern followed by IAM in the
       bindings. user:{email}, serviceAccount:{email} group:{email}.
       The set of principals to be granted reader role on the resource.
       
      repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the readers at the given index.
    • getWritersList

      List<String> getWritersList()
       Optional. The set of principals to be granted writer role on the resource.
       
      repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the writers.
    • getWritersCount

      int getWritersCount()
       Optional. The set of principals to be granted writer role on the resource.
       
      repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of writers.
    • getWriters

      String getWriters(int index)
       Optional. The set of principals to be granted writer role on the resource.
       
      repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The writers at the given index.
    • getWritersBytes

      com.google.protobuf.ByteString getWritersBytes(int index)
       Optional. The set of principals to be granted writer role on the resource.
       
      repeated string writers = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the writers at the given index.
    • getOwnersList

      List<String> getOwnersList()
       Optional. The set of principals to be granted owner role on the resource.
       
      repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the owners.
    • getOwnersCount

      int getOwnersCount()
       Optional. The set of principals to be granted owner role on the resource.
       
      repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of owners.
    • getOwners

      String getOwners(int index)
       Optional. The set of principals to be granted owner role on the resource.
       
      repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The owners at the given index.
    • getOwnersBytes

      com.google.protobuf.ByteString getOwnersBytes(int index)
       Optional. The set of principals to be granted owner role on the resource.
       
      repeated string owners = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the owners at the given index.