public static enum Gnmi.SubscribeRequest.RequestCase extends Enum<Gnmi.SubscribeRequest.RequestCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
ALIASES |
POLL |
REQUEST_NOT_SET |
SUBSCRIBE |
| Modifier and Type | Method and Description |
|---|---|
static Gnmi.SubscribeRequest.RequestCase |
forNumber(int value) |
int |
getNumber() |
static Gnmi.SubscribeRequest.RequestCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Gnmi.SubscribeRequest.RequestCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Gnmi.SubscribeRequest.RequestCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Gnmi.SubscribeRequest.RequestCase SUBSCRIBE
public static final Gnmi.SubscribeRequest.RequestCase POLL
public static final Gnmi.SubscribeRequest.RequestCase ALIASES
public static final Gnmi.SubscribeRequest.RequestCase REQUEST_NOT_SET
public static Gnmi.SubscribeRequest.RequestCase[] values()
for (Gnmi.SubscribeRequest.RequestCase c : Gnmi.SubscribeRequest.RequestCase.values()) System.out.println(c);
public static Gnmi.SubscribeRequest.RequestCase 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 Gnmi.SubscribeRequest.RequestCase valueOf(int value)
forNumber(int) instead.public static Gnmi.SubscribeRequest.RequestCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2022. All rights reserved.