public final class GrpcLogRecord extends com.google.protobuf.GeneratedMessageV3 implements GrpcLogRecordOrBuilder
grpc.observabilitylog.v1.GrpcLogRecord| Modifier and Type | Class and Description |
|---|---|
static class |
GrpcLogRecord.Builder
Protobuf type
grpc.observabilitylog.v1.GrpcLogRecord |
static class |
GrpcLogRecord.EventLogger
The entity that generates the log entry
|
static class |
GrpcLogRecord.EventType
List of event types
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
AUTHORITY_FIELD_NUMBER |
static int |
CALL_ID_FIELD_NUMBER |
static int |
LOGGER_FIELD_NUMBER |
static int |
METHOD_NAME_FIELD_NUMBER |
static int |
PAYLOAD_FIELD_NUMBER |
static int |
PAYLOAD_TRUNCATED_FIELD_NUMBER |
static int |
PEER_FIELD_NUMBER |
static int |
SEQUENCE_ID_FIELD_NUMBER |
static int |
SERVICE_NAME_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAuthority()
A single process may be used to run multiple virtual servers with
different identities.
|
com.google.protobuf.ByteString |
getAuthorityBytes()
A single process may be used to run multiple virtual servers with
different identities.
|
String |
getCallId()
Uniquely identifies a call.
|
com.google.protobuf.ByteString |
getCallIdBytes()
Uniquely identifies a call.
|
static GrpcLogRecord |
getDefaultInstance() |
GrpcLogRecord |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
GrpcLogRecord.EventLogger |
getLogger()
one of the above EventLogger enum
|
int |
getLoggerValue()
one of the above EventLogger enum
|
String |
getMethodName()
the name of the RPC method
|
com.google.protobuf.ByteString |
getMethodNameBytes()
the name of the RPC method
|
com.google.protobuf.Parser<GrpcLogRecord> |
getParserForType() |
Payload |
getPayload()
Payload for log entry.
|
PayloadOrBuilder |
getPayloadOrBuilder()
Payload for log entry.
|
boolean |
getPayloadTruncated()
true if message or metadata field is either truncated or omitted due
to config options
|
Address |
getPeer()
Peer address information.
|
AddressOrBuilder |
getPeerOrBuilder()
Peer address information.
|
long |
getSequenceId()
The entry sequence ID for this call.
|
int |
getSerializedSize() |
String |
getServiceName()
the name of the service
|
com.google.protobuf.ByteString |
getServiceNameBytes()
the name of the service
|
GrpcLogRecord.EventType |
getType()
one of the above EventType enum
|
int |
getTypeValue()
one of the above EventType enum
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasPayload()
Payload for log entry.
|
boolean |
hasPeer()
Peer address information.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static GrpcLogRecord.Builder |
newBuilder() |
static GrpcLogRecord.Builder |
newBuilder(GrpcLogRecord prototype) |
GrpcLogRecord.Builder |
newBuilderForType() |
protected GrpcLogRecord.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static GrpcLogRecord |
parseDelimitedFrom(InputStream input) |
static GrpcLogRecord |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GrpcLogRecord |
parseFrom(byte[] data) |
static GrpcLogRecord |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GrpcLogRecord |
parseFrom(ByteBuffer data) |
static GrpcLogRecord |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GrpcLogRecord |
parseFrom(com.google.protobuf.ByteString data) |
static GrpcLogRecord |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GrpcLogRecord |
parseFrom(com.google.protobuf.CodedInputStream input) |
static GrpcLogRecord |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GrpcLogRecord |
parseFrom(InputStream input) |
static GrpcLogRecord |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<GrpcLogRecord> |
parser() |
GrpcLogRecord.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CALL_ID_FIELD_NUMBER
public static final int SEQUENCE_ID_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int LOGGER_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
public static final int PAYLOAD_TRUNCATED_FIELD_NUMBER
public static final int PEER_FIELD_NUMBER
public static final int AUTHORITY_FIELD_NUMBER
public static final int SERVICE_NAME_FIELD_NUMBER
public static final int METHOD_NAME_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getCallId()
Uniquely identifies a call. Each call may have several log entries. They will all have the same call_id. Nothing is guaranteed about their value other than they are unique across different RPCs in the same gRPC process.
string call_id = 2;getCallId in interface GrpcLogRecordOrBuilderpublic com.google.protobuf.ByteString getCallIdBytes()
Uniquely identifies a call. Each call may have several log entries. They will all have the same call_id. Nothing is guaranteed about their value other than they are unique across different RPCs in the same gRPC process.
string call_id = 2;getCallIdBytes in interface GrpcLogRecordOrBuilderpublic long getSequenceId()
The entry sequence ID for this call. The first message has a value of 1, to disambiguate from an unset value. The purpose of this field is to detect missing entries in environments where durability or ordering is not guaranteed.
uint64 sequence_id = 3;getSequenceId in interface GrpcLogRecordOrBuilderpublic int getTypeValue()
one of the above EventType enum
.grpc.observabilitylog.v1.GrpcLogRecord.EventType type = 4;getTypeValue in interface GrpcLogRecordOrBuilderpublic GrpcLogRecord.EventType getType()
one of the above EventType enum
.grpc.observabilitylog.v1.GrpcLogRecord.EventType type = 4;getType in interface GrpcLogRecordOrBuilderpublic int getLoggerValue()
one of the above EventLogger enum
.grpc.observabilitylog.v1.GrpcLogRecord.EventLogger logger = 5;getLoggerValue in interface GrpcLogRecordOrBuilderpublic GrpcLogRecord.EventLogger getLogger()
one of the above EventLogger enum
.grpc.observabilitylog.v1.GrpcLogRecord.EventLogger logger = 5;getLogger in interface GrpcLogRecordOrBuilderpublic boolean hasPayload()
Payload for log entry.
It can include a combination of {metadata, message, status based on type of
the event event being logged and config options.
.grpc.observabilitylog.v1.Payload payload = 6;hasPayload in interface GrpcLogRecordOrBuilderpublic Payload getPayload()
Payload for log entry.
It can include a combination of {metadata, message, status based on type of
the event event being logged and config options.
.grpc.observabilitylog.v1.Payload payload = 6;getPayload in interface GrpcLogRecordOrBuilderpublic PayloadOrBuilder getPayloadOrBuilder()
Payload for log entry.
It can include a combination of {metadata, message, status based on type of
the event event being logged and config options.
.grpc.observabilitylog.v1.Payload payload = 6;getPayloadOrBuilder in interface GrpcLogRecordOrBuilderpublic boolean getPayloadTruncated()
true if message or metadata field is either truncated or omitted due to config options
bool payload_truncated = 7;getPayloadTruncated in interface GrpcLogRecordOrBuilderpublic boolean hasPeer()
Peer address information. On client side, peer is logged on server header event or trailer event (if trailer-only). On server side, peer is always logged on the client header event.
.grpc.observabilitylog.v1.Address peer = 8;hasPeer in interface GrpcLogRecordOrBuilderpublic Address getPeer()
Peer address information. On client side, peer is logged on server header event or trailer event (if trailer-only). On server side, peer is always logged on the client header event.
.grpc.observabilitylog.v1.Address peer = 8;getPeer in interface GrpcLogRecordOrBuilderpublic AddressOrBuilder getPeerOrBuilder()
Peer address information. On client side, peer is logged on server header event or trailer event (if trailer-only). On server side, peer is always logged on the client header event.
.grpc.observabilitylog.v1.Address peer = 8;getPeerOrBuilder in interface GrpcLogRecordOrBuilderpublic String getAuthority()
A single process may be used to run multiple virtual servers with different identities. The authority is the name of such a server identify. It is typically a portion of the URI in the form of <host> or <host>:<port>.
string authority = 10;getAuthority in interface GrpcLogRecordOrBuilderpublic com.google.protobuf.ByteString getAuthorityBytes()
A single process may be used to run multiple virtual servers with different identities. The authority is the name of such a server identify. It is typically a portion of the URI in the form of <host> or <host>:<port>.
string authority = 10;getAuthorityBytes in interface GrpcLogRecordOrBuilderpublic String getServiceName()
the name of the service
string service_name = 11;getServiceName in interface GrpcLogRecordOrBuilderpublic com.google.protobuf.ByteString getServiceNameBytes()
the name of the service
string service_name = 11;getServiceNameBytes in interface GrpcLogRecordOrBuilderpublic String getMethodName()
the name of the RPC method
string method_name = 12;getMethodName in interface GrpcLogRecordOrBuilderpublic com.google.protobuf.ByteString getMethodNameBytes()
the name of the RPC method
string method_name = 12;getMethodNameBytes in interface GrpcLogRecordOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static GrpcLogRecord parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GrpcLogRecord parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GrpcLogRecord parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GrpcLogRecord parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GrpcLogRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GrpcLogRecord parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GrpcLogRecord parseFrom(InputStream input) throws IOException
IOExceptionpublic static GrpcLogRecord parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GrpcLogRecord parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static GrpcLogRecord parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GrpcLogRecord parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static GrpcLogRecord parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic GrpcLogRecord.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static GrpcLogRecord.Builder newBuilder()
public static GrpcLogRecord.Builder newBuilder(GrpcLogRecord prototype)
public GrpcLogRecord.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected GrpcLogRecord.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static GrpcLogRecord getDefaultInstance()
public static com.google.protobuf.Parser<GrpcLogRecord> parser()
public com.google.protobuf.Parser<GrpcLogRecord> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public GrpcLogRecord getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder