Interface ListExamplesResponseOrBuilder (2.52.0)

public interface ListExamplesResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExamples(int index)

public abstract Example getExamples(int index)

The sentence pairs.

repeated .google.cloud.translation.v3.Example examples = 1;

Parameter
Name Description
index int
Returns
Type Description
Example

getExamplesCount()

public abstract int getExamplesCount()

The sentence pairs.

repeated .google.cloud.translation.v3.Example examples = 1;

Returns
Type Description
int

getExamplesList()

public abstract List<Example> getExamplesList()

The sentence pairs.

repeated .google.cloud.translation.v3.Example examples = 1;

Returns
Type Description
List<Example>

getExamplesOrBuilder(int index)

public abstract ExampleOrBuilder getExamplesOrBuilder(int index)

The sentence pairs.

repeated .google.cloud.translation.v3.Example examples = 1;

Parameter
Name Description
index int
Returns
Type Description
ExampleOrBuilder

getExamplesOrBuilderList()

public abstract List<? extends ExampleOrBuilder> getExamplesOrBuilderList()

The sentence pairs.

repeated .google.cloud.translation.v3.Example examples = 1;

Returns
Type Description
List<? extends com.google.cloud.translate.v3.ExampleOrBuilder>

getNextPageToken()

public abstract String getNextPageToken()

A token to retrieve next page of results. Pass this token to the page_token field in the ListExamplesRequest to obtain the corresponding page.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

A token to retrieve next page of results. Pass this token to the page_token field in the ListExamplesRequest to obtain the corresponding page.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.