Class Experiment.Result.Metric
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dialogflow.cx.v3.Experiment.Result.Metric
-
- All Implemented Interfaces:
Experiment.Result.MetricOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- Experiment.Result
public static final class Experiment.Result.Metric extends com.google.protobuf.GeneratedMessageV3 implements Experiment.Result.MetricOrBuilder
Metric and corresponding confidence intervals.
Protobuf typegoogle.cloud.dialogflow.cx.v3.Experiment.Result.Metric- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExperiment.Result.Metric.BuilderMetric and corresponding confidence intervals.static classExperiment.Result.Metric.ValueCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCONFIDENCE_INTERVAL_FIELD_NUMBERstatic intCOUNT_FIELD_NUMBERstatic intCOUNT_TYPE_FIELD_NUMBERstatic intRATIO_FIELD_NUMBERstatic intTYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Experiment.Result.ConfidenceIntervalgetConfidenceInterval()The probability that the treatment is better than all other treatments in the experimentExperiment.Result.ConfidenceIntervalOrBuildergetConfidenceIntervalOrBuilder()The probability that the treatment is better than all other treatments in the experimentdoublegetCount()Count value of a metric.Experiment.Result.CountTypegetCountType()Count-based metric type.intgetCountTypeValue()Count-based metric type.static Experiment.Result.MetricgetDefaultInstance()Experiment.Result.MetricgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<Experiment.Result.Metric>getParserForType()doublegetRatio()Ratio value of a metric.intgetSerializedSize()Experiment.Result.MetricTypegetType()Ratio-based metric type.intgetTypeValue()Ratio-based metric type.Experiment.Result.Metric.ValueCasegetValueCase()booleanhasConfidenceInterval()The probability that the treatment is better than all other treatments in the experimentbooleanhasCount()Count value of a metric.inthashCode()booleanhasRatio()Ratio value of a metric.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Experiment.Result.Metric.BuildernewBuilder()static Experiment.Result.Metric.BuildernewBuilder(Experiment.Result.Metric prototype)Experiment.Result.Metric.BuildernewBuilderForType()protected Experiment.Result.Metric.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Experiment.Result.MetricparseDelimitedFrom(InputStream input)static Experiment.Result.MetricparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Experiment.Result.MetricparseFrom(byte[] data)static Experiment.Result.MetricparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Experiment.Result.MetricparseFrom(com.google.protobuf.ByteString data)static Experiment.Result.MetricparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Experiment.Result.MetricparseFrom(com.google.protobuf.CodedInputStream input)static Experiment.Result.MetricparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Experiment.Result.MetricparseFrom(InputStream input)static Experiment.Result.MetricparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Experiment.Result.MetricparseFrom(ByteBuffer data)static Experiment.Result.MetricparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Experiment.Result.Metric>parser()Experiment.Result.Metric.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COUNT_TYPE_FIELD_NUMBER
public static final int COUNT_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RATIO_FIELD_NUMBER
public static final int RATIO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COUNT_FIELD_NUMBER
public static final int COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONFIDENCE_INTERVAL_FIELD_NUMBER
public static final int CONFIDENCE_INTERVAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getValueCase
public Experiment.Result.Metric.ValueCase getValueCase()
- Specified by:
getValueCasein interfaceExperiment.Result.MetricOrBuilder
-
getTypeValue
public 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;- Specified by:
getTypeValuein interfaceExperiment.Result.MetricOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
public 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;- Specified by:
getTypein interfaceExperiment.Result.MetricOrBuilder- Returns:
- The type.
-
getCountTypeValue
public 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;- Specified by:
getCountTypeValuein interfaceExperiment.Result.MetricOrBuilder- Returns:
- The enum numeric value on the wire for countType.
-
getCountType
public 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;- Specified by:
getCountTypein interfaceExperiment.Result.MetricOrBuilder- Returns:
- The countType.
-
hasRatio
public boolean hasRatio()
Ratio value of a metric.
double ratio = 2;- Specified by:
hasRatioin interfaceExperiment.Result.MetricOrBuilder- Returns:
- Whether the ratio field is set.
-
getRatio
public double getRatio()
Ratio value of a metric.
double ratio = 2;- Specified by:
getRatioin interfaceExperiment.Result.MetricOrBuilder- Returns:
- The ratio.
-
hasCount
public boolean hasCount()
Count value of a metric.
double count = 4;- Specified by:
hasCountin interfaceExperiment.Result.MetricOrBuilder- Returns:
- Whether the count field is set.
-
getCount
public double getCount()
Count value of a metric.
double count = 4;- Specified by:
getCountin interfaceExperiment.Result.MetricOrBuilder- Returns:
- The count.
-
hasConfidenceInterval
public 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;- Specified by:
hasConfidenceIntervalin interfaceExperiment.Result.MetricOrBuilder- Returns:
- Whether the confidenceInterval field is set.
-
getConfidenceInterval
public 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;- Specified by:
getConfidenceIntervalin interfaceExperiment.Result.MetricOrBuilder- Returns:
- The confidenceInterval.
-
getConfidenceIntervalOrBuilder
public 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;- Specified by:
getConfidenceIntervalOrBuilderin interfaceExperiment.Result.MetricOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Experiment.Result.Metric parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Experiment.Result.Metric parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Experiment.Result.Metric parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Experiment.Result.Metric parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Experiment.Result.Metric parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Experiment.Result.Metric parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Experiment.Result.Metric parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Experiment.Result.Metric parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Experiment.Result.Metric parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Experiment.Result.Metric parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Experiment.Result.Metric parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Experiment.Result.Metric parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Experiment.Result.Metric.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Experiment.Result.Metric.Builder newBuilder()
-
newBuilder
public static Experiment.Result.Metric.Builder newBuilder(Experiment.Result.Metric prototype)
-
toBuilder
public Experiment.Result.Metric.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Experiment.Result.Metric.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Experiment.Result.Metric getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Experiment.Result.Metric> parser()
-
getParserForType
public com.google.protobuf.Parser<Experiment.Result.Metric> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Experiment.Result.Metric getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-