Interface Document.Entity.NormalizedValueOrBuilder

public static interface Document.Entity.NormalizedValueOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
com.google.type.MoneyOrBuilder

getStructuredValueCase()

public abstract Document.Entity.NormalizedValue.StructuredValueCase getStructuredValueCase()
Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
boolean

Whether the moneyValue field is set.