public static interface Document.Entity.NormalizedValueOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAddressValue()
public abstract PostalAddress getAddressValue()Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
.google.type.PostalAddress address_value = 5;
| Type | Description |
| com.google.type.PostalAddress | The addressValue. |
getAddressValueOrBuilder()
public abstract PostalAddressOrBuilder getAddressValueOrBuilder()Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
.google.type.PostalAddress address_value = 5;
| Type | Description |
| com.google.type.PostalAddressOrBuilder |
getBooleanValue()
public abstract boolean getBooleanValue()Boolean value. Can be used for entities with binary values, or for checkboxes.
bool boolean_value = 6;
| Type | Description |
| boolean | The booleanValue. |
getDateValue()
public abstract 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;
| Type | Description |
| com.google.type.Date | The dateValue. |
getDateValueOrBuilder()
public abstract 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;
| Type | Description |
| com.google.type.DateOrBuilder |
getDatetimeValue()
public abstract 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;
| Type | Description |
| com.google.type.DateTime | The datetimeValue. |
getDatetimeValueOrBuilder()
public abstract 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;
| Type | Description |
| com.google.type.DateTimeOrBuilder |
getMoneyValue()
public abstract Money getMoneyValue()Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
.google.type.Money money_value = 2;
| Type | Description |
| com.google.type.Money | The moneyValue. |
getMoneyValueOrBuilder()
public abstract MoneyOrBuilder getMoneyValueOrBuilder()Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
.google.type.Money money_value = 2;
| Type | Description |
| com.google.type.MoneyOrBuilder |
getStructuredValueCase()
public abstract Document.Entity.NormalizedValue.StructuredValueCase getStructuredValueCase()| Type | Description |
| Document.Entity.NormalizedValue.StructuredValueCase |
getText()
public abstract 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 int 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];
| Type | Description |
| String | The text. |
getTextBytes()
public abstract 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 int 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];
| Type | Description |
| ByteString | The bytes for text. |
hasAddressValue()
public abstract boolean hasAddressValue()Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
.google.type.PostalAddress address_value = 5;
| Type | Description |
| boolean | Whether the addressValue field is set. |
hasBooleanValue()
public abstract boolean hasBooleanValue()Boolean value. Can be used for entities with binary values, or for checkboxes.
bool boolean_value = 6;
| Type | Description |
| boolean | Whether the booleanValue field is set. |
hasDateValue()
public abstract 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;
| Type | Description |
| boolean | Whether the dateValue field is set. |
hasDatetimeValue()
public abstract 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;
| Type | Description |
| boolean | Whether the datetimeValue field is set. |
hasMoneyValue()
public abstract boolean hasMoneyValue()Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
.google.type.Money money_value = 2;
| Type | Description |
| boolean | Whether the moneyValue field is set. |