Interface Document.Entity.NormalizedValueOrBuilder (2.62.0)

public static interface Document.Entity.NormalizedValueOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAddressValue()

public abstract PostalAddress getAddressValue()
Returns
Type Description
com.google.type.PostalAddress

The addressValue.

getAddressValueOrBuilder()

public abstract PostalAddressOrBuilder getAddressValueOrBuilder()
Returns
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;

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

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

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

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

Returns
Type Description
com.google.type.DateTimeOrBuilder

getFloatValue()

public abstract float getFloatValue()

Float value.

float float_value = 8;

Returns
Type Description
float

The floatValue.

getIntegerValue()

public abstract int getIntegerValue()

Integer value.

int32 integer_value = 7;

Returns
Type Description
int

The integerValue.

getMoneyValue()

public abstract Money getMoneyValue()
Returns
Type Description
com.google.type.Money

The moneyValue.

getMoneyValueOrBuilder()

public abstract MoneyOrBuilder getMoneyValueOrBuilder()
Returns
Type Description
com.google.type.MoneyOrBuilder

getStructuredValueCase()

public abstract Document.Entity.NormalizedValue.StructuredValueCase getStructuredValueCase()
Returns
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 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
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 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
Type Description
ByteString

The bytes for text.

hasAddressValue()

public abstract boolean hasAddressValue()
Returns
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;

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

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

Returns
Type Description
boolean

Whether the datetimeValue field is set.

hasFloatValue()

public abstract boolean hasFloatValue()

Float value.

float float_value = 8;

Returns
Type Description
boolean

Whether the floatValue field is set.

hasIntegerValue()

public abstract boolean hasIntegerValue()

Integer value.

int32 integer_value = 7;

Returns
Type Description
boolean

Whether the integerValue field is set.

hasMoneyValue()

public abstract boolean hasMoneyValue()
Returns
Type Description
boolean

Whether the moneyValue field is set.