Class DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder (0.1.0)

public static final class DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder extends GeneratedMessage.Builder<DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder> implements DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpecOrBuilder

Specification for custom ranking based on customer specified attribute value. It provides more controls for customized ranking than the simple (condition, boost) combination above.

Protobuf type google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllControlPoints(Iterable<? extends DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint> values)

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder addAllControlPoints(Iterable<? extends DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint> values)

Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.

repeated .google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint>
Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

addControlPoints(DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint value)

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder addControlPoints(DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint value)

Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.

repeated .google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint
Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

addControlPoints(DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder builderForValue)

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder addControlPoints(DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder builderForValue)

Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.

repeated .google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder
Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

addControlPoints(int index, DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint value)

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder addControlPoints(int index, DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint value)

Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.

repeated .google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint
Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

addControlPoints(int index, DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder builderForValue)

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder addControlPoints(int index, DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder builderForValue)

Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.

repeated .google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder
Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

addControlPointsBuilder()

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder addControlPointsBuilder()

Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.

repeated .google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder

addControlPointsBuilder(int index)

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder addControlPointsBuilder(int index)

Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.

repeated .google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder

build()

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec build()
Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec

buildPartial()

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec buildPartial()
Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec

clear()

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder clear()
Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder
Overrides

clearAttributeType()

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder clearAttributeType()

Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value).

.google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType attribute_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

This builder for chaining.

clearControlPoints()

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder clearControlPoints()

Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.

repeated .google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

clearFieldName()

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder clearFieldName()

Optional. The name of the field whose value will be used to determine the boost amount.

string field_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

This builder for chaining.

clearInterpolationType()

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder clearInterpolationType()

Optional. The interpolation type to be applied to connect the control points listed below.

.google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType interpolation_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

This builder for chaining.

getAttributeType()

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType getAttributeType()

Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value).

.google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType attribute_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType

The attributeType.

getAttributeTypeValue()

public int getAttributeTypeValue()

Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value).

.google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType attribute_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for attributeType.

getControlPoints(int index)

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint getControlPoints(int index)

Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.

repeated .google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint

getControlPointsBuilder(int index)

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder getControlPointsBuilder(int index)

Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.

repeated .google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder

getControlPointsBuilderList()

public List<DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder> getControlPointsBuilderList()

Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.

repeated .google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getControlPointsCount()

public int getControlPointsCount()

Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.

repeated .google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getControlPointsList()

public List<DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint> getControlPointsList()

Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.

repeated .google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<ControlPoint>

getControlPointsOrBuilder(int index)

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPointOrBuilder getControlPointsOrBuilder(int index)

Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.

repeated .google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPointOrBuilder

getControlPointsOrBuilderList()

public List<? extends DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPointOrBuilder> getControlPointsOrBuilderList()

Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.

repeated .google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPointOrBuilder>

getDefaultInstanceForType()

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec getDefaultInstanceForType()
Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFieldName()

public String getFieldName()

Optional. The name of the field whose value will be used to determine the boost amount.

string field_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The fieldName.

getFieldNameBytes()

public ByteString getFieldNameBytes()

Optional. The name of the field whose value will be used to determine the boost amount.

string field_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for fieldName.

getInterpolationType()

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType getInterpolationType()

Optional. The interpolation type to be applied to connect the control points listed below.

.google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType interpolation_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType

The interpolationType.

getInterpolationTypeValue()

public int getInterpolationTypeValue()

Optional. The interpolation type to be applied to connect the control points listed below.

.google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType interpolation_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for interpolationType.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec other)

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder mergeFrom(DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec other)
Parameter
Name Description
other DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec
Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder
Overrides

removeControlPoints(int index)

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder removeControlPoints(int index)

Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.

repeated .google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

setAttributeType(DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType value)

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder setAttributeType(DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType value)

Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value).

.google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType attribute_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType

The attributeType to set.

Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

This builder for chaining.

setAttributeTypeValue(int value)

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder setAttributeTypeValue(int value)

Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value).

.google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType attribute_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for attributeType to set.

Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

This builder for chaining.

setControlPoints(int index, DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint value)

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder setControlPoints(int index, DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint value)

Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.

repeated .google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint
Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

setControlPoints(int index, DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder builderForValue)

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder setControlPoints(int index, DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder builderForValue)

Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.

repeated .google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder
Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

setFieldName(String value)

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder setFieldName(String value)

Optional. The name of the field whose value will be used to determine the boost amount.

string field_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The fieldName to set.

Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

This builder for chaining.

setFieldNameBytes(ByteString value)

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder setFieldNameBytes(ByteString value)

Optional. The name of the field whose value will be used to determine the boost amount.

string field_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for fieldName to set.

Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

This builder for chaining.

setInterpolationType(DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType value)

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder setInterpolationType(DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType value)

Optional. The interpolation type to be applied to connect the control points listed below.

.google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType interpolation_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType

The interpolationType to set.

Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

This builder for chaining.

setInterpolationTypeValue(int value)

public DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder setInterpolationTypeValue(int value)

Optional. The interpolation type to be applied to connect the control points listed below.

.google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType interpolation_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for interpolationType to set.

Returns
Type Description
DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

This builder for chaining.