Interface DataAccessSpecOrBuilder (1.28.0)

public interface DataAccessSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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 data stored within resources.

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 data stored within resources.

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 data stored within resources.

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 data stored within resources.

repeated string readers = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<String>

A list containing the readers.