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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateJobRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateJobRequest build()
Returns
buildPartial()
public UpdateJobRequest buildPartial()
Returns
clear()
public UpdateJobRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateJobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public UpdateJobRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateJobRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
Type | Description |
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
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
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
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
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
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
Type | Description |
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
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UpdateJobRequest other)
public UpdateJobRequest.Builder mergeFrom(UpdateJobRequest other)
Parameter
Returns
public UpdateJobRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateJobRequest.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateJobRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateJobRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateJobRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Name | Description |
builderForValue | Builder
|
Returns