Interface ListTasksResponseOrBuilder (2.52.0)

public interface ListTasksResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextPageToken()

public abstract String getNextPageToken()

A token to retrieve next page of results.

To return the next page of results, call ListTasks with this value as the page_token.

If the next_page_token is empty, there are no more results.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

A token to retrieve next page of results.

To return the next page of results, call ListTasks with this value as the page_token.

If the next_page_token is empty, there are no more results.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getTasks(int index)

public abstract Task getTasks(int index)

The list of tasks.

repeated .google.cloud.tasks.v2.Task tasks = 1;

Parameter
Name Description
index int
Returns
Type Description
Task

getTasksCount()

public abstract int getTasksCount()

The list of tasks.

repeated .google.cloud.tasks.v2.Task tasks = 1;

Returns
Type Description
int

getTasksList()

public abstract List<Task> getTasksList()

The list of tasks.

repeated .google.cloud.tasks.v2.Task tasks = 1;

Returns
Type Description
List<Task>

getTasksOrBuilder(int index)

public abstract TaskOrBuilder getTasksOrBuilder(int index)

The list of tasks.

repeated .google.cloud.tasks.v2.Task tasks = 1;

Parameter
Name Description
index int
Returns
Type Description
TaskOrBuilder

getTasksOrBuilderList()

public abstract List<? extends TaskOrBuilder> getTasksOrBuilderList()

The list of tasks.

repeated .google.cloud.tasks.v2.Task tasks = 1;

Returns
Type Description
List<? extends com.google.cloud.tasks.v2.TaskOrBuilder>