Class MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder (3.56.0)

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

Represents one AnnotatedDataset in datalabeling.googleapis.com.

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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearAnnotatedDataset()

public MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder clearAnnotatedDataset()

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

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

Returns
Type Description
MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder

This builder for chaining.

clearAnnotatedDatasetDisplayName()

public MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder clearAnnotatedDatasetDisplayName()

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

string annotated_dataset_display_name = 3;

Returns
Type Description
MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAnnotatedDataset()

public String getAnnotatedDataset()

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

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

Returns
Type Description
String

The annotatedDataset.

getAnnotatedDatasetBytes()

public ByteString getAnnotatedDatasetBytes()

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

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

Returns
Type Description
ByteString

The bytes for annotatedDataset.

getAnnotatedDatasetDisplayName()

public String getAnnotatedDatasetDisplayName()

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

string annotated_dataset_display_name = 3;

Returns
Type Description
String

The annotatedDatasetDisplayName.

getAnnotatedDatasetDisplayNameBytes()

public ByteString getAnnotatedDatasetDisplayNameBytes()

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

string annotated_dataset_display_name = 3;

Returns
Type Description
ByteString

The bytes for annotatedDatasetDisplayName.

getDefaultInstanceForType()

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

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.DataLabelingAnnotatedDataset other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAnnotatedDataset(String value)

public MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder setAnnotatedDataset(String value)

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

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

Parameter
Name Description
value String

The annotatedDataset to set.

Returns
Type Description
MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder

This builder for chaining.

setAnnotatedDatasetBytes(ByteString value)

public MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder setAnnotatedDatasetBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for annotatedDataset to set.

Returns
Type Description
MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder

This builder for chaining.

setAnnotatedDatasetDisplayName(String value)

public MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder setAnnotatedDatasetDisplayName(String value)

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

string annotated_dataset_display_name = 3;

Parameter
Name Description
value String

The annotatedDatasetDisplayName to set.

Returns
Type Description
MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder

This builder for chaining.

setAnnotatedDatasetDisplayNameBytes(ByteString value)

public MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder setAnnotatedDatasetDisplayNameBytes(ByteString value)

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

string annotated_dataset_display_name = 3;

Parameter
Name Description
value ByteString

The bytes for annotatedDatasetDisplayName to set.

Returns
Type Description
MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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