public static final class ListQueuesResponse.Builder extends GeneratedMessage.Builder<ListQueuesResponse.Builder> implements ListQueuesResponseOrBuilderResponse message for ListQueues.
Protobuf type google.cloud.tasks.v2.ListQueuesResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListQueuesResponse.BuilderImplements
ListQueuesResponseOrBuilderStatic 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.v2.Queue queues = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.tasks.v2.Queue> |
| Returns | |
|---|---|
| Type | Description |
ListQueuesResponse.Builder |
|
addQueues(Queue value)
public ListQueuesResponse.Builder addQueues(Queue value)The list of queues.
repeated .google.cloud.tasks.v2.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.v2.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.v2.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.v2.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.v2.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.v2.Queue queues = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Queue.Builder |
|
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 |
|
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. |
clearQueues()
public ListQueuesResponse.Builder clearQueues()The list of queues.
repeated .google.cloud.tasks.v2.Queue queues = 1;
| Returns | |
|---|---|
| Type | Description |
ListQueuesResponse.Builder |
|
getDefaultInstanceForType()
public ListQueuesResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListQueuesResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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.v2.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.v2.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.v2.Queue queues = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getQueuesCount()
public int getQueuesCount()The list of queues.
repeated .google.cloud.tasks.v2.Queue queues = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getQueuesList()
public List<Queue> getQueuesList()The list of queues.
repeated .google.cloud.tasks.v2.Queue queues = 1;
| Returns | |
|---|---|
| Type | Description |
List<Queue> |
|
getQueuesOrBuilder(int index)
public QueueOrBuilder getQueuesOrBuilder(int index)The list of queues.
repeated .google.cloud.tasks.v2.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.v2.Queue queues = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.tasks.v2.QueueOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListQueuesResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListQueuesResponse.Builder |
|
removeQueues(int index)
public ListQueuesResponse.Builder removeQueues(int index)The list of queues.
repeated .google.cloud.tasks.v2.Queue queues = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListQueuesResponse.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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.v2.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.v2.Queue queues = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Queue.Builder |
| Returns | |
|---|---|
| Type | Description |
ListQueuesResponse.Builder |
|