public static enum AnswerQueryRequest.GroundingSpec.FilteringLevel extends Enum<AnswerQueryRequest.GroundingSpec.FilteringLevel> implements com.google.protobuf.ProtocolMessageEnum
Level to filter based on answer grounding.Protobuf enum
google.cloud.discoveryengine.v1beta.AnswerQueryRequest.GroundingSpec.FilteringLevel| Enum Constant and Description |
|---|
FILTERING_LEVEL_HIGH
Filter answers based on a high threshold.
|
FILTERING_LEVEL_LOW
Filter answers based on a low threshold.
|
FILTERING_LEVEL_UNSPECIFIED
Default is no filter
FILTERING_LEVEL_UNSPECIFIED = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
FILTERING_LEVEL_HIGH_VALUE
Filter answers based on a high threshold.
|
static int |
FILTERING_LEVEL_LOW_VALUE
Filter answers based on a low threshold.
|
static int |
FILTERING_LEVEL_UNSPECIFIED_VALUE
Default is no filter
FILTERING_LEVEL_UNSPECIFIED = 0; |
| Modifier and Type | Method and Description |
|---|---|
static AnswerQueryRequest.GroundingSpec.FilteringLevel |
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<AnswerQueryRequest.GroundingSpec.FilteringLevel> |
internalGetValueMap() |
static AnswerQueryRequest.GroundingSpec.FilteringLevel |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AnswerQueryRequest.GroundingSpec.FilteringLevel |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AnswerQueryRequest.GroundingSpec.FilteringLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnswerQueryRequest.GroundingSpec.FilteringLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnswerQueryRequest.GroundingSpec.FilteringLevel FILTERING_LEVEL_UNSPECIFIED
Default is no filter
FILTERING_LEVEL_UNSPECIFIED = 0;public static final AnswerQueryRequest.GroundingSpec.FilteringLevel FILTERING_LEVEL_LOW
Filter answers based on a low threshold.
FILTERING_LEVEL_LOW = 1;public static final AnswerQueryRequest.GroundingSpec.FilteringLevel FILTERING_LEVEL_HIGH
Filter answers based on a high threshold.
FILTERING_LEVEL_HIGH = 2;public static final AnswerQueryRequest.GroundingSpec.FilteringLevel UNRECOGNIZED
public static final int FILTERING_LEVEL_UNSPECIFIED_VALUE
Default is no filter
FILTERING_LEVEL_UNSPECIFIED = 0;public static final int FILTERING_LEVEL_LOW_VALUE
Filter answers based on a low threshold.
FILTERING_LEVEL_LOW = 1;public static final int FILTERING_LEVEL_HIGH_VALUE
Filter answers based on a high threshold.
FILTERING_LEVEL_HIGH = 2;public static AnswerQueryRequest.GroundingSpec.FilteringLevel[] values()
for (AnswerQueryRequest.GroundingSpec.FilteringLevel c : AnswerQueryRequest.GroundingSpec.FilteringLevel.values()) System.out.println(c);
public static AnswerQueryRequest.GroundingSpec.FilteringLevel 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 AnswerQueryRequest.GroundingSpec.FilteringLevel valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static AnswerQueryRequest.GroundingSpec.FilteringLevel forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AnswerQueryRequest.GroundingSpec.FilteringLevel> 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 AnswerQueryRequest.GroundingSpec.FilteringLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.