Class Control.BoostAction.InterpolationBoostSpec.ControlPoint (0.72.0)
public static final class Control.BoostAction.InterpolationBoostSpec.ControlPoint extends GeneratedMessageV3 implements Control.BoostAction.InterpolationBoostSpec.ControlPointOrBuilder
The control points used to define the curve. The curve defined
through these control points can only be monotonically increasing
or decreasing(constant values are acceptable).
Protobuf type
google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.ControlPoint
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ATTRIBUTE_VALUE_FIELD_NUMBER
public static final int ATTRIBUTE_VALUE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
BOOST_AMOUNT_FIELD_NUMBER
public static final int BOOST_AMOUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Control.BoostAction.InterpolationBoostSpec.ControlPoint getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Control.BoostAction.InterpolationBoostSpec.ControlPoint.Builder newBuilder()
newBuilder(Control.BoostAction.InterpolationBoostSpec.ControlPoint prototype)
public static Control.BoostAction.InterpolationBoostSpec.ControlPoint.Builder newBuilder(Control.BoostAction.InterpolationBoostSpec.ControlPoint prototype)
public static Control.BoostAction.InterpolationBoostSpec.ControlPoint parseDelimitedFrom(InputStream input)
public static Control.BoostAction.InterpolationBoostSpec.ControlPoint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Control.BoostAction.InterpolationBoostSpec.ControlPoint parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Control.BoostAction.InterpolationBoostSpec.ControlPoint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Control.BoostAction.InterpolationBoostSpec.ControlPoint parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Control.BoostAction.InterpolationBoostSpec.ControlPoint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Control.BoostAction.InterpolationBoostSpec.ControlPoint parseFrom(CodedInputStream input)
public static Control.BoostAction.InterpolationBoostSpec.ControlPoint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Control.BoostAction.InterpolationBoostSpec.ControlPoint parseFrom(InputStream input)
public static Control.BoostAction.InterpolationBoostSpec.ControlPoint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Control.BoostAction.InterpolationBoostSpec.ControlPoint parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Control.BoostAction.InterpolationBoostSpec.ControlPoint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Control.BoostAction.InterpolationBoostSpec.ControlPoint> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAttributeValue()
public String getAttributeValue()
Optional. Can be one of:
- The numerical field value.
- The duration spec for freshness:
The value must be formatted as an XSD
dayTimeDuration
value (a
restricted subset of an ISO 8601 duration value). The pattern for
this is: nDnM]
.
string attribute_value = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The attributeValue.
|
getAttributeValueBytes()
public ByteString getAttributeValueBytes()
Optional. Can be one of:
- The numerical field value.
- The duration spec for freshness:
The value must be formatted as an XSD
dayTimeDuration
value (a
restricted subset of an ISO 8601 duration value). The pattern for
this is: nDnM]
.
string attribute_value = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for attributeValue.
|
getBoostAmount()
public float getBoostAmount()
Optional. The value between -1 to 1 by which to boost the score if
the attribute_value evaluates to the value specified above.
float boost_amount = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
float |
The boostAmount.
|
getDefaultInstanceForType()
public Control.BoostAction.InterpolationBoostSpec.ControlPoint getDefaultInstanceForType()
getParserForType()
public Parser<Control.BoostAction.InterpolationBoostSpec.ControlPoint> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Control.BoostAction.InterpolationBoostSpec.ControlPoint.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Control.BoostAction.InterpolationBoostSpec.ControlPoint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Control.BoostAction.InterpolationBoostSpec.ControlPoint.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]