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

Inherited from Updatable[GrpcLogEntry]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped