Package com.google.cloud.documentai.v1
Interface Document.Entity.NormalizedValueOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Document.Entity.NormalizedValue,Document.Entity.NormalizedValue.Builder
- Enclosing class:
- Document.Entity
public static interface Document.Entity.NormalizedValueOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionPostal address.Postal address.booleanBoolean value.DateTime value.DateTime value.Date value.Date value.floatFloat value.intInteger value.Money value.Money value.booleanA signature - a graphical representation of a person's name, often used to sign a document.getText()Optional.com.google.protobuf.ByteStringOptional.booleanPostal address.booleanBoolean value.booleanDateTime value.booleanDate value.booleanFloat value.booleanInteger value.booleanMoney value.booleanA signature - a graphical representation of a person's name, often used to sign a document.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasMoneyValue
boolean hasMoneyValue()Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
.google.type.Money money_value = 2;- Returns:
- Whether the moneyValue field is set.
-
getMoneyValue
Money getMoneyValue()Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
.google.type.Money money_value = 2;- Returns:
- The moneyValue.
-
getMoneyValueOrBuilder
MoneyOrBuilder getMoneyValueOrBuilder()Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
.google.type.Money money_value = 2; -
hasDateValue
boolean hasDateValue()Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
.google.type.Date date_value = 3;- Returns:
- Whether the dateValue field is set.
-
getDateValue
Date getDateValue()Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
.google.type.Date date_value = 3;- Returns:
- The dateValue.
-
getDateValueOrBuilder
DateOrBuilder getDateValueOrBuilder()Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
.google.type.Date date_value = 3; -
hasDatetimeValue
boolean hasDatetimeValue()DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
.google.type.DateTime datetime_value = 4;- Returns:
- Whether the datetimeValue field is set.
-
getDatetimeValue
DateTime getDatetimeValue()DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
.google.type.DateTime datetime_value = 4;- Returns:
- The datetimeValue.
-
getDatetimeValueOrBuilder
DateTimeOrBuilder getDatetimeValueOrBuilder()DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
.google.type.DateTime datetime_value = 4; -
hasAddressValue
boolean hasAddressValue()Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
.google.type.PostalAddress address_value = 5;- Returns:
- Whether the addressValue field is set.
-
getAddressValue
PostalAddress getAddressValue()Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
.google.type.PostalAddress address_value = 5;- Returns:
- The addressValue.
-
getAddressValueOrBuilder
PostalAddressOrBuilder getAddressValueOrBuilder()Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
.google.type.PostalAddress address_value = 5; -
hasBooleanValue
boolean hasBooleanValue()Boolean value. Can be used for entities with binary values, or for checkboxes.
bool boolean_value = 6;- Returns:
- Whether the booleanValue field is set.
-
getBooleanValue
boolean getBooleanValue()Boolean value. Can be used for entities with binary values, or for checkboxes.
bool boolean_value = 6;- Returns:
- The booleanValue.
-
hasIntegerValue
boolean hasIntegerValue()Integer value.
int32 integer_value = 7;- Returns:
- Whether the integerValue field is set.
-
getIntegerValue
int getIntegerValue()Integer value.
int32 integer_value = 7;- Returns:
- The integerValue.
-
hasFloatValue
boolean hasFloatValue()Float value.
float float_value = 8;- Returns:
- Whether the floatValue field is set.
-
getFloatValue
float getFloatValue()Float value.
float float_value = 8;- Returns:
- The floatValue.
-
hasSignatureValue
boolean hasSignatureValue()A signature - a graphical representation of a person's name, often used to sign a document.
bool signature_value = 10;- Returns:
- Whether the signatureValue field is set.
-
getSignatureValue
boolean getSignatureValue()A signature - a graphical representation of a person's name, often used to sign a document.
bool signature_value = 10;- Returns:
- The signatureValue.
-
getText
String getText()Optional. An optional field to store a normalized string. For some entity types, one of respective `structured_value` fields may also be populated. Also not all the types of `structured_value` will be normalized. For example, some processors may not generate `float` or `integer` normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.
string text = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The text.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes()Optional. An optional field to store a normalized string. For some entity types, one of respective `structured_value` fields may also be populated. Also not all the types of `structured_value` will be normalized. For example, some processors may not generate `float` or `integer` normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.
string text = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for text.
-
getStructuredValueCase
Document.Entity.NormalizedValue.StructuredValueCase getStructuredValueCase()
-