public static enum ListTracesRequest.ViewType extends java.lang.Enum<ListTracesRequest.ViewType> implements com.google.protobuf.ProtocolMessageEnum
Type of data returned for traces in the list.Protobuf enum
google.devtools.cloudtrace.v1.ListTracesRequest.ViewType| Enum Constant and Description |
|---|
COMPLETE
Complete view of the trace record that contains the actual trace data.
|
MINIMAL
Minimal view of the trace record that contains only the project
and trace IDs.
|
ROOTSPAN
Root span view of the trace record that returns the root spans along
with the minimal trace data.
|
UNRECOGNIZED |
VIEW_TYPE_UNSPECIFIED
Default is `MINIMAL` if unspecified.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
COMPLETE_VALUE
Complete view of the trace record that contains the actual trace data.
|
static int |
MINIMAL_VALUE
Minimal view of the trace record that contains only the project
and trace IDs.
|
static int |
ROOTSPAN_VALUE
Root span view of the trace record that returns the root spans along
with the minimal trace data.
|
static int |
VIEW_TYPE_UNSPECIFIED_VALUE
Default is `MINIMAL` if unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
static ListTracesRequest.ViewType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<ListTracesRequest.ViewType> |
internalGetValueMap() |
static ListTracesRequest.ViewType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ListTracesRequest.ViewType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ListTracesRequest.ViewType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ListTracesRequest.ViewType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListTracesRequest.ViewType VIEW_TYPE_UNSPECIFIED
Default is `MINIMAL` if unspecified.
VIEW_TYPE_UNSPECIFIED = 0;public static final ListTracesRequest.ViewType MINIMAL
Minimal view of the trace record that contains only the project and trace IDs.
MINIMAL = 1;public static final ListTracesRequest.ViewType ROOTSPAN
Root span view of the trace record that returns the root spans along with the minimal trace data.
ROOTSPAN = 2;public static final ListTracesRequest.ViewType COMPLETE
Complete view of the trace record that contains the actual trace data. This is equivalent to calling the REST `get` or RPC `GetTrace` method using the ID of each listed trace.
COMPLETE = 3;public static final ListTracesRequest.ViewType UNRECOGNIZED
public static final int VIEW_TYPE_UNSPECIFIED_VALUE
Default is `MINIMAL` if unspecified.
VIEW_TYPE_UNSPECIFIED = 0;public static final int MINIMAL_VALUE
Minimal view of the trace record that contains only the project and trace IDs.
MINIMAL = 1;public static final int ROOTSPAN_VALUE
Root span view of the trace record that returns the root spans along with the minimal trace data.
ROOTSPAN = 2;public static final int COMPLETE_VALUE
Complete view of the trace record that contains the actual trace data. This is equivalent to calling the REST `get` or RPC `GetTrace` method using the ID of each listed trace.
COMPLETE = 3;public static ListTracesRequest.ViewType[] values()
for (ListTracesRequest.ViewType c : ListTracesRequest.ViewType.values()) System.out.println(c);
public static ListTracesRequest.ViewType 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 nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static ListTracesRequest.ViewType valueOf(int value)
forNumber(int) instead.public static ListTracesRequest.ViewType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<ListTracesRequest.ViewType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ListTracesRequest.ViewType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)