final case class ChannelData(state: Option[ChannelConnectivityState] = _root_.scala.None, target: String = "", trace: Option[ChannelTrace] = _root_.scala.None, callsStarted: Long = 0L, callsSucceeded: Long = 0L, callsFailed: Long = 0L, lastCallStartedTimestamp: Option[Timestamp] = _root_.scala.None, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[ChannelData] with Product with Serializable
Channel data is data related to a specific Channel or Subchannel.
- state
The connectivity state of the channel or subchannel. Implementations should always set this.
- target
The target this channel originally tried to connect to. May be absent
- trace
A trace of recent events on the channel. May be absent.
- callsStarted
The number of calls started on the channel
- callsSucceeded
The number of calls that have completed with an OK status
- callsFailed
The number of calls that have completed with a non-OK status
- lastCallStartedTimestamp
The last time a call was started on the channel.
- Annotations
- @SerialVersionUID()
- Source
- ChannelData.scala
- Alphabetic
- By Inheritance
- ChannelData
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ChannelData(state: Option[ChannelConnectivityState] = _root_.scala.None, target: String = "", trace: Option[ChannelTrace] = _root_.scala.None, callsStarted: Long = 0L, callsSucceeded: Long = 0L, callsFailed: Long = 0L, lastCallStartedTimestamp: Option[Timestamp] = _root_.scala.None, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- state
The connectivity state of the channel or subchannel. Implementations should always set this.
- target
The target this channel originally tried to connect to. May be absent
- trace
A trace of recent events on the channel. May be absent.
- callsStarted
The number of calls started on the channel
- callsSucceeded
The number of calls that have completed with an OK status
- callsFailed
The number of calls that have completed with a non-OK status
- lastCallStartedTimestamp
The last time a call was started on the channel.
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 callsFailed: Long
- val callsStarted: Long
- val callsSucceeded: Long
- def clearLastCallStartedTimestamp: ChannelData
- def clearState: ChannelData
- def clearTrace: ChannelData
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: ChannelData.type
- Definition Classes
- ChannelData → GeneratedMessage
- def discardUnknownFields: ChannelData
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- ChannelData → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- ChannelData → GeneratedMessage
- def getLastCallStartedTimestamp: Timestamp
- def getState: ChannelConnectivityState
- def getTrace: ChannelTrace
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lastCallStartedTimestamp: Option[Timestamp]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def serializedSize: Int
- Definition Classes
- ChannelData → GeneratedMessage
- val state: Option[ChannelConnectivityState]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val target: String
- 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
- ChannelData → GeneratedMessage
- val trace: Option[ChannelTrace]
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[ChannelData, ChannelData]) => Mutation[ChannelData]*): ChannelData
- Definition Classes
- Updatable
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
- def withCallsFailed(__v: Long): ChannelData
- def withCallsStarted(__v: Long): ChannelData
- def withCallsSucceeded(__v: Long): ChannelData
- def withLastCallStartedTimestamp(__v: Timestamp): ChannelData
- def withState(__v: ChannelConnectivityState): ChannelData
- def withTarget(__v: String): ChannelData
- def withTrace(__v: ChannelTrace): ChannelData
- def withUnknownFields(__v: UnknownFieldSet): ChannelData
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- ChannelData → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage