Class Experiment.Result.Metric

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dialogflow.cx.v3beta1.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.GeneratedMessage implements Experiment.Result.MetricOrBuilder
 Metric and corresponding confidence intervals.
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.Experiment.Result.Metric
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getValueCase

      public Experiment.Result.Metric.ValueCase getValueCase()
      Specified by:
      getValueCase in interface Experiment.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.v3beta1.Experiment.Result.MetricType type = 1;
      Specified by:
      getTypeValue in interface Experiment.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.v3beta1.Experiment.Result.MetricType type = 1;
      Specified by:
      getType in interface Experiment.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.v3beta1.Experiment.Result.CountType count_type = 5;
      Specified by:
      getCountTypeValue in interface Experiment.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.v3beta1.Experiment.Result.CountType count_type = 5;
      Specified by:
      getCountType in interface Experiment.Result.MetricOrBuilder
      Returns:
      The countType.
    • hasRatio

      public boolean hasRatio()
       Ratio value of a metric.
       
      double ratio = 2;
      Specified by:
      hasRatio in interface Experiment.Result.MetricOrBuilder
      Returns:
      Whether the ratio field is set.
    • getRatio

      public double getRatio()
       Ratio value of a metric.
       
      double ratio = 2;
      Specified by:
      getRatio in interface Experiment.Result.MetricOrBuilder
      Returns:
      The ratio.
    • hasCount

      public boolean hasCount()
       Count value of a metric.
       
      double count = 4;
      Specified by:
      hasCount in interface Experiment.Result.MetricOrBuilder
      Returns:
      Whether the count field is set.
    • getCount

      public double getCount()
       Count value of a metric.
       
      double count = 4;
      Specified by:
      getCount in interface Experiment.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.v3beta1.Experiment.Result.ConfidenceInterval confidence_interval = 3;
      Specified by:
      hasConfidenceInterval in interface Experiment.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.v3beta1.Experiment.Result.ConfidenceInterval confidence_interval = 3;
      Specified by:
      getConfidenceInterval in interface Experiment.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.v3beta1.Experiment.Result.ConfidenceInterval confidence_interval = 3;
      Specified by:
      getConfidenceIntervalOrBuilder in interface Experiment.Result.MetricOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Experiment.Result.Metric.Builder newBuilder()
    • newBuilder

      public static Experiment.Result.Metric.Builder newBuilder(Experiment.Result.Metric prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Experiment.Result.Metric.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • 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:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Experiment.Result.Metric getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder