public enum SolutionType extends Enum<SolutionType> implements com.google.protobuf.ProtocolMessageEnum
The type of solution.Protobuf enum
google.cloud.retail.v2.SolutionType| Enum Constant and Description |
|---|
SOLUTION_TYPE_RECOMMENDATION
Used for Recommendations AI.
|
SOLUTION_TYPE_SEARCH
Used for Retail Search.
|
SOLUTION_TYPE_UNSPECIFIED
Default value.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
SOLUTION_TYPE_RECOMMENDATION_VALUE
Used for Recommendations AI.
|
static int |
SOLUTION_TYPE_SEARCH_VALUE
Used for Retail Search.
|
static int |
SOLUTION_TYPE_UNSPECIFIED_VALUE
Default value.
|
| Modifier and Type | Method and Description |
|---|---|
static SolutionType |
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<SolutionType> |
internalGetValueMap() |
static SolutionType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SolutionType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SolutionType |
valueOf(String name)
Returns 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.
|
public static final SolutionType SOLUTION_TYPE_UNSPECIFIED
Default value.
SOLUTION_TYPE_UNSPECIFIED = 0;public static final SolutionType SOLUTION_TYPE_RECOMMENDATION
Used for Recommendations AI.
SOLUTION_TYPE_RECOMMENDATION = 1;public static final SolutionType SOLUTION_TYPE_SEARCH
Used for Retail Search.
SOLUTION_TYPE_SEARCH = 2;public static final SolutionType UNRECOGNIZED
public static final int SOLUTION_TYPE_UNSPECIFIED_VALUE
Default value.
SOLUTION_TYPE_UNSPECIFIED = 0;public static final int SOLUTION_TYPE_RECOMMENDATION_VALUE
Used for Recommendations AI.
SOLUTION_TYPE_RECOMMENDATION = 1;public static final int SOLUTION_TYPE_SEARCH_VALUE
Used for Retail Search.
SOLUTION_TYPE_SEARCH = 2;public static SolutionType[] values()
for (SolutionType c : SolutionType.values()) System.out.println(c);
public static SolutionType 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 SolutionType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SolutionType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SolutionType> 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 SolutionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.