Class ListTasksResponse (2.8.0)

public final class ListTasksResponse extends GeneratedMessageV3 implements ListTasksResponseOrBuilder

Response message for listing tasks using ListTasks.

Protobuf type google.cloud.tasks.v2beta2.ListTasksResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

TASKS_FIELD_NUMBER

public static final int TASKS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListTasksResponse getDefaultInstance()
Returns
TypeDescription
ListTasksResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListTasksResponse.Builder newBuilder()
Returns
TypeDescription
ListTasksResponse.Builder

newBuilder(ListTasksResponse prototype)

public static ListTasksResponse.Builder newBuilder(ListTasksResponse prototype)
Parameter
NameDescription
prototypeListTasksResponse
Returns
TypeDescription
ListTasksResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListTasksResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListTasksResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListTasksResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListTasksResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListTasksResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListTasksResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListTasksResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListTasksResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListTasksResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListTasksResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListTasksResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListTasksResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListTasksResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListTasksResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListTasksResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListTasksResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListTasksResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListTasksResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListTasksResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListTasksResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListTasksResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListTasksResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListTasksResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListTasksResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListTasksResponse> parser()
Returns
TypeDescription
Parser<ListTasksResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListTasksResponse getDefaultInstanceForType()
Returns
TypeDescription
ListTasksResponse

getNextPageToken()

public 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
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public 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
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListTasksResponse> getParserForType()
Returns
TypeDescription
Parser<ListTasksResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTasks(int index)

public Task getTasks(int index)

The list of tasks.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Task

getTasksCount()

public int getTasksCount()

The list of tasks.

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

Returns
TypeDescription
int

getTasksList()

public List<Task> getTasksList()

The list of tasks.

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

Returns
TypeDescription
List<Task>

getTasksOrBuilder(int index)

public TaskOrBuilder getTasksOrBuilder(int index)

The list of tasks.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TaskOrBuilder

getTasksOrBuilderList()

public List<? extends TaskOrBuilder> getTasksOrBuilderList()

The list of tasks.

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

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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListTasksResponse.Builder newBuilderForType()
Returns
TypeDescription
ListTasksResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListTasksResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListTasksResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListTasksResponse.Builder toBuilder()
Returns
TypeDescription
ListTasksResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException