Class CreateDataLabelingJobRequest.Builder (3.49.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateDataLabelingJobRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateDataLabelingJobRequest.Builder
Overrides

build()

public CreateDataLabelingJobRequest build()
Returns
Type Description
CreateDataLabelingJobRequest

buildPartial()

public CreateDataLabelingJobRequest buildPartial()
Returns
Type Description
CreateDataLabelingJobRequest

clear()

public CreateDataLabelingJobRequest.Builder clear()
Returns
Type Description
CreateDataLabelingJobRequest.Builder
Overrides

clearDataLabelingJob()

public CreateDataLabelingJobRequest.Builder clearDataLabelingJob()

Required. The DataLabelingJob to create.

.google.cloud.aiplatform.v1.DataLabelingJob data_labeling_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateDataLabelingJobRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public CreateDataLabelingJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateDataLabelingJobRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateDataLabelingJobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateDataLabelingJobRequest.Builder
Overrides

clearParent()

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
Type Description
CreateDataLabelingJobRequest.Builder

This builder for chaining.

clone()

public CreateDataLabelingJobRequest.Builder clone()
Returns
Type Description
CreateDataLabelingJobRequest.Builder
Overrides

getDataLabelingJob()

public DataLabelingJob getDataLabelingJob()

Required. The DataLabelingJob to create.

.google.cloud.aiplatform.v1.DataLabelingJob data_labeling_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataLabelingJob

The dataLabelingJob.

getDataLabelingJobBuilder()

public DataLabelingJob.Builder getDataLabelingJobBuilder()

Required. The DataLabelingJob to create.

.google.cloud.aiplatform.v1.DataLabelingJob data_labeling_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataLabelingJob.Builder

getDataLabelingJobOrBuilder()

public DataLabelingJobOrBuilder getDataLabelingJobOrBuilder()

Required. The DataLabelingJob to create.

.google.cloud.aiplatform.v1.DataLabelingJob data_labeling_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataLabelingJobOrBuilder

getDefaultInstanceForType()

public CreateDataLabelingJobRequest getDefaultInstanceForType()
Returns
Type Description
CreateDataLabelingJobRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

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.

getParentBytes()

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.

hasDataLabelingJob()

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDataLabelingJob(DataLabelingJob value)

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
Name Description
value DataLabelingJob
Returns
Type Description
CreateDataLabelingJobRequest.Builder

mergeFrom(CreateDataLabelingJobRequest other)

public CreateDataLabelingJobRequest.Builder mergeFrom(CreateDataLabelingJobRequest other)
Parameter
Name Description
other CreateDataLabelingJobRequest
Returns
Type Description
CreateDataLabelingJobRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateDataLabelingJobRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateDataLabelingJobRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateDataLabelingJobRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateDataLabelingJobRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateDataLabelingJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateDataLabelingJobRequest.Builder
Overrides

setDataLabelingJob(DataLabelingJob value)

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
Name Description
value DataLabelingJob
Returns
Type Description
CreateDataLabelingJobRequest.Builder

setDataLabelingJob(DataLabelingJob.Builder builderForValue)

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
Name Description
builderForValue DataLabelingJob.Builder
Returns
Type Description
CreateDataLabelingJobRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CreateDataLabelingJobRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateDataLabelingJobRequest.Builder
Overrides

setParent(String value)

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
Type Description
CreateDataLabelingJobRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

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
Type Description
CreateDataLabelingJobRequest.Builder

This builder for chaining.

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

public CreateDataLabelingJobRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateDataLabelingJobRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateDataLabelingJobRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateDataLabelingJobRequest.Builder
Overrides