Class BufferTaskResponse.Builder (2.30.0)

public static final class BufferTaskResponse.Builder extends GeneratedMessageV3.Builder<BufferTaskResponse.Builder> implements BufferTaskResponseOrBuilder

Response message for BufferTask.

Protobuf type google.cloud.tasks.v2beta3.BufferTaskResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BufferTaskResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BufferTaskResponse.Builder
Overrides

build()

public BufferTaskResponse build()
Returns
TypeDescription
BufferTaskResponse

buildPartial()

public BufferTaskResponse buildPartial()
Returns
TypeDescription
BufferTaskResponse

clear()

public BufferTaskResponse.Builder clear()
Returns
TypeDescription
BufferTaskResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BufferTaskResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BufferTaskResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BufferTaskResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BufferTaskResponse.Builder
Overrides

clearTask()

public BufferTaskResponse.Builder clearTask()

The created task.

.google.cloud.tasks.v2beta3.Task task = 1;

Returns
TypeDescription
BufferTaskResponse.Builder

clone()

public BufferTaskResponse.Builder clone()
Returns
TypeDescription
BufferTaskResponse.Builder
Overrides

getDefaultInstanceForType()

public BufferTaskResponse getDefaultInstanceForType()
Returns
TypeDescription
BufferTaskResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getTask()

public Task getTask()

The created task.

.google.cloud.tasks.v2beta3.Task task = 1;

Returns
TypeDescription
Task

The task.

getTaskBuilder()

public Task.Builder getTaskBuilder()

The created task.

.google.cloud.tasks.v2beta3.Task task = 1;

Returns
TypeDescription
Task.Builder

getTaskOrBuilder()

public TaskOrBuilder getTaskOrBuilder()

The created task.

.google.cloud.tasks.v2beta3.Task task = 1;

Returns
TypeDescription
TaskOrBuilder

hasTask()

public boolean hasTask()

The created task.

.google.cloud.tasks.v2beta3.Task task = 1;

Returns
TypeDescription
boolean

Whether the task field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BufferTaskResponse other)

public BufferTaskResponse.Builder mergeFrom(BufferTaskResponse other)
Parameter
NameDescription
otherBufferTaskResponse
Returns
TypeDescription
BufferTaskResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BufferTaskResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BufferTaskResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BufferTaskResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BufferTaskResponse.Builder
Overrides

mergeTask(Task value)

public BufferTaskResponse.Builder mergeTask(Task value)

The created task.

.google.cloud.tasks.v2beta3.Task task = 1;

Parameter
NameDescription
valueTask
Returns
TypeDescription
BufferTaskResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BufferTaskResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BufferTaskResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public BufferTaskResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BufferTaskResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BufferTaskResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BufferTaskResponse.Builder
Overrides

setTask(Task value)

public BufferTaskResponse.Builder setTask(Task value)

The created task.

.google.cloud.tasks.v2beta3.Task task = 1;

Parameter
NameDescription
valueTask
Returns
TypeDescription
BufferTaskResponse.Builder

setTask(Task.Builder builderForValue)

public BufferTaskResponse.Builder setTask(Task.Builder builderForValue)

The created task.

.google.cloud.tasks.v2beta3.Task task = 1;

Parameter
NameDescription
builderForValueTask.Builder
Returns
TypeDescription
BufferTaskResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final BufferTaskResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BufferTaskResponse.Builder
Overrides