Enum SolutionType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<SolutionType>
@Generated
public enum SolutionType
extends Enum<SolutionType>
implements com.google.protobuf.ProtocolMessageEnum
The type of solution.Protobuf enum
google.cloud.discoveryengine.v1beta.SolutionType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUsed for use cases related to the Generative AI agent.Used for use cases related to the Generative Chat agent.Used for Recommendations AI.Used for Discovery Search.Default value. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intUsed for use cases related to the Generative AI agent.static final intUsed for use cases related to the Generative Chat agent.static final intUsed for Recommendations AI.static final intUsed for Discovery Search.static final intDefault value. -
Method Summary
Modifier and TypeMethodDescriptionstatic SolutionTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<SolutionType>static SolutionTypevalueOf(int value) Deprecated.static SolutionTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static SolutionTypeReturns the enum constant of this type with the specified name.static SolutionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SOLUTION_TYPE_UNSPECIFIED
Default value.
SOLUTION_TYPE_UNSPECIFIED = 0; -
SOLUTION_TYPE_RECOMMENDATION
Used for Recommendations AI.
SOLUTION_TYPE_RECOMMENDATION = 1; -
SOLUTION_TYPE_SEARCH
Used for Discovery Search.
SOLUTION_TYPE_SEARCH = 2; -
SOLUTION_TYPE_CHAT
Used for use cases related to the Generative AI agent.
SOLUTION_TYPE_CHAT = 3; -
SOLUTION_TYPE_GENERATIVE_CHAT
Used for use cases related to the Generative Chat agent. It's used for Generative chat engine only, the associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution.
SOLUTION_TYPE_GENERATIVE_CHAT = 4; -
UNRECOGNIZED
-
-
Field Details
-
SOLUTION_TYPE_UNSPECIFIED_VALUE
public static final int SOLUTION_TYPE_UNSPECIFIED_VALUEDefault value.
SOLUTION_TYPE_UNSPECIFIED = 0;- See Also:
-
SOLUTION_TYPE_RECOMMENDATION_VALUE
public static final int SOLUTION_TYPE_RECOMMENDATION_VALUEUsed for Recommendations AI.
SOLUTION_TYPE_RECOMMENDATION = 1;- See Also:
-
SOLUTION_TYPE_SEARCH_VALUE
public static final int SOLUTION_TYPE_SEARCH_VALUEUsed for Discovery Search.
SOLUTION_TYPE_SEARCH = 2;- See Also:
-
SOLUTION_TYPE_CHAT_VALUE
public static final int SOLUTION_TYPE_CHAT_VALUEUsed for use cases related to the Generative AI agent.
SOLUTION_TYPE_CHAT = 3;- See Also:
-
SOLUTION_TYPE_GENERATIVE_CHAT_VALUE
public static final int SOLUTION_TYPE_GENERATIVE_CHAT_VALUEUsed for use cases related to the Generative Chat agent. It's used for Generative chat engine only, the associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution.
SOLUTION_TYPE_GENERATIVE_CHAT = 4;- 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
-