Class Experiment.Result.ConfidenceInterval (0.56.0)

public static final class Experiment.Result.ConfidenceInterval extends GeneratedMessageV3 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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Experiment.Result.ConfidenceInterval

Static Fields

CONFIDENCE_LEVEL_FIELD_NUMBER

public static final int CONFIDENCE_LEVEL_FIELD_NUMBER
Field Value
Type Description
int

LOWER_BOUND_FIELD_NUMBER

public static final int LOWER_BOUND_FIELD_NUMBER
Field Value
Type Description
int

RATIO_FIELD_NUMBER

public static final int RATIO_FIELD_NUMBER
Field Value
Type Description
int

UPPER_BOUND_FIELD_NUMBER

public static final int UPPER_BOUND_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Experiment.Result.ConfidenceInterval getDefaultInstance()
Returns
Type Description
Experiment.Result.ConfidenceInterval

getDescriptor()

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

newBuilder()

public static Experiment.Result.ConfidenceInterval.Builder newBuilder()
Returns
Type Description
Experiment.Result.ConfidenceInterval.Builder

newBuilder(Experiment.Result.ConfidenceInterval prototype)

public static Experiment.Result.ConfidenceInterval.Builder newBuilder(Experiment.Result.ConfidenceInterval prototype)
Parameter
Name Description
prototype Experiment.Result.ConfidenceInterval
Returns
Type Description
Experiment.Result.ConfidenceInterval.Builder

parseDelimitedFrom(InputStream input)

public static Experiment.Result.ConfidenceInterval parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Experiment.Result.ConfidenceInterval
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Experiment.Result.ConfidenceInterval parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Experiment.Result.ConfidenceInterval
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Experiment.Result.ConfidenceInterval parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Experiment.Result.ConfidenceInterval
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Experiment.Result.ConfidenceInterval parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Experiment.Result.ConfidenceInterval
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Experiment.Result.ConfidenceInterval parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Experiment.Result.ConfidenceInterval
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Experiment.Result.ConfidenceInterval parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Experiment.Result.ConfidenceInterval
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Experiment.Result.ConfidenceInterval parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Experiment.Result.ConfidenceInterval
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Experiment.Result.ConfidenceInterval parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Experiment.Result.ConfidenceInterval
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Experiment.Result.ConfidenceInterval parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Experiment.Result.ConfidenceInterval
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Experiment.Result.ConfidenceInterval parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Experiment.Result.ConfidenceInterval
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Experiment.Result.ConfidenceInterval parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Experiment.Result.ConfidenceInterval
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Experiment.Result.ConfidenceInterval parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Experiment.Result.ConfidenceInterval
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Experiment.Result.ConfidenceInterval> parser()
Returns
Type Description
Parser<ConfidenceInterval>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

getLowerBound()

public double getLowerBound()

Lower bound of the interval.

double lower_bound = 3;

Returns
Type Description
double

The lowerBound.

getParserForType()

public Parser<Experiment.Result.ConfidenceInterval> getParserForType()
Returns
Type Description
Parser<ConfidenceInterval>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpperBound()

public double getUpperBound()

Upper bound of the interval.

double upper_bound = 4;

Returns
Type Description
double

The upperBound.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Experiment.Result.ConfidenceInterval.Builder newBuilderForType()
Returns
Type Description
Experiment.Result.ConfidenceInterval.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Experiment.Result.ConfidenceInterval.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Experiment.Result.ConfidenceInterval.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Experiment.Result.ConfidenceInterval.Builder toBuilder()
Returns
Type Description
Experiment.Result.ConfidenceInterval.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException