Class Experiment.Result.ConfidenceInterval.Builder (0.22.0)

public static final class Experiment.Result.ConfidenceInterval.Builder extends GeneratedMessageV3.Builder<Experiment.Result.ConfidenceInterval.Builder> implements Experiment.Result.ConfidenceIntervalOrBuilder

A confidence interval is a range of possible values for the experiment objective you are trying to measure.

Protobuf type google.cloud.dialogflow.cx.v3.Experiment.Result.ConfidenceInterval

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Experiment.Result.ConfidenceInterval.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Experiment.Result.ConfidenceInterval.Builder
Overrides

build()

public Experiment.Result.ConfidenceInterval build()
Returns
Type Description
Experiment.Result.ConfidenceInterval

buildPartial()

public Experiment.Result.ConfidenceInterval buildPartial()
Returns
Type Description
Experiment.Result.ConfidenceInterval

clear()

public Experiment.Result.ConfidenceInterval.Builder clear()
Returns
Type Description
Experiment.Result.ConfidenceInterval.Builder
Overrides

clearConfidenceLevel()

public Experiment.Result.ConfidenceInterval.Builder clearConfidenceLevel()

The confidence level used to construct the interval, i.e. there is X% chance that the true value is within this interval.

double confidence_level = 1;

Returns
Type Description
Experiment.Result.ConfidenceInterval.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Experiment.Result.ConfidenceInterval.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Experiment.Result.ConfidenceInterval.Builder
Overrides

clearLowerBound()

public Experiment.Result.ConfidenceInterval.Builder clearLowerBound()

Lower bound of the interval.

double lower_bound = 3;

Returns
Type Description
Experiment.Result.ConfidenceInterval.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Experiment.Result.ConfidenceInterval.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Experiment.Result.ConfidenceInterval.Builder
Overrides

clearRatio()

public Experiment.Result.ConfidenceInterval.Builder clearRatio()

The percent change between an experiment metric's value and the value for its control.

double ratio = 2;

Returns
Type Description
Experiment.Result.ConfidenceInterval.Builder

This builder for chaining.

clearUpperBound()

public Experiment.Result.ConfidenceInterval.Builder clearUpperBound()

Upper bound of the interval.

double upper_bound = 4;

Returns
Type Description
Experiment.Result.ConfidenceInterval.Builder

This builder for chaining.

clone()

public Experiment.Result.ConfidenceInterval.Builder clone()
Returns
Type Description
Experiment.Result.ConfidenceInterval.Builder
Overrides

getConfidenceLevel()

public double getConfidenceLevel()

The confidence level used to construct the interval, i.e. there is X% chance that the true value is within this interval.

double confidence_level = 1;

Returns
Type Description
double

The confidenceLevel.

getDefaultInstanceForType()

public Experiment.Result.ConfidenceInterval getDefaultInstanceForType()
Returns
Type Description
Experiment.Result.ConfidenceInterval

getDescriptorForType()

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

getLowerBound()

public double getLowerBound()

Lower bound of the interval.

double lower_bound = 3;

Returns
Type Description
double

The lowerBound.

getRatio()

public double getRatio()

The percent change between an experiment metric's value and the value for its control.

double ratio = 2;

Returns
Type Description
double

The ratio.

getUpperBound()

public double getUpperBound()

Upper bound of the interval.

double upper_bound = 4;

Returns
Type Description
double

The upperBound.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Experiment.Result.ConfidenceInterval other)

public Experiment.Result.ConfidenceInterval.Builder mergeFrom(Experiment.Result.ConfidenceInterval other)
Parameter
Name Description
other Experiment.Result.ConfidenceInterval
Returns
Type Description
Experiment.Result.ConfidenceInterval.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Experiment.Result.ConfidenceInterval.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Experiment.Result.ConfidenceInterval.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public Experiment.Result.ConfidenceInterval.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Experiment.Result.ConfidenceInterval.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Experiment.Result.ConfidenceInterval.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Experiment.Result.ConfidenceInterval.Builder
Overrides

setConfidenceLevel(double value)

public Experiment.Result.ConfidenceInterval.Builder setConfidenceLevel(double value)

The confidence level used to construct the interval, i.e. there is X% chance that the true value is within this interval.

double confidence_level = 1;

Parameter
Name Description
value double

The confidenceLevel to set.

Returns
Type Description
Experiment.Result.ConfidenceInterval.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Experiment.Result.ConfidenceInterval.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Experiment.Result.ConfidenceInterval.Builder
Overrides

setLowerBound(double value)

public Experiment.Result.ConfidenceInterval.Builder setLowerBound(double value)

Lower bound of the interval.

double lower_bound = 3;

Parameter
Name Description
value double

The lowerBound to set.

Returns
Type Description
Experiment.Result.ConfidenceInterval.Builder

This builder for chaining.

setRatio(double value)

public Experiment.Result.ConfidenceInterval.Builder setRatio(double value)

The percent change between an experiment metric's value and the value for its control.

double ratio = 2;

Parameter
Name Description
value double

The ratio to set.

Returns
Type Description
Experiment.Result.ConfidenceInterval.Builder

This builder for chaining.

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

public Experiment.Result.ConfidenceInterval.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Experiment.Result.ConfidenceInterval.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Experiment.Result.ConfidenceInterval.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Experiment.Result.ConfidenceInterval.Builder
Overrides

setUpperBound(double value)

public Experiment.Result.ConfidenceInterval.Builder setUpperBound(double value)

Upper bound of the interval.

double upper_bound = 4;

Parameter
Name Description
value double

The upperBound to set.

Returns
Type Description
Experiment.Result.ConfidenceInterval.Builder

This builder for chaining.