public static enum GrpcLogRecord.EventType extends Enum<GrpcLogRecord.EventType> implements com.google.protobuf.ProtocolMessageEnum
List of event typesProtobuf enum
grpc.observabilitylog.v1.GrpcLogRecord.EventType| Enum Constant and Description |
|---|
CANCEL
A signal that the rpc is canceled
|
CLIENT_HALF_CLOSE
A signal that client is done sending
|
CLIENT_HEADER
Header sent from client to server
|
CLIENT_MESSAGE
Message sent from client to server
|
EVENT_TYPE_UNKNOWN
EVENT_TYPE_UNKNOWN = 0; |
SERVER_HEADER
Header sent from server to client
|
SERVER_MESSAGE
Message sent from server to client
|
SERVER_TRAILER
Trailer indicates the end of the gRPC call
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CANCEL_VALUE
A signal that the rpc is canceled
|
static int |
CLIENT_HALF_CLOSE_VALUE
A signal that client is done sending
|
static int |
CLIENT_HEADER_VALUE
Header sent from client to server
|
static int |
CLIENT_MESSAGE_VALUE
Message sent from client to server
|
static int |
EVENT_TYPE_UNKNOWN_VALUE
EVENT_TYPE_UNKNOWN = 0; |
static int |
SERVER_HEADER_VALUE
Header sent from server to client
|
static int |
SERVER_MESSAGE_VALUE
Message sent from server to client
|
static int |
SERVER_TRAILER_VALUE
Trailer indicates the end of the gRPC call
|
| Modifier and Type | Method and Description |
|---|---|
static GrpcLogRecord.EventType |
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<GrpcLogRecord.EventType> |
internalGetValueMap() |
static GrpcLogRecord.EventType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static GrpcLogRecord.EventType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static GrpcLogRecord.EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrpcLogRecord.EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrpcLogRecord.EventType EVENT_TYPE_UNKNOWN
EVENT_TYPE_UNKNOWN = 0;public static final GrpcLogRecord.EventType CLIENT_HEADER
Header sent from client to server
CLIENT_HEADER = 1;public static final GrpcLogRecord.EventType SERVER_HEADER
Header sent from server to client
SERVER_HEADER = 2;public static final GrpcLogRecord.EventType CLIENT_MESSAGE
Message sent from client to server
CLIENT_MESSAGE = 3;public static final GrpcLogRecord.EventType SERVER_MESSAGE
Message sent from server to client
SERVER_MESSAGE = 4;public static final GrpcLogRecord.EventType CLIENT_HALF_CLOSE
A signal that client is done sending
CLIENT_HALF_CLOSE = 5;public static final GrpcLogRecord.EventType SERVER_TRAILER
Trailer indicates the end of the gRPC call
SERVER_TRAILER = 6;public static final GrpcLogRecord.EventType CANCEL
A signal that the rpc is canceled
CANCEL = 7;public static final GrpcLogRecord.EventType UNRECOGNIZED
public static final int EVENT_TYPE_UNKNOWN_VALUE
EVENT_TYPE_UNKNOWN = 0;public static final int CLIENT_HEADER_VALUE
Header sent from client to server
CLIENT_HEADER = 1;public static final int SERVER_HEADER_VALUE
Header sent from server to client
SERVER_HEADER = 2;public static final int CLIENT_MESSAGE_VALUE
Message sent from client to server
CLIENT_MESSAGE = 3;public static final int SERVER_MESSAGE_VALUE
Message sent from server to client
SERVER_MESSAGE = 4;public static final int CLIENT_HALF_CLOSE_VALUE
A signal that client is done sending
CLIENT_HALF_CLOSE = 5;public static final int SERVER_TRAILER_VALUE
Trailer indicates the end of the gRPC call
SERVER_TRAILER = 6;public static final int CANCEL_VALUE
A signal that the rpc is canceled
CANCEL = 7;public static GrpcLogRecord.EventType[] values()
for (GrpcLogRecord.EventType c : GrpcLogRecord.EventType.values()) System.out.println(c);
public static GrpcLogRecord.EventType 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 GrpcLogRecord.EventType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static GrpcLogRecord.EventType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<GrpcLogRecord.EventType> 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 GrpcLogRecord.EventType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)