com.digitalasset.canton.admin.api.client.commands.ParticipantAdminCommands.ParticipantRepairManagement
Upload
final case class Upload(acsChunk: ByteString, gzip: Boolean) extends GrpcAdminCommand[UploadRequest, UploadResponse, Unit] with StreamingMachinery[UploadRequest, UploadResponse] with Product with Serializable
- Annotations
- @deprecated
- Deprecated
(Since version 2.8.0) Use ImportAcs
- Alphabetic
- By Inheritance
- Upload
- Serializable
- Product
- Equals
- StreamingMachinery
- GrpcAdminCommand
- AdminCommand
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Upload(acsChunk: ByteString, gzip: Boolean)
Type Members
- type Svc = ParticipantRepairServiceStub
- Definition Classes
- Upload → GrpcAdminCommand
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
- val acsChunk: ByteString
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def createRequest(): Either[String, UploadRequest]
Create the request from configured options
Create the request from configured options
- Definition Classes
- Upload → AdminCommand
- def createService(channel: ManagedChannel): ParticipantRepairServiceStub
Create the GRPC service to call
Create the GRPC service to call
- Definition Classes
- Upload → GrpcAdminCommand
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def fullName: String
Command's full name used to identify command in logging and span reporting
Command's full name used to identify command in logging and span reporting
- Definition Classes
- AdminCommand
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val gzip: Boolean
- def handleResponse(response: UploadResponse): Either[String, Unit]
Handle the response the service has provided
Handle the response the service has provided
- Definition Classes
- Upload → AdminCommand
- 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() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def stream(load: (StreamObserver[UploadResponse]) => StreamObserver[UploadRequest], requestBuilder: (Array[Byte]) => UploadRequest, snapshot: ByteString): Future[UploadResponse]
- Definition Classes
- StreamingMachinery
- def submitRequest(service: ParticipantRepairServiceStub, request: UploadRequest): Future[UploadResponse]
Submit the created request to our service
Submit the created request to our service
- Definition Classes
- Upload → GrpcAdminCommand
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def timeoutType: TimeoutType
Determines within which time frame the request should complete
Determines within which time frame the request should complete
Some requests can run for a very long time. In this case, they should be "unbounded". For other requests, you will want to set a custom timeout apart from the global default bounded timeout
- Definition Classes
- AdminCommand
- 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])