public static final class ListQueuesResponse.Builder extends GeneratedMessageV3.Builder<ListQueuesResponse.Builder> implements ListQueuesResponseOrBuilder
Response message for ListQueues.
Protobuf type google.cloud.tasks.v2.ListQueuesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
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
addQueues(Queue.Builder builderForValue)
public ListQueuesResponse.Builder addQueues(Queue.Builder builderForValue)
The list of queues.
repeated .google.cloud.tasks.v2.Queue queues = 1;
Parameter
Returns
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
Returns
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
Returns
addQueuesBuilder()
public Queue.Builder addQueuesBuilder()
The list of queues.
repeated .google.cloud.tasks.v2.Queue queues = 1;
Returns
addQueuesBuilder(int index)
public Queue.Builder addQueuesBuilder(int index)
The list of queues.
repeated .google.cloud.tasks.v2.Queue queues = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListQueuesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListQueuesResponse build()
Returns
buildPartial()
public ListQueuesResponse buildPartial()
Returns
clear()
public ListQueuesResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListQueuesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListQueuesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearQueues()
public ListQueuesResponse.Builder clearQueues()
The list of queues.
repeated .google.cloud.tasks.v2.Queue queues = 1;
Returns
clone()
public ListQueuesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListQueuesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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.v2.Queue queues = 1;
Parameter
Returns
getQueuesBuilder(int index)
public Queue.Builder getQueuesBuilder(int index)
The list of queues.
repeated .google.cloud.tasks.v2.Queue queues = 1;
Parameter
Returns
getQueuesBuilderList()
public List<Queue.Builder> getQueuesBuilderList()
The list of queues.
repeated .google.cloud.tasks.v2.Queue queues = 1;
Returns
getQueuesCount()
public int getQueuesCount()
The list of queues.
repeated .google.cloud.tasks.v2.Queue queues = 1;
Returns
getQueuesList()
public List<Queue> getQueuesList()
The list of queues.
repeated .google.cloud.tasks.v2.Queue queues = 1;
Returns
getQueuesOrBuilder(int index)
public QueueOrBuilder getQueuesOrBuilder(int index)
The list of queues.
repeated .google.cloud.tasks.v2.Queue queues = 1;
Parameter
Returns
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListQueuesResponse other)
public ListQueuesResponse.Builder mergeFrom(ListQueuesResponse other)
Parameter
Returns
public ListQueuesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListQueuesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListQueuesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeQueues(int index)
public ListQueuesResponse.Builder removeQueues(int index)
The list of queues.
repeated .google.cloud.tasks.v2.Queue queues = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListQueuesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListQueuesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListQueuesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides