Interface ListOccurrencesResponseOrBuilder (2.84.0)

public interface ListOccurrencesResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextPageToken()

public abstract String getNextPageToken()

The next pagination token in the list response. It should be used as page_token for the following request. An empty value means no more results.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

The next pagination token in the list response. It should be used as page_token for the following request. An empty value means no more results.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getOccurrences(int index)

public abstract Occurrence getOccurrences(int index)

The occurrences requested.

repeated .grafeas.v1.Occurrence occurrences = 1;

Parameter
Name Description
index int
Returns
Type Description
Occurrence

getOccurrencesCount()

public abstract int getOccurrencesCount()

The occurrences requested.

repeated .grafeas.v1.Occurrence occurrences = 1;

Returns
Type Description
int

getOccurrencesList()

public abstract List<Occurrence> getOccurrencesList()

The occurrences requested.

repeated .grafeas.v1.Occurrence occurrences = 1;

Returns
Type Description
List<Occurrence>

getOccurrencesOrBuilder(int index)

public abstract OccurrenceOrBuilder getOccurrencesOrBuilder(int index)

The occurrences requested.

repeated .grafeas.v1.Occurrence occurrences = 1;

Parameter
Name Description
index int
Returns
Type Description
OccurrenceOrBuilder

getOccurrencesOrBuilderList()

public abstract List<? extends OccurrenceOrBuilder> getOccurrencesOrBuilderList()

The occurrences requested.

repeated .grafeas.v1.Occurrence occurrences = 1;

Returns
Type Description
List<? extends io.grafeas.v1.OccurrenceOrBuilder>

getUnreachable(int index)

public abstract String getUnreachable(int index)

Unreachable regions. Populated for requests from the global region when return_partial_success is set.

Format: projects/[PROJECT_ID]/locations/[LOCATION]

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public abstract ByteString getUnreachableBytes(int index)

Unreachable regions. Populated for requests from the global region when return_partial_success is set.

Format: projects/[PROJECT_ID]/locations/[LOCATION]

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public abstract int getUnreachableCount()

Unreachable regions. Populated for requests from the global region when return_partial_success is set.

Format: projects/[PROJECT_ID]/locations/[LOCATION]

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public abstract List<String> getUnreachableList()

Unreachable regions. Populated for requests from the global region when return_partial_success is set.

Format: projects/[PROJECT_ID]/locations/[LOCATION]

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type Description
List<String>

A list containing the unreachable.