case class ProtoStepBuilder(name: String) extends Product with Serializable
Step builder for defining a workflow step for Scala protobuf SDK
- Source
- ProtoStepBuilder.scala
- Alphabetic
- By Inheritance
- ProtoStepBuilder
- Serializable
- Product
- Equals
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ProtoStepBuilder(name: String)
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 ProtoStepBuilder toany2stringadd[ProtoStepBuilder] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (ProtoStepBuilder, B)
- Implicit
- This member is added by an implicit conversion from ProtoStepBuilder toArrowAssoc[ProtoStepBuilder] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asyncCall[Output <: GeneratedMessage](callSupplier: () => Future[Output]): AsyncCallStepBuilder[Void, Output]
Build a step action with an async call.
Build a step action with an async call.
The function passed to this method should return a scala.concurrent.Future. On successful completion, its result is made available to this workflow via the
andThen
method. In theandThen
method, we can use the result to update the workflow state and transition to the next step.On failure, the step will be retried according to the default retry strategy or the one defined in the step configuration.
- Output
Output of async call.
- callSupplier
Factory method for creating async call.
- returns
Step builder.
- Annotations
- @ApiMayChange()
- def asyncCall[Input <: GeneratedMessage, Output <: GeneratedMessage](callFactory: (Input) => Future[Output])(implicit callInputClassTag: ClassTag[Input]): AsyncCallStepBuilder[Input, Output]
Build a step action with an async call.
Build a step action with an async call.
The function passed to this method should return a scala.concurrent.Future. On successful completion, its result is made available to this workflow via the
andThen
method. In theandThen
method, we can use the result to update the workflow state and transition to the next step.On failure, the step will be retried according to the default retry strategy or the one defined in the step configuration.
- Input
Input for async call factory, provided by transition method.
- Output
Output of async call.
- callFactory
Factory method for creating async call.
- returns
Step builder.
- Annotations
- @ApiMayChange()
- def call[DefCallInput, DefCallOutput <: GeneratedMessage](callSupplier: () => DeferredCall[DefCallInput, DefCallOutput]): CallStepBuilder[Void, DefCallInput, DefCallOutput]
Build a step action with a call to an existing Kalix component via kalix.scalasdk.DeferredCall.
Build a step action with a call to an existing Kalix component via kalix.scalasdk.DeferredCall.
The function passed to this method should return a kalix.scalasdk.DeferredCall. The kalix.scalasdk.DeferredCall is then executed by Kalix and its result, if successful, is made available to this workflow via the
andThen
method. In theandThen
method, we can use the result to update the workflow state and transition to the next step.On failure, the step will be retried according to the default retry strategy or the one defined in the step configuration.
- DefCallInput
Input for deferred call.
- DefCallOutput
Output of deferred call.
- callSupplier
Factory method for creating deferred call.
- returns
Step builder.
- Annotations
- @ApiMayChange()
- def call[Input <: GeneratedMessage, DefCallInput, DefCallOutput <: GeneratedMessage](callFactory: (Input) => DeferredCall[DefCallInput, DefCallOutput])(implicit inputClassTag: ClassTag[Input]): CallStepBuilder[Input, DefCallInput, DefCallOutput]
Build a step action with a call to an existing Kalix component via kalix.scalasdk.DeferredCall.
Build a step action with a call to an existing Kalix component via kalix.scalasdk.DeferredCall.
The function passed to this method should return a kalix.scalasdk.DeferredCall. The kalix.scalasdk.DeferredCall is then executed by Kalix and its result, if successful, is made available to this workflow via the
andThen
method. In theandThen
method, we can use the result to update the workflow state and transition to the next step.On failure, the step will be retried according to the default retry strategy or the one defined in the step configuration.
- Input
Input for deferred call factory, provided by transition method.
- DefCallInput
Input for deferred call.
- DefCallOutput
Output of deferred call.
- callFactory
Factory method for creating deferred call.
- returns
Step builder.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def ensuring(cond: (ProtoStepBuilder) => Boolean, msg: => Any): ProtoStepBuilder
- Implicit
- This member is added by an implicit conversion from ProtoStepBuilder toEnsuring[ProtoStepBuilder] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (ProtoStepBuilder) => Boolean): ProtoStepBuilder
- Implicit
- This member is added by an implicit conversion from ProtoStepBuilder toEnsuring[ProtoStepBuilder] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): ProtoStepBuilder
- Implicit
- This member is added by an implicit conversion from ProtoStepBuilder toEnsuring[ProtoStepBuilder] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): ProtoStepBuilder
- Implicit
- This member is added by an implicit conversion from ProtoStepBuilder toEnsuring[ProtoStepBuilder] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: String
- 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
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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()
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 ProtoStepBuilder toStringFormat[ProtoStepBuilder] 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): (ProtoStepBuilder, B)
- Implicit
- This member is added by an implicit conversion from ProtoStepBuilder toArrowAssoc[ProtoStepBuilder] 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.