Class MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder (3.14.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The annotatedDatasetDisplayName.

getAnnotatedDatasetDisplayNameBytes()

public ByteString getAnnotatedDatasetDisplayNameBytes()

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

string annotated_dataset_display_name = 3;

Returns
TypeDescription
ByteString

The bytes for annotatedDatasetDisplayName.

getDefaultInstanceForType()

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The annotatedDataset to set.

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

The bytes for annotatedDataset to set.

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

The annotatedDatasetDisplayName to set.

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

The bytes for annotatedDatasetDisplayName to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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