public static enum Service.SearchExpression.ExpressionCase extends Enum<Service.SearchExpression.ExpressionCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
EXPRESSION_NOT_SET |
METRIC |
PARAMETER |
Modifier and Type | Method and Description |
---|---|
static Service.SearchExpression.ExpressionCase |
forNumber(int value) |
int |
getNumber() |
static Service.SearchExpression.ExpressionCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Service.SearchExpression.ExpressionCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Service.SearchExpression.ExpressionCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Service.SearchExpression.ExpressionCase METRIC
public static final Service.SearchExpression.ExpressionCase PARAMETER
public static final Service.SearchExpression.ExpressionCase EXPRESSION_NOT_SET
public static Service.SearchExpression.ExpressionCase[] values()
for (Service.SearchExpression.ExpressionCase c : Service.SearchExpression.ExpressionCase.values()) System.out.println(c);
public static Service.SearchExpression.ExpressionCase valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null@Deprecated public static Service.SearchExpression.ExpressionCase valueOf(int value)
forNumber(int)
instead.public static Service.SearchExpression.ExpressionCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
Copyright © 2018. All rights reserved.