Interface ListViolationsResponseOrBuilder (2.24.0)

public interface ListViolationsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextPageToken()

public abstract String getNextPageToken()

The next page token. Returns empty if reached the last page.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

The next page token. Returns empty if reached the last page.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getViolations(int index)

public abstract Violation getViolations(int index)

List of Violations under a Workload.

repeated .google.cloud.assuredworkloads.v1.Violation violations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Violation

getViolationsCount()

public abstract int getViolationsCount()

List of Violations under a Workload.

repeated .google.cloud.assuredworkloads.v1.Violation violations = 1;

Returns
TypeDescription
int

getViolationsList()

public abstract List<Violation> getViolationsList()

List of Violations under a Workload.

repeated .google.cloud.assuredworkloads.v1.Violation violations = 1;

Returns
TypeDescription
List<Violation>

getViolationsOrBuilder(int index)

public abstract ViolationOrBuilder getViolationsOrBuilder(int index)

List of Violations under a Workload.

repeated .google.cloud.assuredworkloads.v1.Violation violations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ViolationOrBuilder

getViolationsOrBuilderList()

public abstract List<? extends ViolationOrBuilder> getViolationsOrBuilderList()

List of Violations under a Workload.

repeated .google.cloud.assuredworkloads.v1.Violation violations = 1;

Returns
TypeDescription
List<? extends com.google.cloud.assuredworkloads.v1.ViolationOrBuilder>