Class CreateDataLabelingJobRequest.Builder (3.84.0)

public static final class CreateDataLabelingJobRequest.Builder extends GeneratedMessage.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

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

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.

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 GeneratedMessage.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

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

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.