Enum Experiment.Result.MetricType

java.lang.Object
java.lang.Enum<Experiment.Result.MetricType>
com.google.cloud.dialogflow.cx.v3beta1.Experiment.Result.MetricType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Experiment.Result.MetricType>
Enclosing class:
Experiment.Result

public static enum Experiment.Result.MetricType extends Enum<Experiment.Result.MetricType> implements com.google.protobuf.ProtocolMessageEnum
 Types of ratio-based metric for Dialogflow experiment.
 
Protobuf enum google.cloud.dialogflow.cx.v3beta1.Experiment.Result.MetricType
  • Enum Constant Details

    • METRIC_UNSPECIFIED

      public static final Experiment.Result.MetricType METRIC_UNSPECIFIED
       Metric unspecified.
       
      METRIC_UNSPECIFIED = 0;
    • CONTAINED_SESSION_NO_CALLBACK_RATE

      public static final Experiment.Result.MetricType CONTAINED_SESSION_NO_CALLBACK_RATE
       Percentage of contained sessions without user calling back in 24 hours.
       
      CONTAINED_SESSION_NO_CALLBACK_RATE = 1;
    • LIVE_AGENT_HANDOFF_RATE

      public static final Experiment.Result.MetricType LIVE_AGENT_HANDOFF_RATE
       Percentage of sessions that were handed to a human agent.
       
      LIVE_AGENT_HANDOFF_RATE = 2;
    • CALLBACK_SESSION_RATE

      public static final Experiment.Result.MetricType CALLBACK_SESSION_RATE
       Percentage of sessions with the same user calling back.
       
      CALLBACK_SESSION_RATE = 3;
    • ABANDONED_SESSION_RATE

      public static final Experiment.Result.MetricType ABANDONED_SESSION_RATE
       Percentage of sessions where user hung up.
       
      ABANDONED_SESSION_RATE = 4;
    • SESSION_END_RATE

      public static final Experiment.Result.MetricType SESSION_END_RATE
       Percentage of sessions reached Dialogflow 'END_PAGE' or
       'END_SESSION'.
       
      SESSION_END_RATE = 5;
    • UNRECOGNIZED

      public static final Experiment.Result.MetricType UNRECOGNIZED
  • Field Details

    • METRIC_UNSPECIFIED_VALUE

      public static final int METRIC_UNSPECIFIED_VALUE
       Metric unspecified.
       
      METRIC_UNSPECIFIED = 0;
      See Also:
    • CONTAINED_SESSION_NO_CALLBACK_RATE_VALUE

      public static final int CONTAINED_SESSION_NO_CALLBACK_RATE_VALUE
       Percentage of contained sessions without user calling back in 24 hours.
       
      CONTAINED_SESSION_NO_CALLBACK_RATE = 1;
      See Also:
    • LIVE_AGENT_HANDOFF_RATE_VALUE

      public static final int LIVE_AGENT_HANDOFF_RATE_VALUE
       Percentage of sessions that were handed to a human agent.
       
      LIVE_AGENT_HANDOFF_RATE = 2;
      See Also:
    • CALLBACK_SESSION_RATE_VALUE

      public static final int CALLBACK_SESSION_RATE_VALUE
       Percentage of sessions with the same user calling back.
       
      CALLBACK_SESSION_RATE = 3;
      See Also:
    • ABANDONED_SESSION_RATE_VALUE

      public static final int ABANDONED_SESSION_RATE_VALUE
       Percentage of sessions where user hung up.
       
      ABANDONED_SESSION_RATE = 4;
      See Also:
    • SESSION_END_RATE_VALUE

      public static final int SESSION_END_RATE_VALUE
       Percentage of sessions reached Dialogflow 'END_PAGE' or
       'END_SESSION'.
       
      SESSION_END_RATE = 5;
      See Also:
  • Method Details

    • values

      public static Experiment.Result.MetricType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Experiment.Result.MetricType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static Experiment.Result.MetricType valueOf(int value)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static Experiment.Result.MetricType forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<Experiment.Result.MetricType> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static Experiment.Result.MetricType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null