final case class ServiceInfo(serviceName: String = "", serviceVersion: String = "", serviceRuntime: String = "", supportLibraryName: String = "", supportLibraryVersion: String = "", protocolMajorVersion: Int = 0, protocolMinorVersion: Int = 0, env: Map[String, String] = _root_.scala.collection.immutable.Map.empty, serviceIncarnationUuid: String = "", unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[ServiceInfo] with Product with Serializable
Information about the service that the proxy is proxying to. All of the information in here is optional. It may be useful for debug purposes.
- serviceName
The name of the service, eg, "shopping-cart".
- serviceVersion
The version of the service.
- serviceRuntime
A description of the runtime for the service. Can be anything, but examples might be:
- node v10.15.2
- OpenJDK Runtime Environment 1.8.0_192-b12
- supportLibraryName
If using a support library, the name of that library, eg "kalix-java-sdk"
- supportLibraryVersion
The version of the support library being used.
- protocolMajorVersion
Kalix protocol major version accepted by the support library.
- protocolMinorVersion
Kalix protocol minor version accepted by the support library.
- env
user service env variables
- serviceIncarnationUuid
Unique identifier of the service incarnation. Should be a new id for each start of the service. Used by the runtime with the HealthCheck call to detect that the service has been restarted.
- Annotations
- @SerialVersionUID()
- Source
- ServiceInfo.scala
- Alphabetic
- By Inheritance
- ServiceInfo
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ServiceInfo(serviceName: String = "", serviceVersion: String = "", serviceRuntime: String = "", supportLibraryName: String = "", supportLibraryVersion: String = "", protocolMajorVersion: Int = 0, protocolMinorVersion: Int = 0, env: Map[String, String] = _root_.scala.collection.immutable.Map.empty, serviceIncarnationUuid: String = "", unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- serviceName
The name of the service, eg, "shopping-cart".
- serviceVersion
The version of the service.
- serviceRuntime
A description of the runtime for the service. Can be anything, but examples might be:
- node v10.15.2
- OpenJDK Runtime Environment 1.8.0_192-b12
- supportLibraryName
If using a support library, the name of that library, eg "kalix-java-sdk"
- supportLibraryVersion
The version of the support library being used.
- protocolMajorVersion
Kalix protocol major version accepted by the support library.
- protocolMinorVersion
Kalix protocol minor version accepted by the support library.
- env
user service env variables
- serviceIncarnationUuid
Unique identifier of the service incarnation. Should be a new id for each start of the service. Used by the runtime with the HealthCheck call to detect that the service has been restarted.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from ServiceInfo toany2stringadd[ServiceInfo] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (ServiceInfo, B)
- Implicit
- This member is added by an implicit conversion from ServiceInfo toArrowAssoc[ServiceInfo] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAllEnv(__vs: Iterable[(String, String)]): ServiceInfo
- def addEnv(__vs: (String, String)*): ServiceInfo
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearEnv: ServiceInfo
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: ServiceInfo.type
- Definition Classes
- ServiceInfo → GeneratedMessage
- def discardUnknownFields: ServiceInfo
- def ensuring(cond: (ServiceInfo) => Boolean, msg: => Any): ServiceInfo
- Implicit
- This member is added by an implicit conversion from ServiceInfo toEnsuring[ServiceInfo] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (ServiceInfo) => Boolean): ServiceInfo
- Implicit
- This member is added by an implicit conversion from ServiceInfo toEnsuring[ServiceInfo] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): ServiceInfo
- Implicit
- This member is added by an implicit conversion from ServiceInfo toEnsuring[ServiceInfo] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): ServiceInfo
- Implicit
- This member is added by an implicit conversion from ServiceInfo toEnsuring[ServiceInfo] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- val env: Map[String, String]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- ServiceInfo → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- ServiceInfo → GeneratedMessage
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- val protocolMajorVersion: Int
- val protocolMinorVersion: Int
- def serializedSize: Int
- Definition Classes
- ServiceInfo → GeneratedMessage
- val serviceIncarnationUuid: String
- val serviceName: String
- val serviceRuntime: String
- val serviceVersion: String
- val supportLibraryName: String
- val supportLibraryVersion: String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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
- ServiceInfo → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[ServiceInfo, ServiceInfo]) => Mutation[ServiceInfo]*): ServiceInfo
- 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 withEnv(__v: Map[String, String]): ServiceInfo
- def withProtocolMajorVersion(__v: Int): ServiceInfo
- def withProtocolMinorVersion(__v: Int): ServiceInfo
- def withServiceIncarnationUuid(__v: String): ServiceInfo
- def withServiceName(__v: String): ServiceInfo
- def withServiceRuntime(__v: String): ServiceInfo
- def withServiceVersion(__v: String): ServiceInfo
- def withSupportLibraryName(__v: String): ServiceInfo
- def withSupportLibraryVersion(__v: String): ServiceInfo
- def withUnknownFields(__v: UnknownFieldSet): ServiceInfo
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- ServiceInfo → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ServiceInfo toStringFormat[ServiceInfo] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (ServiceInfo, B)
- Implicit
- This member is added by an implicit conversion from ServiceInfo toArrowAssoc[ServiceInfo] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.