public static enum SummaryOptions.Length extends Enum<SummaryOptions.Length> implements com.google.protobuf.ProtocolMessageEnum
The Length enum.Protobuf enum
google.cloud.documentai.v1beta3.SummaryOptions.Length| Enum Constant and Description |
|---|
BRIEF
A brief summary of one or two sentences.
|
COMPREHENSIVE
The longest option available.
|
LENGTH_UNSPECIFIED
Default.
|
MODERATE
A paragraph-length summary.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BRIEF_VALUE
A brief summary of one or two sentences.
|
static int |
COMPREHENSIVE_VALUE
The longest option available.
|
static int |
LENGTH_UNSPECIFIED_VALUE
Default.
|
static int |
MODERATE_VALUE
A paragraph-length summary.
|
| Modifier and Type | Method and Description |
|---|---|
static SummaryOptions.Length |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<SummaryOptions.Length> |
internalGetValueMap() |
static SummaryOptions.Length |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SummaryOptions.Length |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SummaryOptions.Length |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SummaryOptions.Length[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SummaryOptions.Length LENGTH_UNSPECIFIED
Default.
LENGTH_UNSPECIFIED = 0;public static final SummaryOptions.Length BRIEF
A brief summary of one or two sentences.
BRIEF = 1;public static final SummaryOptions.Length MODERATE
A paragraph-length summary.
MODERATE = 2;public static final SummaryOptions.Length COMPREHENSIVE
The longest option available.
COMPREHENSIVE = 3;public static final SummaryOptions.Length UNRECOGNIZED
public static final int LENGTH_UNSPECIFIED_VALUE
Default.
LENGTH_UNSPECIFIED = 0;public static final int BRIEF_VALUE
A brief summary of one or two sentences.
BRIEF = 1;public static final int MODERATE_VALUE
A paragraph-length summary.
MODERATE = 2;public static final int COMPREHENSIVE_VALUE
The longest option available.
COMPREHENSIVE = 3;public static SummaryOptions.Length[] values()
for (SummaryOptions.Length c : SummaryOptions.Length.values()) System.out.println(c);
public static SummaryOptions.Length valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static SummaryOptions.Length valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SummaryOptions.Length forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SummaryOptions.Length> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static SummaryOptions.Length valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.