- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 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()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.tasks.v2beta2.Task> |
Returns | |
---|---|
Type | Description |
LeaseTasksResponse.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LeaseTasksResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
LeaseTasksResponse.Builder |
addTasks(Task value)
public LeaseTasksResponse.Builder addTasks(Task value)
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
Parameter | |
---|---|
Name | Description |
value |
Task |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
Task.Builder |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Task |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Task.Builder |
Returns | |
---|---|
Type | Description |
LeaseTasksResponse.Builder |
addTasksBuilder()
public Task.Builder addTasksBuilder()
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
Returns | |
---|---|
Type | Description |
Task.Builder |
addTasksBuilder(int index)
public Task.Builder addTasksBuilder(int index)
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Task.Builder |
build()
public LeaseTasksResponse build()
Returns | |
---|---|
Type | Description |
LeaseTasksResponse |
buildPartial()
public LeaseTasksResponse buildPartial()
Returns | |
---|---|
Type | Description |
LeaseTasksResponse |
clear()
public LeaseTasksResponse.Builder clear()
Returns | |
---|---|
Type | Description |
LeaseTasksResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public LeaseTasksResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
LeaseTasksResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public LeaseTasksResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
LeaseTasksResponse.Builder |
clearTasks()
public LeaseTasksResponse.Builder clearTasks()
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
Returns | |
---|---|
Type | Description |
LeaseTasksResponse.Builder |
clone()
public LeaseTasksResponse.Builder clone()
Returns | |
---|---|
Type | Description |
LeaseTasksResponse.Builder |
getDefaultInstanceForType()
public LeaseTasksResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
LeaseTasksResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getTasks(int index)
public Task getTasks(int index)
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Task |
getTasksBuilder(int index)
public Task.Builder getTasksBuilder(int index)
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Task.Builder |
getTasksBuilderList()
public List<Task.Builder> getTasksBuilderList()
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
Returns | |
---|---|
Type | Description |
List<Builder> |
getTasksCount()
public int getTasksCount()
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
Returns | |
---|---|
Type | Description |
int |
getTasksList()
public List<Task> getTasksList()
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
Returns | |
---|---|
Type | Description |
List<Task> |
getTasksOrBuilder(int index)
public TaskOrBuilder getTasksOrBuilder(int index)
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TaskOrBuilder |
getTasksOrBuilderList()
public List<? extends TaskOrBuilder> getTasksOrBuilderList()
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.tasks.v2beta2.TaskOrBuilder> |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(LeaseTasksResponse other)
public LeaseTasksResponse.Builder mergeFrom(LeaseTasksResponse other)
Parameter | |
---|---|
Name | Description |
other |
LeaseTasksResponse |
Returns | |
---|---|
Type | Description |
LeaseTasksResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LeaseTasksResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
LeaseTasksResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public LeaseTasksResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
LeaseTasksResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LeaseTasksResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LeaseTasksResponse.Builder |
removeTasks(int index)
public LeaseTasksResponse.Builder removeTasks(int index)
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
LeaseTasksResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public LeaseTasksResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
LeaseTasksResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LeaseTasksResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Task |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Task.Builder |
Returns | |
---|---|
Type | Description |
LeaseTasksResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final LeaseTasksResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LeaseTasksResponse.Builder |