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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateQueueRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateQueueRequest build()
Returns
buildPartial()
public UpdateQueueRequest buildPartial()
Returns
clear()
public UpdateQueueRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateQueueRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateQueueRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
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
clone()
public UpdateQueueRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateQueueRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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
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
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UpdateQueueRequest other)
public UpdateQueueRequest.Builder mergeFrom(UpdateQueueRequest other)
Parameter
Returns
public UpdateQueueRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateQueueRequest.Builder mergeFrom(Message other)
Parameter
Returns
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
Name | Description |
value | Queue
|
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateQueueRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateQueueRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Name | Description |
value | Queue
|
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateQueueRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateQueueRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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