public static final class DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder extends GeneratedMessage.Builder<DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder> implements DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPointOrBuilderThe 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.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint build()| Returns | |
|---|---|
| Type | Description |
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint |
|
buildPartial()
public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint buildPartial()| Returns | |
|---|---|
| Type | Description |
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint |
|
clear()
public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder clear()| Returns | |
|---|---|
| Type | Description |
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder |
|
clearAttributeValue()
public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder clearAttributeValue()Optional. Can be one of:
- The numerical field value.
- The duration spec for freshness:
The value must be formatted as an XSD
dayTimeDurationvalue (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 |
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder |
This builder for chaining. |
clearBoostAmount()
public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder clearBoostAmount()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 |
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder |
This builder for chaining. |
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
dayTimeDurationvalue (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
dayTimeDurationvalue (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 DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint other)
public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder mergeFrom(DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint other)| Parameter | |
|---|---|
| Name | Description |
other |
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint |
| Returns | |
|---|---|
| Type | Description |
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder |
|
setAttributeValue(String value)
public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder setAttributeValue(String value)Optional. Can be one of:
- The numerical field value.
- The duration spec for freshness:
The value must be formatted as an XSD
dayTimeDurationvalue (a restricted subset of an ISO 8601 duration value). The pattern for this is:nDnM].
string attribute_value = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe attributeValue to set. |
| Returns | |
|---|---|
| Type | Description |
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder |
This builder for chaining. |
setAttributeValueBytes(ByteString value)
public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder setAttributeValueBytes(ByteString value)Optional. Can be one of:
- The numerical field value.
- The duration spec for freshness:
The value must be formatted as an XSD
dayTimeDurationvalue (a restricted subset of an ISO 8601 duration value). The pattern for this is:nDnM].
string attribute_value = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for attributeValue to set. |
| Returns | |
|---|---|
| Type | Description |
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder |
This builder for chaining. |
setBoostAmount(float value)
public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder setBoostAmount(float value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe boostAmount to set. |
| Returns | |
|---|---|
| Type | Description |
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder |
This builder for chaining. |