Package io.dapr.v1
Class DaprGrpc.DaprFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<DaprGrpc.DaprFutureStub>
io.dapr.v1.DaprGrpc.DaprFutureStub
- Enclosing class:
- DaprGrpc
public static final class DaprGrpc.DaprFutureStub extends io.grpc.stub.AbstractFutureStub<DaprGrpc.DaprFutureStub>
Dapr service provides APIs to user application to access Dapr building blocks.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
-
Method Summary
Modifier and Type Method Description protected DaprGrpc.DaprFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deleteBulkState(DaprProtos.DeleteBulkStateRequest request)
Deletes a bulk of state items for a list of keyscom.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deleteState(DaprProtos.DeleteStateRequest request)
Deletes the state for a specific key.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
executeActorStateTransaction(DaprProtos.ExecuteActorStateTransactionRequest request)
Executes state transactions for a specified actorcom.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
executeStateTransaction(DaprProtos.ExecuteStateTransactionRequest request)
Executes transactions for a specified storecom.google.common.util.concurrent.ListenableFuture<DaprProtos.GetActorStateResponse>
getActorState(DaprProtos.GetActorStateRequest request)
Gets the state for a specific actor.com.google.common.util.concurrent.ListenableFuture<DaprProtos.GetBulkSecretResponse>
getBulkSecret(DaprProtos.GetBulkSecretRequest request)
Gets a bulk of secretscom.google.common.util.concurrent.ListenableFuture<DaprProtos.GetBulkStateResponse>
getBulkState(DaprProtos.GetBulkStateRequest request)
Gets a bulk of state items for a list of keyscom.google.common.util.concurrent.ListenableFuture<DaprProtos.GetMetadataResponse>
getMetadata(com.google.protobuf.Empty request)
Gets metadata of the sidecarcom.google.common.util.concurrent.ListenableFuture<DaprProtos.GetSecretResponse>
getSecret(DaprProtos.GetSecretRequest request)
Gets secrets from secret stores.com.google.common.util.concurrent.ListenableFuture<DaprProtos.GetStateResponse>
getState(DaprProtos.GetStateRequest request)
Gets the state for a specific key.com.google.common.util.concurrent.ListenableFuture<DaprProtos.InvokeActorResponse>
invokeActor(DaprProtos.InvokeActorRequest request)
InvokeActor calls a method on an actor.com.google.common.util.concurrent.ListenableFuture<DaprProtos.InvokeBindingResponse>
invokeBinding(DaprProtos.InvokeBindingRequest request)
Invokes binding data to specific output bindingscom.google.common.util.concurrent.ListenableFuture<CommonProtos.InvokeResponse>
invokeService(DaprProtos.InvokeServiceRequest request)
Invokes a method on a remote Dapr app.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
publishEvent(DaprProtos.PublishEventRequest request)
Publishes events to the specific topic.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
registerActorReminder(DaprProtos.RegisterActorReminderRequest request)
Register an actor reminder.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
registerActorTimer(DaprProtos.RegisterActorTimerRequest request)
Register an actor timer.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
saveState(DaprProtos.SaveStateRequest request)
Saves the state for a specific key.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
setMetadata(DaprProtos.SetMetadataRequest request)
Sets value in extended metadata of the sidecarcom.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
shutdown(com.google.protobuf.Empty request)
Shutdown the sidecarcom.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
unregisterActorReminder(DaprProtos.UnregisterActorReminderRequest request)
Unregister an actor reminder.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
unregisterActorTimer(DaprProtos.UnregisterActorTimerRequest request)
Unregister an actor timer.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
build
- Specified by:
build
in classio.grpc.stub.AbstractStub<DaprGrpc.DaprFutureStub>
-
invokeService
public com.google.common.util.concurrent.ListenableFuture<CommonProtos.InvokeResponse> invokeService(DaprProtos.InvokeServiceRequest request)Invokes a method on a remote Dapr app.
-
getState
public com.google.common.util.concurrent.ListenableFuture<DaprProtos.GetStateResponse> getState(DaprProtos.GetStateRequest request)Gets the state for a specific key.
-
getBulkState
public com.google.common.util.concurrent.ListenableFuture<DaprProtos.GetBulkStateResponse> getBulkState(DaprProtos.GetBulkStateRequest request)Gets a bulk of state items for a list of keys
-
saveState
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> saveState(DaprProtos.SaveStateRequest request)Saves the state for a specific key.
-
deleteState
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteState(DaprProtos.DeleteStateRequest request)Deletes the state for a specific key.
-
deleteBulkState
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteBulkState(DaprProtos.DeleteBulkStateRequest request)Deletes a bulk of state items for a list of keys
-
executeStateTransaction
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> executeStateTransaction(DaprProtos.ExecuteStateTransactionRequest request)Executes transactions for a specified store
-
publishEvent
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> publishEvent(DaprProtos.PublishEventRequest request)Publishes events to the specific topic.
-
invokeBinding
public com.google.common.util.concurrent.ListenableFuture<DaprProtos.InvokeBindingResponse> invokeBinding(DaprProtos.InvokeBindingRequest request)Invokes binding data to specific output bindings
-
getSecret
public com.google.common.util.concurrent.ListenableFuture<DaprProtos.GetSecretResponse> getSecret(DaprProtos.GetSecretRequest request)Gets secrets from secret stores.
-
getBulkSecret
public com.google.common.util.concurrent.ListenableFuture<DaprProtos.GetBulkSecretResponse> getBulkSecret(DaprProtos.GetBulkSecretRequest request)Gets a bulk of secrets
-
registerActorTimer
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> registerActorTimer(DaprProtos.RegisterActorTimerRequest request)Register an actor timer.
-
unregisterActorTimer
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> unregisterActorTimer(DaprProtos.UnregisterActorTimerRequest request)Unregister an actor timer.
-
registerActorReminder
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> registerActorReminder(DaprProtos.RegisterActorReminderRequest request)Register an actor reminder.
-
unregisterActorReminder
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> unregisterActorReminder(DaprProtos.UnregisterActorReminderRequest request)Unregister an actor reminder.
-
getActorState
public com.google.common.util.concurrent.ListenableFuture<DaprProtos.GetActorStateResponse> getActorState(DaprProtos.GetActorStateRequest request)Gets the state for a specific actor.
-
executeActorStateTransaction
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> executeActorStateTransaction(DaprProtos.ExecuteActorStateTransactionRequest request)Executes state transactions for a specified actor
-
invokeActor
public com.google.common.util.concurrent.ListenableFuture<DaprProtos.InvokeActorResponse> invokeActor(DaprProtos.InvokeActorRequest request)InvokeActor calls a method on an actor.
-
getMetadata
public com.google.common.util.concurrent.ListenableFuture<DaprProtos.GetMetadataResponse> getMetadata(com.google.protobuf.Empty request)Gets metadata of the sidecar
-
setMetadata
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> setMetadata(DaprProtos.SetMetadataRequest request)Sets value in extended metadata of the sidecar
-
shutdown
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> shutdown(com.google.protobuf.Empty request)Shutdown the sidecar
-