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.
-
-
Method Summary
-
-
-
Method Detail
-
build
protected DaprGrpc.DaprBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.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.
-
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
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
-
startWorkflowAlpha1
public DaprProtos.WorkflowReference startWorkflowAlpha1(DaprProtos.StartWorkflowRequest request)
Start Workflow
-
getWorkflowAlpha1
public DaprProtos.GetWorkflowResponse getWorkflowAlpha1(DaprProtos.GetWorkflowRequest request)
Get Workflow details
-
terminateWorkflowAlpha1
public DaprProtos.TerminateWorkflowResponse terminateWorkflowAlpha1(DaprProtos.TerminateWorkflowRequest request)
Terminate Workflow
-
shutdown
public com.google.protobuf.Empty shutdown(com.google.protobuf.Empty request)
Shutdown the sidecar
-
-