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. Ifstore
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()
- Alphabetic
- By Inheritance
- AuthorizeRequest
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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. Ifstore
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
- 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
- def addAllForceChanges(__vs: Iterable[ForceFlag]): AuthorizeRequest
- def addAllSignedBy(__vs: Iterable[String]): AuthorizeRequest
- def addForceChanges(__vs: ForceFlag*): AuthorizeRequest
- def addSignedBy(__vs: String*): AuthorizeRequest
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearForceChanges: AuthorizeRequest
- def clearSignedBy: AuthorizeRequest
- def clearStore: AuthorizeRequest
- def clearType: AuthorizeRequest
- def clearWaitToBecomeEffective: AuthorizeRequest
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def companion: AuthorizeRequest.type
- Definition Classes
- AuthorizeRequest → GeneratedMessage
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val forceChanges: Seq[ForceFlag]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- AuthorizeRequest → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- AuthorizeRequest → GeneratedMessage
- def getProposal: Proposal
- def getStore: StoreId
- def getTransactionHash: String
- def getWaitToBecomeEffective: Duration
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val mustFullyAuthorize: Boolean
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def serializedSize: Int
- Definition Classes
- AuthorizeRequest → GeneratedMessage
- val signedBy: Seq[String]
- val store: Option[StoreId]
- 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
- AuthorizeRequest → GeneratedMessage
- val type: Type
- def update(ms: (Lens[AuthorizeRequest, AuthorizeRequest]) => Mutation[AuthorizeRequest]*): AuthorizeRequest
- Definition Classes
- Updatable
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- val waitToBecomeEffective: Option[Duration]
- def withForceChanges(__v: Seq[ForceFlag]): AuthorizeRequest
- def withMustFullyAuthorize(__v: Boolean): AuthorizeRequest
- def withProposal(__v: Proposal): AuthorizeRequest
- def withSignedBy(__v: Seq[String]): AuthorizeRequest
- def withStore(__v: StoreId): AuthorizeRequest
- def withTransactionHash(__v: String): AuthorizeRequest
- def withType(__v: Type): AuthorizeRequest
- def withWaitToBecomeEffective(__v: Duration): AuthorizeRequest
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- AuthorizeRequest → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage