Class TextExtractionDatasetMetadata.Builder (2.54.0)

public static final class TextExtractionDatasetMetadata.Builder extends GeneratedMessageV3.Builder<TextExtractionDatasetMetadata.Builder> implements TextExtractionDatasetMetadataOrBuilder

Dataset metadata that is specific to text extraction

Protobuf type google.cloud.automl.v1beta1.TextExtractionDatasetMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TextExtractionDatasetMetadata build()
Returns
Type Description
TextExtractionDatasetMetadata

buildPartial()

public TextExtractionDatasetMetadata buildPartial()
Returns
Type Description
TextExtractionDatasetMetadata

clear()

public TextExtractionDatasetMetadata.Builder clear()
Returns
Type Description
TextExtractionDatasetMetadata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public TextExtractionDatasetMetadata.Builder clone()
Returns
Type Description
TextExtractionDatasetMetadata.Builder
Overrides

getDefaultInstanceForType()

public TextExtractionDatasetMetadata getDefaultInstanceForType()
Returns
Type Description
TextExtractionDatasetMetadata

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(TextExtractionDatasetMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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