Interface ListPoliciesResponseOrBuilder (2.22.0)

public interface ListPoliciesResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextPageToken()

public abstract String getNextPageToken()

Page token used to retrieve the next page. This is currently not used, but the server may at any point start supplying a valid token.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

Page token used to retrieve the next page. This is currently not used, but the server may at any point start supplying a valid token.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getPolicies(int index)

public abstract Policy getPolicies(int index)

All Policies that exist on the resource. It will be empty if no Policies are set.

repeated .google.cloud.orgpolicy.v2.Policy policies = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Policy

getPoliciesCount()

public abstract int getPoliciesCount()

All Policies that exist on the resource. It will be empty if no Policies are set.

repeated .google.cloud.orgpolicy.v2.Policy policies = 1;

Returns
TypeDescription
int

getPoliciesList()

public abstract List<Policy> getPoliciesList()

All Policies that exist on the resource. It will be empty if no Policies are set.

repeated .google.cloud.orgpolicy.v2.Policy policies = 1;

Returns
TypeDescription
List<Policy>

getPoliciesOrBuilder(int index)

public abstract PolicyOrBuilder getPoliciesOrBuilder(int index)

All Policies that exist on the resource. It will be empty if no Policies are set.

repeated .google.cloud.orgpolicy.v2.Policy policies = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PolicyOrBuilder

getPoliciesOrBuilderList()

public abstract List<? extends PolicyOrBuilder> getPoliciesOrBuilderList()

All Policies that exist on the resource. It will be empty if no Policies are set.

repeated .google.cloud.orgpolicy.v2.Policy policies = 1;

Returns
TypeDescription
List<? extends com.google.cloud.orgpolicy.v2.PolicyOrBuilder>