public static enum Control.BoostAction.InterpolationBoostSpec.AttributeType extends Enum<Control.BoostAction.InterpolationBoostSpec.AttributeType> implements com.google.protobuf.ProtocolMessageEnum
The attribute(or function) for which the custom ranking is to be applied.Protobuf enum
google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.AttributeType| Enum Constant and Description |
|---|
ATTRIBUTE_TYPE_UNSPECIFIED
Unspecified AttributeType.
|
FRESHNESS
For the freshness use case the attribute value will be the duration
between the current time and the date in the datetime field
specified.
|
NUMERICAL
The value of the numerical field will be used to dynamically update
the boost amount.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ATTRIBUTE_TYPE_UNSPECIFIED_VALUE
Unspecified AttributeType.
|
static int |
FRESHNESS_VALUE
For the freshness use case the attribute value will be the duration
between the current time and the date in the datetime field
specified.
|
static int |
NUMERICAL_VALUE
The value of the numerical field will be used to dynamically update
the boost amount.
|
| Modifier and Type | Method and Description |
|---|---|
static Control.BoostAction.InterpolationBoostSpec.AttributeType |
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<Control.BoostAction.InterpolationBoostSpec.AttributeType> |
internalGetValueMap() |
static Control.BoostAction.InterpolationBoostSpec.AttributeType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Control.BoostAction.InterpolationBoostSpec.AttributeType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Control.BoostAction.InterpolationBoostSpec.AttributeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Control.BoostAction.InterpolationBoostSpec.AttributeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Control.BoostAction.InterpolationBoostSpec.AttributeType ATTRIBUTE_TYPE_UNSPECIFIED
Unspecified AttributeType.
ATTRIBUTE_TYPE_UNSPECIFIED = 0;public static final Control.BoostAction.InterpolationBoostSpec.AttributeType NUMERICAL
The value of the numerical field will be used to dynamically update the boost amount. In this case, the attribute_value (the x value) of the control point will be the actual value of the numerical field for which the boost_amount is specified.
NUMERICAL = 1;public static final Control.BoostAction.InterpolationBoostSpec.AttributeType FRESHNESS
For the freshness use case the attribute value will be the duration between the current time and the date in the datetime field specified. The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `[nD][T[nH][nM][nS]]`. For example, `5D`, `3DT12H30M`, `T24H`.
FRESHNESS = 2;public static final Control.BoostAction.InterpolationBoostSpec.AttributeType UNRECOGNIZED
public static final int ATTRIBUTE_TYPE_UNSPECIFIED_VALUE
Unspecified AttributeType.
ATTRIBUTE_TYPE_UNSPECIFIED = 0;public static final int NUMERICAL_VALUE
The value of the numerical field will be used to dynamically update the boost amount. In this case, the attribute_value (the x value) of the control point will be the actual value of the numerical field for which the boost_amount is specified.
NUMERICAL = 1;public static final int FRESHNESS_VALUE
For the freshness use case the attribute value will be the duration between the current time and the date in the datetime field specified. The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `[nD][T[nH][nM][nS]]`. For example, `5D`, `3DT12H30M`, `T24H`.
FRESHNESS = 2;public static Control.BoostAction.InterpolationBoostSpec.AttributeType[] values()
for (Control.BoostAction.InterpolationBoostSpec.AttributeType c : Control.BoostAction.InterpolationBoostSpec.AttributeType.values()) System.out.println(c);
public static Control.BoostAction.InterpolationBoostSpec.AttributeType 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 Control.BoostAction.InterpolationBoostSpec.AttributeType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Control.BoostAction.InterpolationBoostSpec.AttributeType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Control.BoostAction.InterpolationBoostSpec.AttributeType> 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Control.BoostAction.InterpolationBoostSpec.AttributeType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2026 Google LLC. All rights reserved.