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