Class PropertyMetadata (2.31.0)

public final class PropertyMetadata extends GeneratedMessageV3 implements PropertyMetadataOrBuilder

Metadata about a property.

Protobuf type google.cloud.documentai.v1beta3.PropertyMetadata

Static Fields

FIELD_EXTRACTION_METADATA_FIELD_NUMBER

public static final int FIELD_EXTRACTION_METADATA_FIELD_NUMBER
Field Value
TypeDescription
int

INACTIVE_FIELD_NUMBER

public static final int INACTIVE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PropertyMetadata getDefaultInstance()
Returns
TypeDescription
PropertyMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(PropertyMetadata prototype)

public static PropertyMetadata.Builder newBuilder(PropertyMetadata prototype)
Parameter
NameDescription
prototypePropertyMetadata
Returns
TypeDescription
PropertyMetadata.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public PropertyMetadata getDefaultInstanceForType()
Returns
TypeDescription
PropertyMetadata

getFieldExtractionMetadata()

public FieldExtractionMetadata getFieldExtractionMetadata()

Field extraction metadata on the property.

.google.cloud.documentai.v1beta3.FieldExtractionMetadata field_extraction_metadata = 9;

Returns
TypeDescription
FieldExtractionMetadata

The fieldExtractionMetadata.

getFieldExtractionMetadataOrBuilder()

public FieldExtractionMetadataOrBuilder getFieldExtractionMetadataOrBuilder()

Field extraction metadata on the property.

.google.cloud.documentai.v1beta3.FieldExtractionMetadata field_extraction_metadata = 9;

Returns
TypeDescription
FieldExtractionMetadataOrBuilder

getInactive()

public boolean getInactive()

Whether the property should be considered as "inactive".

bool inactive = 3;

Returns
TypeDescription
boolean

The inactive.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasFieldExtractionMetadata()

public boolean hasFieldExtractionMetadata()

Field extraction metadata on the property.

.google.cloud.documentai.v1beta3.FieldExtractionMetadata field_extraction_metadata = 9;

Returns
TypeDescription
boolean

Whether the fieldExtractionMetadata 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 PropertyMetadata.Builder newBuilderForType()
Returns
TypeDescription
PropertyMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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