public static final class CreateDataLabelingJobRequest.Builder extends GeneratedMessageV3.Builder<CreateDataLabelingJobRequest.Builder> implements CreateDataLabelingJobRequestOrBuilder
Request message for JobService.CreateDataLabelingJob.
Protobuf type google.cloud.aiplatform.v1.CreateDataLabelingJobRequest
Methods
public CreateDataLabelingJobRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateDataLabelingJobRequest build()
Returns
public CreateDataLabelingJobRequest buildPartial()
Returns
public CreateDataLabelingJobRequest.Builder clear()
Returns
Overrides
public CreateDataLabelingJobRequest.Builder clearDataLabelingJob()
Required. The DataLabelingJob to create.
.google.cloud.aiplatform.v1.DataLabelingJob data_labeling_job = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public CreateDataLabelingJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public CreateDataLabelingJobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public CreateDataLabelingJobRequest.Builder clearParent()
Required. The parent of the DataLabelingJob.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public CreateDataLabelingJobRequest.Builder clone()
Returns
Overrides
public DataLabelingJob getDataLabelingJob()
Required. The DataLabelingJob to create.
.google.cloud.aiplatform.v1.DataLabelingJob data_labeling_job = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public DataLabelingJob.Builder getDataLabelingJobBuilder()
Required. The DataLabelingJob to create.
.google.cloud.aiplatform.v1.DataLabelingJob data_labeling_job = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public DataLabelingJobOrBuilder getDataLabelingJobOrBuilder()
Required. The DataLabelingJob to create.
.google.cloud.aiplatform.v1.DataLabelingJob data_labeling_job = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public CreateDataLabelingJobRequest getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public String getParent()
Required. The parent of the DataLabelingJob.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The parent.
|
public ByteString getParentBytes()
Required. The parent of the DataLabelingJob.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public boolean hasDataLabelingJob()
Required. The DataLabelingJob to create.
.google.cloud.aiplatform.v1.DataLabelingJob data_labeling_job = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the dataLabelingJob field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CreateDataLabelingJobRequest.Builder mergeDataLabelingJob(DataLabelingJob value)
Required. The DataLabelingJob to create.
.google.cloud.aiplatform.v1.DataLabelingJob data_labeling_job = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public CreateDataLabelingJobRequest.Builder mergeFrom(CreateDataLabelingJobRequest other)
Parameter
Returns
public CreateDataLabelingJobRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public CreateDataLabelingJobRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final CreateDataLabelingJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public CreateDataLabelingJobRequest.Builder setDataLabelingJob(DataLabelingJob value)
Required. The DataLabelingJob to create.
.google.cloud.aiplatform.v1.DataLabelingJob data_labeling_job = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public CreateDataLabelingJobRequest.Builder setDataLabelingJob(DataLabelingJob.Builder builderForValue)
Required. The DataLabelingJob to create.
.google.cloud.aiplatform.v1.DataLabelingJob data_labeling_job = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public CreateDataLabelingJobRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateDataLabelingJobRequest.Builder setParent(String value)
Required. The parent of the DataLabelingJob.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The parent to set.
|
Returns
public CreateDataLabelingJobRequest.Builder setParentBytes(ByteString value)
Required. The parent of the DataLabelingJob.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
public CreateDataLabelingJobRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final CreateDataLabelingJobRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides