Interface Document.Entity.NormalizedValueOrBuilder (2.1.9)

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()

Required. Normalized entity value stored as a string. This field is populated for supported document type (e.g. Invoice). For some entity types, one of respective 'structured_value' fields may also be populated.

  • 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) = REQUIRED];

Returns
TypeDescription
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

Required. Normalized entity value stored as a string. This field is populated for supported document type (e.g. Invoice). For some entity types, one of respective 'structured_value' fields may also be populated.

  • 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) = REQUIRED];

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.