public static final class CreateDataLabelingJobRequest.Builder extends GeneratedMessageV3.Builder<CreateDataLabelingJobRequest.Builder> implements CreateDataLabelingJobRequestOrBuilder
Request message for
JobService.CreateDataLabelingJob.
Protobuf type google.cloud.aiplatform.v1beta1.CreateDataLabelingJobRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public CreateDataLabelingJobRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CreateDataLabelingJobRequest build()
public CreateDataLabelingJobRequest buildPartial()
public CreateDataLabelingJobRequest.Builder clear()
Overrides
public CreateDataLabelingJobRequest.Builder clearDataLabelingJob()
Required. The DataLabelingJob to create.
.google.cloud.aiplatform.v1beta1.DataLabelingJob data_labeling_job = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateDataLabelingJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public CreateDataLabelingJobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
public CreateDataLabelingJobRequest.Builder clone()
Overrides
public DataLabelingJob getDataLabelingJob()
Required. The DataLabelingJob to create.
.google.cloud.aiplatform.v1beta1.DataLabelingJob data_labeling_job = 2 [(.google.api.field_behavior) = REQUIRED];
public DataLabelingJob.Builder getDataLabelingJobBuilder()
Required. The DataLabelingJob to create.
.google.cloud.aiplatform.v1beta1.DataLabelingJob data_labeling_job = 2 [(.google.api.field_behavior) = REQUIRED];
public DataLabelingJobOrBuilder getDataLabelingJobOrBuilder()
Required. The DataLabelingJob to create.
.google.cloud.aiplatform.v1beta1.DataLabelingJob data_labeling_job = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateDataLabelingJobRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
ByteString | The bytes for parent.
|
public boolean hasDataLabelingJob()
Required. The DataLabelingJob to create.
.google.cloud.aiplatform.v1beta1.DataLabelingJob data_labeling_job = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the dataLabelingJob field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public CreateDataLabelingJobRequest.Builder mergeDataLabelingJob(DataLabelingJob value)
Required. The DataLabelingJob to create.
.google.cloud.aiplatform.v1beta1.DataLabelingJob data_labeling_job = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateDataLabelingJobRequest.Builder mergeFrom(CreateDataLabelingJobRequest other)
public CreateDataLabelingJobRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public CreateDataLabelingJobRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final CreateDataLabelingJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public CreateDataLabelingJobRequest.Builder setDataLabelingJob(DataLabelingJob value)
Required. The DataLabelingJob to create.
.google.cloud.aiplatform.v1beta1.DataLabelingJob data_labeling_job = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateDataLabelingJobRequest.Builder setDataLabelingJob(DataLabelingJob.Builder builderForValue)
Required. The DataLabelingJob to create.
.google.cloud.aiplatform.v1beta1.DataLabelingJob data_labeling_job = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateDataLabelingJobRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public CreateDataLabelingJobRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final CreateDataLabelingJobRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides