Interface ListViolationsResponseOrBuilder (2.47.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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
Violation

getViolationsCount()

public abstract int getViolationsCount()

List of Violations under a Workload.

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

Returns
Type Description
int

getViolationsList()

public abstract List<Violation> getViolationsList()

List of Violations under a Workload.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
ViolationOrBuilder

getViolationsOrBuilderList()

public abstract List<? extends ViolationOrBuilder> getViolationsOrBuilderList()

List of Violations under a Workload.

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

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