Package io.dapr.v1
Class DaprGrpc.DaprBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<DaprGrpc.DaprBlockingStub>
io.dapr.v1.DaprGrpc.DaprBlockingStub
- Enclosing class:
- DaprGrpc
public static final class DaprGrpc.DaprBlockingStub
extends io.grpc.stub.AbstractBlockingStub<DaprGrpc.DaprBlockingStub>
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.DaprBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.protobuf.Empty
Deletes a bulk of state items for a list of keyscom.google.protobuf.Empty
deleteState(DaprProtos.DeleteStateRequest request)
Deletes the state for a specific key.com.google.protobuf.Empty
Executes state transactions for a specified actorcom.google.protobuf.Empty
Executes transactions for a specified storegetActorState(DaprProtos.GetActorStateRequest request)
Gets the state for a specific actor.getBulkSecret(DaprProtos.GetBulkSecretRequest request)
Gets a bulk of secretsgetBulkState(DaprProtos.GetBulkStateRequest request)
Gets a bulk of state items for a list of keysGetConfiguration gets configuration from configuration store.getMetadata(com.google.protobuf.Empty request)
Gets metadata of the sidecargetSecret(DaprProtos.GetSecretRequest request)
Gets secrets from secret stores.getState(DaprProtos.GetStateRequest request)
Gets the state for a specific key.invokeActor(DaprProtos.InvokeActorRequest request)
InvokeActor calls a method on an actor.invokeBinding(DaprProtos.InvokeBindingRequest request)
Invokes binding data to specific output bindingsinvokeService(DaprProtos.InvokeServiceRequest request)
Invokes a method on a remote Dapr app.com.google.protobuf.Empty
publishEvent(DaprProtos.PublishEventRequest request)
Publishes events to the specific topic.queryStateAlpha1(DaprProtos.QueryStateRequest request)
Queries the state.com.google.protobuf.Empty
Register an actor reminder.com.google.protobuf.Empty
Register an actor timer.com.google.protobuf.Empty
Rename an actor reminder.com.google.protobuf.Empty
saveState(DaprProtos.SaveStateRequest request)
Saves the state for a specific key.com.google.protobuf.Empty
setMetadata(DaprProtos.SetMetadataRequest request)
Sets value in extended metadata of the sidecarcom.google.protobuf.Empty
shutdown(com.google.protobuf.Empty request)
Shutdown the sidecarSubscribeConfiguration gets configuration from configuration store and subscribe the updates event by grpc streamtryLockAlpha1(DaprProtos.TryLockRequest request)
TryLockAlpha1 tries to get a lock with an expiry.unlockAlpha1(DaprProtos.UnlockRequest request)
UnlockAlpha1 unlocks a lock.com.google.protobuf.Empty
Unregister an actor reminder.com.google.protobuf.Empty
Unregister an actor timer.UnSubscribeConfiguration unsubscribe the subscription of configurationMethods inherited from class io.grpc.stub.AbstractBlockingStub
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
protected DaprGrpc.DaprBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)- Specified by:
build
in classio.grpc.stub.AbstractStub<DaprGrpc.DaprBlockingStub>
-
invokeService
Invokes a method on a remote Dapr app.
-
getState
Gets the state for a specific key.
-
getBulkState
Gets a bulk of state items for a list of keys
-
saveState
Saves the state for a specific key.
-
queryStateAlpha1
Queries the state.
-
deleteState
Deletes the state for a specific key.
-
deleteBulkState
Deletes a bulk of state items for a list of keys
-
executeStateTransaction
public com.google.protobuf.Empty executeStateTransaction(DaprProtos.ExecuteStateTransactionRequest request)Executes transactions for a specified store
-
publishEvent
Publishes events to the specific topic.
-
invokeBinding
Invokes binding data to specific output bindings
-
getSecret
Gets secrets from secret stores.
-
getBulkSecret
Gets a bulk of secrets
-
registerActorTimer
Register an actor timer.
-
unregisterActorTimer
public com.google.protobuf.Empty unregisterActorTimer(DaprProtos.UnregisterActorTimerRequest request)Unregister an actor timer.
-
registerActorReminder
public com.google.protobuf.Empty registerActorReminder(DaprProtos.RegisterActorReminderRequest request)Register an actor reminder.
-
unregisterActorReminder
public com.google.protobuf.Empty unregisterActorReminder(DaprProtos.UnregisterActorReminderRequest request)Unregister an actor reminder.
-
renameActorReminder
public com.google.protobuf.Empty renameActorReminder(DaprProtos.RenameActorReminderRequest request)Rename an actor reminder.
-
getActorState
Gets the state for a specific actor.
-
executeActorStateTransaction
public com.google.protobuf.Empty executeActorStateTransaction(DaprProtos.ExecuteActorStateTransactionRequest request)Executes state transactions for a specified actor
-
invokeActor
InvokeActor calls a method on an actor.
-
getConfigurationAlpha1
public DaprProtos.GetConfigurationResponse getConfigurationAlpha1(DaprProtos.GetConfigurationRequest request)GetConfiguration gets configuration from configuration store.
-
subscribeConfigurationAlpha1
public Iterator<DaprProtos.SubscribeConfigurationResponse> subscribeConfigurationAlpha1(DaprProtos.SubscribeConfigurationRequest request)SubscribeConfiguration gets configuration from configuration store and subscribe the updates event by grpc stream
-
unsubscribeConfigurationAlpha1
public DaprProtos.UnsubscribeConfigurationResponse unsubscribeConfigurationAlpha1(DaprProtos.UnsubscribeConfigurationRequest request)UnSubscribeConfiguration unsubscribe the subscription of configuration
-
tryLockAlpha1
TryLockAlpha1 tries to get a lock with an expiry.
-
unlockAlpha1
UnlockAlpha1 unlocks a lock.
-
getMetadata
Gets metadata of the sidecar
-
setMetadata
Sets value in extended metadata of the sidecar
-
shutdown
public com.google.protobuf.Empty shutdown(com.google.protobuf.Empty request)Shutdown the sidecar
-