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
Modifier and TypeMethodDescriptionThe probability that the treatment is better than all other treatments in the experimentThe probability that the treatment is better than all other treatments in the experimentdoublegetCount()Count value of a metric.Count-based metric type.intCount-based metric type.doublegetRatio()Ratio value of a metric.getType()Ratio-based metric type.intRatio-based metric type.booleanThe probability that the treatment is better than all other treatments in the experimentbooleanhasCount()Count value of a metric.booleanhasRatio()Ratio value of a metric.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTypeValue
int getTypeValue()Ratio-based metric type. Only one of type or count_type is specified in each Metric.
.google.cloud.dialogflow.cx.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.Experiment.Result.ConfidenceInterval confidence_interval = 3; -
getValueCase
Experiment.Result.Metric.ValueCase getValueCase()
-