Class FieldExtractionMetadata.Builder (2.57.0)

public static final class FieldExtractionMetadata.Builder extends GeneratedMessageV3.Builder<FieldExtractionMetadata.Builder> implements FieldExtractionMetadataOrBuilder

Metadata for how this field value is extracted.

Protobuf type google.cloud.documentai.v1beta3.FieldExtractionMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FieldExtractionMetadata build()
Returns
Type Description
FieldExtractionMetadata

buildPartial()

public FieldExtractionMetadata buildPartial()
Returns
Type Description
FieldExtractionMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSummaryOptions()

public FieldExtractionMetadata.Builder clearSummaryOptions()

Summary options config.

.google.cloud.documentai.v1beta3.SummaryOptions summary_options = 2;

Returns
Type Description
FieldExtractionMetadata.Builder

clone()

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

getDefaultInstanceForType()

public FieldExtractionMetadata getDefaultInstanceForType()
Returns
Type Description
FieldExtractionMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSummaryOptions()

public SummaryOptions getSummaryOptions()

Summary options config.

.google.cloud.documentai.v1beta3.SummaryOptions summary_options = 2;

Returns
Type Description
SummaryOptions

The summaryOptions.

getSummaryOptionsBuilder()

public SummaryOptions.Builder getSummaryOptionsBuilder()

Summary options config.

.google.cloud.documentai.v1beta3.SummaryOptions summary_options = 2;

Returns
Type Description
SummaryOptions.Builder

getSummaryOptionsOrBuilder()

public SummaryOptionsOrBuilder getSummaryOptionsOrBuilder()

Summary options config.

.google.cloud.documentai.v1beta3.SummaryOptions summary_options = 2;

Returns
Type Description
SummaryOptionsOrBuilder

hasSummaryOptions()

public boolean hasSummaryOptions()

Summary options config.

.google.cloud.documentai.v1beta3.SummaryOptions summary_options = 2;

Returns
Type Description
boolean

Whether the summaryOptions field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FieldExtractionMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSummaryOptions(SummaryOptions value)

public FieldExtractionMetadata.Builder mergeSummaryOptions(SummaryOptions value)

Summary options config.

.google.cloud.documentai.v1beta3.SummaryOptions summary_options = 2;

Parameter
Name Description
value SummaryOptions
Returns
Type Description
FieldExtractionMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSummaryOptions(SummaryOptions value)

public FieldExtractionMetadata.Builder setSummaryOptions(SummaryOptions value)

Summary options config.

.google.cloud.documentai.v1beta3.SummaryOptions summary_options = 2;

Parameter
Name Description
value SummaryOptions
Returns
Type Description
FieldExtractionMetadata.Builder

setSummaryOptions(SummaryOptions.Builder builderForValue)

public FieldExtractionMetadata.Builder setSummaryOptions(SummaryOptions.Builder builderForValue)

Summary options config.

.google.cloud.documentai.v1beta3.SummaryOptions summary_options = 2;

Parameter
Name Description
builderForValue SummaryOptions.Builder
Returns
Type Description
FieldExtractionMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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