Class ListQueuesResponse.Builder (2.2.0)

public static final class ListQueuesResponse.Builder extends GeneratedMessageV3.Builder<ListQueuesResponse.Builder> implements ListQueuesResponseOrBuilder

Response message for ListQueues.

Protobuf type google.cloud.tasks.v2beta3.ListQueuesResponse

Static Methods

getDescriptor()

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

Methods

addAllQueues(Iterable<? extends Queue> values)

public ListQueuesResponse.Builder addAllQueues(Iterable<? extends Queue> values)

The list of queues.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.tasks.v2beta3.Queue>
Returns
TypeDescription
ListQueuesResponse.Builder

addQueues(Queue value)

public ListQueuesResponse.Builder addQueues(Queue value)

The list of queues.

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

Parameter
NameDescription
valueQueue
Returns
TypeDescription
ListQueuesResponse.Builder

addQueues(Queue.Builder builderForValue)

public ListQueuesResponse.Builder addQueues(Queue.Builder builderForValue)

The list of queues.

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

Parameter
NameDescription
builderForValueQueue.Builder
Returns
TypeDescription
ListQueuesResponse.Builder

addQueues(int index, Queue value)

public ListQueuesResponse.Builder addQueues(int index, Queue value)

The list of queues.

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

Parameters
NameDescription
indexint
valueQueue
Returns
TypeDescription
ListQueuesResponse.Builder

addQueues(int index, Queue.Builder builderForValue)

public ListQueuesResponse.Builder addQueues(int index, Queue.Builder builderForValue)

The list of queues.

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

Parameters
NameDescription
indexint
builderForValueQueue.Builder
Returns
TypeDescription
ListQueuesResponse.Builder

addQueuesBuilder()

public Queue.Builder addQueuesBuilder()

The list of queues.

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

Returns
TypeDescription
Queue.Builder

addQueuesBuilder(int index)

public Queue.Builder addQueuesBuilder(int index)

The list of queues.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Queue.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListQueuesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListQueuesResponse.Builder
Overrides

build()

public ListQueuesResponse build()
Returns
TypeDescription
ListQueuesResponse

buildPartial()

public ListQueuesResponse buildPartial()
Returns
TypeDescription
ListQueuesResponse

clear()

public ListQueuesResponse.Builder clear()
Returns
TypeDescription
ListQueuesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListQueuesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListQueuesResponse.Builder
Overrides

clearNextPageToken()

public ListQueuesResponse.Builder clearNextPageToken()

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
ListQueuesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListQueuesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListQueuesResponse.Builder
Overrides

clearQueues()

public ListQueuesResponse.Builder clearQueues()

The list of queues.

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

Returns
TypeDescription
ListQueuesResponse.Builder

clone()

public ListQueuesResponse.Builder clone()
Returns
TypeDescription
ListQueuesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListQueuesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListQueuesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getQueues(int index)

public Queue getQueues(int index)

The list of queues.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Queue

getQueuesBuilder(int index)

public Queue.Builder getQueuesBuilder(int index)

The list of queues.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Queue.Builder

getQueuesBuilderList()

public List<Queue.Builder> getQueuesBuilderList()

The list of queues.

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

Returns
TypeDescription
List<Builder>

getQueuesCount()

public int getQueuesCount()

The list of queues.

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

Returns
TypeDescription
int

getQueuesList()

public List<Queue> getQueuesList()

The list of queues.

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

Returns
TypeDescription
List<Queue>

getQueuesOrBuilder(int index)

public QueueOrBuilder getQueuesOrBuilder(int index)

The list of queues.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
QueueOrBuilder

getQueuesOrBuilderList()

public List<? extends QueueOrBuilder> getQueuesOrBuilderList()

The list of queues.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListQueuesResponse other)

public ListQueuesResponse.Builder mergeFrom(ListQueuesResponse other)
Parameter
NameDescription
otherListQueuesResponse
Returns
TypeDescription
ListQueuesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListQueuesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListQueuesResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListQueuesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListQueuesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListQueuesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListQueuesResponse.Builder
Overrides

removeQueues(int index)

public ListQueuesResponse.Builder removeQueues(int index)

The list of queues.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListQueuesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListQueuesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListQueuesResponse.Builder
Overrides

setNextPageToken(String value)

public ListQueuesResponse.Builder setNextPageToken(String value)

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;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListQueuesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListQueuesResponse.Builder setNextPageTokenBytes(ByteString value)

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;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListQueuesResponse.Builder

This builder for chaining.

setQueues(int index, Queue value)

public ListQueuesResponse.Builder setQueues(int index, Queue value)

The list of queues.

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

Parameters
NameDescription
indexint
valueQueue
Returns
TypeDescription
ListQueuesResponse.Builder

setQueues(int index, Queue.Builder builderForValue)

public ListQueuesResponse.Builder setQueues(int index, Queue.Builder builderForValue)

The list of queues.

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

Parameters
NameDescription
indexint
builderForValueQueue.Builder
Returns
TypeDescription
ListQueuesResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListQueuesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListQueuesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListQueuesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListQueuesResponse.Builder
Overrides