Class BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder (0.66.0)

public static final class BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder extends GeneratedMessageV3.Builder<BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder> implements 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.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec.BoostControlSpec

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

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

public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder addAllControlPoints(Iterable<? extends 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.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint>
Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

addControlPoints(BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint value)

public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder addControlPoints(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.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueBoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint
Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

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

public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder addControlPoints(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.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueBoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder
Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

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

public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder addControlPoints(int index, 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.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
valueBoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint
Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

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

public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder addControlPoints(int index, 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.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
builderForValueBoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder
Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

addControlPointsBuilder()

public 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.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder

addControlPointsBuilder(int index)

public 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.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder
Overrides

build()

public BoostSpec.ConditionBoostSpec.BoostControlSpec build()
Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec

buildPartial()

public BoostSpec.ConditionBoostSpec.BoostControlSpec buildPartial()
Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec

clear()

public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder clear()
Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder
Overrides

clearAttributeType()

public 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.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType attribute_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

This builder for chaining.

clearControlPoints()

public 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.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

clearField(Descriptors.FieldDescriptor field)

public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder
Overrides

clearFieldName()

public 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
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

This builder for chaining.

clearInterpolationType()

public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder clearInterpolationType()

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

.google.cloud.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType interpolation_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder
Overrides

clone()

public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder clone()
Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder
Overrides

getAttributeType()

public 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.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType attribute_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType attribute_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for attributeType.

getControlPoints(int index)

public 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.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint

getControlPointsBuilder(int index)

public 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.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder

getControlPointsBuilderList()

public List<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.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getControlPointsList()

public List<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.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<ControlPoint>

getControlPointsOrBuilder(int index)

public 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.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPointOrBuilder

getControlPointsOrBuilderList()

public List<? extends 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.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPointOrBuilder>

getDefaultInstanceForType()

public BoostSpec.ConditionBoostSpec.BoostControlSpec getDefaultInstanceForType()
Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for fieldName.

getInterpolationType()

public BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType getInterpolationType()

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

.google.cloud.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType interpolation_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType interpolation_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for interpolationType.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BoostSpec.ConditionBoostSpec.BoostControlSpec other)

public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder mergeFrom(BoostSpec.ConditionBoostSpec.BoostControlSpec other)
Parameter
NameDescription
otherBoostSpec.ConditionBoostSpec.BoostControlSpec
Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder
Overrides

removeControlPoints(int index)

public 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.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

setAttributeType(BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType value)

public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder setAttributeType(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.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType attribute_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueBoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType

The attributeType to set.

Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

This builder for chaining.

setAttributeTypeValue(int value)

public 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.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType attribute_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueint

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

Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

This builder for chaining.

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

public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder setControlPoints(int index, 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.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
valueBoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint
Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

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

public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder setControlPoints(int index, 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.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
builderForValueBoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder
Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder
Overrides

setFieldName(String value)

public 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
NameDescription
valueString

The fieldName to set.

Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

This builder for chaining.

setFieldNameBytes(ByteString value)

public 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
NameDescription
valueByteString

The bytes for fieldName to set.

Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

This builder for chaining.

setInterpolationType(BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType value)

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

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

.google.cloud.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType interpolation_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueBoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType

The interpolationType to set.

Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

This builder for chaining.

setInterpolationTypeValue(int value)

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

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

.google.cloud.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType interpolation_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueint

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

Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder
Overrides