Class ListQueuesResponse (2.42.0)

public final class ListQueuesResponse extends GeneratedMessageV3 implements ListQueuesResponseOrBuilder

Response message for ListQueues.

Protobuf type google.cloud.tasks.v2beta2.ListQueuesResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

QUEUES_FIELD_NUMBER

public static final int QUEUES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListQueuesResponse getDefaultInstance()
Returns
Type Description
ListQueuesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ListQueuesResponse.Builder newBuilder()
Returns
Type Description
ListQueuesResponse.Builder

newBuilder(ListQueuesResponse prototype)

public static ListQueuesResponse.Builder newBuilder(ListQueuesResponse prototype)
Parameter
Name Description
prototype ListQueuesResponse
Returns
Type Description
ListQueuesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListQueuesResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListQueuesResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListQueuesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListQueuesResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ListQueuesResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ListQueuesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListQueuesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListQueuesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListQueuesResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ListQueuesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListQueuesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListQueuesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListQueuesResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListQueuesResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListQueuesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListQueuesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ListQueuesResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListQueuesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListQueuesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListQueuesResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ListQueuesResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListQueuesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListQueuesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListQueuesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ListQueuesResponse> parser()
Returns
Type Description
Parser<ListQueuesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ListQueuesResponse getDefaultInstanceForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListQueuesResponse> getParserForType()
Returns
Type Description
Parser<ListQueuesResponse>
Overrides

getQueues(int index)

public Queue getQueues(int index)

The list of queues.

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

Parameter
Name Description
index int
Returns
Type Description
Queue

getQueuesCount()

public int getQueuesCount()

The list of queues.

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

Returns
Type Description
int

getQueuesList()

public List<Queue> getQueuesList()

The list of queues.

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

Returns
Type Description
List<Queue>

getQueuesOrBuilder(int index)

public QueueOrBuilder getQueuesOrBuilder(int index)

The list of queues.

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

Parameter
Name Description
index int
Returns
Type Description
QueueOrBuilder

getQueuesOrBuilderList()

public List<? extends QueueOrBuilder> getQueuesOrBuilderList()

The list of queues.

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

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ListQueuesResponse.Builder newBuilderForType()
Returns
Type Description
ListQueuesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListQueuesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListQueuesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ListQueuesResponse.Builder toBuilder()
Returns
Type Description
ListQueuesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException