Enum DocumentSchema.EntityType.Property.OccurrenceType (2.20.0)

public enum DocumentSchema.EntityType.Property.OccurrenceType extends Enum<DocumentSchema.EntityType.Property.OccurrenceType> implements ProtocolMessageEnum

Types of occurrences of the entity type in the document. Note: this represents the number of instances of an entity types, not number of mentions of a given entity instance.

Protobuf enum google.cloud.documentai.v1beta3.DocumentSchema.EntityType.Property.OccurrenceType

Implements

ProtocolMessageEnum

Static Fields

NameDescription
OCCURRENCE_TYPE_UNSPECIFIED

Unspecified occurrence type.

OCCURRENCE_TYPE_UNSPECIFIED = 0;

OCCURRENCE_TYPE_UNSPECIFIED_VALUE

Unspecified occurrence type.

OCCURRENCE_TYPE_UNSPECIFIED = 0;

OPTIONAL_MULTIPLE

The entity type will appear zero or multiple times.

OPTIONAL_MULTIPLE = 2;

OPTIONAL_MULTIPLE_VALUE

The entity type will appear zero or multiple times.

OPTIONAL_MULTIPLE = 2;

OPTIONAL_ONCE

There will be zero or one instance of this entity type.

OPTIONAL_ONCE = 1;

OPTIONAL_ONCE_VALUE

There will be zero or one instance of this entity type.

OPTIONAL_ONCE = 1;

REQUIRED_MULTIPLE

The entity type will appear once or more times.

REQUIRED_MULTIPLE = 4;

REQUIRED_MULTIPLE_VALUE

The entity type will appear once or more times.

REQUIRED_MULTIPLE = 4;

REQUIRED_ONCE

The entity type will only appear exactly once.

REQUIRED_ONCE = 3;

REQUIRED_ONCE_VALUE

The entity type will only appear exactly once.

REQUIRED_ONCE = 3;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()