Packages

final case class AuthorizeRequest(type: Type, mustFullyAuthorize: Boolean, forceChanges: Seq[ForceFlag], signedBy: Seq[String], store: Option[StoreId], waitToBecomeEffective: Option[Duration]) extends GeneratedMessage with Updatable[AuthorizeRequest] with Product with Serializable

mustFullyAuthorize

* If true: the transaction is only signed if the new signatures will result in the transaction being fully authorized. Otherwise returns as an error. If false: the transaction is signed and the signature distributed. The transaction may still not be fully authorized and remain as a proposal.

forceChanges

* Force specific changes even if dangerous

signedBy

* Fingerprint of the keys signing the authorization The signing key is used to identify a particular NamespaceDelegation certificate, which is used to justify the given authorization. Optional, if empty, suitable signing keys available known to the node are automatically selected.

store

* The store that is used as the underlying source for executing this request. If store is a synchronizer store, the resulting topology transaction will only be available on the respective synchronizer. If store is the authorized store, the resulting topology transaction may or may not be synchronized automatically to all synchronizers that the node is currently connected to or will be connected to in the future. Selecting a specific synchronizers store might be necessary, if the transaction to authorize by hash or the previous generation of the submitted proposal is only available on the synchronizers store and not in the authorized store.

waitToBecomeEffective

* Optional timeout to wait for the transaction to become effective in the store.

Annotations
@SerialVersionUID()
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AuthorizeRequest
  2. Updatable
  3. GeneratedMessage
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AuthorizeRequest(type: Type, mustFullyAuthorize: Boolean, forceChanges: Seq[ForceFlag], signedBy: Seq[String], store: Option[StoreId], waitToBecomeEffective: Option[Duration])

    mustFullyAuthorize

    * If true: the transaction is only signed if the new signatures will result in the transaction being fully authorized. Otherwise returns as an error. If false: the transaction is signed and the signature distributed. The transaction may still not be fully authorized and remain as a proposal.

    forceChanges

    * Force specific changes even if dangerous

    signedBy

    * Fingerprint of the keys signing the authorization The signing key is used to identify a particular NamespaceDelegation certificate, which is used to justify the given authorization. Optional, if empty, suitable signing keys available known to the node are automatically selected.

    store

    * The store that is used as the underlying source for executing this request. If store is a synchronizer store, the resulting topology transaction will only be available on the respective synchronizer. If store is the authorized store, the resulting topology transaction may or may not be synchronized automatically to all synchronizers that the node is currently connected to or will be connected to in the future. Selecting a specific synchronizers store might be necessary, if the transaction to authorize by hash or the previous generation of the submitted proposal is only available on the synchronizers store and not in the authorized store.

    waitToBecomeEffective

    * Optional timeout to wait for the transaction to become effective in the store.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAllForceChanges(__vs: Iterable[ForceFlag]): AuthorizeRequest
  5. def addAllSignedBy(__vs: Iterable[String]): AuthorizeRequest
  6. def addForceChanges(__vs: ForceFlag*): AuthorizeRequest
  7. def addSignedBy(__vs: String*): AuthorizeRequest
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clearForceChanges: AuthorizeRequest
  10. def clearSignedBy: AuthorizeRequest
  11. def clearStore: AuthorizeRequest
  12. def clearType: AuthorizeRequest
  13. def clearWaitToBecomeEffective: AuthorizeRequest
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  15. def companion: AuthorizeRequest.type
    Definition Classes
    AuthorizeRequest → GeneratedMessage
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. val forceChanges: Seq[ForceFlag]
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  19. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    AuthorizeRequest → GeneratedMessage
  20. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    AuthorizeRequest → GeneratedMessage
  21. def getProposal: Proposal
  22. def getStore: StoreId
  23. def getTransactionHash: String
  24. def getWaitToBecomeEffective: Duration
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. val mustFullyAuthorize: Boolean
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  30. def productElementNames: Iterator[String]
    Definition Classes
    Product
  31. def serializedSize: Int
    Definition Classes
    AuthorizeRequest → GeneratedMessage
  32. val signedBy: Seq[String]
  33. val store: Option[StoreId]
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  36. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  37. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  38. def toProtoString: String
    Definition Classes
    AuthorizeRequest → GeneratedMessage
  39. val type: Type
  40. def update(ms: (Lens[AuthorizeRequest, AuthorizeRequest]) => Mutation[AuthorizeRequest]*): AuthorizeRequest
    Definition Classes
    Updatable
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. val waitToBecomeEffective: Option[Duration]
  45. def withForceChanges(__v: Seq[ForceFlag]): AuthorizeRequest
  46. def withMustFullyAuthorize(__v: Boolean): AuthorizeRequest
  47. def withProposal(__v: Proposal): AuthorizeRequest
  48. def withSignedBy(__v: Seq[String]): AuthorizeRequest
  49. def withStore(__v: StoreId): AuthorizeRequest
  50. def withTransactionHash(__v: String): AuthorizeRequest
  51. def withType(__v: Type): AuthorizeRequest
  52. def withWaitToBecomeEffective(__v: Duration): AuthorizeRequest
  53. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  54. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    AuthorizeRequest → GeneratedMessage
  55. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Deprecated Value Members

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

    (Since version 9)

Inherited from Updatable[AuthorizeRequest]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped