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