Class CreateDataLabelingJobRequest.Builder (3.35.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateDataLabelingJobRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateDataLabelingJobRequest.Builder
Overrides

build()

public CreateDataLabelingJobRequest build()
Returns
TypeDescription
CreateDataLabelingJobRequest

buildPartial()

public CreateDataLabelingJobRequest buildPartial()
Returns
TypeDescription
CreateDataLabelingJobRequest

clear()

public CreateDataLabelingJobRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
CreateDataLabelingJobRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public CreateDataLabelingJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateDataLabelingJobRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateDataLabelingJobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CreateDataLabelingJobRequest.Builder

This builder for chaining.

clone()

public CreateDataLabelingJobRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DataLabelingJobOrBuilder

getDefaultInstanceForType()

public CreateDataLabelingJobRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateDataLabelingJobRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the dataLabelingJob field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueDataLabelingJob
Returns
TypeDescription
CreateDataLabelingJobRequest.Builder

mergeFrom(CreateDataLabelingJobRequest other)

public CreateDataLabelingJobRequest.Builder mergeFrom(CreateDataLabelingJobRequest other)
Parameter
NameDescription
otherCreateDataLabelingJobRequest
Returns
TypeDescription
CreateDataLabelingJobRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateDataLabelingJobRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateDataLabelingJobRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateDataLabelingJobRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateDataLabelingJobRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateDataLabelingJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueDataLabelingJob
Returns
TypeDescription
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
NameDescription
builderForValueDataLabelingJob.Builder
Returns
TypeDescription
CreateDataLabelingJobRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CreateDataLabelingJobRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateDataLabelingJobRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateDataLabelingJobRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateDataLabelingJobRequest.Builder
Overrides