public enum DocumentSchema.EntityType.Property.OccurrenceType extends Enum<DocumentSchema.EntityType.Property.OccurrenceType> implements ProtocolMessageEnumTypes 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
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
OCCURRENCE_TYPE_UNSPECIFIED |
Unspecified occurrence type. |
OCCURRENCE_TYPE_UNSPECIFIED_VALUE |
Unspecified occurrence type. |
OPTIONAL_MULTIPLE |
The entity type will appear zero or multiple times. |
OPTIONAL_MULTIPLE_VALUE |
The entity type will appear zero or multiple times. |
OPTIONAL_ONCE |
There will be zero or one instance of this entity type. |
OPTIONAL_ONCE_VALUE |
There will be zero or one instance of this entity type. |
REQUIRED_MULTIPLE |
The entity type will appear once or more times. |
REQUIRED_MULTIPLE_VALUE |
The entity type will appear once or more times. |
REQUIRED_ONCE |
The entity type will only appear exactly once. |
REQUIRED_ONCE_VALUE |
The entity type will only appear exactly once. |
UNRECOGNIZED |
|
Static Methods |
|
|---|---|
| Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
|
Methods |
|
|---|---|
| Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |
|