Interface ListPoliciesResponseOrBuilder (2.46.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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.orgpolicy.v2.PolicyOrBuilder>