Enum OnlineEvaluator.CloudObservability.TraceScope.Predicate.PredicateCase
java.lang.Object
java.lang.Enum<OnlineEvaluator.CloudObservability.TraceScope.Predicate.PredicateCase>
com.google.cloud.aiplatform.v1beta1.OnlineEvaluator.CloudObservability.TraceScope.Predicate.PredicateCase
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<OnlineEvaluator.CloudObservability.TraceScope.Predicate.PredicateCase>
- Enclosing class:
- OnlineEvaluator.CloudObservability.TraceScope.Predicate
public static enum OnlineEvaluator.CloudObservability.TraceScope.Predicate.PredicateCase
extends Enum<OnlineEvaluator.CloudObservability.TraceScope.Predicate.PredicateCase>
implements com.google.protobuf.Internal.EnumLite
-
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
DURATION
-
TOTAL_TOKEN_USAGE
public static final OnlineEvaluator.CloudObservability.TraceScope.Predicate.PredicateCase TOTAL_TOKEN_USAGE -
PREDICATE_NOT_SET
public static final OnlineEvaluator.CloudObservability.TraceScope.Predicate.PredicateCase PREDICATE_NOT_SET
-
-
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
public static OnlineEvaluator.CloudObservability.TraceScope.Predicate.PredicateCase 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 nameNullPointerException- if the argument is null
-
valueOf
@Deprecated public static OnlineEvaluator.CloudObservability.TraceScope.Predicate.PredicateCase 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 nameNullPointerException- if the argument is null
-
forNumber
public static OnlineEvaluator.CloudObservability.TraceScope.Predicate.PredicateCase forNumber(int value) -
getNumber
public int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-