- 2.53.0 (latest)
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.12
- 2.2.0
- 2.1.11
public static final class LeaseTasksResponse.Builder extends GeneratedMessageV3.Builder<LeaseTasksResponse.Builder> implements LeaseTasksResponseOrBuilder
Response message for leasing tasks using LeaseTasks.
Protobuf type google.cloud.tasks.v2beta2.LeaseTasksResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > LeaseTasksResponse.BuilderImplements
LeaseTasksResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllTasks(Iterable<? extends Task> values)
public LeaseTasksResponse.Builder addAllTasks(Iterable<? extends Task> values)
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
Name | Description |
values | Iterable<? extends com.google.cloud.tasks.v2beta2.Task> |
Type | Description |
LeaseTasksResponse.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LeaseTasksResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
LeaseTasksResponse.Builder |
addTasks(Task value)
public LeaseTasksResponse.Builder addTasks(Task value)
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
Name | Description |
value | Task |
Type | Description |
LeaseTasksResponse.Builder |
addTasks(Task.Builder builderForValue)
public LeaseTasksResponse.Builder addTasks(Task.Builder builderForValue)
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
Name | Description |
builderForValue | Task.Builder |
Type | Description |
LeaseTasksResponse.Builder |
addTasks(int index, Task value)
public LeaseTasksResponse.Builder addTasks(int index, Task value)
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
Name | Description |
index | int |
value | Task |
Type | Description |
LeaseTasksResponse.Builder |
addTasks(int index, Task.Builder builderForValue)
public LeaseTasksResponse.Builder addTasks(int index, Task.Builder builderForValue)
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
Name | Description |
index | int |
builderForValue | Task.Builder |
Type | Description |
LeaseTasksResponse.Builder |
addTasksBuilder()
public Task.Builder addTasksBuilder()
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
Type | Description |
Task.Builder |
addTasksBuilder(int index)
public Task.Builder addTasksBuilder(int index)
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
Name | Description |
index | int |
Type | Description |
Task.Builder |
build()
public LeaseTasksResponse build()
Type | Description |
LeaseTasksResponse |
buildPartial()
public LeaseTasksResponse buildPartial()
Type | Description |
LeaseTasksResponse |
clear()
public LeaseTasksResponse.Builder clear()
Type | Description |
LeaseTasksResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public LeaseTasksResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
LeaseTasksResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public LeaseTasksResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
LeaseTasksResponse.Builder |
clearTasks()
public LeaseTasksResponse.Builder clearTasks()
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
Type | Description |
LeaseTasksResponse.Builder |
clone()
public LeaseTasksResponse.Builder clone()
Type | Description |
LeaseTasksResponse.Builder |
getDefaultInstanceForType()
public LeaseTasksResponse getDefaultInstanceForType()
Type | Description |
LeaseTasksResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getTasks(int index)
public Task getTasks(int index)
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
Name | Description |
index | int |
Type | Description |
Task |
getTasksBuilder(int index)
public Task.Builder getTasksBuilder(int index)
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
Name | Description |
index | int |
Type | Description |
Task.Builder |
getTasksBuilderList()
public List<Task.Builder> getTasksBuilderList()
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
Type | Description |
List<Builder> |
getTasksCount()
public int getTasksCount()
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
Type | Description |
int |
getTasksList()
public List<Task> getTasksList()
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
Type | Description |
List<Task> |
getTasksOrBuilder(int index)
public TaskOrBuilder getTasksOrBuilder(int index)
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
Name | Description |
index | int |
Type | Description |
TaskOrBuilder |
getTasksOrBuilderList()
public List<? extends TaskOrBuilder> getTasksOrBuilderList()
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
Type | Description |
List<? extends com.google.cloud.tasks.v2beta2.TaskOrBuilder> |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(LeaseTasksResponse other)
public LeaseTasksResponse.Builder mergeFrom(LeaseTasksResponse other)
Name | Description |
other | LeaseTasksResponse |
Type | Description |
LeaseTasksResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LeaseTasksResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
LeaseTasksResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public LeaseTasksResponse.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
LeaseTasksResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LeaseTasksResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
LeaseTasksResponse.Builder |
removeTasks(int index)
public LeaseTasksResponse.Builder removeTasks(int index)
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
Name | Description |
index | int |
Type | Description |
LeaseTasksResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public LeaseTasksResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
LeaseTasksResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LeaseTasksResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
LeaseTasksResponse.Builder |
setTasks(int index, Task value)
public LeaseTasksResponse.Builder setTasks(int index, Task value)
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
Name | Description |
index | int |
value | Task |
Type | Description |
LeaseTasksResponse.Builder |
setTasks(int index, Task.Builder builderForValue)
public LeaseTasksResponse.Builder setTasks(int index, Task.Builder builderForValue)
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
Name | Description |
index | int |
builderForValue | Task.Builder |
Type | Description |
LeaseTasksResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final LeaseTasksResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
LeaseTasksResponse.Builder |