Enum Chunk.StructureType

java.lang.Object
java.lang.Enum<Chunk.StructureType>
com.google.cloud.discoveryengine.v1.Chunk.StructureType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Chunk.StructureType>
Enclosing class:
Chunk

public static enum Chunk.StructureType extends Enum<Chunk.StructureType> implements com.google.protobuf.ProtocolMessageEnum
 Defines the types of the structured content that can be extracted.
 
Protobuf enum google.cloud.discoveryengine.v1.Chunk.StructureType
  • Enum Constant Details

    • STRUCTURE_TYPE_UNSPECIFIED

      public static final Chunk.StructureType STRUCTURE_TYPE_UNSPECIFIED
       Default value.
       
      STRUCTURE_TYPE_UNSPECIFIED = 0;
    • SHAREHOLDER_STRUCTURE

      public static final Chunk.StructureType SHAREHOLDER_STRUCTURE
       Shareholder structure.
       
      SHAREHOLDER_STRUCTURE = 1;
    • SIGNATURE_STRUCTURE

      public static final Chunk.StructureType SIGNATURE_STRUCTURE
       Signature structure.
       
      SIGNATURE_STRUCTURE = 2;
    • CHECKBOX_STRUCTURE

      public static final Chunk.StructureType CHECKBOX_STRUCTURE
       Checkbox structure.
       
      CHECKBOX_STRUCTURE = 3;
    • UNRECOGNIZED

      public static final Chunk.StructureType UNRECOGNIZED
  • Field Details

    • STRUCTURE_TYPE_UNSPECIFIED_VALUE

      public static final int STRUCTURE_TYPE_UNSPECIFIED_VALUE
       Default value.
       
      STRUCTURE_TYPE_UNSPECIFIED = 0;
      See Also:
    • SHAREHOLDER_STRUCTURE_VALUE

      public static final int SHAREHOLDER_STRUCTURE_VALUE
       Shareholder structure.
       
      SHAREHOLDER_STRUCTURE = 1;
      See Also:
    • SIGNATURE_STRUCTURE_VALUE

      public static final int SIGNATURE_STRUCTURE_VALUE
       Signature structure.
       
      SIGNATURE_STRUCTURE = 2;
      See Also:
    • CHECKBOX_STRUCTURE_VALUE

      public static final int CHECKBOX_STRUCTURE_VALUE
       Checkbox structure.
       
      CHECKBOX_STRUCTURE = 3;
      See Also:
  • Method Details

    • values

      public static Chunk.StructureType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Chunk.StructureType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static Chunk.StructureType valueOf(int value)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static Chunk.StructureType forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<Chunk.StructureType> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static Chunk.StructureType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null