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 Summary
Enum ConstantsEnum ConstantDescriptionPercentage of sessions where user hung up.Percentage of sessions with the same user calling back.Percentage of contained sessions without user calling back in 24 hours.Percentage of sessions that were handed to a human agent.Metric unspecified.Percentage of sessions reached Dialogflow 'END_PAGE' or 'END_SESSION'. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intPercentage of sessions where user hung up.static final intPercentage of sessions with the same user calling back.static final intPercentage of contained sessions without user calling back in 24 hours.static final intPercentage of sessions that were handed to a human agent.static final intMetric unspecified.static final intPercentage of sessions reached Dialogflow 'END_PAGE' or 'END_SESSION'. -
Method Summary
Modifier and TypeMethodDescriptionstatic Experiment.Result.MetricTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Experiment.Result.MetricType>static Experiment.Result.MetricTypevalueOf(int value) Deprecated.static Experiment.Result.MetricTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Experiment.Result.MetricTypeReturns the enum constant of this type with the specified name.static Experiment.Result.MetricType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
METRIC_UNSPECIFIED
Metric unspecified.
METRIC_UNSPECIFIED = 0; -
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
Percentage of sessions that were handed to a human agent.
LIVE_AGENT_HANDOFF_RATE = 2; -
CALLBACK_SESSION_RATE
Percentage of sessions with the same user calling back.
CALLBACK_SESSION_RATE = 3; -
ABANDONED_SESSION_RATE
Percentage of sessions where user hung up.
ABANDONED_SESSION_RATE = 4; -
SESSION_END_RATE
Percentage of sessions reached Dialogflow 'END_PAGE' or 'END_SESSION'.
SESSION_END_RATE = 5; -
UNRECOGNIZED
-
-
Field Details
-
METRIC_UNSPECIFIED_VALUE
public static final int METRIC_UNSPECIFIED_VALUEMetric unspecified.
METRIC_UNSPECIFIED = 0;- See Also:
-
CONTAINED_SESSION_NO_CALLBACK_RATE_VALUE
public static final int CONTAINED_SESSION_NO_CALLBACK_RATE_VALUEPercentage 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_VALUEPercentage 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_VALUEPercentage 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_VALUEPercentage of sessions where user hung up.
ABANDONED_SESSION_RATE = 4;- See Also:
-
SESSION_END_RATE_VALUE
public static final int SESSION_END_RATE_VALUEPercentage of sessions reached Dialogflow 'END_PAGE' or 'END_SESSION'.
SESSION_END_RATE = 5;- See Also:
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException- if the argument is null
-
forNumber
- 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.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 nameNullPointerException- if the argument is null
-