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>
A stub to allow clients to do synchronous rpc calls to service Dapr.
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) Bulk Publishes multiple events to the specified topic.com.google.protobuf.Empty
Deletes a bulk of state items for a list of keysDelete a jobcom.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 storeGets the state for a specific actor.Gets a bulk of secretsGets a bulk of state items for a list of keysGetConfiguration gets configuration from configuration store.GetConfiguration gets configuration from configuration store.getJobAlpha1
(DaprProtos.GetJobRequest request) Gets a scheduled jobgetMetadata
(DaprProtos.GetMetadataRequest 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.Gets details about a started workflow instanceGets details about a started workflow instanceinvokeActor
(DaprProtos.InvokeActorRequest request) InvokeActor calls a method on an actor.Invokes binding data to specific output bindingsInvokes a method on a remote Dapr app.com.google.protobuf.Empty
Pauses a running workflow instancecom.google.protobuf.Empty
Pauses a running workflow instancecom.google.protobuf.Empty
Publishes events to the specific topic.com.google.protobuf.Empty
Purge Workflowcom.google.protobuf.Empty
Purge WorkflowQueries the state.com.google.protobuf.Empty
Raise an event to a running workflow instancecom.google.protobuf.Empty
Raise an event to a running workflow instancecom.google.protobuf.Empty
Register an actor reminder.com.google.protobuf.Empty
Register an actor timer.com.google.protobuf.Empty
Resumes a paused workflow instancecom.google.protobuf.Empty
Resumes a paused workflow instancecom.google.protobuf.Empty
saveState
(DaprProtos.SaveStateRequest request) Saves the state for a specific key.Create and schedule a jobcom.google.protobuf.Empty
setMetadata
(DaprProtos.SetMetadataRequest request) Sets value in extended metadata of the sidecarcom.google.protobuf.Empty
shutdown
(DaprProtos.ShutdownRequest request) Shutdown the sidecarStarts a new instance of a workflowStarts a new instance of a workflowSubscribeConfiguration gets configuration from configuration store and subscribe the updates event by grpc streamSubscribeConfiguration gets configuration from configuration store and subscribe the updates event by grpc streamSubtleDecryptAlpha1 decrypts a small message using a key stored in the vault.SubtleEncryptAlpha1 encrypts a small message using a key stored in the vault.SubtleGetKeyAlpha1 returns the public part of an asymmetric key stored in the vault.SubtleSignAlpha1 signs a message using a key stored in the vault.SubtleUnwrapKeyAlpha1 unwraps a key using a key stored in the vault.SubtleVerifyAlpha1 verifies the signature of a message using a key stored in the vault.SubtleWrapKeyAlpha1 wraps a key using a key stored in the vault.com.google.protobuf.Empty
Terminates a running workflow instancecom.google.protobuf.Empty
Terminates a running workflow instancetryLockAlpha1
(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 configurationUnSubscribeConfiguration 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, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
- Specified by:
build
in classio.grpc.stub.AbstractStub<DaprGrpc.DaprBlockingStub>
-
invokeService
Invokes a method on a remote Dapr app. Deprecated: Use proxy mode service invocation instead.
-
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.
-
bulkPublishEventAlpha1
Bulk Publishes multiple events to the specified 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.
-
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.
-
getConfiguration
public DaprProtos.GetConfigurationResponse getConfiguration(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
-
subscribeConfiguration
public Iterator<DaprProtos.SubscribeConfigurationResponse> subscribeConfiguration(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
-
unsubscribeConfiguration
public DaprProtos.UnsubscribeConfigurationResponse unsubscribeConfiguration(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
-
subtleGetKeyAlpha1
SubtleGetKeyAlpha1 returns the public part of an asymmetric key stored in the vault.
-
subtleEncryptAlpha1
public DaprProtos.SubtleEncryptResponse subtleEncryptAlpha1(DaprProtos.SubtleEncryptRequest request) SubtleEncryptAlpha1 encrypts a small message using a key stored in the vault.
-
subtleDecryptAlpha1
public DaprProtos.SubtleDecryptResponse subtleDecryptAlpha1(DaprProtos.SubtleDecryptRequest request) SubtleDecryptAlpha1 decrypts a small message using a key stored in the vault.
-
subtleWrapKeyAlpha1
public DaprProtos.SubtleWrapKeyResponse subtleWrapKeyAlpha1(DaprProtos.SubtleWrapKeyRequest request) SubtleWrapKeyAlpha1 wraps a key using a key stored in the vault.
-
subtleUnwrapKeyAlpha1
public DaprProtos.SubtleUnwrapKeyResponse subtleUnwrapKeyAlpha1(DaprProtos.SubtleUnwrapKeyRequest request) SubtleUnwrapKeyAlpha1 unwraps a key using a key stored in the vault.
-
subtleSignAlpha1
SubtleSignAlpha1 signs a message using a key stored in the vault.
-
subtleVerifyAlpha1
SubtleVerifyAlpha1 verifies the signature of a message using a key stored in the vault.
-
startWorkflowAlpha1
public DaprProtos.StartWorkflowResponse startWorkflowAlpha1(DaprProtos.StartWorkflowRequest request) Starts a new instance of a workflow
-
getWorkflowAlpha1
Gets details about a started workflow instance
-
purgeWorkflowAlpha1
Purge Workflow
-
terminateWorkflowAlpha1
public com.google.protobuf.Empty terminateWorkflowAlpha1(DaprProtos.TerminateWorkflowRequest request) Terminates a running workflow instance
-
pauseWorkflowAlpha1
Pauses a running workflow instance
-
resumeWorkflowAlpha1
Resumes a paused workflow instance
-
raiseEventWorkflowAlpha1
public com.google.protobuf.Empty raiseEventWorkflowAlpha1(DaprProtos.RaiseEventWorkflowRequest request) Raise an event to a running workflow instance
-
startWorkflowBeta1
Starts a new instance of a workflow
-
getWorkflowBeta1
Gets details about a started workflow instance
-
purgeWorkflowBeta1
Purge Workflow
-
terminateWorkflowBeta1
public com.google.protobuf.Empty terminateWorkflowBeta1(DaprProtos.TerminateWorkflowRequest request) Terminates a running workflow instance
-
pauseWorkflowBeta1
Pauses a running workflow instance
-
resumeWorkflowBeta1
Resumes a paused workflow instance
-
raiseEventWorkflowBeta1
public com.google.protobuf.Empty raiseEventWorkflowBeta1(DaprProtos.RaiseEventWorkflowRequest request) Raise an event to a running workflow instance
-
shutdown
Shutdown the sidecar
-
scheduleJobAlpha1
Create and schedule a job
-
getJobAlpha1
Gets a scheduled job
-
deleteJobAlpha1
Delete a job
-