Interface ListConstraintsResponseOrBuilder (2.11.0)

public interface ListConstraintsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConstraints(int index)

public abstract Constraint getConstraints(int index)

The collection of constraints that are available on the targeted resource.

repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Constraint

getConstraintsCount()

public abstract int getConstraintsCount()

The collection of constraints that are available on the targeted resource.

repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;

Returns
TypeDescription
int

getConstraintsList()

public abstract List<Constraint> getConstraintsList()

The collection of constraints that are available on the targeted resource.

repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;

Returns
TypeDescription
List<Constraint>

getConstraintsOrBuilder(int index)

public abstract ConstraintOrBuilder getConstraintsOrBuilder(int index)

The collection of constraints that are available on the targeted resource.

repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ConstraintOrBuilder

getConstraintsOrBuilderList()

public abstract List<? extends ConstraintOrBuilder> getConstraintsOrBuilderList()

The collection of constraints that are available on the targeted resource.

repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;

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

getNextPageToken()

public abstract String getNextPageToken()

Page token used to retrieve the next page. This is currently not used.

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.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.