Class MigratableResource.DataLabelingDataset.Builder (3.3.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.v1beta1.MigratableResource.DataLabelingDataset

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1beta1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset>
Returns
TypeDescription
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.v1beta1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Parameter
NameDescription
valueMigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset
Returns
TypeDescription
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.v1beta1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Parameter
NameDescription
builderForValueMigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder
Returns
TypeDescription
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.v1beta1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Parameters
NameDescription
indexint
valueMigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset
Returns
TypeDescription
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.v1beta1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Parameters
NameDescription
indexint
builderForValueMigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder
Returns
TypeDescription
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.v1beta1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Returns
TypeDescription
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.v1beta1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MigratableResource.DataLabelingDataset build()
Returns
TypeDescription
MigratableResource.DataLabelingDataset

buildPartial()

public MigratableResource.DataLabelingDataset buildPartial()
Returns
TypeDescription
MigratableResource.DataLabelingDataset

clear()

public MigratableResource.DataLabelingDataset.Builder clear()
Returns
TypeDescription
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.v1beta1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
MigratableResource.DataLabelingDataset.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public MigratableResource.DataLabelingDataset.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
MigratableResource.DataLabelingDataset.Builder
Overrides

clone()

public MigratableResource.DataLabelingDataset.Builder clone()
Returns
TypeDescription
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.v1beta1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1beta1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1beta1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Returns
TypeDescription
List<Builder>

getDataLabelingAnnotatedDatasetsCount()

public int getDataLabelingAnnotatedDatasetsCount()

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

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

Returns
TypeDescription
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.v1beta1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Returns
TypeDescription
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.v1beta1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1beta1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.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
TypeDescription
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
TypeDescription
ByteString

The bytes for dataset.

getDatasetDisplayName()

public String getDatasetDisplayName()

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

string dataset_display_name = 4;

Returns
TypeDescription
String

The datasetDisplayName.

getDatasetDisplayNameBytes()

public ByteString getDatasetDisplayNameBytes()

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

string dataset_display_name = 4;

Returns
TypeDescription
ByteString

The bytes for datasetDisplayName.

getDefaultInstanceForType()

public MigratableResource.DataLabelingDataset getDefaultInstanceForType()
Returns
TypeDescription
MigratableResource.DataLabelingDataset

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(MigratableResource.DataLabelingDataset other)

public MigratableResource.DataLabelingDataset.Builder mergeFrom(MigratableResource.DataLabelingDataset other)
Parameter
NameDescription
otherMigratableResource.DataLabelingDataset
Returns
TypeDescription
MigratableResource.DataLabelingDataset.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MigratableResource.DataLabelingDataset.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1beta1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1beta1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Parameters
NameDescription
indexint
valueMigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset
Returns
TypeDescription
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.v1beta1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset data_labeling_annotated_datasets = 3;

Parameters
NameDescription
indexint
builderForValueMigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder
Returns
TypeDescription
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
NameDescription
valueString

The dataset to set.

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

The bytes for dataset to set.

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

The datasetDisplayName to set.

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

The bytes for datasetDisplayName to set.

Returns
TypeDescription
MigratableResource.DataLabelingDataset.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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