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
-
Method Summary
Modifier and Type Method Description protected DaprGrpc.DaprBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.protobuf.Empty
deleteBulkState(DaprProtos.DeleteBulkStateRequest request)
Deletes a bulk of state items for a list of keyscom.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 actorcom.google.protobuf.Empty
executeStateTransaction(DaprProtos.ExecuteStateTransactionRequest request)
Executes transactions for a specified storeDaprProtos.GetActorStateResponse
getActorState(DaprProtos.GetActorStateRequest request)
Gets the state for a specific actor.DaprProtos.GetBulkSecretResponse
getBulkSecret(DaprProtos.GetBulkSecretRequest request)
Gets a bulk of secretsDaprProtos.GetBulkStateResponse
getBulkState(DaprProtos.GetBulkStateRequest request)
Gets a bulk of state items for a list of keysDaprProtos.GetMetadataResponse
getMetadata(com.google.protobuf.Empty request)
Gets metadata of the sidecarDaprProtos.GetSecretResponse
getSecret(DaprProtos.GetSecretRequest request)
Gets secrets from secret stores.DaprProtos.GetStateResponse
getState(DaprProtos.GetStateRequest request)
Gets the state for a specific key.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 bindingsCommonProtos.InvokeResponse
invokeService(DaprProtos.InvokeServiceRequest request)
Invokes a method on a remote Dapr app.com.google.protobuf.Empty
publishEvent(DaprProtos.PublishEventRequest request)
Publishes events to the specific topic.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
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 sidecarcom.google.protobuf.Empty
shutdown(com.google.protobuf.Empty request)
Shutdown the sidecarcom.google.protobuf.Empty
unregisterActorReminder(DaprProtos.UnregisterActorReminderRequest request)
Unregister an actor reminder.com.google.protobuf.Empty
unregisterActorTimer(DaprProtos.UnregisterActorTimerRequest request)
Unregister an actor timer.
-
Method Details
-
build
protected DaprGrpc.DaprBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)- Specified by:
build
in classio.grpc.stub.AbstractStub<DaprGrpc.DaprBlockingStub>
-
invokeService
Invokes a method on a remote Dapr app.
-
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.
-
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.
-
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.
-
getMetadata
Gets metadata of the sidecar
-
setMetadata
Sets value in extended metadata of the sidecar
-
shutdown
public com.google.protobuf.Empty shutdown(com.google.protobuf.Empty request)Shutdown the sidecar
-