# DaprGrpc.DaprBlockingStub (dapr-sdk-parent 1.10.0 API)

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

All Methods Instance Methods Concrete Methods
`protected DaprGrpc.DaprBlockingStub` `build​(io.grpc.Channel channel, io.grpc.CallOptions callOptions)`
`DaprProtos.BulkPublishResponse` `bulkPublishEventAlpha1​(DaprProtos.BulkPublishRequest request)` Bulk Publishes multiple events to the specified topic.
`com.google.protobuf.Empty` `deleteBulkState​(DaprProtos.DeleteBulkStateRequest request)` Deletes a bulk of state items for a list of keys
`com.google.protobuf.Empty` `deleteState​(DaprProtos.DeleteStateRequest request)` Deletes the state for a specific key.
`com.google.protobuf.Empty` `executeActorStateTransaction​(DaprProtos.ExecuteActorStateTransactionRequest request)` Executes state transactions for a specified actor
`com.google.protobuf.Empty` `executeStateTransaction​(DaprProtos.ExecuteStateTransactionRequest request)` Executes transactions for a specified store
`DaprProtos.GetActorStateResponse` `getActorState​(DaprProtos.GetActorStateRequest request)` Gets the state for a specific actor.
`DaprProtos.GetBulkSecretResponse` `getBulkSecret​(DaprProtos.GetBulkSecretRequest request)` Gets a bulk of secrets
`DaprProtos.GetBulkStateResponse` `getBulkState​(DaprProtos.GetBulkStateRequest request)` Gets a bulk of state items for a list of keys
`DaprProtos.GetConfigurationResponse` `getConfiguration​(DaprProtos.GetConfigurationRequest request)` GetConfiguration gets configuration from configuration store.
`DaprProtos.GetConfigurationResponse` `getConfigurationAlpha1​(DaprProtos.GetConfigurationRequest request)` GetConfiguration gets configuration from configuration store.
`DaprProtos.GetMetadataResponse` `getMetadata​(com.google.protobuf.Empty request)` Gets metadata of the sidecar
`DaprProtos.GetSecretResponse` `getSecret​(DaprProtos.GetSecretRequest request)` Gets secrets from secret stores.
`DaprProtos.GetStateResponse` `getState​(DaprProtos.GetStateRequest request)` Gets the state for a specific key.
`DaprProtos.GetWorkflowResponse` `getWorkflowAlpha1​(DaprProtos.GetWorkflowRequest request)` Gets details about a started workflow instance
`DaprProtos.GetWorkflowResponse` `getWorkflowBeta1​(DaprProtos.GetWorkflowRequest request)` Gets details about a started workflow instance
`DaprProtos.InvokeActorResponse` `invokeActor​(DaprProtos.InvokeActorRequest request)` InvokeActor calls a method on an actor.
`DaprProtos.InvokeBindingResponse` `invokeBinding​(DaprProtos.InvokeBindingRequest request)` Invokes binding data to specific output bindings
`CommonProtos.InvokeResponse` `invokeService​(DaprProtos.InvokeServiceRequest request)` Invokes a method on a remote Dapr app.
`com.google.protobuf.Empty` `pauseWorkflowAlpha1​(DaprProtos.PauseWorkflowRequest request)` Pauses a running workflow instance
`com.google.protobuf.Empty` `pauseWorkflowBeta1​(DaprProtos.PauseWorkflowRequest request)` Pauses a running workflow instance
`com.google.protobuf.Empty` `publishEvent​(DaprProtos.PublishEventRequest request)` Publishes events to the specific topic.
`com.google.protobuf.Empty` `purgeWorkflowAlpha1​(DaprProtos.PurgeWorkflowRequest request)` Purge Workflow
`com.google.protobuf.Empty` `purgeWorkflowBeta1​(DaprProtos.PurgeWorkflowRequest request)` Purge Workflow
`DaprProtos.QueryStateResponse` `queryStateAlpha1​(DaprProtos.QueryStateRequest request)` Queries the state.
`com.google.protobuf.Empty` `raiseEventWorkflowAlpha1​(DaprProtos.RaiseEventWorkflowRequest request)` Raise an event to a running workflow instance
`com.google.protobuf.Empty` `raiseEventWorkflowBeta1​(DaprProtos.RaiseEventWorkflowRequest request)` Raise an event to a running workflow instance
`com.google.protobuf.Empty` `registerActorReminder​(DaprProtos.RegisterActorReminderRequest request)` Register an actor reminder.
`com.google.protobuf.Empty` `registerActorTimer​(DaprProtos.RegisterActorTimerRequest request)` Register an actor timer.
`com.google.protobuf.Empty` `renameActorReminder​(DaprProtos.RenameActorReminderRequest request)` Rename an actor reminder.
`com.google.protobuf.Empty` `resumeWorkflowAlpha1​(DaprProtos.ResumeWorkflowRequest request)` Resumes a paused workflow instance
`com.google.protobuf.Empty` `resumeWorkflowBeta1​(DaprProtos.ResumeWorkflowRequest request)` Resumes a paused workflow instance
`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 sidecar
`com.google.protobuf.Empty` `shutdown​(com.google.protobuf.Empty request)` Shutdown the sidecar
`DaprProtos.StartWorkflowResponse` `startWorkflowAlpha1​(DaprProtos.StartWorkflowRequest request)` Starts a new instance of a workflow
`DaprProtos.StartWorkflowResponse` `startWorkflowBeta1​(DaprProtos.StartWorkflowRequest request)` Starts a new instance of a workflow
`Iterator<DaprProtos.SubscribeConfigurationResponse>` `subscribeConfiguration​(DaprProtos.SubscribeConfigurationRequest request)` SubscribeConfiguration gets configuration from configuration store and subscribe the updates event by grpc stream
`Iterator<DaprProtos.SubscribeConfigurationResponse>` `subscribeConfigurationAlpha1​(DaprProtos.SubscribeConfigurationRequest request)` SubscribeConfiguration gets configuration from configuration store and subscribe the updates event by grpc stream
`DaprProtos.SubtleDecryptResponse` `subtleDecryptAlpha1​(DaprProtos.SubtleDecryptRequest request)` SubtleDecryptAlpha1 decrypts a small message using a key stored in the vault.
`DaprProtos.SubtleEncryptResponse` `subtleEncryptAlpha1​(DaprProtos.SubtleEncryptRequest request)` SubtleEncryptAlpha1 encrypts a small message using a key stored in the vault.
`DaprProtos.SubtleGetKeyResponse` `subtleGetKeyAlpha1​(DaprProtos.SubtleGetKeyRequest request)` SubtleGetKeyAlpha1 returns the public part of an asymmetric key stored in the vault.
`DaprProtos.SubtleSignResponse` `subtleSignAlpha1​(DaprProtos.SubtleSignRequest request)` SubtleSignAlpha1 signs a message using a key stored in the vault.
`DaprProtos.SubtleUnwrapKeyResponse` `subtleUnwrapKeyAlpha1​(DaprProtos.SubtleUnwrapKeyRequest request)` SubtleUnwrapKeyAlpha1 unwraps a key using a key stored in the vault.
`DaprProtos.SubtleVerifyResponse` `subtleVerifyAlpha1​(DaprProtos.SubtleVerifyRequest request)` SubtleVerifyAlpha1 verifies the signature of a message using a key stored in the vault.
`DaprProtos.SubtleWrapKeyResponse` `subtleWrapKeyAlpha1​(DaprProtos.SubtleWrapKeyRequest request)` SubtleWrapKeyAlpha1 wraps a key using a key stored in the vault.
`com.google.protobuf.Empty` `terminateWorkflowAlpha1​(DaprProtos.TerminateWorkflowRequest request)` Terminates a running workflow instance
`com.google.protobuf.Empty` `terminateWorkflowBeta1​(DaprProtos.TerminateWorkflowRequest request)` Terminates a running workflow instance
`DaprProtos.TryLockResponse` `tryLockAlpha1​(DaprProtos.TryLockRequest request)` TryLockAlpha1 tries to get a lock with an expiry.
`DaprProtos.UnlockResponse` `unlockAlpha1​(DaprProtos.UnlockRequest request)` UnlockAlpha1 unlocks a lock.
`com.google.protobuf.Empty` `unregisterActorReminder​(DaprProtos.UnregisterActorReminderRequest request)` Unregister an actor reminder.
`com.google.protobuf.Empty` `unregisterActorTimer​(DaprProtos.UnregisterActorTimerRequest request)` Unregister an actor timer.
`DaprProtos.UnsubscribeConfigurationResponse` `unsubscribeConfiguration​(DaprProtos.UnsubscribeConfigurationRequest request)` UnSubscribeConfiguration unsubscribe the subscription of configuration
`DaprProtos.UnsubscribeConfigurationResponse` `unsubscribeConfigurationAlpha1​(DaprProtos.UnsubscribeConfigurationRequest request)` UnSubscribeConfiguration unsubscribe the subscription of configuration

### Methods 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`

### Methods inherited from class java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

### Method Detail

#### build

    protected DaprGrpc.DaprBlockingStub build​(io.grpc.Channel channel,
                                              io.grpc.CallOptions callOptions)

Specified by:
  `build` in class `io.grpc.stub.AbstractStub<DaprGrpc.DaprBlockingStub>`

#### invokeService

    public CommonProtos.InvokeResponse invokeService​(DaprProtos.InvokeServiceRequest request)

     Invokes a method on a remote Dapr app.
     Deprecated: Use proxy mode service invocation instead.

#### getState

    public DaprProtos.GetStateResponse getState​(DaprProtos.GetStateRequest request)

     Gets the state for a specific key.

#### getBulkState

    public DaprProtos.GetBulkStateResponse getBulkState​(DaprProtos.GetBulkStateRequest request)

     Gets a bulk of state items for a list of keys

#### saveState

    public com.google.protobuf.Empty saveState​(DaprProtos.SaveStateRequest request)

     Saves the state for a specific key.

#### queryStateAlpha1

    public DaprProtos.QueryStateResponse queryStateAlpha1​(DaprProtos.QueryStateRequest request)

     Queries the state.

#### deleteState

    public com.google.protobuf.Empty deleteState​(DaprProtos.DeleteStateRequest request)

     Deletes the state for a specific key.

#### deleteBulkState

    public com.google.protobuf.Empty deleteBulkState​(DaprProtos.DeleteBulkStateRequest request)

     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

    public com.google.protobuf.Empty publishEvent​(DaprProtos.PublishEventRequest request)

     Publishes events to the specific topic.

#### bulkPublishEventAlpha1

    public DaprProtos.BulkPublishResponse bulkPublishEventAlpha1​(DaprProtos.BulkPublishRequest request)

     Bulk Publishes multiple events to the specified topic.

#### invokeBinding

    public DaprProtos.InvokeBindingResponse invokeBinding​(DaprProtos.InvokeBindingRequest request)

     Invokes binding data to specific output bindings

#### getSecret

    public DaprProtos.GetSecretResponse getSecret​(DaprProtos.GetSecretRequest request)

     Gets secrets from secret stores.

#### getBulkSecret

    public DaprProtos.GetBulkSecretResponse getBulkSecret​(DaprProtos.GetBulkSecretRequest request)

     Gets a bulk of secrets

#### registerActorTimer

    public com.google.protobuf.Empty registerActorTimer​(DaprProtos.RegisterActorTimerRequest request)

     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

    public DaprProtos.GetActorStateResponse getActorState​(DaprProtos.GetActorStateRequest request)

     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

    public DaprProtos.InvokeActorResponse invokeActor​(DaprProtos.InvokeActorRequest request)

     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

    public DaprProtos.TryLockResponse tryLockAlpha1​(DaprProtos.TryLockRequest request)

     TryLockAlpha1 tries to get a lock with an expiry.

