Interface ListTasksResponseOrBuilder (2.24.0)

publicinterface ListTasksResponseOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextPageToken()

publicabstractStringgetNextPageToken()

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()

publicabstractByteStringgetNextPageTokenBytes()

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)

publicabstractTaskgetTasks(intindex)

The list of tasks.

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

Parameter
Name Description
index int
Returns
Type Description
Task

getTasksCount()

publicabstractintgetTasksCount()

The list of tasks.

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

Returns
Type Description
int

getTasksList()

publicabstractList<Task>getTasksList()

The list of tasks.

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

Returns
Type Description
List<Task>

getTasksOrBuilder(int index)

publicabstractTaskOrBuildergetTasksOrBuilder(intindex)

The list of tasks.

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

Parameter
Name Description
index int
Returns
Type Description
TaskOrBuilder

getTasksOrBuilderList()

publicabstractList<?extendsTaskOrBuilder>getTasksOrBuilderList()

The list of tasks.

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

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.