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
- Alphabetic
- By Inheritance
- GrpcLogEntry
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val callId: Long
- def clearPayload: GrpcLogEntry
- def clearPeer: GrpcLogEntry
- def clearTimestamp: GrpcLogEntry
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def companion: GrpcLogEntry.type
- Definition Classes
- GrpcLogEntry → GeneratedMessage
- def discardUnknownFields: GrpcLogEntry
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def getClientHeader: ClientHeader
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- GrpcLogEntry → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- GrpcLogEntry → GeneratedMessage
- def getMessage: Message
- def getPeer: Address
- def getServerHeader: ServerHeader
- def getTimestamp: Timestamp
- def getTrailer: Trailer
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val logger: Logger
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val payload: Payload
- val payloadTruncated: Boolean
- val peer: Option[Address]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val sequenceIdWithinCall: Long
- def serializedSize: Int
- Definition Classes
- GrpcLogEntry → GeneratedMessage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val timestamp: Option[Timestamp]
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- GrpcLogEntry → GeneratedMessage
- val type: EventType
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[GrpcLogEntry, GrpcLogEntry]) => Mutation[GrpcLogEntry]*): GrpcLogEntry
- Definition Classes
- Updatable
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withCallId(__v: Long): GrpcLogEntry
- def withClientHeader(__v: ClientHeader): GrpcLogEntry
- def withLogger(__v: Logger): GrpcLogEntry
- def withMessage(__v: Message): GrpcLogEntry
- def withPayload(__v: Payload): GrpcLogEntry
- def withPayloadTruncated(__v: Boolean): GrpcLogEntry
- def withPeer(__v: Address): GrpcLogEntry
- def withSequenceIdWithinCall(__v: Long): GrpcLogEntry
- def withServerHeader(__v: ServerHeader): GrpcLogEntry
- def withTimestamp(__v: Timestamp): GrpcLogEntry
- def withTrailer(__v: Trailer): GrpcLogEntry
- def withType(__v: EventType): GrpcLogEntry
- def withUnknownFields(__v: UnknownFieldSet): GrpcLogEntry
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- GrpcLogEntry → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage