Interface ResourceAccessSpecOrBuilder (1.33.0)

public interface ResourceAccessSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getOwners(int index)

public abstract 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];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The owners at the given index.

getOwnersBytes(int index)

public abstract 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];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the owners at the given index.

getOwnersCount()

public abstract 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
TypeDescription
int

The count of owners.

getOwnersList()

public abstract 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
TypeDescription
List<String>

A list containing the owners.

getReaders(int index)

public abstract 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];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The readers at the given index.

getReadersBytes(int index)

public abstract 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];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the readers at the given index.

getReadersCount()

public abstract 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
TypeDescription
int

The count of readers.

getReadersList()

public abstract 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
TypeDescription
List<String>

A list containing the readers.

getWriters(int index)

public abstract 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];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The writers at the given index.

getWritersBytes(int index)

public abstract 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];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the writers at the given index.

getWritersCount()

public abstract 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
TypeDescription
int

The count of writers.

getWritersList()

public abstract 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
TypeDescription
List<String>

A list containing the writers.