Interface ListCustomConstraintsResponseOrBuilder (2.41.0)

public interface ListCustomConstraintsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCustomConstraints(int index)

public abstract CustomConstraint getCustomConstraints(int index)

All custom constraints that exist on the organization resource. It will be empty if no custom constraints are set.

repeated .google.cloud.orgpolicy.v2.CustomConstraint custom_constraints = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CustomConstraint

getCustomConstraintsCount()

public abstract int getCustomConstraintsCount()

All custom constraints that exist on the organization resource. It will be empty if no custom constraints are set.

repeated .google.cloud.orgpolicy.v2.CustomConstraint custom_constraints = 1;

Returns
TypeDescription
int

getCustomConstraintsList()

public abstract List<CustomConstraint> getCustomConstraintsList()

All custom constraints that exist on the organization resource. It will be empty if no custom constraints are set.

repeated .google.cloud.orgpolicy.v2.CustomConstraint custom_constraints = 1;

Returns
TypeDescription
List<CustomConstraint>

getCustomConstraintsOrBuilder(int index)

public abstract CustomConstraintOrBuilder getCustomConstraintsOrBuilder(int index)

All custom constraints that exist on the organization resource. It will be empty if no custom constraints are set.

repeated .google.cloud.orgpolicy.v2.CustomConstraint custom_constraints = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CustomConstraintOrBuilder

getCustomConstraintsOrBuilderList()

public abstract List<? extends CustomConstraintOrBuilder> getCustomConstraintsOrBuilderList()

All custom constraints that exist on the organization resource. It will be empty if no custom constraints are set.

repeated .google.cloud.orgpolicy.v2.CustomConstraint custom_constraints = 1;

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

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.