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 TypeMethodDescriptionprotected DaprGrpc.DaprFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
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>
Executes state transactions for a specified actorcom.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
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.GetConfigurationResponse>
GetConfiguration gets configuration from configuration store.com.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<DaprProtos.QueryStateResponse>
queryStateAlpha1(DaprProtos.QueryStateRequest request)
Queries the state.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
Register an actor reminder.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
Register an actor timer.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
Rename an actor reminder.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<DaprProtos.TryLockResponse>
tryLockAlpha1(DaprProtos.TryLockRequest request)
TryLockAlpha1 tries to get a lock with an expiry.com.google.common.util.concurrent.ListenableFuture<DaprProtos.UnlockResponse>
unlockAlpha1(DaprProtos.UnlockRequest request)
UnlockAlpha1 unlocks a lock.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
Unregister an actor reminder.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
Unregister an actor timer.com.google.common.util.concurrent.ListenableFuture<DaprProtos.UnsubscribeConfigurationResponse>
UnSubscribeConfiguration unsubscribe the subscription of configurationMethods 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
-
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.
-
queryStateAlpha1
public com.google.common.util.concurrent.ListenableFuture<DaprProtos.QueryStateResponse> queryStateAlpha1(DaprProtos.QueryStateRequest request)Queries the state.
-
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.
-
renameActorReminder
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> renameActorReminder(DaprProtos.RenameActorReminderRequest request)Rename 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.
-
getConfigurationAlpha1
public com.google.common.util.concurrent.ListenableFuture<DaprProtos.GetConfigurationResponse> getConfigurationAlpha1(DaprProtos.GetConfigurationRequest request)GetConfiguration gets configuration from configuration store.
-
unsubscribeConfigurationAlpha1
public com.google.common.util.concurrent.ListenableFuture<DaprProtos.UnsubscribeConfigurationResponse> unsubscribeConfigurationAlpha1(DaprProtos.UnsubscribeConfigurationRequest request)UnSubscribeConfiguration unsubscribe the subscription of configuration
-
tryLockAlpha1
public com.google.common.util.concurrent.ListenableFuture<DaprProtos.TryLockResponse> tryLockAlpha1(DaprProtos.TryLockRequest request)TryLockAlpha1 tries to get a lock with an expiry.
-
unlockAlpha1
public com.google.common.util.concurrent.ListenableFuture<DaprProtos.UnlockResponse> unlockAlpha1(DaprProtos.UnlockRequest request)UnlockAlpha1 unlocks a lock.
-
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
-