Package io.dapr.v1
Class DaprGrpc.DaprImplBase
java.lang.Object
io.dapr.v1.DaprGrpc.DaprImplBase
- All Implemented Interfaces:
io.grpc.BindableService
- Enclosing class:
- DaprGrpc
public abstract static class DaprGrpc.DaprImplBase
extends Object
implements io.grpc.BindableService
Dapr service provides APIs to user application to access Dapr building blocks.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.grpc.ServerServiceDefinitionvoiddeleteBulkState(DaprProtos.DeleteBulkStateRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Deletes a bulk of state items for a list of keysvoiddeleteState(DaprProtos.DeleteStateRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Deletes the state for a specific key.voidexecuteActorStateTransaction(DaprProtos.ExecuteActorStateTransactionRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Executes state transactions for a specified actorvoidexecuteStateTransaction(DaprProtos.ExecuteStateTransactionRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Executes transactions for a specified storevoidgetActorState(DaprProtos.GetActorStateRequest request, io.grpc.stub.StreamObserver<DaprProtos.GetActorStateResponse> responseObserver)Gets the state for a specific actor.voidgetBulkSecret(DaprProtos.GetBulkSecretRequest request, io.grpc.stub.StreamObserver<DaprProtos.GetBulkSecretResponse> responseObserver)Gets a bulk of secretsvoidgetBulkState(DaprProtos.GetBulkStateRequest request, io.grpc.stub.StreamObserver<DaprProtos.GetBulkStateResponse> responseObserver)Gets a bulk of state items for a list of keysvoidgetConfigurationAlpha1(DaprProtos.GetConfigurationRequest request, io.grpc.stub.StreamObserver<DaprProtos.GetConfigurationResponse> responseObserver)GetConfiguration gets configuration from configuration store.voidgetMetadata(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<DaprProtos.GetMetadataResponse> responseObserver)Gets metadata of the sidecarvoidgetSecret(DaprProtos.GetSecretRequest request, io.grpc.stub.StreamObserver<DaprProtos.GetSecretResponse> responseObserver)Gets secrets from secret stores.voidgetState(DaprProtos.GetStateRequest request, io.grpc.stub.StreamObserver<DaprProtos.GetStateResponse> responseObserver)Gets the state for a specific key.voidinvokeActor(DaprProtos.InvokeActorRequest request, io.grpc.stub.StreamObserver<DaprProtos.InvokeActorResponse> responseObserver)InvokeActor calls a method on an actor.voidinvokeBinding(DaprProtos.InvokeBindingRequest request, io.grpc.stub.StreamObserver<DaprProtos.InvokeBindingResponse> responseObserver)Invokes binding data to specific output bindingsvoidinvokeService(DaprProtos.InvokeServiceRequest request, io.grpc.stub.StreamObserver<CommonProtos.InvokeResponse> responseObserver)Invokes a method on a remote Dapr app.voidpublishEvent(DaprProtos.PublishEventRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Publishes events to the specific topic.voidqueryStateAlpha1(DaprProtos.QueryStateRequest request, io.grpc.stub.StreamObserver<DaprProtos.QueryStateResponse> responseObserver)Queries the state.voidregisterActorReminder(DaprProtos.RegisterActorReminderRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Register an actor reminder.voidregisterActorTimer(DaprProtos.RegisterActorTimerRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Register an actor timer.voidrenameActorReminder(DaprProtos.RenameActorReminderRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Rename an actor reminder.voidsaveState(DaprProtos.SaveStateRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Saves the state for a specific key.voidsetMetadata(DaprProtos.SetMetadataRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Sets value in extended metadata of the sidecarvoidshutdown(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Shutdown the sidecarvoidsubscribeConfigurationAlpha1(DaprProtos.SubscribeConfigurationRequest request, io.grpc.stub.StreamObserver<DaprProtos.SubscribeConfigurationResponse> responseObserver)SubscribeConfiguration gets configuration from configuration store and subscribe the updates event by grpc streamvoidunregisterActorReminder(DaprProtos.UnregisterActorReminderRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Unregister an actor reminder.voidunregisterActorTimer(DaprProtos.UnregisterActorTimerRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Unregister an actor timer.voidunsubscribeConfigurationAlpha1(DaprProtos.UnsubscribeConfigurationRequest request, io.grpc.stub.StreamObserver<DaprProtos.UnsubscribeConfigurationResponse> responseObserver)UnSubscribeConfiguration unsubscribe the subscription of configuration
-
Constructor Details
-
DaprImplBase
public DaprImplBase()
-
-
Method Details
-
invokeService
public void invokeService(DaprProtos.InvokeServiceRequest request, io.grpc.stub.StreamObserver<CommonProtos.InvokeResponse> responseObserver)Invokes a method on a remote Dapr app.
-
getState
public void getState(DaprProtos.GetStateRequest request, io.grpc.stub.StreamObserver<DaprProtos.GetStateResponse> responseObserver)Gets the state for a specific key.
-
getBulkState
public void getBulkState(DaprProtos.GetBulkStateRequest request, io.grpc.stub.StreamObserver<DaprProtos.GetBulkStateResponse> responseObserver)Gets a bulk of state items for a list of keys
-
saveState
public void saveState(DaprProtos.SaveStateRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Saves the state for a specific key.
-
queryStateAlpha1
public void queryStateAlpha1(DaprProtos.QueryStateRequest request, io.grpc.stub.StreamObserver<DaprProtos.QueryStateResponse> responseObserver)Queries the state.
-
deleteState
public void deleteState(DaprProtos.DeleteStateRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Deletes the state for a specific key.
-
deleteBulkState
public void deleteBulkState(DaprProtos.DeleteBulkStateRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Deletes a bulk of state items for a list of keys
-
executeStateTransaction
public void executeStateTransaction(DaprProtos.ExecuteStateTransactionRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Executes transactions for a specified store
-
publishEvent
public void publishEvent(DaprProtos.PublishEventRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Publishes events to the specific topic.
-
invokeBinding
public void invokeBinding(DaprProtos.InvokeBindingRequest request, io.grpc.stub.StreamObserver<DaprProtos.InvokeBindingResponse> responseObserver)Invokes binding data to specific output bindings
-
getSecret
public void getSecret(DaprProtos.GetSecretRequest request, io.grpc.stub.StreamObserver<DaprProtos.GetSecretResponse> responseObserver)Gets secrets from secret stores.
-
getBulkSecret
public void getBulkSecret(DaprProtos.GetBulkSecretRequest request, io.grpc.stub.StreamObserver<DaprProtos.GetBulkSecretResponse> responseObserver)Gets a bulk of secrets
-
registerActorTimer
public void registerActorTimer(DaprProtos.RegisterActorTimerRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Register an actor timer.
-
unregisterActorTimer
public void unregisterActorTimer(DaprProtos.UnregisterActorTimerRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Unregister an actor timer.
-
registerActorReminder
public void registerActorReminder(DaprProtos.RegisterActorReminderRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Register an actor reminder.
-
unregisterActorReminder
public void unregisterActorReminder(DaprProtos.UnregisterActorReminderRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Unregister an actor reminder.
-
renameActorReminder
public void renameActorReminder(DaprProtos.RenameActorReminderRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Rename an actor reminder.
-
getActorState
public void getActorState(DaprProtos.GetActorStateRequest request, io.grpc.stub.StreamObserver<DaprProtos.GetActorStateResponse> responseObserver)Gets the state for a specific actor.
-
executeActorStateTransaction
public void executeActorStateTransaction(DaprProtos.ExecuteActorStateTransactionRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Executes state transactions for a specified actor
-
invokeActor
public void invokeActor(DaprProtos.InvokeActorRequest request, io.grpc.stub.StreamObserver<DaprProtos.InvokeActorResponse> responseObserver)InvokeActor calls a method on an actor.
-
getConfigurationAlpha1
public void getConfigurationAlpha1(DaprProtos.GetConfigurationRequest request, io.grpc.stub.StreamObserver<DaprProtos.GetConfigurationResponse> responseObserver)GetConfiguration gets configuration from configuration store.
-
subscribeConfigurationAlpha1
public void subscribeConfigurationAlpha1(DaprProtos.SubscribeConfigurationRequest request, io.grpc.stub.StreamObserver<DaprProtos.SubscribeConfigurationResponse> responseObserver)SubscribeConfiguration gets configuration from configuration store and subscribe the updates event by grpc stream
-
unsubscribeConfigurationAlpha1
public void unsubscribeConfigurationAlpha1(DaprProtos.UnsubscribeConfigurationRequest request, io.grpc.stub.StreamObserver<DaprProtos.UnsubscribeConfigurationResponse> responseObserver)UnSubscribeConfiguration unsubscribe the subscription of configuration
-
getMetadata
public void getMetadata(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<DaprProtos.GetMetadataResponse> responseObserver)Gets metadata of the sidecar
-
setMetadata
public void setMetadata(DaprProtos.SetMetadataRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Sets value in extended metadata of the sidecar
-
shutdown
public void shutdown(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Shutdown the sidecar
-
bindService
public final io.grpc.ServerServiceDefinition bindService()- Specified by:
bindServicein interfaceio.grpc.BindableService
-