Class FieldExtractionMetadata (2.43.0)

public final class FieldExtractionMetadata extends GeneratedMessageV3 implements FieldExtractionMetadataOrBuilder

Metadata for how this field value is extracted.

Protobuf type google.cloud.documentai.v1beta3.FieldExtractionMetadata

Static Fields

SUMMARY_OPTIONS_FIELD_NUMBER

public static final int SUMMARY_OPTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static FieldExtractionMetadata getDefaultInstance()
Returns
TypeDescription
FieldExtractionMetadata

getDescriptor()

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

newBuilder()

public static FieldExtractionMetadata.Builder newBuilder()
Returns
TypeDescription
FieldExtractionMetadata.Builder

newBuilder(FieldExtractionMetadata prototype)

public static FieldExtractionMetadata.Builder newBuilder(FieldExtractionMetadata prototype)
Parameter
NameDescription
prototypeFieldExtractionMetadata
Returns
TypeDescription
FieldExtractionMetadata.Builder

parseDelimitedFrom(InputStream input)

public static FieldExtractionMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FieldExtractionMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FieldExtractionMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FieldExtractionMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static FieldExtractionMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
FieldExtractionMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FieldExtractionMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FieldExtractionMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FieldExtractionMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
FieldExtractionMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FieldExtractionMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FieldExtractionMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FieldExtractionMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
FieldExtractionMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FieldExtractionMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FieldExtractionMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static FieldExtractionMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FieldExtractionMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FieldExtractionMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FieldExtractionMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static FieldExtractionMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
FieldExtractionMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FieldExtractionMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FieldExtractionMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<FieldExtractionMetadata> parser()
Returns
TypeDescription
Parser<FieldExtractionMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public FieldExtractionMetadata getDefaultInstanceForType()
Returns
TypeDescription
FieldExtractionMetadata

getParserForType()

public Parser<FieldExtractionMetadata> getParserForType()
Returns
TypeDescription
Parser<FieldExtractionMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSummaryOptions()

public SummaryOptions getSummaryOptions()

Summary options config.

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

Returns
TypeDescription
SummaryOptions

The summaryOptions.

getSummaryOptionsOrBuilder()

public SummaryOptionsOrBuilder getSummaryOptionsOrBuilder()

Summary options config.

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

Returns
TypeDescription
SummaryOptionsOrBuilder

hasSummaryOptions()

public boolean hasSummaryOptions()

Summary options config.

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

Returns
TypeDescription
boolean

Whether the summaryOptions field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public FieldExtractionMetadata.Builder newBuilderForType()
Returns
TypeDescription
FieldExtractionMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FieldExtractionMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
FieldExtractionMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public FieldExtractionMetadata.Builder toBuilder()
Returns
TypeDescription
FieldExtractionMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException