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 TypeMethodDescriptionIssue multiple queries against the same collection, each succeeding or failing on its own.protected 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.EmptyCreate a collection.com.google.protobuf.EmptyCreate an index.Deletes a binary file.com.google.protobuf.EmptyDeletes a bulk of state items for a list of keyscom.google.protobuf.EmptyDelete a collection.Delete documents by ID.com.google.protobuf.EmptyDelete an index.deleteJob(DaprJobsProtos.DeleteJobRequest request) Delete a jobDeprecated.Delete jobs by name prefixDeprecated.com.google.protobuf.EmptyDeletes the state for a specific key.Delete vectors by ID.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 timer registered on this host for an actor.Retrieves a binary file as a stream of chunks.Gets a bulk of secretsGets a bulk of state items for a list of keysGet a collection.GetConfiguration gets configuration from configuration store.GetConfiguration gets configuration from configuration store.Get documents by ID.Get an index.getJob(DaprJobsProtos.GetJobRequest request) Gets a scheduled jobgetJobAlpha1(DaprJobsProtos.GetJobRequest request) Deprecated.Gets metadata of the sidecarGets secrets from secret stores.getState(DaprStateProtos.GetStateRequest request) Gets the state for a specific key.Get vectors by ID.Deprecated.Gets details about a started workflow instanceIndex (keyed upsert) documents.InvokeActor calls a method on an actor.Invokes binding data to specific output bindingsInvokes a method on a remote Dapr app.Lists the timers registered on this host for an actor.List collections.List indexes.listJobs(DaprJobsProtos.ListJobsRequest request) List all jobsDeprecated.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.Query vectors.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 jobDeprecated.Search an index.com.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 configurationUpsert (keyed) vectors.Methods 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) -
listActorTimers
public DaprActorsProtos.ListActorTimersResponse listActorTimers(DaprActorsProtos.ListActorTimersRequest request) Lists the timers registered on this host for an actor.
-
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.
-
getActorTimer
public DaprActorsProtos.GetActorTimerResponse getActorTimer(DaprActorsProtos.GetActorTimerRequest request) Gets a timer registered on this host for an actor.
-
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
@Deprecated public DaprJobsProtos.ScheduleJobResponse scheduleJobAlpha1(DaprJobsProtos.ScheduleJobRequest request) Deprecated.Deprecated: Create and schedule a job
-
scheduleJob
Create and schedule a job
-
getJobAlpha1
Deprecated.Deprecated: Gets a scheduled job
-
getJob
Gets a scheduled job
-
deleteJobAlpha1
@Deprecated public DaprJobsProtos.DeleteJobResponse deleteJobAlpha1(DaprJobsProtos.DeleteJobRequest request) Deprecated.Deprecated: Delete a job
-
deleteJob
Delete a job
-
deleteJobsByPrefixAlpha1
@Deprecated public DaprJobsProtos.DeleteJobsByPrefixResponseAlpha1 deleteJobsByPrefixAlpha1(DaprJobsProtos.DeleteJobsByPrefixRequestAlpha1 request) Deprecated.Deprecated: Delete jobs by name prefix
-
deleteJobsByPrefix
public DaprJobsProtos.DeleteJobsByPrefixResponse deleteJobsByPrefix(DaprJobsProtos.DeleteJobsByPrefixRequest request) Delete jobs by name prefix
-
listJobsAlpha1
@Deprecated public DaprJobsProtos.ListJobsResponseAlpha1 listJobsAlpha1(DaprJobsProtos.ListJobsRequestAlpha1 request) Deprecated.Deprecated: List all jobs
-
listJobs
List all jobs
-
converseAlpha1
Converse with a LLM service
-
converseAlpha2
public DaprAiProtos.ConversationResponseAlpha2 converseAlpha2(DaprAiProtos.ConversationRequestAlpha2 request) Converse with a LLM service via alpha2 api
-
createIndexAlpha1
public com.google.protobuf.Empty createIndexAlpha1(DaprSearchProtos.CreateIndexRequestAlpha1 request) Create an index.
-
getIndexAlpha1
public DaprSearchProtos.GetIndexResponseAlpha1 getIndexAlpha1(DaprSearchProtos.GetIndexRequestAlpha1 request) Get an index.
-
listIndexesAlpha1
public DaprSearchProtos.ListIndexesResponseAlpha1 listIndexesAlpha1(DaprSearchProtos.ListIndexesRequestAlpha1 request) List indexes.
-
deleteIndexAlpha1
public com.google.protobuf.Empty deleteIndexAlpha1(DaprSearchProtos.DeleteIndexRequestAlpha1 request) Delete an index.
-
indexDocumentsAlpha1
public DaprSearchProtos.IndexDocumentsResponseAlpha1 indexDocumentsAlpha1(DaprSearchProtos.IndexDocumentsRequestAlpha1 request) Index (keyed upsert) documents.
-
getDocumentsAlpha1
public DaprSearchProtos.GetDocumentsResponseAlpha1 getDocumentsAlpha1(DaprSearchProtos.GetDocumentsRequestAlpha1 request) Get documents by ID.
-
deleteDocumentsAlpha1
public DaprSearchProtos.DeleteDocumentsResponseAlpha1 deleteDocumentsAlpha1(DaprSearchProtos.DeleteDocumentsRequestAlpha1 request) Delete documents by ID.
-
searchAlpha1
public DaprSearchProtos.SearchResponseAlpha1 searchAlpha1(DaprSearchProtos.SearchRequestAlpha1 request) Search an index.
-
createCollectionAlpha1
public com.google.protobuf.Empty createCollectionAlpha1(DaprVectorProtos.CreateCollectionRequestAlpha1 request) Create a collection.
-
getCollectionAlpha1
public DaprVectorProtos.GetCollectionResponseAlpha1 getCollectionAlpha1(DaprVectorProtos.GetCollectionRequestAlpha1 request) Get a collection.
-
listCollectionsAlpha1
public DaprVectorProtos.ListCollectionsResponseAlpha1 listCollectionsAlpha1(DaprVectorProtos.ListCollectionsRequestAlpha1 request) List collections.
-
deleteCollectionAlpha1
public com.google.protobuf.Empty deleteCollectionAlpha1(DaprVectorProtos.DeleteCollectionRequestAlpha1 request) Delete a collection.
-
upsertVectorsAlpha1
public DaprVectorProtos.UpsertVectorsResponseAlpha1 upsertVectorsAlpha1(DaprVectorProtos.UpsertVectorsRequestAlpha1 request) Upsert (keyed) vectors.
-
deleteVectorsAlpha1
public DaprVectorProtos.DeleteVectorsResponseAlpha1 deleteVectorsAlpha1(DaprVectorProtos.DeleteVectorsRequestAlpha1 request) Delete vectors by ID.
-
getVectorsAlpha1
public DaprVectorProtos.GetVectorsResponseAlpha1 getVectorsAlpha1(DaprVectorProtos.GetVectorsRequestAlpha1 request) Get vectors by ID.
-
queryVectorsAlpha1
public DaprVectorProtos.QueryVectorsResponseAlpha1 queryVectorsAlpha1(DaprVectorProtos.QueryVectorsRequestAlpha1 request) Query vectors.
-
batchQueryVectorsAlpha1
public DaprVectorProtos.BatchQueryVectorsResponseAlpha1 batchQueryVectorsAlpha1(DaprVectorProtos.BatchQueryVectorsRequestAlpha1 request) Issue multiple queries against the same collection, each succeeding or failing on its own.
-
getBinaryFileAlpha1
public Iterator<DaprBinaryStoreProtos.GetBinaryFileResponseAlpha1> getBinaryFileAlpha1(DaprBinaryStoreProtos.GetBinaryFileRequestAlpha1 request) Retrieves a binary file as a stream of chunks.
-
deleteBinaryFileAlpha1
public DaprBinaryStoreProtos.DeleteBinaryFileResponseAlpha1 deleteBinaryFileAlpha1(DaprBinaryStoreProtos.DeleteBinaryFileRequestAlpha1 request) Deletes a binary file.
-