Class MigratableResource.DataLabelingDataset.Builder (3.50.0)

public static final class MigratableResource.DataLabelingDataset.Builder extends GeneratedMessageV3.Builder<MigratableResource.DataLabelingDataset.Builder> implements MigratableResource.DataLabelingDatasetOrBuilder

Represents one Dataset in datalabeling.googleapis.com.

Protobuf type google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset

Static Methods

getDescriptor()

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

Methods

addAllDataLabelingAnnotatedDatasets(Iterable<? extends MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset> values)

public MigratableResource.DataLabelingDataset.Builder addAllDataLabelingAnnotatedDatasets(Iterable<? extends MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset> values)

The migratable AnnotatedDataset in datalabeling.googleapis.com belongs to the data labeling Dataset.

repeated .google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset>
Returns
Type Description
MigratableResource.DataLabelingDataset.Builder

addDataLabelingAnnotatedDatasets(MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset value)

public MigratableResource.DataLabelingDataset.Builder addDataLabelingAnnotatedDatasets(MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset value)

The migratable AnnotatedDataset in datalabeling.googleapis.com belongs to the data labeling Dataset.

repeated .google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Parameter
Name Description
value MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset
Returns
Type Description
MigratableResource.DataLabelingDataset.Builder

addDataLabelingAnnotatedDatasets(MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder builderForValue)

public MigratableResource.DataLabelingDataset.Builder addDataLabelingAnnotatedDatasets(MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder builderForValue)

The migratable AnnotatedDataset in datalabeling.googleapis.com belongs to the data labeling Dataset.

repeated .google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Parameter
Name Description
builderForValue MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder
Returns
Type Description
MigratableResource.DataLabelingDataset.Builder

addDataLabelingAnnotatedDatasets(int index, MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset value)

public MigratableResource.DataLabelingDataset.Builder addDataLabelingAnnotatedDatasets(int index, MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset value)

The migratable AnnotatedDataset in datalabeling.googleapis.com belongs to the data labeling Dataset.

repeated .google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Parameters
Name Description
index int
value MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset
Returns
Type Description
MigratableResource.DataLabelingDataset.Builder

addDataLabelingAnnotatedDatasets(int index, MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder builderForValue)

public MigratableResource.DataLabelingDataset.Builder addDataLabelingAnnotatedDatasets(int index, MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder builderForValue)

The migratable AnnotatedDataset in datalabeling.googleapis.com belongs to the data labeling Dataset.

repeated .google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Parameters
Name Description
index int
builderForValue MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder
Returns
Type Description
MigratableResource.DataLabelingDataset.Builder

addDataLabelingAnnotatedDatasetsBuilder()

public MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder addDataLabelingAnnotatedDatasetsBuilder()

The migratable AnnotatedDataset in datalabeling.googleapis.com belongs to the data labeling Dataset.

repeated .google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Returns
Type Description
MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder

addDataLabelingAnnotatedDatasetsBuilder(int index)

public MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder addDataLabelingAnnotatedDatasetsBuilder(int index)

The migratable AnnotatedDataset in datalabeling.googleapis.com belongs to the data labeling Dataset.

repeated .google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Parameter
Name Description
index int
Returns
Type Description
MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MigratableResource.DataLabelingDataset build()
Returns
Type Description
MigratableResource.DataLabelingDataset

buildPartial()

public MigratableResource.DataLabelingDataset buildPartial()
Returns
Type Description
MigratableResource.DataLabelingDataset

clear()

public MigratableResource.DataLabelingDataset.Builder clear()
Returns
Type Description
MigratableResource.DataLabelingDataset.Builder
Overrides

clearDataLabelingAnnotatedDatasets()

public MigratableResource.DataLabelingDataset.Builder clearDataLabelingAnnotatedDatasets()

The migratable AnnotatedDataset in datalabeling.googleapis.com belongs to the data labeling Dataset.

repeated .google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Returns
Type Description
MigratableResource.DataLabelingDataset.Builder

clearDataset()

public MigratableResource.DataLabelingDataset.Builder clearDataset()

Full resource name of data labeling Dataset. Format: projects/{project}/datasets/{dataset}.

string dataset = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
MigratableResource.DataLabelingDataset.Builder

This builder for chaining.

clearDatasetDisplayName()

public MigratableResource.DataLabelingDataset.Builder clearDatasetDisplayName()

The Dataset's display name in datalabeling.googleapis.com.

string dataset_display_name = 4;

Returns
Type Description
MigratableResource.DataLabelingDataset.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public MigratableResource.DataLabelingDataset.Builder clone()
Returns
Type Description
MigratableResource.DataLabelingDataset.Builder
Overrides

getDataLabelingAnnotatedDatasets(int index)

public MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset getDataLabelingAnnotatedDatasets(int index)

The migratable AnnotatedDataset in datalabeling.googleapis.com belongs to the data labeling Dataset.

repeated .google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Parameter
Name Description
index int
Returns
Type Description
MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset

getDataLabelingAnnotatedDatasetsBuilder(int index)

public MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder getDataLabelingAnnotatedDatasetsBuilder(int index)

The migratable AnnotatedDataset in datalabeling.googleapis.com belongs to the data labeling Dataset.

repeated .google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Parameter
Name Description
index int
Returns
Type Description
MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder

getDataLabelingAnnotatedDatasetsBuilderList()

