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 limited 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.DaprBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Bulk Publishes multiple events to the specified topic.Deprecated.Converse with a LLM serviceConverse with a LLM service via alpha2 apicom.google.protobuf.EmptyDeletes a bulk of state items for a list of keysDelete a jobcom.google.protobuf.EmptyDeletes the state for a specific key.com.google.protobuf.EmptyExecutes state transactions for a specified actorcom.google.protobuf.EmptyExecutes transactions for a specified storeGets an actor reminder.Gets 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(DaprJobsProtos.GetJobRequest request) Gets a scheduled jobGets metadata of the sidecarGets secrets from secret stores.getState(DaprStateProtos.GetStateRequest request) Gets the state for a specific key.Deprecated.Gets details about a started workflow instanceInvokeActor calls a method on an actor.Invokes binding data to specific output bindingsInvokes a method on a remote Dapr app.com.google.protobuf.EmptyDeprecated.com.google.protobuf.EmptyPauses a running workflow instancecom.google.protobuf.EmptyPublishes events to the specific topic.com.google.protobuf.EmptyDeprecated.com.google.protobuf.EmptyPurge WorkflowQueries the state.com.google.protobuf.EmptyDeprecated.com.google.protobuf.EmptyRaise an event to a running workflow instancecom.google.protobuf.EmptyRegister an actor reminder.com.google.protobuf.EmptyRegister an actor timer.com.google.protobuf.EmptyDeprecated.com.google.protobuf.EmptyResumes a paused workflow instancecom.google.protobuf.EmptySaves the state for a specific key.Create and schedule a jobcom.google.protobuf.EmptySets value in extended metadata of the sidecarcom.google.protobuf.Emptyshutdown(DaprProtos.ShutdownRequest request) Shutdown the sidecarDeprecated.Starts 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.EmptyDeprecated.com.google.protobuf.EmptyTerminates a running workflow instanceTryLockAlpha1 tries to get a lock with an expiry.unlockAlpha1(DaprLockProtos.UnlockRequest request) UnlockAlpha1 unlocks a lock.com.google.protobuf.EmptyUnregister an actor reminder.com.google.protobuf.EmptyUnregister an actor timer.UnSubscribeConfiguration unsubscribe the subscription of configurationUnSubscribeConfiguration unsubscribe the subscription of configurationMethods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
- Specified by:
buildin 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
public DaprStateProtos.GetBulkStateResponse getBulkState(DaprStateProtos.GetBulkStateRequest request) Gets a bulk of state items for a list of keys
-
saveState
Saves the state for a specific key.
-
queryStateAlpha1
public DaprStateProtos.QueryStateResponse queryStateAlpha1(DaprStateProtos.QueryStateRequest request) 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(DaprStateProtos.ExecuteStateTransactionRequest request) Executes transactions for a specified store
-
publishEvent
Publishes events to the specific topic.
-
bulkPublishEventAlpha1
@Deprecated public DaprPubsubProtos.BulkPublishResponse bulkPublishEventAlpha1(DaprPubsubProtos.BulkPublishRequest request) Deprecated.Deprecated: Bulk Publishes multiple events to the specified topic.
-
bulkPublishEvent
public DaprPubsubProtos.BulkPublishResponse bulkPublishEvent(DaprPubsubProtos.BulkPublishRequest request) Bulk Publishes multiple events to the specified topic.
-
invokeBinding
public DaprBindingsProtos.InvokeBindingResponse invokeBinding(DaprBindingsProtos.InvokeBindingRequest request) Invokes binding data to specific output bindings
-
getSecret
Gets secrets from secret stores.
-
getBulkSecret
public DaprSecretProtos.GetBulkSecretResponse getBulkSecret(DaprSecretProtos.GetBulkSecretRequest request) Gets a bulk of secrets
-
registerActorTimer
public com.google.protobuf.Empty registerActorTimer(DaprActorsProtos.RegisterActorTimerRequest request) Register an actor timer.
-
unregisterActorTimer
public com.google.protobuf.Empty unregisterActorTimer(DaprActorsProtos.UnregisterActorTimerRequest request) Unregister an actor timer.
-
registerActorReminder
public com.google.protobuf.Empty registerActorReminder(DaprActorsProtos.RegisterActorReminderRequest request) Register an actor reminder.
-
unregisterActorReminder
public com.google.protobuf.Empty unregisterActorReminder(DaprActorsProtos.UnregisterActorReminderRequest request) Unregister an actor reminder.
-
unregisterActorRemindersByType
public DaprActorsProtos.UnregisterActorRemindersByTypeResponse unregisterActorRemindersByType(DaprActorsProtos.UnregisterActorRemindersByTypeRequest request) -
listActorReminders
public DaprActorsProtos.ListActorRemindersResponse listActorReminders(DaprActorsProtos.ListActorRemindersRequest request) -
getActorState
public DaprActorsProtos.GetActorStateResponse getActorState(DaprActorsProtos.GetActorStateRequest request) Gets the state for a specific actor.
-
getActorReminder
public DaprActorsProtos.GetActorReminderResponse getActorReminder(DaprActorsProtos.GetActorReminderRequest request) Gets an actor reminder.
-
executeActorStateTransaction
public com.google.protobuf.Empty executeActorStateTransaction(DaprActorsProtos.ExecuteActorStateTransactionRequest request) Executes state transactions for a specified actor
-
invokeActor
public DaprActorsProtos.InvokeActorResponse invokeActor(DaprActorsProtos.InvokeActorRequest request) InvokeActor calls a method on an actor.
-
getConfigurationAlpha1
public DaprConfigurationProtos.GetConfigurationResponse getConfigurationAlpha1(DaprConfigurationProtos.GetConfigurationRequest request) GetConfiguration gets configuration from configuration store.
-
getConfiguration
public DaprConfigurationProtos.GetConfigurationResponse getConfiguration(DaprConfigurationProtos.GetConfigurationRequest request) GetConfiguration gets configuration from configuration store.
-
subscribeConfigurationAlpha1
public Iterator<DaprConfigurationProtos.SubscribeConfigurationResponse> subscribeConfigurationAlpha1(DaprConfigurationProtos.SubscribeConfigurationRequest request) SubscribeConfiguration gets configuration from configuration store and subscribe the updates event by grpc stream
-
subscribeConfiguration
public Iterator<DaprConfigurationProtos.SubscribeConfigurationResponse> subscribeConfiguration(DaprConfigurationProtos.SubscribeConfigurationRequest request) SubscribeConfiguration gets configuration from configuration store and subscribe the updates event by grpc stream
-
unsubscribeConfigurationAlpha1
public DaprConfigurationProtos.UnsubscribeConfigurationResponse unsubscribeConfigurationAlpha1(DaprConfigurationProtos.UnsubscribeConfigurationRequest request) UnSubscribeConfiguration unsubscribe the subscription of configuration
-
unsubscribeConfiguration
public DaprConfigurationProtos.UnsubscribeConfigurationResponse unsubscribeConfiguration(DaprConfigurationProtos.UnsubscribeConfigurationRequest request) UnSubscribeConfiguration unsubscribe the subscription of configuration
-
tryLockAlpha1
TryLockAlpha1 tries to get a lock with an expiry.
-
unlockAlpha1
UnlockAlpha1 unlocks a lock.
-
getMetadata
public DaprMetadataProtos.GetMetadataResponse getMetadata(DaprMetadataProtos.GetMetadataRequest request) Gets metadata of the sidecar
-
setMetadata
Sets value in extended metadata of the sidecar
-
subtleGetKeyAlpha1
public DaprCryptoProtos.SubtleGetKeyResponse subtleGetKeyAlpha1(DaprCryptoProtos.SubtleGetKeyRequest request) SubtleGetKeyAlpha1 returns the public part of an asymmetric key stored in the vault.
-
subtleEncryptAlpha1
public DaprCryptoProtos.SubtleEncryptResponse subtleEncryptAlpha1(DaprCryptoProtos.SubtleEncryptRequest request) SubtleEncryptAlpha1 encrypts a small message using a key stored in the vault.
-
subtleDecryptAlpha1
public DaprCryptoProtos.SubtleDecryptResponse subtleDecryptAlpha1(DaprCryptoProtos.SubtleDecryptRequest request) SubtleDecryptAlpha1 decrypts a small message using a key stored in the vault.
-
subtleWrapKeyAlpha1
public DaprCryptoProtos.SubtleWrapKeyResponse subtleWrapKeyAlpha1(DaprCryptoProtos.SubtleWrapKeyRequest request) SubtleWrapKeyAlpha1 wraps a key using a key stored in the vault.
-
subtleUnwrapKeyAlpha1
public DaprCryptoProtos.SubtleUnwrapKeyResponse subtleUnwrapKeyAlpha1(DaprCryptoProtos.SubtleUnwrapKeyRequest request) SubtleUnwrapKeyAlpha1 unwraps a key using a key stored in the vault.
-
subtleSignAlpha1
public DaprCryptoProtos.SubtleSignResponse subtleSignAlpha1(DaprCryptoProtos.SubtleSignRequest request) SubtleSignAlpha1 signs a message using a key stored in the vault.
-
subtleVerifyAlpha1
public DaprCryptoProtos.SubtleVerifyResponse subtleVerifyAlpha1(DaprCryptoProtos.SubtleVerifyRequest request) SubtleVerifyAlpha1 verifies the signature of a message using a key stored in the vault.
-
startWorkflowAlpha1
@Deprecated public DaprWorkflowProtos.StartWorkflowResponse startWorkflowAlpha1(DaprWorkflowProtos.StartWorkflowRequest request) Deprecated.Starts a new instance of a workflow
-
getWorkflowAlpha1
@Deprecated public DaprWorkflowProtos.GetWorkflowResponse getWorkflowAlpha1(DaprWorkflowProtos.GetWorkflowRequest request) Deprecated.Gets details about a started workflow instance
-
purgeWorkflowAlpha1
@Deprecated public com.google.protobuf.Empty purgeWorkflowAlpha1(DaprWorkflowProtos.PurgeWorkflowRequest request) Deprecated.Purge Workflow
-
terminateWorkflowAlpha1
@Deprecated public com.google.protobuf.Empty terminateWorkflowAlpha1(DaprWorkflowProtos.TerminateWorkflowRequest request) Deprecated.Terminates a running workflow instance
-
pauseWorkflowAlpha1
@Deprecated public com.google.protobuf.Empty pauseWorkflowAlpha1(DaprWorkflowProtos.PauseWorkflowRequest request) Deprecated.Pauses a running workflow instance
-
resumeWorkflowAlpha1
@Deprecated public com.google.protobuf.Empty resumeWorkflowAlpha1(DaprWorkflowProtos.ResumeWorkflowRequest request) Deprecated.Resumes a paused workflow instance
-
raiseEventWorkflowAlpha1
@Deprecated public com.google.protobuf.Empty raiseEventWorkflowAlpha1(DaprWorkflowProtos.RaiseEventWorkflowRequest request) Deprecated.Raise an event to a running workflow instance
-
startWorkflowBeta1
public DaprWorkflowProtos.StartWorkflowResponse startWorkflowBeta1(DaprWorkflowProtos.StartWorkflowRequest request) Starts a new instance of a workflow
-
getWorkflowBeta1
public DaprWorkflowProtos.GetWorkflowResponse getWorkflowBeta1(DaprWorkflowProtos.GetWorkflowRequest request) Gets details about a started workflow instance
-
purgeWorkflowBeta1
public com.google.protobuf.Empty purgeWorkflowBeta1(DaprWorkflowProtos.PurgeWorkflowRequest request) Purge Workflow
-
terminateWorkflowBeta1
public com.google.protobuf.Empty terminateWorkflowBeta1(DaprWorkflowProtos.TerminateWorkflowRequest request) Terminates a running workflow instance
-
pauseWorkflowBeta1
public com.google.protobuf.Empty pauseWorkflowBeta1(DaprWorkflowProtos.PauseWorkflowRequest request) Pauses a running workflow instance
-
resumeWorkflowBeta1
public com.google.protobuf.Empty resumeWorkflowBeta1(DaprWorkflowProtos.ResumeWorkflowRequest request) Resumes a paused workflow instance
-
raiseEventWorkflowBeta1
public com.google.protobuf.Empty raiseEventWorkflowBeta1(DaprWorkflowProtos.RaiseEventWorkflowRequest request) Raise an event to a running workflow instance
-
shutdown
Shutdown the sidecar
-
scheduleJobAlpha1
public DaprJobsProtos.ScheduleJobResponse scheduleJobAlpha1(DaprJobsProtos.ScheduleJobRequest request) Create and schedule a job
-
getJobAlpha1
Gets a scheduled job
-
deleteJobAlpha1
Delete a job
-
deleteJobsByPrefixAlpha1
public DaprJobsProtos.DeleteJobsByPrefixResponseAlpha1 deleteJobsByPrefixAlpha1(DaprJobsProtos.DeleteJobsByPrefixRequestAlpha1 request) -
listJobsAlpha1
public DaprJobsProtos.ListJobsResponseAlpha1 listJobsAlpha1(DaprJobsProtos.ListJobsRequestAlpha1 request) -
converseAlpha1
Converse with a LLM service
-
converseAlpha2
public DaprAiProtos.ConversationResponseAlpha2 converseAlpha2(DaprAiProtos.ConversationRequestAlpha2 request) Converse with a LLM service via alpha2 api
-