public static enum LightningApi.RPCMiddlewareRequest.InterceptTypeCase extends java.lang.Enum<LightningApi.RPCMiddlewareRequest.InterceptTypeCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
INTERCEPTTYPE_NOT_SET |
REG_COMPLETE |
REQUEST |
RESPONSE |
STREAM_AUTH |
Modifier and Type | Method and Description |
---|---|
static LightningApi.RPCMiddlewareRequest.InterceptTypeCase |
forNumber(int value) |
int |
getNumber() |
static LightningApi.RPCMiddlewareRequest.InterceptTypeCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static LightningApi.RPCMiddlewareRequest.InterceptTypeCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LightningApi.RPCMiddlewareRequest.InterceptTypeCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LightningApi.RPCMiddlewareRequest.InterceptTypeCase STREAM_AUTH
public static final LightningApi.RPCMiddlewareRequest.InterceptTypeCase REQUEST
public static final LightningApi.RPCMiddlewareRequest.InterceptTypeCase RESPONSE
public static final LightningApi.RPCMiddlewareRequest.InterceptTypeCase REG_COMPLETE
public static final LightningApi.RPCMiddlewareRequest.InterceptTypeCase INTERCEPTTYPE_NOT_SET
public static LightningApi.RPCMiddlewareRequest.InterceptTypeCase[] values()
for (LightningApi.RPCMiddlewareRequest.InterceptTypeCase c : LightningApi.RPCMiddlewareRequest.InterceptTypeCase.values()) System.out.println(c);
public static LightningApi.RPCMiddlewareRequest.InterceptTypeCase valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Deprecated public static LightningApi.RPCMiddlewareRequest.InterceptTypeCase valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static LightningApi.RPCMiddlewareRequest.InterceptTypeCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite