public static enum Span.TimeEvent.MessageEvent.Type extends Enum<Span.TimeEvent.MessageEvent.Type> implements com.google.protobuf.ProtocolMessageEnum
Indicates whether the message was sent or received.Protobuf enum
google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent.Type| Enum Constant and Description |
|---|
RECEIVED
Indicates a received message.
|
SENT
Indicates a sent message.
|
TYPE_UNSPECIFIED
Unknown event type.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
RECEIVED_VALUE
Indicates a received message.
|
static int |
SENT_VALUE
Indicates a sent message.
|
static int |
TYPE_UNSPECIFIED_VALUE
Unknown event type.
|
| Modifier and Type | Method and Description |
|---|---|
static Span.TimeEvent.MessageEvent.Type |
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<Span.TimeEvent.MessageEvent.Type> |
internalGetValueMap() |
static Span.TimeEvent.MessageEvent.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Span.TimeEvent.MessageEvent.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Span.TimeEvent.MessageEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Span.TimeEvent.MessageEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Span.TimeEvent.MessageEvent.Type TYPE_UNSPECIFIED
Unknown event type.
TYPE_UNSPECIFIED = 0;public static final Span.TimeEvent.MessageEvent.Type SENT
Indicates a sent message.
SENT = 1;public static final Span.TimeEvent.MessageEvent.Type RECEIVED
Indicates a received message.
RECEIVED = 2;public static final Span.TimeEvent.MessageEvent.Type UNRECOGNIZED
public static final int TYPE_UNSPECIFIED_VALUE
Unknown event type.
TYPE_UNSPECIFIED = 0;public static final int SENT_VALUE
Indicates a sent message.
SENT = 1;public static final int RECEIVED_VALUE
Indicates a received message.
RECEIVED = 2;public static Span.TimeEvent.MessageEvent.Type[] values()
for (Span.TimeEvent.MessageEvent.Type c : Span.TimeEvent.MessageEvent.Type.values()) System.out.println(c);
public static Span.TimeEvent.MessageEvent.Type 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 nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Span.TimeEvent.MessageEvent.Type valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Span.TimeEvent.MessageEvent.Type forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Span.TimeEvent.MessageEvent.Type> 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 Span.TimeEvent.MessageEvent.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.