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