public static final class ListTasksResponse.Builder extends GeneratedMessageV3.Builder<ListTasksResponse.Builder> implements ListTasksResponseOrBuilder
Response message for listing tasks using
ListTasks.
Protobuf type google.cloud.tasks.v2beta3.ListTasksResponse
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()
Methods
addAllTasks(Iterable<? extends Task> values)
public ListTasksResponse.Builder addAllTasks(Iterable<? extends Task> values)
The list of tasks.
repeated .google.cloud.tasks.v2beta3.Task tasks = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.tasks.v2beta3.Task>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListTasksResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addTasks(Task value)
public ListTasksResponse.Builder addTasks(Task value)
The list of tasks.
repeated .google.cloud.tasks.v2beta3.Task tasks = 1;
Parameter |
---|
Name | Description |
value | Task
|
addTasks(Task.Builder builderForValue)
public ListTasksResponse.Builder addTasks(Task.Builder builderForValue)
The list of tasks.
repeated .google.cloud.tasks.v2beta3.Task tasks = 1;
addTasks(int index, Task value)
public ListTasksResponse.Builder addTasks(int index, Task value)
The list of tasks.
repeated .google.cloud.tasks.v2beta3.Task tasks = 1;
Parameters |
---|
Name | Description |
index | int
|
value | Task
|
addTasks(int index, Task.Builder builderForValue)
public ListTasksResponse.Builder addTasks(int index, Task.Builder builderForValue)
The list of tasks.
repeated .google.cloud.tasks.v2beta3.Task tasks = 1;
addTasksBuilder()
public Task.Builder addTasksBuilder()
The list of tasks.
repeated .google.cloud.tasks.v2beta3.Task tasks = 1;
addTasksBuilder(int index)
public Task.Builder addTasksBuilder(int index)
The list of tasks.
repeated .google.cloud.tasks.v2beta3.Task tasks = 1;
Parameter |
---|
Name | Description |
index | int
|
build()
public ListTasksResponse build()
buildPartial()
public ListTasksResponse buildPartial()
clear()
public ListTasksResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListTasksResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListTasksResponse.Builder clearNextPageToken()
A token to retrieve next page of results.
To return the next page of results, call
ListTasks with this
value as the
page_token.
If the next_page_token is empty, there are no more results.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListTasksResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTasks()
public ListTasksResponse.Builder clearTasks()
The list of tasks.
repeated .google.cloud.tasks.v2beta3.Task tasks = 1;
clone()
public ListTasksResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListTasksResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
A token to retrieve next page of results.
To return the next page of results, call
ListTasks with this
value as the
page_token.
If the next_page_token is empty, there are no more results.
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
ListTasks with this
value as the
page_token.
If the next_page_token is empty, there are no more results.
string next_page_token = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for nextPageToken.
|
getTasks(int index)
public Task getTasks(int index)
The list of tasks.
repeated .google.cloud.tasks.v2beta3.Task tasks = 1;
Parameter |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
Task | |
getTasksBuilder(int index)
public Task.Builder getTasksBuilder(int index)
The list of tasks.
repeated .google.cloud.tasks.v2beta3.Task tasks = 1;
Parameter |
---|
Name | Description |
index | int
|
getTasksBuilderList()
public List<Task.Builder> getTasksBuilderList()
The list of tasks.
repeated .google.cloud.tasks.v2beta3.Task tasks = 1;
getTasksCount()
public int getTasksCount()
The list of tasks.
repeated .google.cloud.tasks.v2beta3.Task tasks = 1;
Returns |
---|
Type | Description |
int | |
getTasksList()
public List<Task> getTasksList()
The list of tasks.
repeated .google.cloud.tasks.v2beta3.Task tasks = 1;
getTasksOrBuilder(int index)
public TaskOrBuilder getTasksOrBuilder(int index)
The list of tasks.
repeated .google.cloud.tasks.v2beta3.Task tasks = 1;
Parameter |
---|
Name | Description |
index | int
|
getTasksOrBuilderList()
public List<? extends TaskOrBuilder> getTasksOrBuilderList()
The list of tasks.
repeated .google.cloud.tasks.v2beta3.Task tasks = 1;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.tasks.v2beta3.TaskOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListTasksResponse other)
public ListTasksResponse.Builder mergeFrom(ListTasksResponse other)
public ListTasksResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListTasksResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListTasksResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeTasks(int index)
public ListTasksResponse.Builder removeTasks(int index)
The list of tasks.
repeated .google.cloud.tasks.v2beta3.Task tasks = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListTasksResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListTasksResponse.Builder setNextPageToken(String value)
A token to retrieve next page of results.
To return the next page of results, call
ListTasks with this
value as the
page_token.
If the next_page_token is empty, there are no more results.
string next_page_token = 2;
Parameter |
---|
Name | Description |
value | String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListTasksResponse.Builder setNextPageTokenBytes(ByteString value)
A token to retrieve next page of results.
To return the next page of results, call
ListTasks with this
value as the
page_token.
If the next_page_token is empty, there are no more results.
string next_page_token = 2;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListTasksResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTasks(int index, Task value)
public ListTasksResponse.Builder setTasks(int index, Task value)
The list of tasks.
repeated .google.cloud.tasks.v2beta3.Task tasks = 1;
Parameters |
---|
Name | Description |
index | int
|
value | Task
|
setTasks(int index, Task.Builder builderForValue)
public ListTasksResponse.Builder setTasks(int index, Task.Builder builderForValue)
The list of tasks.
repeated .google.cloud.tasks.v2beta3.Task tasks = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final ListTasksResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides