Class Experiment.Result.ConfidenceInterval.Builder (0.14.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Experiment.Result.ConfidenceInterval.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Experiment.Result.ConfidenceInterval.Builder
Overrides

build()

public Experiment.Result.ConfidenceInterval build()
Returns
TypeDescription
Experiment.Result.ConfidenceInterval

buildPartial()

public Experiment.Result.ConfidenceInterval buildPartial()
Returns
TypeDescription
Experiment.Result.ConfidenceInterval

clear()

public Experiment.Result.ConfidenceInterval.Builder clear()
Returns
TypeDescription
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
TypeDescription
Experiment.Result.ConfidenceInterval.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Experiment.Result.ConfidenceInterval.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Experiment.Result.ConfidenceInterval.Builder
Overrides

clearLowerBound()

public Experiment.Result.ConfidenceInterval.Builder clearLowerBound()

Lower bound of the interval.

double lower_bound = 3;

Returns
TypeDescription
Experiment.Result.ConfidenceInterval.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Experiment.Result.ConfidenceInterval.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Experiment.Result.ConfidenceInterval.Builder

This builder for chaining.

clone()

public Experiment.Result.ConfidenceInterval.Builder clone()
Returns
TypeDescription
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
TypeDescription
double

The confidenceLevel.

getDefaultInstanceForType()

public Experiment.Result.ConfidenceInterval getDefaultInstanceForType()
Returns
TypeDescription
Experiment.Result.ConfidenceInterval

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLowerBound()

public double getLowerBound()

Lower bound of the interval.

double lower_bound = 3;

Returns
TypeDescription
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
TypeDescription
double

The ratio.

getUpperBound()

public double getUpperBound()

Upper bound of the interval.

double upper_bound = 4;

Returns
TypeDescription
double

The upperBound.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Experiment.Result.ConfidenceInterval other)

public Experiment.Result.ConfidenceInterval.Builder mergeFrom(Experiment.Result.ConfidenceInterval other)
Parameter
NameDescription
otherExperiment.Result.ConfidenceInterval
Returns
TypeDescription
Experiment.Result.ConfidenceInterval.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Experiment.Result.ConfidenceInterval.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Experiment.Result.ConfidenceInterval.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Experiment.Result.ConfidenceInterval.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Experiment.Result.ConfidenceInterval.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Experiment.Result.ConfidenceInterval.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuedouble

The confidenceLevel to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuedouble

The lowerBound to set.

Returns
TypeDescription
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
NameDescription
valuedouble

The ratio to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Experiment.Result.ConfidenceInterval.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Experiment.Result.ConfidenceInterval.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuedouble

The upperBound to set.

Returns
TypeDescription
Experiment.Result.ConfidenceInterval.Builder

This builder for chaining.