Interface TestPermissionsResponseOrBuilder (1.51.0)

public interface TestPermissionsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPermissions(int index)

public abstract String getPermissions(int index)

A subset of TestPermissionsRequest.permissions that the caller is allowed.

repeated string permissions = 59962500;

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)

A subset of TestPermissionsRequest.permissions that the caller is allowed.

repeated string permissions = 59962500;

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()

A subset of TestPermissionsRequest.permissions that the caller is allowed.

repeated string permissions = 59962500;

Returns
TypeDescription
int

The count of permissions.

getPermissionsList()

public abstract List<String> getPermissionsList()

A subset of TestPermissionsRequest.permissions that the caller is allowed.

repeated string permissions = 59962500;

Returns
TypeDescription
List<String>

A list containing the permissions.