Class UpdateQueueRequest.Builder (2.21.0)

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

Request message for UpdateQueue.

Protobuf type google.cloud.tasks.v2.UpdateQueueRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateQueueRequest build()
Returns
TypeDescription
UpdateQueueRequest

buildPartial()

public UpdateQueueRequest buildPartial()
Returns
TypeDescription
UpdateQueueRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateQueueRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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
TypeDescription
UpdateQueueRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateQueueRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateQueueRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateQueueRequest other)

public UpdateQueueRequest.Builder mergeFrom(UpdateQueueRequest other)
Parameter
NameDescription
otherUpdateQueueRequest
Returns
TypeDescription
UpdateQueueRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateQueueRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueQueue
Returns
TypeDescription
UpdateQueueRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateQueueRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateQueueRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateQueueRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueQueue
Returns
TypeDescription
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.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueQueue.Builder
Returns
TypeDescription
UpdateQueueRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateQueueRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateQueueRequest.Builder