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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.type.PostalAddress
getAddressValue()
Postal address.com.google.type.PostalAddressOrBuilder
getAddressValueOrBuilder()
Postal address.boolean
getBooleanValue()
Boolean value.com.google.type.DateTime
getDatetimeValue()
DateTime value.com.google.type.DateTimeOrBuilder
getDatetimeValueOrBuilder()
DateTime value.com.google.type.Date
getDateValue()
Date value.com.google.type.DateOrBuilder
getDateValueOrBuilder()
Date value.float
getFloatValue()
Float value.int
getIntegerValue()
Integer value.com.google.type.Money
getMoneyValue()
Money value.com.google.type.MoneyOrBuilder
getMoneyValueOrBuilder()
Money value.Document.Entity.NormalizedValue.StructuredValueCase
getStructuredValueCase()
String
getText()
Optional.com.google.protobuf.ByteString
getTextBytes()
Optional.boolean
hasAddressValue()
Postal address.boolean
hasBooleanValue()
Boolean value.boolean
hasDatetimeValue()
DateTime value.boolean
hasDateValue()
Date value.boolean
hasFloatValue()
Float value.boolean
hasIntegerValue()
Integer value.boolean
hasMoneyValue()
Money value.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
com.google.type.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
com.google.type.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
com.google.type.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
com.google.type.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
com.google.type.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
com.google.type.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
com.google.type.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
com.google.type.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.
-
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()
-
-