Packages

final case class GrpcLogEntry(timestamp: Option[Timestamp] = _root_.scala.None, callId: Long = 0L, sequenceIdWithinCall: Long = 0L, type: EventType = io.grpc.binarylog.v1.binarylog.GrpcLogEntry.EventType.EVENT_TYPE_UNKNOWN, logger: Logger = io.grpc.binarylog.v1.binarylog.GrpcLogEntry.Logger.LOGGER_UNKNOWN, payload: Payload = io.grpc.binarylog.v1.binarylog.GrpcLogEntry.Payload.Empty, payloadTruncated: Boolean = false, peer: Option[Address] = _root_.scala.None, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[GrpcLogEntry] with Product with Serializable

Log entry we store in binary logs

timestamp

The timestamp of the binary log message

callId

Uniquely identifies a call. The value must not be 0 in order to disambiguate from an unset value. 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.

sequenceIdWithinCall

The entry sequence id for this call. The first GrpcLogEntry 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.

logger

One of the above Logger enum

payloadTruncated

true if payload does not represent the full message or metadata.

peer

Peer address information, will only be recorded on the first incoming event. On client side, peer is logged on EVENT_TYPE_SERVER_HEADER normally or EVENT_TYPE_SERVER_TRAILER in the case of trailers-only. On server side, peer is always logged on EVENT_TYPE_CLIENT_HEADER.

Annotations
@SerialVersionUID()
Source
GrpcLogEntry.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GrpcLogEntry
  2. Updatable
  3. GeneratedMessage
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new GrpcLogEntry(timestamp: Option[Timestamp] = _root_.scala.None, callId: Long = 0L, sequenceIdWithinCall: Long = 0L, type: EventType = io.grpc.binarylog.v1.binarylog.GrpcLogEntry.EventType.EVENT_TYPE_UNKNOWN, logger: Logger = io.grpc.binarylog.v1.binarylog.GrpcLogEntry.Logger.LOGGER_UNKNOWN, payload: Payload = io.grpc.binarylog.v1.binarylog.GrpcLogEntry.Payload.Empty, payloadTruncated: Boolean = false, peer: Option[Address] = _root_.scala.None, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)

    timestamp

    The timestamp of the binary log message

    callId

    Uniquely identifies a call. The value must not be 0 in order to disambiguate from an unset value. 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.

    sequenceIdWithinCall

    The entry sequence id for this call. The first GrpcLogEntry 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.

    logger

    One of the above Logger enum

    payloadTruncated

    true if payload does not represent the full message or metadata.

    peer

    Peer address information, will only be recorded on the first incoming event. On client side, peer is logged on EVENT_TYPE_SERVER_HEADER normally or EVENT_TYPE_SERVER_TRAILER in the case of trailers-only. On server side, peer is always logged on EVENT_TYPE_CLIENT_HEADER.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val callId: Long
  6. def clearPayload: GrpcLogEntry
  7. def clearPeer: GrpcLogEntry
  8. def clearTimestamp: GrpcLogEntry
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  10. def companion: GrpcLogEntry.type
    Definition Classes
    GrpcLogEntry → GeneratedMessage
  11. def discardUnknownFields: GrpcLogEntry
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  14. def getClientHeader: ClientHeader
  15. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    GrpcLogEntry → GeneratedMessage
  16. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    GrpcLogEntry → GeneratedMessage
  17. def getMessage: Message
  18. def getPeer: Address
  19. def getServerHeader: ServerHeader
  20. def getTimestamp: Timestamp
  21. def getTrailer: Trailer
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. val logger: Logger
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  27. val payload: Payload
  28. val payloadTruncated: Boolean
  29. val peer: Option[Address]
  30. def productElementNames: Iterator[String]
    Definition Classes
    Product
  31. val sequenceIdWithinCall: Long
  32. def serializedSize: Int
    Definition Classes
    GrpcLogEntry → GeneratedMessage
  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. val timestamp: Option[Timestamp]
  35. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  36. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  37. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  38. def toProtoString: String
    Definition Classes
    GrpcLogEntry → GeneratedMessage
  39. val type: EventType
  40. val unknownFields: UnknownFieldSet
  41. def update(ms: (Lens[GrpcLogEntry, GrpcLogEntry]) => Mutation[GrpcLogEntry]*): GrpcLogEntry
    Definition Classes
    Updatable
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. def withCallId(__v: Long): GrpcLogEntry
  46. def withClientHeader(__v: ClientHeader): GrpcLogEntry
  47. def withLogger(__v: Logger): GrpcLogEntry
  48. def withMessage(__v: Message): GrpcLogEntry
  49. def withPayload(__v: Payload): GrpcLogEntry
  50. def withPayloadTruncated(__v: Boolean): GrpcLogEntry
  51. def withPeer(__v: Address): GrpcLogEntry
  52. def withSequenceIdWithinCall(__v: Long): GrpcLogEntry
  53. def withServerHeader(__v: ServerHeader): GrpcLogEntry
  54. def withTimestamp(__v: Timestamp): GrpcLogEntry
  55. def withTrailer(__v: Trailer): GrpcLogEntry
  56. def withType(__v: EventType): GrpcLogEntry
  57. def withUnknownFields(__v: UnknownFieldSet): GrpcLogEntry
  58. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  59. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    GrpcLogEntry → GeneratedMessage
  60. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Updatable[GrpcLogEntry]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped