public static enum SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType extends Enum<SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType> implements com.google.protobuf.ProtocolMessageEnum
The interpolation type to be applied. Default will be linear (Piecewise Linear).Protobuf enum
google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType| Enum Constant and Description |
|---|
INTERPOLATION_TYPE_UNSPECIFIED
Interpolation type is unspecified.
|
LINEAR
Piecewise linear interpolation will be applied.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
INTERPOLATION_TYPE_UNSPECIFIED_VALUE
Interpolation type is unspecified.
|
static int |
LINEAR_VALUE
Piecewise linear interpolation will be applied.
|
public static final SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType INTERPOLATION_TYPE_UNSPECIFIED
Interpolation type is unspecified. In this case, it defaults to Linear.
INTERPOLATION_TYPE_UNSPECIFIED = 0;public static final SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType LINEAR
Piecewise linear interpolation will be applied.
LINEAR = 1;public static final SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType UNRECOGNIZED
public static final int INTERPOLATION_TYPE_UNSPECIFIED_VALUE
Interpolation type is unspecified. In this case, it defaults to Linear.
INTERPOLATION_TYPE_UNSPECIFIED = 0;public static final int LINEAR_VALUE
Piecewise linear interpolation will be applied.
LINEAR = 1;public static SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType[] values()
for (SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType c : SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType.values()) System.out.println(c);
public static SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType 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 SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType> 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 SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.