public static enum Trigger.TriggerOneofCase extends Enum<Trigger.TriggerOneofCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
SCALED |
THRESHOLD |
TRIGGERONEOF_NOT_SET |
Modifier and Type | Method and Description |
---|---|
static Trigger.TriggerOneofCase |
forNumber(int value) |
int |
getNumber() |
static Trigger.TriggerOneofCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Trigger.TriggerOneofCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Trigger.TriggerOneofCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Trigger.TriggerOneofCase THRESHOLD
public static final Trigger.TriggerOneofCase SCALED
public static final Trigger.TriggerOneofCase TRIGGERONEOF_NOT_SET
public static Trigger.TriggerOneofCase[] values()
for (Trigger.TriggerOneofCase c : Trigger.TriggerOneofCase.values()) System.out.println(c);
public static Trigger.TriggerOneofCase 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 Trigger.TriggerOneofCase valueOf(int value)
forNumber(int)
instead.public static Trigger.TriggerOneofCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
Copyright © 2018–2021 The Envoy Project. All rights reserved.