public static final class DocumentSchema.EntityType.Property extends com.google.protobuf.GeneratedMessageV3 implements DocumentSchema.EntityType.PropertyOrBuilder
Defines properties that can be part of the entity type.Protobuf type
google.cloud.documentai.v1beta3.DocumentSchema.EntityType.Property| Modifier and Type | Class and Description |
|---|---|
static class |
DocumentSchema.EntityType.Property.Builder
Defines properties that can be part of the entity type.
|
static class |
DocumentSchema.EntityType.Property.OccurrenceType
Types of occurrences of the entity type in the document.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
OCCURRENCE_TYPE_FIELD_NUMBER |
static int |
PROPERTY_METADATA_FIELD_NUMBER |
static int |
VALUE_TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static DocumentSchema.EntityType.Property |
getDefaultInstance() |
DocumentSchema.EntityType.Property |
getDefaultInstanceForType() |
String |
getDescription()
The description of the property.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
The description of the property.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDisplayName()
User defined name for the property.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
User defined name for the property.
|
String |
getName()
The name of the property.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the property.
|
DocumentSchema.EntityType.Property.OccurrenceType |
getOccurrenceType()
Occurrence type limits the number of instances an entity type appears
in the document.
|
int |
getOccurrenceTypeValue()
Occurrence type limits the number of instances an entity type appears
in the document.
|
com.google.protobuf.Parser<DocumentSchema.EntityType.Property> |
getParserForType() |
PropertyMetadata |
getPropertyMetadata()
Any additional metadata about the property can be added here.
|
PropertyMetadataOrBuilder |
getPropertyMetadataOrBuilder()
Any additional metadata about the property can be added here.
|
int |
getSerializedSize() |
String |
getValueType()
A reference to the value type of the property.
|
com.google.protobuf.ByteString |
getValueTypeBytes()
A reference to the value type of the property.
|
int |
hashCode() |
boolean |
hasPropertyMetadata()
Any additional metadata about the property can be added here.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DocumentSchema.EntityType.Property.Builder |
newBuilder() |
static DocumentSchema.EntityType.Property.Builder |
newBuilder(DocumentSchema.EntityType.Property prototype) |
DocumentSchema.EntityType.Property.Builder |
newBuilderForType() |
protected DocumentSchema.EntityType.Property.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static DocumentSchema.EntityType.Property |
parseDelimitedFrom(InputStream input) |
static DocumentSchema.EntityType.Property |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DocumentSchema.EntityType.Property |
parseFrom(byte[] data) |
static DocumentSchema.EntityType.Property |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DocumentSchema.EntityType.Property |
parseFrom(ByteBuffer data) |
static DocumentSchema.EntityType.Property |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DocumentSchema.EntityType.Property |
parseFrom(com.google.protobuf.ByteString data) |
static DocumentSchema.EntityType.Property |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DocumentSchema.EntityType.Property |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DocumentSchema.EntityType.Property |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DocumentSchema.EntityType.Property |
parseFrom(InputStream input) |
static DocumentSchema.EntityType.Property |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<DocumentSchema.EntityType.Property> |
parser() |
DocumentSchema.EntityType.Property.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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 NAME_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int VALUE_TYPE_FIELD_NUMBER
public static final int OCCURRENCE_TYPE_FIELD_NUMBER
public static final int PROPERTY_METADATA_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 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 String getName()
The name of the property. Follows the same guidelines as the EntityType name.
string name = 1;getName in interface DocumentSchema.EntityType.PropertyOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The name of the property. Follows the same guidelines as the EntityType name.
string name = 1;getNameBytes in interface DocumentSchema.EntityType.PropertyOrBuilderpublic String getDescription()
The description of the property. Could be used to provide more information about the property for model calls.
string description = 7;getDescription in interface DocumentSchema.EntityType.PropertyOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
The description of the property. Could be used to provide more information about the property for model calls.
string description = 7;getDescriptionBytes in interface DocumentSchema.EntityType.PropertyOrBuilderpublic String getDisplayName()
User defined name for the property.
string display_name = 6;getDisplayName in interface DocumentSchema.EntityType.PropertyOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
User defined name for the property.
string display_name = 6;getDisplayNameBytes in interface DocumentSchema.EntityType.PropertyOrBuilderpublic String getValueType()
A reference to the value type of the property. This type is subject to the same conventions as the `Entity.base_types` field.
string value_type = 2;getValueType in interface DocumentSchema.EntityType.PropertyOrBuilderpublic com.google.protobuf.ByteString getValueTypeBytes()
A reference to the value type of the property. This type is subject to the same conventions as the `Entity.base_types` field.
string value_type = 2;getValueTypeBytes in interface DocumentSchema.EntityType.PropertyOrBuilderpublic int getOccurrenceTypeValue()
Occurrence type limits the number of instances an entity type appears in the document.
.google.cloud.documentai.v1beta3.DocumentSchema.EntityType.Property.OccurrenceType occurrence_type = 3;
getOccurrenceTypeValue in interface DocumentSchema.EntityType.PropertyOrBuilderpublic DocumentSchema.EntityType.Property.OccurrenceType getOccurrenceType()
Occurrence type limits the number of instances an entity type appears in the document.
.google.cloud.documentai.v1beta3.DocumentSchema.EntityType.Property.OccurrenceType occurrence_type = 3;
getOccurrenceType in interface DocumentSchema.EntityType.PropertyOrBuilderpublic boolean hasPropertyMetadata()
Any additional metadata about the property can be added here.
.google.cloud.documentai.v1beta3.PropertyMetadata property_metadata = 5;hasPropertyMetadata in interface DocumentSchema.EntityType.PropertyOrBuilderpublic PropertyMetadata getPropertyMetadata()
Any additional metadata about the property can be added here.
.google.cloud.documentai.v1beta3.PropertyMetadata property_metadata = 5;getPropertyMetadata in interface DocumentSchema.EntityType.PropertyOrBuilderpublic PropertyMetadataOrBuilder getPropertyMetadataOrBuilder()
Any additional metadata about the property can be added here.
.google.cloud.documentai.v1beta3.PropertyMetadata property_metadata = 5;getPropertyMetadataOrBuilder in interface DocumentSchema.EntityType.PropertyOrBuilderpublic 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 DocumentSchema.EntityType.Property parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DocumentSchema.EntityType.Property parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DocumentSchema.EntityType.Property parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DocumentSchema.EntityType.Property parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DocumentSchema.EntityType.Property parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DocumentSchema.EntityType.Property parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DocumentSchema.EntityType.Property parseFrom(InputStream input) throws IOException
IOExceptionpublic static DocumentSchema.EntityType.Property parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DocumentSchema.EntityType.Property parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DocumentSchema.EntityType.Property parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DocumentSchema.EntityType.Property parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DocumentSchema.EntityType.Property parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DocumentSchema.EntityType.Property.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DocumentSchema.EntityType.Property.Builder newBuilder()
public static DocumentSchema.EntityType.Property.Builder newBuilder(DocumentSchema.EntityType.Property prototype)
public DocumentSchema.EntityType.Property.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DocumentSchema.EntityType.Property.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static DocumentSchema.EntityType.Property getDefaultInstance()
public static com.google.protobuf.Parser<DocumentSchema.EntityType.Property> parser()
public com.google.protobuf.Parser<DocumentSchema.EntityType.Property> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public DocumentSchema.EntityType.Property getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.