Interface ListConstraintsResponseOrBuilder (2.45.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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for nextPageToken.