public static final class Document.Entity.NormalizedValue extends com.google.protobuf.GeneratedMessageV3 implements Document.Entity.NormalizedValueOrBuilder
Parsed and normalized entity value.Protobuf type
google.cloud.documentai.v1beta3.Document.Entity.NormalizedValue| Modifier and Type | Class and Description |
|---|---|
static class |
Document.Entity.NormalizedValue.Builder
Parsed and normalized entity value.
|
static class |
Document.Entity.NormalizedValue.StructuredValueCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ADDRESS_VALUE_FIELD_NUMBER |
static int |
DATE_VALUE_FIELD_NUMBER |
static int |
DATETIME_VALUE_FIELD_NUMBER |
static int |
MONEY_VALUE_FIELD_NUMBER |
static int |
TEXT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.type.PostalAddress |
getAddressValue()
Postal address.
|
com.google.type.PostalAddressOrBuilder |
getAddressValueOrBuilder()
Postal address.
|
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.
|
static Document.Entity.NormalizedValue |
getDefaultInstance() |
Document.Entity.NormalizedValue |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.type.Money |
getMoneyValue()
Money value.
|
com.google.type.MoneyOrBuilder |
getMoneyValueOrBuilder()
Money value.
|
com.google.protobuf.Parser<Document.Entity.NormalizedValue> |
getParserForType() |
int |
getSerializedSize() |
Document.Entity.NormalizedValue.StructuredValueCase |
getStructuredValueCase() |
String |
getText()
Required.
|
com.google.protobuf.ByteString |
getTextBytes()
Required.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAddressValue()
Postal address.
|
boolean |
hasDatetimeValue()
DateTime value.
|
boolean |
hasDateValue()
Date value.
|
int |
hashCode() |
boolean |
hasMoneyValue()
Money value.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Document.Entity.NormalizedValue.Builder |
newBuilder() |
static Document.Entity.NormalizedValue.Builder |
newBuilder(Document.Entity.NormalizedValue prototype) |
Document.Entity.NormalizedValue.Builder |
newBuilderForType() |
protected Document.Entity.NormalizedValue.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Document.Entity.NormalizedValue |
parseDelimitedFrom(InputStream input) |
static Document.Entity.NormalizedValue |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Document.Entity.NormalizedValue |
parseFrom(byte[] data) |
static Document.Entity.NormalizedValue |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Document.Entity.NormalizedValue |
parseFrom(ByteBuffer data) |
static Document.Entity.NormalizedValue |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Document.Entity.NormalizedValue |
parseFrom(com.google.protobuf.ByteString data) |
static Document.Entity.NormalizedValue |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Document.Entity.NormalizedValue |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Document.Entity.NormalizedValue |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Document.Entity.NormalizedValue |
parseFrom(InputStream input) |
static Document.Entity.NormalizedValue |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Document.Entity.NormalizedValue> |
parser() |
Document.Entity.NormalizedValue.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int MONEY_VALUE_FIELD_NUMBER
public static final int DATE_VALUE_FIELD_NUMBER
public static final int DATETIME_VALUE_FIELD_NUMBER
public static final int ADDRESS_VALUE_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public Document.Entity.NormalizedValue.StructuredValueCase getStructuredValueCase()
getStructuredValueCase in interface Document.Entity.NormalizedValueOrBuilderpublic boolean hasMoneyValue()
Money value. See also: https: github.com/googleapis/googleapis/blob/master/google/type/money.proto
.google.type.Money money_value = 2;hasMoneyValue in interface Document.Entity.NormalizedValueOrBuilderpublic 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;getMoneyValue in interface Document.Entity.NormalizedValueOrBuilderpublic 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;getMoneyValueOrBuilder in interface Document.Entity.NormalizedValueOrBuilderpublic 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;hasDateValue in interface Document.Entity.NormalizedValueOrBuilderpublic 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;getDateValue in interface Document.Entity.NormalizedValueOrBuilderpublic 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;getDateValueOrBuilder in interface Document.Entity.NormalizedValueOrBuilderpublic 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;hasDatetimeValue in interface Document.Entity.NormalizedValueOrBuilderpublic 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;getDatetimeValue in interface Document.Entity.NormalizedValueOrBuilderpublic 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;getDatetimeValueOrBuilder in interface Document.Entity.NormalizedValueOrBuilderpublic boolean hasAddressValue()
Postal address. See also: https: github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
.google.type.PostalAddress address_value = 5;hasAddressValue in interface Document.Entity.NormalizedValueOrBuilderpublic 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;getAddressValue in interface Document.Entity.NormalizedValueOrBuilderpublic 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;getAddressValueOrBuilder in interface Document.Entity.NormalizedValueOrBuilderpublic 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];getText in interface Document.Entity.NormalizedValueOrBuilderpublic com.google.protobuf.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];getTextBytes in interface Document.Entity.NormalizedValueOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Document.Entity.NormalizedValue parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Document.Entity.NormalizedValue parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Document.Entity.NormalizedValue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Document.Entity.NormalizedValue parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Document.Entity.NormalizedValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Document.Entity.NormalizedValue parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Document.Entity.NormalizedValue parseFrom(InputStream input) throws IOException
IOExceptionpublic static Document.Entity.NormalizedValue parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Document.Entity.NormalizedValue parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Document.Entity.NormalizedValue parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Document.Entity.NormalizedValue parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Document.Entity.NormalizedValue parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Document.Entity.NormalizedValue.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Document.Entity.NormalizedValue.Builder newBuilder()
public static Document.Entity.NormalizedValue.Builder newBuilder(Document.Entity.NormalizedValue prototype)
public Document.Entity.NormalizedValue.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Document.Entity.NormalizedValue.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Document.Entity.NormalizedValue getDefaultInstance()
public static com.google.protobuf.Parser<Document.Entity.NormalizedValue> parser()
public com.google.protobuf.Parser<Document.Entity.NormalizedValue> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Document.Entity.NormalizedValue getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020 Google LLC. All rights reserved.