Class ListQueuesResponse (2.5.0)

public final class ListQueuesResponse extends GeneratedMessageV3 implements ListQueuesResponseOrBuilder

Response message for ListQueues.

Protobuf type google.cloud.tasks.v2.ListQueuesResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

QUEUES_FIELD_NUMBER

public static final int QUEUES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListQueuesResponse getDefaultInstance()
Returns
TypeDescription
ListQueuesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListQueuesResponse prototype)

public static ListQueuesResponse.Builder newBuilder(ListQueuesResponse prototype)
Parameter
NameDescription
prototypeListQueuesResponse
Returns
TypeDescription
ListQueuesResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListQueuesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListQueuesResponse

getNextPageToken()

public String getNextPageToken()

A token to retrieve next page of results. To return the next page of results, call ListQueues with this value as the page_token. If the next_page_token is empty, there are no more results. The page token is valid for only 2 hours.

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 ListQueues with this value as the page_token. If the next_page_token is empty, there are no more results. The page token is valid for only 2 hours.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getQueues(int index)

public Queue getQueues(int index)

The list of queues.

repeated .google.cloud.tasks.v2.Queue queues = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Queue

getQueuesCount()

public int getQueuesCount()

The list of queues.

repeated .google.cloud.tasks.v2.Queue queues = 1;

Returns
TypeDescription
int

getQueuesList()

public List<Queue> getQueuesList()

The list of queues.

repeated .google.cloud.tasks.v2.Queue queues = 1;

Returns
TypeDescription
List<Queue>

getQueuesOrBuilder(int index)

public QueueOrBuilder getQueuesOrBuilder(int index)

The list of queues.

repeated .google.cloud.tasks.v2.Queue queues = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
QueueOrBuilder

getQueuesOrBuilderList()

public List<? extends QueueOrBuilder> getQueuesOrBuilderList()

The list of queues.

repeated .google.cloud.tasks.v2.Queue queues = 1;

Returns
TypeDescription
List<? extends com.google.cloud.tasks.v2.QueueOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 ListQueuesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListQueuesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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