Class TextExtractionDatasetMetadata.Builder (2.36.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.v1.TextExtractionDatasetMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TextExtractionDatasetMetadata build()
Returns
TypeDescription
TextExtractionDatasetMetadata

buildPartial()

public TextExtractionDatasetMetadata buildPartial()
Returns
TypeDescription
TextExtractionDatasetMetadata

clear()

public TextExtractionDatasetMetadata.Builder clear()
Returns
TypeDescription
TextExtractionDatasetMetadata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public TextExtractionDatasetMetadata.Builder clone()
Returns
TypeDescription
TextExtractionDatasetMetadata.Builder
Overrides

getDefaultInstanceForType()

public TextExtractionDatasetMetadata getDefaultInstanceForType()
Returns
TypeDescription
TextExtractionDatasetMetadata

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

public TextExtractionDatasetMetadata.Builder mergeFrom(TextExtractionDatasetMetadata other)
Parameter
NameDescription
otherTextExtractionDatasetMetadata
Returns
TypeDescription
TextExtractionDatasetMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TextExtractionDatasetMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TextExtractionDatasetMetadata.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public TextExtractionDatasetMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TextExtractionDatasetMetadata.Builder
Overrides

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

public TextExtractionDatasetMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TextExtractionDatasetMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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