Class UpdateJobRequest.Builder (2.1.23)

public static final class UpdateJobRequest.Builder extends GeneratedMessageV3.Builder<UpdateJobRequest.Builder> implements UpdateJobRequestOrBuilder

Request message for UpdateJob.

Protobuf type google.cloud.scheduler.v1.UpdateJobRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateJobRequest build()
Returns
TypeDescription
UpdateJobRequest

buildPartial()

public UpdateJobRequest buildPartial()
Returns
TypeDescription
UpdateJobRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearJob()

public UpdateJobRequest.Builder clearJob()

Required. The new job properties. name must be specified. Output only fields cannot be modified using UpdateJob. Any value specified for an output only field will be ignored.

.google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateJobRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateJobRequest.Builder clearUpdateMask()

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

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateJobRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateJobRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateJobRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getJob()

public Job getJob()

Required. The new job properties. name must be specified. Output only fields cannot be modified using UpdateJob. Any value specified for an output only field will be ignored.

.google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Job

The job.

getJobBuilder()

public Job.Builder getJobBuilder()

Required. The new job properties. name must be specified. Output only fields cannot be modified using UpdateJob. Any value specified for an output only field will be ignored.

.google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Job.Builder

getJobOrBuilder()

public JobOrBuilder getJobOrBuilder()

Required. The new job properties. name must be specified. Output only fields cannot be modified using UpdateJob. Any value specified for an output only field will be ignored.

.google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
JobOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

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

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

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

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

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

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMaskOrBuilder

hasJob()

public boolean hasJob()

Required. The new job properties. name must be specified. Output only fields cannot be modified using UpdateJob. Any value specified for an output only field will be ignored.

.google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the job field is set.

hasUpdateMask()

public boolean hasUpdateMask()

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

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

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(UpdateJobRequest other)

public UpdateJobRequest.Builder mergeFrom(UpdateJobRequest other)
Parameter
NameDescription
otherUpdateJobRequest
Returns
TypeDescription
UpdateJobRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeJob(Job value)

public UpdateJobRequest.Builder mergeJob(Job value)

Required. The new job properties. name must be specified. Output only fields cannot be modified using UpdateJob. Any value specified for an output only field will be ignored.

.google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueJob
Returns
TypeDescription
UpdateJobRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateJobRequest.Builder mergeUpdateMask(FieldMask value)

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

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateJobRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setJob(Job value)

public UpdateJobRequest.Builder setJob(Job value)

Required. The new job properties. name must be specified. Output only fields cannot be modified using UpdateJob. Any value specified for an output only field will be ignored.

.google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueJob
Returns
TypeDescription
UpdateJobRequest.Builder

setJob(Job.Builder builderForValue)

public UpdateJobRequest.Builder setJob(Job.Builder builderForValue)

Required. The new job properties. name must be specified. Output only fields cannot be modified using UpdateJob. Any value specified for an output only field will be ignored.

.google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueJob.Builder
Returns
TypeDescription
UpdateJobRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateJobRequest.Builder setUpdateMask(FieldMask value)

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

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateJobRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateJobRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

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

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateJobRequest.Builder