- 4.44.0 (latest)
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.34.0
- 4.33.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.6.0
- 4.5.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.8
- 3.1.2
- 3.0.3
- 2.3.1
public static final class UpdateJobRequest.Builder extends GeneratedMessageV3.Builder<UpdateJobRequest.Builder> implements UpdateJobRequestOrBuilder
A request to update a job.
Protobuf type google.cloud.dataproc.v1.UpdateJobRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpdateJobRequest.BuilderImplements
UpdateJobRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateJobRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
UpdateJobRequest.Builder |
build()
public UpdateJobRequest build()
Returns | |
---|---|
Type | Description |
UpdateJobRequest |
buildPartial()
public UpdateJobRequest buildPartial()
Returns | |
---|---|
Type | Description |
UpdateJobRequest |
clear()
public UpdateJobRequest.Builder clear()
Returns | |
---|---|
Type | Description |
UpdateJobRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public UpdateJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
UpdateJobRequest.Builder |
clearJob()
public UpdateJobRequest.Builder clearJob()
Required. The changes to the job.
.google.cloud.dataproc.v1.Job job = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
UpdateJobRequest.Builder |
clearJobId()
public UpdateJobRequest.Builder clearJobId()
Required. The job ID.
string job_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
UpdateJobRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateJobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
UpdateJobRequest.Builder |
clearProjectId()
public UpdateJobRequest.Builder clearProjectId()
Required. The ID of the Google Cloud Platform project that the job belongs to.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
UpdateJobRequest.Builder |
This builder for chaining. |
clearRegion()
public UpdateJobRequest.Builder clearRegion()
Required. The Dataproc region in which to handle the request.
string region = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
UpdateJobRequest.Builder |
This builder for chaining. |
clearUpdateMask()
public UpdateJobRequest.Builder clearUpdateMask()
Required. Specifies the path, relative to <code>Job</code>, of
the field to update. For example, to update the labels of a Job the
<code>update_mask</code> parameter would be specified as
<code>labels</code>, and the PATCH
request body would specify the new
value. <strong>Note:</strong> Currently, <code>labels</code> is the only
field that can be updated.
.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
UpdateJobRequest.Builder |
clone()
public UpdateJobRequest.Builder clone()
Returns | |
---|---|
Type | Description |
UpdateJobRequest.Builder |
getDefaultInstanceForType()
public UpdateJobRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
UpdateJobRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getJob()
public Job getJob()
Required. The changes to the job.
.google.cloud.dataproc.v1.Job job = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Job |
The job. |
getJobBuilder()
public Job.Builder getJobBuilder()
Required. The changes to the job.
.google.cloud.dataproc.v1.Job job = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Job.Builder |
getJobId()
public String getJobId()
Required. The job ID.
string job_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The jobId. |
getJobIdBytes()
public ByteString getJobIdBytes()
Required. The job ID.
string job_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for jobId. |
getJobOrBuilder()
public JobOrBuilder getJobOrBuilder()
Required. The changes to the job.
.google.cloud.dataproc.v1.Job job = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
JobOrBuilder |
getProjectId()
public String getProjectId()
Required. The ID of the Google Cloud Platform project that the job belongs to.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The projectId. |
getProjectIdBytes()
public ByteString getProjectIdBytes()
Required. The ID of the Google Cloud Platform project that the job belongs to.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for projectId. |
getRegion()
public String getRegion()
Required. The Dataproc region in which to handle the request.
string region = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The region. |
getRegionBytes()
public ByteString getRegionBytes()
Required. The Dataproc region in which to handle the request.
string region = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for region. |
getUpdateMask()
public FieldMask getUpdateMask()
Required. Specifies the path, relative to <code>Job</code>, of
the field to update. For example, to update the labels of a Job the
<code>update_mask</code> parameter would be specified as
<code>labels</code>, and the PATCH
request body would specify the new
value. <strong>Note:</strong> Currently, <code>labels</code> is the only
field that can be updated.
.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Required. Specifies the path, relative to <code>Job</code>, of
the field to update. For example, to update the labels of a Job the
<code>update_mask</code> parameter would be specified as
<code>labels</code>, and the PATCH
request body would specify the new
value. <strong>Note:</strong> Currently, <code>labels</code> is the only
field that can be updated.
.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. Specifies the path, relative to <code>Job</code>, of
the field to update. For example, to update the labels of a Job the
<code>update_mask</code> parameter would be specified as
<code>labels</code>, and the PATCH
request body would specify the new
value. <strong>Note:</strong> Currently, <code>labels</code> is the only
field that can be updated.
.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
FieldMaskOrBuilder |
hasJob()
public boolean hasJob()
Required. The changes to the job.
.google.cloud.dataproc.v1.Job job = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the job field is set. |
hasUpdateMask()
public boolean hasUpdateMask()
Required. Specifies the path, relative to <code>Job</code>, of
the field to update. For example, to update the labels of a Job the
<code>update_mask</code> parameter would be specified as
<code>labels</code>, and the PATCH
request body would specify the new
value. <strong>Note:</strong> Currently, <code>labels</code> is the only
field that can be updated.
.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(UpdateJobRequest other)
public UpdateJobRequest.Builder mergeFrom(UpdateJobRequest other)
Parameter | |
---|---|
Name | Description |
other |
UpdateJobRequest |
Returns | |
---|---|
Type | Description |
UpdateJobRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateJobRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpdateJobRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public UpdateJobRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
UpdateJobRequest.Builder |
mergeJob(Job value)
public UpdateJobRequest.Builder mergeJob(Job value)
Required. The changes to the job.
.google.cloud.dataproc.v1.Job job = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
Job |
Returns | |
---|---|
Type | Description |
UpdateJobRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UpdateJobRequest.Builder |
mergeUpdateMask(FieldMask value)
public UpdateJobRequest.Builder mergeUpdateMask(FieldMask value)
Required. Specifies the path, relative to <code>Job</code>, of
the field to update. For example, to update the labels of a Job the
<code>update_mask</code> parameter would be specified as
<code>labels</code>, and the PATCH
request body would specify the new
value. <strong>Note:</strong> Currently, <code>labels</code> is the only
field that can be updated.
.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
FieldMask |
Returns | |
---|---|
Type | Description |
UpdateJobRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateJobRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
UpdateJobRequest.Builder |
setJob(Job value)
public UpdateJobRequest.Builder setJob(Job value)
Required. The changes to the job.
.google.cloud.dataproc.v1.Job job = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
Job |
Returns | |
---|---|
Type | Description |
UpdateJobRequest.Builder |
setJob(Job.Builder builderForValue)
public UpdateJobRequest.Builder setJob(Job.Builder builderForValue)
Required. The changes to the job.
.google.cloud.dataproc.v1.Job job = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
Job.Builder |
Returns | |
---|---|
Type | Description |
UpdateJobRequest.Builder |
setJobId(String value)
public UpdateJobRequest.Builder setJobId(String value)
Required. The job ID.
string job_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The jobId to set. |
Returns | |
---|---|
Type | Description |
UpdateJobRequest.Builder |
This builder for chaining. |
setJobIdBytes(ByteString value)
public UpdateJobRequest.Builder setJobIdBytes(ByteString value)
Required. The job ID.
string job_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for jobId to set. |
Returns | |
---|---|
Type | Description |
UpdateJobRequest.Builder |
This builder for chaining. |
setProjectId(String value)
public UpdateJobRequest.Builder setProjectId(String value)
Required. The ID of the Google Cloud Platform project that the job belongs to.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The projectId to set. |
Returns | |
---|---|
Type | Description |
UpdateJobRequest.Builder |
This builder for chaining. |
setProjectIdBytes(ByteString value)
public UpdateJobRequest.Builder setProjectIdBytes(ByteString value)
Required. The ID of the Google Cloud Platform project that the job belongs to.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for projectId to set. |
Returns | |
---|---|
Type | Description |
UpdateJobRequest.Builder |
This builder for chaining. |
setRegion(String value)
public UpdateJobRequest.Builder setRegion(String value)
Required. The Dataproc region in which to handle the request.
string region = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The region to set. |
Returns | |
---|---|
Type | Description |
UpdateJobRequest.Builder |
This builder for chaining. |
setRegionBytes(ByteString value)
public UpdateJobRequest.Builder setRegionBytes(ByteString value)
Required. The Dataproc region in which to handle the request.
string region = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for region to set. |
Returns | |
---|---|
Type | Description |
UpdateJobRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateJobRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
UpdateJobRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateJobRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UpdateJobRequest.Builder |
setUpdateMask(FieldMask value)
public UpdateJobRequest.Builder setUpdateMask(FieldMask value)
Required. Specifies the path, relative to <code>Job</code>, of
the field to update. For example, to update the labels of a Job the
<code>update_mask</code> parameter would be specified as
<code>labels</code>, and the PATCH
request body would specify the new
value. <strong>Note:</strong> Currently, <code>labels</code> is the only
field that can be updated.
.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
FieldMask |
Returns | |
---|---|
Type | Description |
UpdateJobRequest.Builder |
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateJobRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Required. Specifies the path, relative to <code>Job</code>, of
the field to update. For example, to update the labels of a Job the
<code>update_mask</code> parameter would be specified as
<code>labels</code>, and the PATCH
request body would specify the new
value. <strong>Note:</strong> Currently, <code>labels</code> is the only
field that can be updated.
.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
UpdateJobRequest.Builder |