Interface DataAccessSpecOrBuilder (1.42.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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
List<String>

A list containing the readers.