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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LeaseTasksResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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
|
addTasks(Task.Builder builderForValue)
public LeaseTasksResponse.Builder addTasks(Task.Builder builderForValue)
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
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
|
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;
addTasksBuilder()
public Task.Builder addTasksBuilder()
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
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
|
build()
public LeaseTasksResponse build()
buildPartial()
public LeaseTasksResponse buildPartial()
clear()
public LeaseTasksResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public LeaseTasksResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public LeaseTasksResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTasks()
public LeaseTasksResponse.Builder clearTasks()
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
clone()
public LeaseTasksResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public LeaseTasksResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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
|
getTasksBuilderList()
public List<Task.Builder> getTasksBuilderList()
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
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;
getTasksOrBuilder(int index)
public TaskOrBuilder getTasksOrBuilder(int index)
The leased tasks.
repeated .google.cloud.tasks.v2beta2.Task tasks = 1;
Parameter |
---|
Name | Description |
index | int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(LeaseTasksResponse other)
public LeaseTasksResponse.Builder mergeFrom(LeaseTasksResponse other)
public LeaseTasksResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public LeaseTasksResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LeaseTasksResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public LeaseTasksResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LeaseTasksResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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
|
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final LeaseTasksResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides