Class ListQueuesResponse.Builder (2.55.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.tasks.v2beta3.Queue>
Returns
Type Description
ListQueuesResponse.Builder

addQueues(Queue value)

public ListQueuesResponse.Builder addQueues(Queue value)

The list of queues.

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

Parameter
Name Description
value Queue
Returns
Type Description
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
Name Description
builderForValue Queue.Builder
Returns
Type Description
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
Name Description
index int
value Queue
Returns
Type Description
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
Name Description
index int
builderForValue Queue.Builder
Returns
Type Description
ListQueuesResponse.Builder

addQueuesBuilder()

public Queue.Builder addQueuesBuilder()

The list of queues.

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

Returns
Type Description
Queue.Builder

addQueuesBuilder(int index)

public Queue.Builder addQueuesBuilder(int index)

The list of queues.

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

Parameter
Name Description
index int
Returns
Type Description
Queue.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListQueuesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListQueuesResponse.Builder
Overrides

build()

public ListQueuesResponse build()
Returns
Type Description
ListQueuesResponse

buildPartial()

public ListQueuesResponse buildPartial()
Returns
Type Description
ListQueuesResponse

clear()

public ListQueuesResponse.Builder clear()
Returns
Type Description
ListQueuesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListQueuesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
ListQueuesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListQueuesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListQueuesResponse.Builder
Overrides

clearQueues()

public ListQueuesResponse.Builder clearQueues()

The list of queues.

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

Returns
Type Description
ListQueuesResponse.Builder

clone()

public ListQueuesResponse.Builder clone()
Returns
Type Description
ListQueuesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListQueuesResponse getDefaultInstanceForType()
Returns
Type Description
ListQueuesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
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.

getQueues(int index)

public Queue getQueues(int index)

The list of queues.

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

Parameter
Name Description
index int
Returns
Type Description
Queue

getQueuesBuilder(int index)

public Queue.Builder getQueuesBuilder(int index)

The list of queues.

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

Parameter
Name Description
index int
Returns
Type Description
Queue.Builder

getQueuesBuilderList()

public List<Queue.Builder> getQueuesBuilderList()

The list of queues.

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

Returns
Type Description
List<Builder>

getQueuesCount()

public int getQueuesCount()

The list of queues.

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

Returns
Type Description
int

getQueuesList()

public List<Queue> getQueuesList()

The list of queues.

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

Returns
Type Description
List<Queue>

getQueuesOrBuilder(int index)

public QueueOrBuilder getQueuesOrBuilder(int index)

The list of queues.

repeated .google.cloud.tasks.v2beta3.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.v2beta3.Queue queues = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListQueuesResponse other)

public ListQueuesResponse.Builder mergeFrom(ListQueuesResponse other)
Parameter
Name Description
other ListQueuesResponse
Returns
Type Description
ListQueuesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListQueuesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListQueuesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListQueuesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListQueuesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListQueuesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
ListQueuesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListQueuesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The nextPageToken to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
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
Name Description
index int
value Queue
Returns
Type Description
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
Name Description
index int
builderForValue Queue.Builder
Returns
Type Description
ListQueuesResponse.Builder

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

public ListQueuesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListQueuesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListQueuesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListQueuesResponse.Builder
Overrides