Interface DocumentSchema.EntityType.PropertyOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
DocumentSchema.EntityType.Property, DocumentSchema.EntityType.Property.Builder
Enclosing class:
DocumentSchema.EntityType

public static interface DocumentSchema.EntityType.PropertyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    User defined name for the property.
    com.google.protobuf.ByteString
    User defined name for the property.
    Specifies how the entity's value is obtained.
    int
    Specifies how the entity's value is obtained.
    The name of the property.
    com.google.protobuf.ByteString
    The name of the property.
    Occurrence type limits the number of instances an entity type appears in the document.
    int
    Occurrence type limits the number of instances an entity type appears in the document.
    A reference to the value type of the property.
    com.google.protobuf.ByteString
    A reference to the value type of the property.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getName

      String getName()
       The name of the property.  Follows the same guidelines as the
       EntityType name.
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The name of the property.  Follows the same guidelines as the
       EntityType name.
       
      string name = 1;
      Returns:
      The bytes for name.
    • getDisplayName

      String getDisplayName()
       User defined name for the property.
       
      string display_name = 6;
      Returns:
      The displayName.
    • getDisplayNameBytes

      com.google.protobuf.ByteString getDisplayNameBytes()
       User defined name for the property.
       
      string display_name = 6;
      Returns:
      The bytes for displayName.
    • getValueType

      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;
      Returns:
      The valueType.
    • getValueTypeBytes

      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;
      Returns:
      The bytes for valueType.
    • getOccurrenceTypeValue

      int getOccurrenceTypeValue()
       Occurrence type limits the number of instances an entity type appears
       in the document.
       
      .google.cloud.documentai.v1.DocumentSchema.EntityType.Property.OccurrenceType occurrence_type = 3;
      Returns:
      The enum numeric value on the wire for occurrenceType.
    • getOccurrenceType

       Occurrence type limits the number of instances an entity type appears
       in the document.
       
      .google.cloud.documentai.v1.DocumentSchema.EntityType.Property.OccurrenceType occurrence_type = 3;
      Returns:
      The occurrenceType.
    • getMethodValue

      int getMethodValue()
       Specifies how the entity's value is obtained.
       
      .google.cloud.documentai.v1.DocumentSchema.EntityType.Property.Method method = 8;
      Returns:
      The enum numeric value on the wire for method.
    • getMethod

       Specifies how the entity's value is obtained.
       
      .google.cloud.documentai.v1.DocumentSchema.EntityType.Property.Method method = 8;
      Returns:
      The method.