Enum 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 Summary
Enum ConstantsEnum ConstantDescriptionCheckbox structure.Shareholder structure.Signature structure.Default value. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCheckbox structure.static final intShareholder structure.static final intSignature structure.static final intDefault value. -
Method Summary
Modifier and TypeMethodDescriptionstatic Chunk.StructureTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Chunk.StructureType>static Chunk.StructureTypevalueOf(int value) Deprecated.static Chunk.StructureTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Chunk.StructureTypeReturns the enum constant of this type with the specified name.static Chunk.StructureType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STRUCTURE_TYPE_UNSPECIFIED
Default value.
STRUCTURE_TYPE_UNSPECIFIED = 0; -
SHAREHOLDER_STRUCTURE
Shareholder structure.
SHAREHOLDER_STRUCTURE = 1; -
SIGNATURE_STRUCTURE
Signature structure.
SIGNATURE_STRUCTURE = 2; -
CHECKBOX_STRUCTURE
Checkbox structure.
CHECKBOX_STRUCTURE = 3; -
UNRECOGNIZED
-
-
Field Details
-
STRUCTURE_TYPE_UNSPECIFIED_VALUE
public static final int STRUCTURE_TYPE_UNSPECIFIED_VALUEDefault value.
STRUCTURE_TYPE_UNSPECIFIED = 0;- See Also:
-
SHAREHOLDER_STRUCTURE_VALUE
public static final int SHAREHOLDER_STRUCTURE_VALUEShareholder structure.
SHAREHOLDER_STRUCTURE = 1;- See Also:
-
SIGNATURE_STRUCTURE_VALUE
public static final int SIGNATURE_STRUCTURE_VALUESignature structure.
SIGNATURE_STRUCTURE = 2;- See Also:
-
CHECKBOX_STRUCTURE_VALUE
public static final int CHECKBOX_STRUCTURE_VALUECheckbox structure.
CHECKBOX_STRUCTURE = 3;- See Also:
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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 nameNullPointerException- if the argument is null
-