public static enum RuntimeAnnotation.UserInput.QuerySource extends Enum<RuntimeAnnotation.UserInput.QuerySource> implements com.google.protobuf.ProtocolMessageEnum
The source of the query.Protobuf enum
google.cloud.contactcenterinsights.v1.RuntimeAnnotation.UserInput.QuerySource| Enum Constant and Description |
|---|
AGENT_QUERY
The query is from agents.
|
QUERY_SOURCE_UNSPECIFIED
Unknown query source.
|
SUGGESTED_QUERY
The query is a query from previous suggestions, e.g. from a preceding
SuggestKnowledgeAssist response.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
AGENT_QUERY_VALUE
The query is from agents.
|
static int |
QUERY_SOURCE_UNSPECIFIED_VALUE
Unknown query source.
|
static int |
SUGGESTED_QUERY_VALUE
The query is a query from previous suggestions, e.g. from a preceding
SuggestKnowledgeAssist response.
|
| Modifier and Type | Method and Description |
|---|---|
static RuntimeAnnotation.UserInput.QuerySource |
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<RuntimeAnnotation.UserInput.QuerySource> |
internalGetValueMap() |
static RuntimeAnnotation.UserInput.QuerySource |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RuntimeAnnotation.UserInput.QuerySource |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RuntimeAnnotation.UserInput.QuerySource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuntimeAnnotation.UserInput.QuerySource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuntimeAnnotation.UserInput.QuerySource QUERY_SOURCE_UNSPECIFIED
Unknown query source.
QUERY_SOURCE_UNSPECIFIED = 0;public static final RuntimeAnnotation.UserInput.QuerySource AGENT_QUERY
The query is from agents.
AGENT_QUERY = 1;public static final RuntimeAnnotation.UserInput.QuerySource SUGGESTED_QUERY
The query is a query from previous suggestions, e.g. from a preceding SuggestKnowledgeAssist response.
SUGGESTED_QUERY = 2;public static final RuntimeAnnotation.UserInput.QuerySource UNRECOGNIZED
public static final int QUERY_SOURCE_UNSPECIFIED_VALUE
Unknown query source.
QUERY_SOURCE_UNSPECIFIED = 0;public static final int AGENT_QUERY_VALUE
The query is from agents.
AGENT_QUERY = 1;public static final int SUGGESTED_QUERY_VALUE
The query is a query from previous suggestions, e.g. from a preceding SuggestKnowledgeAssist response.
SUGGESTED_QUERY = 2;public static RuntimeAnnotation.UserInput.QuerySource[] values()
for (RuntimeAnnotation.UserInput.QuerySource c : RuntimeAnnotation.UserInput.QuerySource.values()) System.out.println(c);
public static RuntimeAnnotation.UserInput.QuerySource 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 RuntimeAnnotation.UserInput.QuerySource valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static RuntimeAnnotation.UserInput.QuerySource forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<RuntimeAnnotation.UserInput.QuerySource> 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 RuntimeAnnotation.UserInput.QuerySource valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.