Interface Experiment.Result.MetricOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Experiment.Result.Metric
,Experiment.Result.Metric.Builder
- Enclosing class:
- Experiment.Result
public static interface Experiment.Result.MetricOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Experiment.Result.ConfidenceInterval
getConfidenceInterval()
The probability that the treatment is better than all other treatments in the experimentExperiment.Result.ConfidenceIntervalOrBuilder
getConfidenceIntervalOrBuilder()
The probability that the treatment is better than all other treatments in the experimentdouble
getCount()
Count value of a metric.Experiment.Result.CountType
getCountType()
Count-based metric type.int
getCountTypeValue()
Count-based metric type.double
getRatio()
Ratio value of a metric.Experiment.Result.MetricType
getType()
Ratio-based metric type.int
getTypeValue()
Ratio-based metric type.Experiment.Result.Metric.ValueCase
getValueCase()
boolean
hasConfidenceInterval()
The probability that the treatment is better than all other treatments in the experimentboolean
hasCount()
Count value of a metric.boolean
hasRatio()
Ratio value of a metric.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTypeValue
int getTypeValue()
Ratio-based metric type. Only one of type or count_type is specified in each Metric.
.google.cloud.dialogflow.cx.v3.Experiment.Result.MetricType type = 1;
- Returns:
- The enum numeric value on the wire for type.
-
getType
Experiment.Result.MetricType getType()
Ratio-based metric type. Only one of type or count_type is specified in each Metric.
.google.cloud.dialogflow.cx.v3.Experiment.Result.MetricType type = 1;
- Returns:
- The type.
-
getCountTypeValue
int getCountTypeValue()
Count-based metric type. Only one of type or count_type is specified in each Metric.
.google.cloud.dialogflow.cx.v3.Experiment.Result.CountType count_type = 5;
- Returns:
- The enum numeric value on the wire for countType.
-
getCountType
Experiment.Result.CountType getCountType()
Count-based metric type. Only one of type or count_type is specified in each Metric.
.google.cloud.dialogflow.cx.v3.Experiment.Result.CountType count_type = 5;
- Returns:
- The countType.
-
hasRatio
boolean hasRatio()
Ratio value of a metric.
double ratio = 2;
- Returns:
- Whether the ratio field is set.
-
getRatio
double getRatio()
Ratio value of a metric.
double ratio = 2;
- Returns:
- The ratio.
-
hasCount
boolean hasCount()
Count value of a metric.
double count = 4;
- Returns:
- Whether the count field is set.
-
getCount
double getCount()
Count value of a metric.
double count = 4;
- Returns:
- The count.
-
hasConfidenceInterval
boolean hasConfidenceInterval()
The probability that the treatment is better than all other treatments in the experiment
.google.cloud.dialogflow.cx.v3.Experiment.Result.ConfidenceInterval confidence_interval = 3;
- Returns:
- Whether the confidenceInterval field is set.
-
getConfidenceInterval
Experiment.Result.ConfidenceInterval getConfidenceInterval()
The probability that the treatment is better than all other treatments in the experiment
.google.cloud.dialogflow.cx.v3.Experiment.Result.ConfidenceInterval confidence_interval = 3;
- Returns:
- The confidenceInterval.
-
getConfidenceIntervalOrBuilder
Experiment.Result.ConfidenceIntervalOrBuilder getConfidenceIntervalOrBuilder()
The probability that the treatment is better than all other treatments in the experiment
.google.cloud.dialogflow.cx.v3.Experiment.Result.ConfidenceInterval confidence_interval = 3;
-
getValueCase
Experiment.Result.Metric.ValueCase getValueCase()
-
-