#### unlockAlpha1

    public DaprProtos.UnlockResponse unlockAlpha1​(DaprProtos.UnlockRequest request)

     UnlockAlpha1 unlocks a lock.

#### getMetadata

    public DaprProtos.GetMetadataResponse getMetadata​(com.google.protobuf.Empty request)

     Gets metadata of the sidecar

#### setMetadata

    public com.google.protobuf.Empty setMetadata​(DaprProtos.SetMetadataRequest request)

     Sets value in extended metadata of the sidecar

#### subtleGetKeyAlpha1

    public DaprProtos.SubtleGetKeyResponse subtleGetKeyAlpha1​(DaprProtos.SubtleGetKeyRequest request)

     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

    public DaprProtos.SubtleSignResponse subtleSignAlpha1​(DaprProtos.SubtleSignRequest request)

     SubtleSignAlpha1 signs a message using a key stored in the vault.

#### subtleVerifyAlpha1

    public DaprProtos.SubtleVerifyResponse subtleVerifyAlpha1​(DaprProtos.SubtleVerifyRequest request)

     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

    public DaprProtos.GetWorkflowResponse getWorkflowAlpha1​(DaprProtos.GetWorkflowRequest request)

     Gets details about a started workflow instance

#### purgeWorkflowAlpha1

    public com.google.protobuf.Empty purgeWorkflowAlpha1​(DaprProtos.PurgeWorkflowRequest request)

     Purge Workflow

#### terminateWorkflowAlpha1

    public com.google.protobuf.Empty terminateWorkflowAlpha1​(DaprProtos.TerminateWorkflowRequest request)

     Terminates a running workflow instance

#### pauseWorkflowAlpha1

    public com.google.protobuf.Empty pauseWorkflowAlpha1​(DaprProtos.PauseWorkflowRequest request)

     Pauses a running workflow instance

#### resumeWorkflowAlpha1

    public com.google.protobuf.Empty resumeWorkflowAlpha1​(DaprProtos.ResumeWorkflowRequest request)

     Resumes a paused workflow instance

#### raiseEventWorkflowAlpha1

    public com.google.protobuf.Empty raiseEventWorkflowAlpha1​(DaprProtos.RaiseEventWorkflowRequest request)

     Raise an event to a running workflow instance

#### startWorkflowBeta1

    public DaprProtos.StartWorkflowResponse startWorkflowBeta1​(DaprProtos.StartWorkflowRequest request)

     Starts a new instance of a workflow

#### getWorkflowBeta1

    public DaprProtos.GetWorkflowResponse getWorkflowBeta1​(DaprProtos.GetWorkflowRequest request)

     Gets details about a started workflow instance

#### purgeWorkflowBeta1

    public com.google.protobuf.Empty purgeWorkflowBeta1​(DaprProtos.PurgeWorkflowRequest request)

     Purge Workflow

#### terminateWorkflowBeta1

    public com.google.protobuf.Empty terminateWorkflowBeta1​(DaprProtos.TerminateWorkflowRequest request)

     Terminates a running workflow instance

#### pauseWorkflowBeta1

    public com.google.protobuf.Empty pauseWorkflowBeta1​(DaprProtos.PauseWorkflowRequest request)

     Pauses a running workflow instance

#### resumeWorkflowBeta1

    public com.google.protobuf.Empty resumeWorkflowBeta1​(DaprProtos.ResumeWorkflowRequest request)

     Resumes a paused workflow instance

#### raiseEventWorkflowBeta1

    public com.google.protobuf.Empty raiseEventWorkflowBeta1​(DaprProtos.RaiseEventWorkflowRequest request)

     Raise an event to a running workflow instance

#### shutdown

    public com.google.protobuf.Empty shutdown​(com.google.protobuf.Empty request)

     Shutdown the sidecar