public static final class ListTasksResponse.Builder extends GeneratedMessageV3.Builder<ListTasksResponse.Builder> implements ListTasksResponseOrBuilder
Response message containing a list of Tasks.
Protobuf type google.cloud.run.v2.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()
Returns
Methods
addAllTasks(Iterable<? extends Task> values)
public ListTasksResponse.Builder addAllTasks(Iterable<? extends Task> values)
The resulting list of Tasks.
repeated .google.cloud.run.v2.Task tasks = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.run.v2.Task>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListTasksResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addTasks(Task value)
public ListTasksResponse.Builder addTasks(Task value)
The resulting list of Tasks.
repeated .google.cloud.run.v2.Task tasks = 1;
Parameter
Returns
addTasks(Task.Builder builderForValue)
public ListTasksResponse.Builder addTasks(Task.Builder builderForValue)
The resulting list of Tasks.
repeated .google.cloud.run.v2.Task tasks = 1;
Parameter
Returns
addTasks(int index, Task value)
public ListTasksResponse.Builder addTasks(int index, Task value)
The resulting list of Tasks.
repeated .google.cloud.run.v2.Task tasks = 1;
Parameters
Returns
addTasks(int index, Task.Builder builderForValue)
public ListTasksResponse.Builder addTasks(int index, Task.Builder builderForValue)
The resulting list of Tasks.
repeated .google.cloud.run.v2.Task tasks = 1;
Parameters
Returns
addTasksBuilder()
public Task.Builder addTasksBuilder()
The resulting list of Tasks.
repeated .google.cloud.run.v2.Task tasks = 1;
Returns
addTasksBuilder(int index)
public Task.Builder addTasksBuilder(int index)
The resulting list of Tasks.
repeated .google.cloud.run.v2.Task tasks = 1;
Parameter
Returns
build()
public ListTasksResponse build()
Returns
buildPartial()
public ListTasksResponse buildPartial()
Returns
clear()
public ListTasksResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListTasksResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListTasksResponse.Builder clearNextPageToken()
A token indicating there are more items than page_size. Use it in the next
ListTasks request to continue.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListTasksResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTasks()
public ListTasksResponse.Builder clearTasks()
The resulting list of Tasks.
repeated .google.cloud.run.v2.Task tasks = 1;
Returns
clone()
public ListTasksResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListTasksResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
A token indicating there are more items than page_size. Use it in the next
ListTasks request to continue.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token indicating there are more items than page_size. Use it in the next
ListTasks request to continue.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
getTasks(int index)
public Task getTasks(int index)
The resulting list of Tasks.
repeated .google.cloud.run.v2.Task tasks = 1;
Parameter
Returns
getTasksBuilder(int index)
public Task.Builder getTasksBuilder(int index)
The resulting list of Tasks.
repeated .google.cloud.run.v2.Task tasks = 1;
Parameter
Returns
getTasksBuilderList()
public List<Task.Builder> getTasksBuilderList()
The resulting list of Tasks.
repeated .google.cloud.run.v2.Task tasks = 1;
Returns
getTasksCount()
public int getTasksCount()
The resulting list of Tasks.
repeated .google.cloud.run.v2.Task tasks = 1;
Returns
getTasksList()
public List<Task> getTasksList()
The resulting list of Tasks.
repeated .google.cloud.run.v2.Task tasks = 1;
Returns
getTasksOrBuilder(int index)
public TaskOrBuilder getTasksOrBuilder(int index)
The resulting list of Tasks.
repeated .google.cloud.run.v2.Task tasks = 1;
Parameter
Returns
getTasksOrBuilderList()
public List<? extends TaskOrBuilder> getTasksOrBuilderList()
The resulting list of Tasks.
repeated .google.cloud.run.v2.Task tasks = 1;
Returns
Type | Description |
List<? extends com.google.cloud.run.v2.TaskOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListTasksResponse other)
public ListTasksResponse.Builder mergeFrom(ListTasksResponse other)
Parameter
Returns
public ListTasksResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListTasksResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListTasksResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeTasks(int index)
public ListTasksResponse.Builder removeTasks(int index)
The resulting list of Tasks.
repeated .google.cloud.run.v2.Task tasks = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListTasksResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListTasksResponse.Builder setNextPageToken(String value)
A token indicating there are more items than page_size. Use it in the next
ListTasks request to continue.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListTasksResponse.Builder setNextPageTokenBytes(ByteString value)
A token indicating there are more items than page_size. Use it in the next
ListTasks request to continue.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListTasksResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setTasks(int index, Task value)
public ListTasksResponse.Builder setTasks(int index, Task value)
The resulting list of Tasks.
repeated .google.cloud.run.v2.Task tasks = 1;
Parameters
Returns
setTasks(int index, Task.Builder builderForValue)
public ListTasksResponse.Builder setTasks(int index, Task.Builder builderForValue)
The resulting list of Tasks.
repeated .google.cloud.run.v2.Task tasks = 1;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListTasksResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides