Interface GrpcLogRecordOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    GrpcLogRecord, GrpcLogRecord.Builder

    public interface GrpcLogRecordOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getCallId

        java.lang.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;
        Returns:
        The callId.
      • getCallIdBytes

        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;
        Returns:
        The bytes for callId.
      • getSequenceId

        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;
        Returns:
        The sequenceId.
      • getTypeValue

        int getTypeValue()
         one of the above EventType enum
         
        .grpc.observabilitylog.v1.GrpcLogRecord.EventType type = 4;
        Returns:
        The enum numeric value on the wire for type.
      • getType

        GrpcLogRecord.EventType getType()
         one of the above EventType enum
         
        .grpc.observabilitylog.v1.GrpcLogRecord.EventType type = 4;
        Returns:
        The type.
      • getLoggerValue

        int getLoggerValue()
         one of the above EventLogger enum
         
        .grpc.observabilitylog.v1.GrpcLogRecord.EventLogger logger = 5;
        Returns:
        The enum numeric value on the wire for logger.
      • getLogger

        GrpcLogRecord.EventLogger getLogger()
         one of the above EventLogger enum
         
        .grpc.observabilitylog.v1.GrpcLogRecord.EventLogger logger = 5;
        Returns:
        The logger.
      • hasPayload

        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;
        Returns:
        Whether the payload field is set.
      • getPayload

        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;
        Returns:
        The payload.
      • getPayloadOrBuilder

        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;
      • getPayloadTruncated

        boolean getPayloadTruncated()
         true if message or metadata field is either truncated or omitted due
         to config options
         
        bool payload_truncated = 7;
        Returns:
        The payloadTruncated.
      • hasPeer

        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;
        Returns:
        Whether the peer field is set.
      • getPeer

        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;
        Returns:
        The peer.
      • getPeerOrBuilder

        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;
      • getAuthority

        java.lang.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;
        Returns:
        The authority.
      • getAuthorityBytes

        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;
        Returns:
        The bytes for authority.
      • getServiceName

        java.lang.String getServiceName()
         the name of the service
         
        string service_name = 11;
        Returns:
        The serviceName.
      • getServiceNameBytes

        com.google.protobuf.ByteString getServiceNameBytes()
         the name of the service
         
        string service_name = 11;
        Returns:
        The bytes for serviceName.
      • getMethodName

        java.lang.String getMethodName()
         the name of the RPC method
         
        string method_name = 12;
        Returns:
        The methodName.
      • getMethodNameBytes

        com.google.protobuf.ByteString getMethodNameBytes()
         the name of the RPC method
         
        string method_name = 12;
        Returns:
        The bytes for methodName.