Interface DocumentSchema.EntityType.PropertyOrBuilder (2.7.2)

public static interface DocumentSchema.EntityType.PropertyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

The name of the property. Follows the same guidelines as the EntityType name.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name of the property. Follows the same guidelines as the EntityType name.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getOccurrenceType()

public abstract DocumentSchema.EntityType.Property.OccurrenceType getOccurrenceType()

Occurrence type limits the number of instances an entity type appears in the document.

.google.cloud.documentai.v1.DocumentSchema.EntityType.Property.OccurrenceType occurrence_type = 3;

Returns
TypeDescription
DocumentSchema.EntityType.Property.OccurrenceType

The occurrenceType.

getOccurrenceTypeValue()

public abstract int getOccurrenceTypeValue()

Occurrence type limits the number of instances an entity type appears in the document.

.google.cloud.documentai.v1.DocumentSchema.EntityType.Property.OccurrenceType occurrence_type = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for occurrenceType.

getValueType()

public abstract String getValueType()

A reference to the value type of the property. This type is subject to the same conventions as the Entity.base_types field.

string value_type = 2;

Returns
TypeDescription
String

The valueType.

getValueTypeBytes()

public abstract ByteString getValueTypeBytes()

A reference to the value type of the property. This type is subject to the same conventions as the Entity.base_types field.

string value_type = 2;

Returns
TypeDescription
ByteString

The bytes for valueType.