Interface IamPolicyAnalysisQuery.AccessSelectorOrBuilder (3.4.1)

Stay organized with collections Save and categorize content based on your preferences.
public static interface IamPolicyAnalysisQuery.AccessSelectorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPermissions(int index)

public abstract String getPermissions(int index)

Optional. The permissions to appear in result.

repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The permissions at the given index.

getPermissionsBytes(int index)

public abstract ByteString getPermissionsBytes(int index)

Optional. The permissions to appear in result.

repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the permissions at the given index.

getPermissionsCount()

public abstract int getPermissionsCount()

Optional. The permissions to appear in result.

repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The count of permissions.

getPermissionsList()

public abstract List<String> getPermissionsList()

Optional. The permissions to appear in result.

repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<String>

A list containing the permissions.

getRoles(int index)

public abstract String getRoles(int index)

Optional. The roles to appear in result.

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

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The roles at the given index.

getRolesBytes(int index)

public abstract ByteString getRolesBytes(int index)

Optional. The roles to appear in result.

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

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the roles at the given index.

getRolesCount()

public abstract int getRolesCount()

Optional. The roles to appear in result.

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

Returns
TypeDescription
int

The count of roles.

getRolesList()

public abstract List<String> getRolesList()

Optional. The roles to appear in result.

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

Returns
TypeDescription
List<String>

A list containing the roles.