public List<MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder> getDataLabelingAnnotatedDatasetsBuilderList()

The migratable AnnotatedDataset in datalabeling.googleapis.com belongs to the data labeling Dataset.

repeated .google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Returns
Type Description
List<Builder>

getDataLabelingAnnotatedDatasetsCount()

public int getDataLabelingAnnotatedDatasetsCount()

The migratable AnnotatedDataset in datalabeling.googleapis.com belongs to the data labeling Dataset.

repeated .google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Returns
Type Description
int

getDataLabelingAnnotatedDatasetsList()

public List<MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset> getDataLabelingAnnotatedDatasetsList()

The migratable AnnotatedDataset in datalabeling.googleapis.com belongs to the data labeling Dataset.

repeated .google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Returns
Type Description
List<DataLabelingAnnotatedDataset>

getDataLabelingAnnotatedDatasetsOrBuilder(int index)

public MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDatasetOrBuilder getDataLabelingAnnotatedDatasetsOrBuilder(int index)

The migratable AnnotatedDataset in datalabeling.googleapis.com belongs to the data labeling Dataset.

repeated .google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Parameter
Name Description
index int
Returns
Type Description
MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDatasetOrBuilder

getDataLabelingAnnotatedDatasetsOrBuilderList()

public List<? extends MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDatasetOrBuilder> getDataLabelingAnnotatedDatasetsOrBuilderList()

The migratable AnnotatedDataset in datalabeling.googleapis.com belongs to the data labeling Dataset.

repeated .google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDatasetOrBuilder>

getDataset()

public String getDataset()

Full resource name of data labeling Dataset. Format: projects/{project}/datasets/{dataset}.

string dataset = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The dataset.

getDatasetBytes()

public ByteString getDatasetBytes()

Full resource name of data labeling Dataset. Format: projects/{project}/datasets/{dataset}.

string dataset = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for dataset.

getDatasetDisplayName()

public String getDatasetDisplayName()

The Dataset's display name in datalabeling.googleapis.com.

string dataset_display_name = 4;

Returns
Type Description
String

The datasetDisplayName.

getDatasetDisplayNameBytes()

public ByteString getDatasetDisplayNameBytes()

The Dataset's display name in datalabeling.googleapis.com.

string dataset_display_name = 4;

Returns
Type Description
ByteString

The bytes for datasetDisplayName.

getDefaultInstanceForType()

public MigratableResource.DataLabelingDataset getDefaultInstanceForType()
Returns
Type Description
MigratableResource.DataLabelingDataset

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MigratableResource.DataLabelingDataset other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDataLabelingAnnotatedDatasets(int index)

public MigratableResource.DataLabelingDataset.Builder removeDataLabelingAnnotatedDatasets(int index)

The migratable AnnotatedDataset in datalabeling.googleapis.com belongs to the data labeling Dataset.

repeated .google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Parameter
Name Description
index int
Returns
Type Description
MigratableResource.DataLabelingDataset.Builder

setDataLabelingAnnotatedDatasets(int index, MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset value)

public MigratableResource.DataLabelingDataset.Builder setDataLabelingAnnotatedDatasets(int index, MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset value)

The migratable AnnotatedDataset in datalabeling.googleapis.com belongs to the data labeling Dataset.

repeated .google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Parameters
Name Description
index int
value MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset
Returns
Type Description
MigratableResource.DataLabelingDataset.Builder

setDataLabelingAnnotatedDatasets(int index, MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder builderForValue)

public MigratableResource.DataLabelingDataset.Builder setDataLabelingAnnotatedDatasets(int index, MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder builderForValue)

The migratable AnnotatedDataset in datalabeling.googleapis.com belongs to the data labeling Dataset.

repeated .google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Parameters
Name Description
index int
builderForValue MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder
Returns
Type Description
MigratableResource.DataLabelingDataset.Builder

setDataset(String value)

public MigratableResource.DataLabelingDataset.Builder setDataset(String value)

Full resource name of data labeling Dataset. Format: projects/{project}/datasets/{dataset}.

string dataset = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The dataset to set.

Returns
Type Description
MigratableResource.DataLabelingDataset.Builder

This builder for chaining.

setDatasetBytes(ByteString value)

public MigratableResource.DataLabelingDataset.Builder setDatasetBytes(ByteString value)

Full resource name of data labeling Dataset. Format: projects/{project}/datasets/{dataset}.

string dataset = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for dataset to set.

Returns
Type Description
MigratableResource.DataLabelingDataset.Builder

This builder for chaining.

setDatasetDisplayName(String value)

public MigratableResource.DataLabelingDataset.Builder setDatasetDisplayName(String value)

The Dataset's display name in datalabeling.googleapis.com.

string dataset_display_name = 4;

Parameter
Name Description
value String

The datasetDisplayName to set.

Returns
Type Description
MigratableResource.DataLabelingDataset.Builder

This builder for chaining.

setDatasetDisplayNameBytes(ByteString value)

public MigratableResource.DataLabelingDataset.Builder setDatasetDisplayNameBytes(ByteString value)

The Dataset's display name in datalabeling.googleapis.com.

string dataset_display_name = 4;

Parameter
Name Description
value ByteString

The bytes for datasetDisplayName to set.

Returns
Type Description
MigratableResource.DataLabelingDataset.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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