Packages

case class ProtoStepBuilder(name: String) extends Product with Serializable

Step builder for defining a workflow step for Scala protobuf SDK

Source
ProtoStepBuilder.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProtoStepBuilder
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ProtoStepBuilder(name: String)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. 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
  4. 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()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. 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 the andThen 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()
  8. 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 the andThen 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()
  9. 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 the andThen 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()
  10. 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 the andThen 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.

  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  12. 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
  13. 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
  14. 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
  15. 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
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. val name: String
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def productElementNames: Iterator[String]
    Definition Classes
    Product
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  2. 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 of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. 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.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromProtoStepBuilder to any2stringadd[ProtoStepBuilder]

Inherited by implicit conversion StringFormat fromProtoStepBuilder to StringFormat[ProtoStepBuilder]

Inherited by implicit conversion Ensuring fromProtoStepBuilder to Ensuring[ProtoStepBuilder]

Inherited by implicit conversion ArrowAssoc fromProtoStepBuilder to ArrowAssoc[ProtoStepBuilder]

Ungrouped