public final class ListTasksResponse extends GeneratedMessageV3 implements ListTasksResponseOrBuilder
Response message for listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks].Protobuf type
google.cloud.tasks.v2.ListTasksResponse
Modifier and Type | Class and Description |
---|---|
static class |
ListTasksResponse.Builder
Response message for listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks].
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
NEXT_PAGE_TOKEN_FIELD_NUMBER |
static int |
TASKS_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int TASKS_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public List<Task> getTasksList()
The list of tasks.
repeated .google.cloud.tasks.v2.Task tasks = 1;
getTasksList
in interface ListTasksResponseOrBuilder
public List<? extends TaskOrBuilder> getTasksOrBuilderList()
The list of tasks.
repeated .google.cloud.tasks.v2.Task tasks = 1;
getTasksOrBuilderList
in interface ListTasksResponseOrBuilder
public int getTasksCount()
The list of tasks.
repeated .google.cloud.tasks.v2.Task tasks = 1;
getTasksCount
in interface ListTasksResponseOrBuilder
public Task getTasks(int index)
The list of tasks.
repeated .google.cloud.tasks.v2.Task tasks = 1;
getTasks
in interface ListTasksResponseOrBuilder
public TaskOrBuilder getTasksOrBuilder(int index)
The list of tasks.
repeated .google.cloud.tasks.v2.Task tasks = 1;
getTasksOrBuilder
in interface ListTasksResponseOrBuilder
public String getNextPageToken()
A token to retrieve next page of results. To return the next page of results, call [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks] with this value as the [page_token][google.cloud.tasks.v2.ListTasksRequest.page_token]. If the next_page_token is empty, there are no more results.
string next_page_token = 2;
getNextPageToken
in interface ListTasksResponseOrBuilder
public ByteString getNextPageTokenBytes()
A token to retrieve next page of results. To return the next page of results, call [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks] with this value as the [page_token][google.cloud.tasks.v2.ListTasksRequest.page_token]. If the next_page_token is empty, there are no more results.
string next_page_token = 2;
getNextPageTokenBytes
in interface ListTasksResponseOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static ListTasksResponse parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ListTasksResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ListTasksResponse parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ListTasksResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ListTasksResponse parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ListTasksResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ListTasksResponse parseFrom(InputStream input) throws IOException
IOException
public static ListTasksResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ListTasksResponse parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ListTasksResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ListTasksResponse parseFrom(CodedInputStream input) throws IOException
IOException
public static ListTasksResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public ListTasksResponse.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static ListTasksResponse.Builder newBuilder()
public static ListTasksResponse.Builder newBuilder(ListTasksResponse prototype)
public ListTasksResponse.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected ListTasksResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static ListTasksResponse getDefaultInstance()
public static Parser<ListTasksResponse> parser()
public Parser<ListTasksResponse> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public ListTasksResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.