public sealed class Document.Types.Entity.Types.NormalizedValue : IMessage<Document.Types.Entity.Types.NormalizedValue>, IEquatable<Document.Types.Entity.Types.NormalizedValue>, IDeepCloneable<Document.Types.Entity.Types.NormalizedValue>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Document AI v1beta3 API class Document.Types.Entity.Types.NormalizedValue.
Parsed and normalized entity value.
Implements
IMessageDocumentTypesEntityTypesNormalizedValue, IEquatableDocumentTypesEntityTypesNormalizedValue, IDeepCloneableDocumentTypesEntityTypesNormalizedValue, IBufferMessage, IMessageNamespace
Google.Cloud.DocumentAI.V1Beta3Assembly
Google.Cloud.DocumentAI.V1Beta3.dll
Constructors
NormalizedValue()
public NormalizedValue()
NormalizedValue(NormalizedValue)
public NormalizedValue(Document.Types.Entity.Types.NormalizedValue other)
Parameter | |
---|---|
Name | Description |
other | DocumentTypesEntityTypesNormalizedValue |
Properties
AddressValue
public PostalAddress AddressValue { get; set; }
Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
Property Value | |
---|---|
Type | Description |
PostalAddress |
BooleanValue
public bool BooleanValue { get; set; }
Boolean value. Can be used for entities with binary values, or for checkboxes.
Property Value | |
---|---|
Type | Description |
bool |
DatetimeValue
public DateTime DatetimeValue { get; set; }
DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
Property Value | |
---|---|
Type | Description |
DateTime |
DateValue
public Date DateValue { get; set; }
Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
Property Value | |
---|---|
Type | Description |
Date |
FloatValue
public float FloatValue { get; set; }
Float value.
Property Value | |
---|---|
Type | Description |
float |
HasBooleanValue
public bool HasBooleanValue { get; }
Gets whether the "boolean_value" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasFloatValue
public bool HasFloatValue { get; }
Gets whether the "float_value" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasIntegerValue
public bool HasIntegerValue { get; }
Gets whether the "integer_value" field is set
Property Value | |
---|---|
Type | Description |
bool |
IntegerValue
public int IntegerValue { get; set; }
Integer value.
Property Value | |
---|---|
Type | Description |
int |
MoneyValue
public Money MoneyValue { get; set; }
Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
Property Value | |
---|---|
Type | Description |
Money |
StructuredValueCase
public Document.Types.Entity.Types.NormalizedValue.StructuredValueOneofCase StructuredValueCase { get; }
Property Value | |
---|---|
Type | Description |
DocumentTypesEntityTypesNormalizedValueStructuredValueOneofCase |
Text
public string Text { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |