Class UpdateQueueRequest.Builder (2.45.0)

public static final class UpdateQueueRequest.Builder extends GeneratedMessageV3.Builder<UpdateQueueRequest.Builder> implements UpdateQueueRequestOrBuilder

Request message for UpdateQueue.

Protobuf type google.cloud.tasks.v2beta3.UpdateQueueRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateQueueRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateQueueRequest.Builder
Overrides

build()

public UpdateQueueRequest build()
Returns
Type Description
UpdateQueueRequest

buildPartial()

public UpdateQueueRequest buildPartial()
Returns
Type Description
UpdateQueueRequest

clear()

public UpdateQueueRequest.Builder clear()
Returns
Type Description
UpdateQueueRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateQueueRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateQueueRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateQueueRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateQueueRequest.Builder
Overrides

clearQueue()

public UpdateQueueRequest.Builder clearQueue()

Required. The queue to create or update.

The queue's name must be specified.

Output only fields cannot be modified using UpdateQueue. Any value specified for an output only field will be ignored. The queue's name cannot be changed.

.google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateQueueRequest.Builder

clearUpdateMask()

public UpdateQueueRequest.Builder clearUpdateMask()

A mask used to specify which fields of the queue are being updated.

If empty, then all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateQueueRequest.Builder

clone()

public UpdateQueueRequest.Builder clone()
Returns
Type Description
UpdateQueueRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateQueueRequest getDefaultInstanceForType()
Returns
Type Description
UpdateQueueRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getQueue()

public Queue getQueue()

Required. The queue to create or update.

The queue's name must be specified.

Output only fields cannot be modified using UpdateQueue. Any value specified for an output only field will be ignored. The queue's name cannot be changed.

.google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Queue

The queue.

getQueueBuilder()

public Queue.Builder getQueueBuilder()

Required. The queue to create or update.

The queue's name must be specified.

Output only fields cannot be modified using UpdateQueue. Any value specified for an output only field will be ignored. The queue's name cannot be changed.

.google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Queue.Builder

getQueueOrBuilder()

public QueueOrBuilder getQueueOrBuilder()

Required. The queue to create or update.

The queue's name must be specified.

Output only fields cannot be modified using UpdateQueue. Any value specified for an output only field will be ignored. The queue's name cannot be changed.

.google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
QueueOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

A mask used to specify which fields of the queue are being updated.

If empty, then all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

A mask used to specify which fields of the queue are being updated.

If empty, then all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

A mask used to specify which fields of the queue are being updated.

If empty, then all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasQueue()

public boolean hasQueue()

Required. The queue to create or update.

The queue's name must be specified.

Output only fields cannot be modified using UpdateQueue. Any value specified for an output only field will be ignored. The queue's name cannot be changed.

.google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the queue field is set.

hasUpdateMask()

public boolean hasUpdateMask()

A mask used to specify which fields of the queue are being updated.

If empty, then all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateQueueRequest other)

public UpdateQueueRequest.Builder mergeFrom(UpdateQueueRequest other)
Parameter
Name Description
other UpdateQueueRequest
Returns
Type Description
UpdateQueueRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateQueueRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateQueueRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateQueueRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateQueueRequest.Builder
Overrides

mergeQueue(Queue value)

public UpdateQueueRequest.Builder mergeQueue(Queue value)

Required. The queue to create or update.

The queue's name must be specified.

Output only fields cannot be modified using UpdateQueue. Any value specified for an output only field will be ignored. The queue's name cannot be changed.

.google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Queue
Returns
Type Description
UpdateQueueRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateQueueRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateQueueRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateQueueRequest.Builder mergeUpdateMask(FieldMask value)

A mask used to specify which fields of the queue are being updated.

If empty, then all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateQueueRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateQueueRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateQueueRequest.Builder
Overrides

setQueue(Queue value)

public UpdateQueueRequest.Builder setQueue(Queue value)

Required. The queue to create or update.

The queue's name must be specified.

Output only fields cannot be modified using UpdateQueue. Any value specified for an output only field will be ignored. The queue's name cannot be changed.

.google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Queue
Returns
Type Description
UpdateQueueRequest.Builder

setQueue(Queue.Builder builderForValue)

public UpdateQueueRequest.Builder setQueue(Queue.Builder builderForValue)

Required. The queue to create or update.

The queue's name must be specified.

Output only fields cannot be modified using UpdateQueue. Any value specified for an output only field will be ignored. The queue's name cannot be changed.

.google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Queue.Builder
Returns
Type Description
UpdateQueueRequest.Builder

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

public UpdateQueueRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateQueueRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateQueueRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateQueueRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateQueueRequest.Builder setUpdateMask(FieldMask value)

A mask used to specify which fields of the queue are being updated.

If empty, then all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateQueueRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateQueueRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

A mask used to specify which fields of the queue are being updated.

If empty, then all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateQueueRequest.Builder