
io.dapr.v1.DaprGrpc Maven / Gradle / Ivy
package io.dapr.v1;
import static io.grpc.MethodDescriptor.generateFullMethodName;
/**
*
* Dapr service provides APIs to user application to access Dapr building blocks.
*
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.42.1)",
comments = "Source: dapr.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class DaprGrpc {
private DaprGrpc() {}
public static final String SERVICE_NAME = "dapr.proto.runtime.v1.Dapr";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor getInvokeServiceMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "InvokeService",
requestType = io.dapr.v1.DaprProtos.InvokeServiceRequest.class,
responseType = io.dapr.v1.CommonProtos.InvokeResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getInvokeServiceMethod() {
io.grpc.MethodDescriptor getInvokeServiceMethod;
if ((getInvokeServiceMethod = DaprGrpc.getInvokeServiceMethod) == null) {
synchronized (DaprGrpc.class) {
if ((getInvokeServiceMethod = DaprGrpc.getInvokeServiceMethod) == null) {
DaprGrpc.getInvokeServiceMethod = getInvokeServiceMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "InvokeService"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.InvokeServiceRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.CommonProtos.InvokeResponse.getDefaultInstance()))
.setSchemaDescriptor(new DaprMethodDescriptorSupplier("InvokeService"))
.build();
}
}
}
return getInvokeServiceMethod;
}
private static volatile io.grpc.MethodDescriptor getGetStateMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetState",
requestType = io.dapr.v1.DaprProtos.GetStateRequest.class,
responseType = io.dapr.v1.DaprProtos.GetStateResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetStateMethod() {
io.grpc.MethodDescriptor getGetStateMethod;
if ((getGetStateMethod = DaprGrpc.getGetStateMethod) == null) {
synchronized (DaprGrpc.class) {
if ((getGetStateMethod = DaprGrpc.getGetStateMethod) == null) {
DaprGrpc.getGetStateMethod = getGetStateMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetState"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.GetStateRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.GetStateResponse.getDefaultInstance()))
.setSchemaDescriptor(new DaprMethodDescriptorSupplier("GetState"))
.build();
}
}
}
return getGetStateMethod;
}
private static volatile io.grpc.MethodDescriptor getGetBulkStateMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetBulkState",
requestType = io.dapr.v1.DaprProtos.GetBulkStateRequest.class,
responseType = io.dapr.v1.DaprProtos.GetBulkStateResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetBulkStateMethod() {
io.grpc.MethodDescriptor getGetBulkStateMethod;
if ((getGetBulkStateMethod = DaprGrpc.getGetBulkStateMethod) == null) {
synchronized (DaprGrpc.class) {
if ((getGetBulkStateMethod = DaprGrpc.getGetBulkStateMethod) == null) {
DaprGrpc.getGetBulkStateMethod = getGetBulkStateMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetBulkState"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.GetBulkStateRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.GetBulkStateResponse.getDefaultInstance()))
.setSchemaDescriptor(new DaprMethodDescriptorSupplier("GetBulkState"))
.build();
}
}
}
return getGetBulkStateMethod;
}
private static volatile io.grpc.MethodDescriptor getSaveStateMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "SaveState",
requestType = io.dapr.v1.DaprProtos.SaveStateRequest.class,
responseType = com.google.protobuf.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getSaveStateMethod() {
io.grpc.MethodDescriptor getSaveStateMethod;
if ((getSaveStateMethod = DaprGrpc.getSaveStateMethod) == null) {
synchronized (DaprGrpc.class) {
if ((getSaveStateMethod = DaprGrpc.getSaveStateMethod) == null) {
DaprGrpc.getSaveStateMethod = getSaveStateMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "SaveState"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.SaveStateRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(new DaprMethodDescriptorSupplier("SaveState"))
.build();
}
}
}
return getSaveStateMethod;
}
private static volatile io.grpc.MethodDescriptor getQueryStateAlpha1Method;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "QueryStateAlpha1",
requestType = io.dapr.v1.DaprProtos.QueryStateRequest.class,
responseType = io.dapr.v1.DaprProtos.QueryStateResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getQueryStateAlpha1Method() {
io.grpc.MethodDescriptor getQueryStateAlpha1Method;
if ((getQueryStateAlpha1Method = DaprGrpc.getQueryStateAlpha1Method) == null) {
synchronized (DaprGrpc.class) {
if ((getQueryStateAlpha1Method = DaprGrpc.getQueryStateAlpha1Method) == null) {
DaprGrpc.getQueryStateAlpha1Method = getQueryStateAlpha1Method =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "QueryStateAlpha1"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.QueryStateRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.QueryStateResponse.getDefaultInstance()))
.setSchemaDescriptor(new DaprMethodDescriptorSupplier("QueryStateAlpha1"))
.build();
}
}
}
return getQueryStateAlpha1Method;
}
private static volatile io.grpc.MethodDescriptor getDeleteStateMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DeleteState",
requestType = io.dapr.v1.DaprProtos.DeleteStateRequest.class,
responseType = com.google.protobuf.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDeleteStateMethod() {
io.grpc.MethodDescriptor getDeleteStateMethod;
if ((getDeleteStateMethod = DaprGrpc.getDeleteStateMethod) == null) {
synchronized (DaprGrpc.class) {
if ((getDeleteStateMethod = DaprGrpc.getDeleteStateMethod) == null) {
DaprGrpc.getDeleteStateMethod = getDeleteStateMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteState"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.DeleteStateRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(new DaprMethodDescriptorSupplier("DeleteState"))
.build();
}
}
}
return getDeleteStateMethod;
}
private static volatile io.grpc.MethodDescriptor getDeleteBulkStateMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DeleteBulkState",
requestType = io.dapr.v1.DaprProtos.DeleteBulkStateRequest.class,
responseType = com.google.protobuf.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDeleteBulkStateMethod() {
io.grpc.MethodDescriptor getDeleteBulkStateMethod;
if ((getDeleteBulkStateMethod = DaprGrpc.getDeleteBulkStateMethod) == null) {
synchronized (DaprGrpc.class) {
if ((getDeleteBulkStateMethod = DaprGrpc.getDeleteBulkStateMethod) == null) {
DaprGrpc.getDeleteBulkStateMethod = getDeleteBulkStateMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteBulkState"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.DeleteBulkStateRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(new DaprMethodDescriptorSupplier("DeleteBulkState"))
.build();
}
}
}
return getDeleteBulkStateMethod;
}
private static volatile io.grpc.MethodDescriptor getExecuteStateTransactionMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ExecuteStateTransaction",
requestType = io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest.class,
responseType = com.google.protobuf.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getExecuteStateTransactionMethod() {
io.grpc.MethodDescriptor getExecuteStateTransactionMethod;
if ((getExecuteStateTransactionMethod = DaprGrpc.getExecuteStateTransactionMethod) == null) {
synchronized (DaprGrpc.class) {
if ((getExecuteStateTransactionMethod = DaprGrpc.getExecuteStateTransactionMethod) == null) {
DaprGrpc.getExecuteStateTransactionMethod = getExecuteStateTransactionMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecuteStateTransaction"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(new DaprMethodDescriptorSupplier("ExecuteStateTransaction"))
.build();
}
}
}
return getExecuteStateTransactionMethod;
}
private static volatile io.grpc.MethodDescriptor getPublishEventMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PublishEvent",
requestType = io.dapr.v1.DaprProtos.PublishEventRequest.class,
responseType = com.google.protobuf.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPublishEventMethod() {
io.grpc.MethodDescriptor getPublishEventMethod;
if ((getPublishEventMethod = DaprGrpc.getPublishEventMethod) == null) {
synchronized (DaprGrpc.class) {
if ((getPublishEventMethod = DaprGrpc.getPublishEventMethod) == null) {
DaprGrpc.getPublishEventMethod = getPublishEventMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PublishEvent"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.PublishEventRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(new DaprMethodDescriptorSupplier("PublishEvent"))
.build();
}
}
}
return getPublishEventMethod;
}
private static volatile io.grpc.MethodDescriptor getInvokeBindingMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "InvokeBinding",
requestType = io.dapr.v1.DaprProtos.InvokeBindingRequest.class,
responseType = io.dapr.v1.DaprProtos.InvokeBindingResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getInvokeBindingMethod() {
io.grpc.MethodDescriptor getInvokeBindingMethod;
if ((getInvokeBindingMethod = DaprGrpc.getInvokeBindingMethod) == null) {
synchronized (DaprGrpc.class) {
if ((getInvokeBindingMethod = DaprGrpc.getInvokeBindingMethod) == null) {
DaprGrpc.getInvokeBindingMethod = getInvokeBindingMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "InvokeBinding"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.InvokeBindingRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.InvokeBindingResponse.getDefaultInstance()))
.setSchemaDescriptor(new DaprMethodDescriptorSupplier("InvokeBinding"))
.build();
}
}
}
return getInvokeBindingMethod;
}
private static volatile io.grpc.MethodDescriptor getGetSecretMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetSecret",
requestType = io.dapr.v1.DaprProtos.GetSecretRequest.class,
responseType = io.dapr.v1.DaprProtos.GetSecretResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetSecretMethod() {
io.grpc.MethodDescriptor getGetSecretMethod;
if ((getGetSecretMethod = DaprGrpc.getGetSecretMethod) == null) {
synchronized (DaprGrpc.class) {
if ((getGetSecretMethod = DaprGrpc.getGetSecretMethod) == null) {
DaprGrpc.getGetSecretMethod = getGetSecretMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSecret"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.GetSecretRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.GetSecretResponse.getDefaultInstance()))
.setSchemaDescriptor(new DaprMethodDescriptorSupplier("GetSecret"))
.build();
}
}
}
return getGetSecretMethod;
}
private static volatile io.grpc.MethodDescriptor getGetBulkSecretMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetBulkSecret",
requestType = io.dapr.v1.DaprProtos.GetBulkSecretRequest.class,
responseType = io.dapr.v1.DaprProtos.GetBulkSecretResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetBulkSecretMethod() {
io.grpc.MethodDescriptor getGetBulkSecretMethod;
if ((getGetBulkSecretMethod = DaprGrpc.getGetBulkSecretMethod) == null) {
synchronized (DaprGrpc.class) {
if ((getGetBulkSecretMethod = DaprGrpc.getGetBulkSecretMethod) == null) {
DaprGrpc.getGetBulkSecretMethod = getGetBulkSecretMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetBulkSecret"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.GetBulkSecretRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.GetBulkSecretResponse.getDefaultInstance()))
.setSchemaDescriptor(new DaprMethodDescriptorSupplier("GetBulkSecret"))
.build();
}
}
}
return getGetBulkSecretMethod;
}
private static volatile io.grpc.MethodDescriptor getRegisterActorTimerMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RegisterActorTimer",
requestType = io.dapr.v1.DaprProtos.RegisterActorTimerRequest.class,
responseType = com.google.protobuf.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRegisterActorTimerMethod() {
io.grpc.MethodDescriptor getRegisterActorTimerMethod;
if ((getRegisterActorTimerMethod = DaprGrpc.getRegisterActorTimerMethod) == null) {
synchronized (DaprGrpc.class) {
if ((getRegisterActorTimerMethod = DaprGrpc.getRegisterActorTimerMethod) == null) {
DaprGrpc.getRegisterActorTimerMethod = getRegisterActorTimerMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RegisterActorTimer"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.RegisterActorTimerRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(new DaprMethodDescriptorSupplier("RegisterActorTimer"))
.build();
}
}
}
return getRegisterActorTimerMethod;
}
private static volatile io.grpc.MethodDescriptor getUnregisterActorTimerMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "UnregisterActorTimer",
requestType = io.dapr.v1.DaprProtos.UnregisterActorTimerRequest.class,
responseType = com.google.protobuf.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getUnregisterActorTimerMethod() {
io.grpc.MethodDescriptor getUnregisterActorTimerMethod;
if ((getUnregisterActorTimerMethod = DaprGrpc.getUnregisterActorTimerMethod) == null) {
synchronized (DaprGrpc.class) {
if ((getUnregisterActorTimerMethod = DaprGrpc.getUnregisterActorTimerMethod) == null) {
DaprGrpc.getUnregisterActorTimerMethod = getUnregisterActorTimerMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UnregisterActorTimer"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.UnregisterActorTimerRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(new DaprMethodDescriptorSupplier("UnregisterActorTimer"))
.build();
}
}
}
return getUnregisterActorTimerMethod;
}
private static volatile io.grpc.MethodDescriptor getRegisterActorReminderMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RegisterActorReminder",
requestType = io.dapr.v1.DaprProtos.RegisterActorReminderRequest.class,
responseType = com.google.protobuf.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRegisterActorReminderMethod() {
io.grpc.MethodDescriptor getRegisterActorReminderMethod;
if ((getRegisterActorReminderMethod = DaprGrpc.getRegisterActorReminderMethod) == null) {
synchronized (DaprGrpc.class) {
if ((getRegisterActorReminderMethod = DaprGrpc.getRegisterActorReminderMethod) == null) {
DaprGrpc.getRegisterActorReminderMethod = getRegisterActorReminderMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RegisterActorReminder"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.RegisterActorReminderRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(new DaprMethodDescriptorSupplier("RegisterActorReminder"))
.build();
}
}
}
return getRegisterActorReminderMethod;
}
private static volatile io.grpc.MethodDescriptor getUnregisterActorReminderMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "UnregisterActorReminder",
requestType = io.dapr.v1.DaprProtos.UnregisterActorReminderRequest.class,
responseType = com.google.protobuf.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getUnregisterActorReminderMethod() {
io.grpc.MethodDescriptor getUnregisterActorReminderMethod;
if ((getUnregisterActorReminderMethod = DaprGrpc.getUnregisterActorReminderMethod) == null) {
synchronized (DaprGrpc.class) {
if ((getUnregisterActorReminderMethod = DaprGrpc.getUnregisterActorReminderMethod) == null) {
DaprGrpc.getUnregisterActorReminderMethod = getUnregisterActorReminderMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UnregisterActorReminder"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.UnregisterActorReminderRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(new DaprMethodDescriptorSupplier("UnregisterActorReminder"))
.build();
}
}
}
return getUnregisterActorReminderMethod;
}
private static volatile io.grpc.MethodDescriptor getRenameActorReminderMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RenameActorReminder",
requestType = io.dapr.v1.DaprProtos.RenameActorReminderRequest.class,
responseType = com.google.protobuf.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRenameActorReminderMethod() {
io.grpc.MethodDescriptor getRenameActorReminderMethod;
if ((getRenameActorReminderMethod = DaprGrpc.getRenameActorReminderMethod) == null) {
synchronized (DaprGrpc.class) {
if ((getRenameActorReminderMethod = DaprGrpc.getRenameActorReminderMethod) == null) {
DaprGrpc.getRenameActorReminderMethod = getRenameActorReminderMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RenameActorReminder"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.RenameActorReminderRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(new DaprMethodDescriptorSupplier("RenameActorReminder"))
.build();
}
}
}
return getRenameActorReminderMethod;
}
private static volatile io.grpc.MethodDescriptor getGetActorStateMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetActorState",
requestType = io.dapr.v1.DaprProtos.GetActorStateRequest.class,
responseType = io.dapr.v1.DaprProtos.GetActorStateResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetActorStateMethod() {
io.grpc.MethodDescriptor getGetActorStateMethod;
if ((getGetActorStateMethod = DaprGrpc.getGetActorStateMethod) == null) {
synchronized (DaprGrpc.class) {
if ((getGetActorStateMethod = DaprGrpc.getGetActorStateMethod) == null) {
DaprGrpc.getGetActorStateMethod = getGetActorStateMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetActorState"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.GetActorStateRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.GetActorStateResponse.getDefaultInstance()))
.setSchemaDescriptor(new DaprMethodDescriptorSupplier("GetActorState"))
.build();
}
}
}
return getGetActorStateMethod;
}
private static volatile io.grpc.MethodDescriptor getExecuteActorStateTransactionMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ExecuteActorStateTransaction",
requestType = io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest.class,
responseType = com.google.protobuf.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getExecuteActorStateTransactionMethod() {
io.grpc.MethodDescriptor getExecuteActorStateTransactionMethod;
if ((getExecuteActorStateTransactionMethod = DaprGrpc.getExecuteActorStateTransactionMethod) == null) {
synchronized (DaprGrpc.class) {
if ((getExecuteActorStateTransactionMethod = DaprGrpc.getExecuteActorStateTransactionMethod) == null) {
DaprGrpc.getExecuteActorStateTransactionMethod = getExecuteActorStateTransactionMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecuteActorStateTransaction"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(new DaprMethodDescriptorSupplier("ExecuteActorStateTransaction"))
.build();
}
}
}
return getExecuteActorStateTransactionMethod;
}
private static volatile io.grpc.MethodDescriptor getInvokeActorMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "InvokeActor",
requestType = io.dapr.v1.DaprProtos.InvokeActorRequest.class,
responseType = io.dapr.v1.DaprProtos.InvokeActorResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getInvokeActorMethod() {
io.grpc.MethodDescriptor getInvokeActorMethod;
if ((getInvokeActorMethod = DaprGrpc.getInvokeActorMethod) == null) {
synchronized (DaprGrpc.class) {
if ((getInvokeActorMethod = DaprGrpc.getInvokeActorMethod) == null) {
DaprGrpc.getInvokeActorMethod = getInvokeActorMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "InvokeActor"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.InvokeActorRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.InvokeActorResponse.getDefaultInstance()))
.setSchemaDescriptor(new DaprMethodDescriptorSupplier("InvokeActor"))
.build();
}
}
}
return getInvokeActorMethod;
}
private static volatile io.grpc.MethodDescriptor getGetConfigurationAlpha1Method;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetConfigurationAlpha1",
requestType = io.dapr.v1.DaprProtos.GetConfigurationRequest.class,
responseType = io.dapr.v1.DaprProtos.GetConfigurationResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetConfigurationAlpha1Method() {
io.grpc.MethodDescriptor getGetConfigurationAlpha1Method;
if ((getGetConfigurationAlpha1Method = DaprGrpc.getGetConfigurationAlpha1Method) == null) {
synchronized (DaprGrpc.class) {
if ((getGetConfigurationAlpha1Method = DaprGrpc.getGetConfigurationAlpha1Method) == null) {
DaprGrpc.getGetConfigurationAlpha1Method = getGetConfigurationAlpha1Method =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConfigurationAlpha1"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.GetConfigurationRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.GetConfigurationResponse.getDefaultInstance()))
.setSchemaDescriptor(new DaprMethodDescriptorSupplier("GetConfigurationAlpha1"))
.build();
}
}
}
return getGetConfigurationAlpha1Method;
}
private static volatile io.grpc.MethodDescriptor getSubscribeConfigurationAlpha1Method;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "SubscribeConfigurationAlpha1",
requestType = io.dapr.v1.DaprProtos.SubscribeConfigurationRequest.class,
responseType = io.dapr.v1.DaprProtos.SubscribeConfigurationResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
public static io.grpc.MethodDescriptor getSubscribeConfigurationAlpha1Method() {
io.grpc.MethodDescriptor getSubscribeConfigurationAlpha1Method;
if ((getSubscribeConfigurationAlpha1Method = DaprGrpc.getSubscribeConfigurationAlpha1Method) == null) {
synchronized (DaprGrpc.class) {
if ((getSubscribeConfigurationAlpha1Method = DaprGrpc.getSubscribeConfigurationAlpha1Method) == null) {
DaprGrpc.getSubscribeConfigurationAlpha1Method = getSubscribeConfigurationAlpha1Method =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "SubscribeConfigurationAlpha1"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.SubscribeConfigurationRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.SubscribeConfigurationResponse.getDefaultInstance()))
.setSchemaDescriptor(new DaprMethodDescriptorSupplier("SubscribeConfigurationAlpha1"))
.build();
}
}
}
return getSubscribeConfigurationAlpha1Method;
}
private static volatile io.grpc.MethodDescriptor getUnsubscribeConfigurationAlpha1Method;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "UnsubscribeConfigurationAlpha1",
requestType = io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest.class,
responseType = io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getUnsubscribeConfigurationAlpha1Method() {
io.grpc.MethodDescriptor getUnsubscribeConfigurationAlpha1Method;
if ((getUnsubscribeConfigurationAlpha1Method = DaprGrpc.getUnsubscribeConfigurationAlpha1Method) == null) {
synchronized (DaprGrpc.class) {
if ((getUnsubscribeConfigurationAlpha1Method = DaprGrpc.getUnsubscribeConfigurationAlpha1Method) == null) {
DaprGrpc.getUnsubscribeConfigurationAlpha1Method = getUnsubscribeConfigurationAlpha1Method =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UnsubscribeConfigurationAlpha1"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse.getDefaultInstance()))
.setSchemaDescriptor(new DaprMethodDescriptorSupplier("UnsubscribeConfigurationAlpha1"))
.build();
}
}
}
return getUnsubscribeConfigurationAlpha1Method;
}
private static volatile io.grpc.MethodDescriptor getTryLockAlpha1Method;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "TryLockAlpha1",
requestType = io.dapr.v1.DaprProtos.TryLockRequest.class,
responseType = io.dapr.v1.DaprProtos.TryLockResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getTryLockAlpha1Method() {
io.grpc.MethodDescriptor getTryLockAlpha1Method;
if ((getTryLockAlpha1Method = DaprGrpc.getTryLockAlpha1Method) == null) {
synchronized (DaprGrpc.class) {
if ((getTryLockAlpha1Method = DaprGrpc.getTryLockAlpha1Method) == null) {
DaprGrpc.getTryLockAlpha1Method = getTryLockAlpha1Method =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "TryLockAlpha1"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.TryLockRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.TryLockResponse.getDefaultInstance()))
.setSchemaDescriptor(new DaprMethodDescriptorSupplier("TryLockAlpha1"))
.build();
}
}
}
return getTryLockAlpha1Method;
}
private static volatile io.grpc.MethodDescriptor getUnlockAlpha1Method;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "UnlockAlpha1",
requestType = io.dapr.v1.DaprProtos.UnlockRequest.class,
responseType = io.dapr.v1.DaprProtos.UnlockResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getUnlockAlpha1Method() {
io.grpc.MethodDescriptor getUnlockAlpha1Method;
if ((getUnlockAlpha1Method = DaprGrpc.getUnlockAlpha1Method) == null) {
synchronized (DaprGrpc.class) {
if ((getUnlockAlpha1Method = DaprGrpc.getUnlockAlpha1Method) == null) {
DaprGrpc.getUnlockAlpha1Method = getUnlockAlpha1Method =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UnlockAlpha1"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.UnlockRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.UnlockResponse.getDefaultInstance()))
.setSchemaDescriptor(new DaprMethodDescriptorSupplier("UnlockAlpha1"))
.build();
}
}
}
return getUnlockAlpha1Method;
}
private static volatile io.grpc.MethodDescriptor getGetMetadataMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetMetadata",
requestType = com.google.protobuf.Empty.class,
responseType = io.dapr.v1.DaprProtos.GetMetadataResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetMetadataMethod() {
io.grpc.MethodDescriptor getGetMetadataMethod;
if ((getGetMetadataMethod = DaprGrpc.getGetMetadataMethod) == null) {
synchronized (DaprGrpc.class) {
if ((getGetMetadataMethod = DaprGrpc.getGetMetadataMethod) == null) {
DaprGrpc.getGetMetadataMethod = getGetMetadataMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMetadata"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.GetMetadataResponse.getDefaultInstance()))
.setSchemaDescriptor(new DaprMethodDescriptorSupplier("GetMetadata"))
.build();
}
}
}
return getGetMetadataMethod;
}
private static volatile io.grpc.MethodDescriptor getSetMetadataMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "SetMetadata",
requestType = io.dapr.v1.DaprProtos.SetMetadataRequest.class,
responseType = com.google.protobuf.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getSetMetadataMethod() {
io.grpc.MethodDescriptor getSetMetadataMethod;
if ((getSetMetadataMethod = DaprGrpc.getSetMetadataMethod) == null) {
synchronized (DaprGrpc.class) {
if ((getSetMetadataMethod = DaprGrpc.getSetMetadataMethod) == null) {
DaprGrpc.getSetMetadataMethod = getSetMetadataMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetMetadata"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.dapr.v1.DaprProtos.SetMetadataRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(new DaprMethodDescriptorSupplier("SetMetadata"))
.build();
}
}
}
return getSetMetadataMethod;
}
private static volatile io.grpc.MethodDescriptor getShutdownMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Shutdown",
requestType = com.google.protobuf.Empty.class,
responseType = com.google.protobuf.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getShutdownMethod() {
io.grpc.MethodDescriptor getShutdownMethod;
if ((getShutdownMethod = DaprGrpc.getShutdownMethod) == null) {
synchronized (DaprGrpc.class) {
if ((getShutdownMethod = DaprGrpc.getShutdownMethod) == null) {
DaprGrpc.getShutdownMethod = getShutdownMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Shutdown"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(new DaprMethodDescriptorSupplier("Shutdown"))
.build();
}
}
}
return getShutdownMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static DaprStub newStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public DaprStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new DaprStub(channel, callOptions);
}
};
return DaprStub.newStub(factory, channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static DaprBlockingStub newBlockingStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public DaprBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new DaprBlockingStub(channel, callOptions);
}
};
return DaprBlockingStub.newStub(factory, channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static DaprFutureStub newFutureStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public DaprFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new DaprFutureStub(channel, callOptions);
}
};
return DaprFutureStub.newStub(factory, channel);
}
/**
*
* Dapr service provides APIs to user application to access Dapr building blocks.
*
*/
public static abstract class DaprImplBase implements io.grpc.BindableService {
/**
*
* Invokes a method on a remote Dapr app.
*
*/
public void invokeService(io.dapr.v1.DaprProtos.InvokeServiceRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInvokeServiceMethod(), responseObserver);
}
/**
*
* Gets the state for a specific key.
*
*/
public void getState(io.dapr.v1.DaprProtos.GetStateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetStateMethod(), responseObserver);
}
/**
*
* Gets a bulk of state items for a list of keys
*
*/
public void getBulkState(io.dapr.v1.DaprProtos.GetBulkStateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBulkStateMethod(), responseObserver);
}
/**
*
* Saves the state for a specific key.
*
*/
public void saveState(io.dapr.v1.DaprProtos.SaveStateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSaveStateMethod(), responseObserver);
}
/**
*
* Queries the state.
*
*/
public void queryStateAlpha1(io.dapr.v1.DaprProtos.QueryStateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getQueryStateAlpha1Method(), responseObserver);
}
/**
*
* Deletes the state for a specific key.
*
*/
public void deleteState(io.dapr.v1.DaprProtos.DeleteStateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteStateMethod(), responseObserver);
}
/**
*
* Deletes a bulk of state items for a list of keys
*
*/
public void deleteBulkState(io.dapr.v1.DaprProtos.DeleteBulkStateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteBulkStateMethod(), responseObserver);
}
/**
*
* Executes transactions for a specified store
*
*/
public void executeStateTransaction(io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExecuteStateTransactionMethod(), responseObserver);
}
/**
*
* Publishes events to the specific topic.
*
*/
public void publishEvent(io.dapr.v1.DaprProtos.PublishEventRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPublishEventMethod(), responseObserver);
}
/**
*
* Invokes binding data to specific output bindings
*
*/
public void invokeBinding(io.dapr.v1.DaprProtos.InvokeBindingRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInvokeBindingMethod(), responseObserver);
}
/**
*
* Gets secrets from secret stores.
*
*/
public void getSecret(io.dapr.v1.DaprProtos.GetSecretRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSecretMethod(), responseObserver);
}
/**
*
* Gets a bulk of secrets
*
*/
public void getBulkSecret(io.dapr.v1.DaprProtos.GetBulkSecretRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBulkSecretMethod(), responseObserver);
}
/**
*
* Register an actor timer.
*
*/
public void registerActorTimer(io.dapr.v1.DaprProtos.RegisterActorTimerRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRegisterActorTimerMethod(), responseObserver);
}
/**
*
* Unregister an actor timer.
*
*/
public void unregisterActorTimer(io.dapr.v1.DaprProtos.UnregisterActorTimerRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUnregisterActorTimerMethod(), responseObserver);
}
/**
*
* Register an actor reminder.
*
*/
public void registerActorReminder(io.dapr.v1.DaprProtos.RegisterActorReminderRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRegisterActorReminderMethod(), responseObserver);
}
/**
*
* Unregister an actor reminder.
*
*/
public void unregisterActorReminder(io.dapr.v1.DaprProtos.UnregisterActorReminderRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUnregisterActorReminderMethod(), responseObserver);
}
/**
*
* Rename an actor reminder.
*
*/
public void renameActorReminder(io.dapr.v1.DaprProtos.RenameActorReminderRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRenameActorReminderMethod(), responseObserver);
}
/**
*
* Gets the state for a specific actor.
*
*/
public void getActorState(io.dapr.v1.DaprProtos.GetActorStateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetActorStateMethod(), responseObserver);
}
/**
*
* Executes state transactions for a specified actor
*
*/
public void executeActorStateTransaction(io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExecuteActorStateTransactionMethod(), responseObserver);
}
/**
*
* InvokeActor calls a method on an actor.
*
*/
public void invokeActor(io.dapr.v1.DaprProtos.InvokeActorRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInvokeActorMethod(), responseObserver);
}
/**
*
* GetConfiguration gets configuration from configuration store.
*
*/
public void getConfigurationAlpha1(io.dapr.v1.DaprProtos.GetConfigurationRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetConfigurationAlpha1Method(), responseObserver);
}
/**
*
* SubscribeConfiguration gets configuration from configuration store and subscribe the updates event by grpc stream
*
*/
public void subscribeConfigurationAlpha1(io.dapr.v1.DaprProtos.SubscribeConfigurationRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSubscribeConfigurationAlpha1Method(), responseObserver);
}
/**
*
* UnSubscribeConfiguration unsubscribe the subscription of configuration
*
*/
public void unsubscribeConfigurationAlpha1(io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUnsubscribeConfigurationAlpha1Method(), responseObserver);
}
/**
*
* TryLockAlpha1 tries to get a lock with an expiry.
*
*/
public void tryLockAlpha1(io.dapr.v1.DaprProtos.TryLockRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTryLockAlpha1Method(), responseObserver);
}
/**
*
* UnlockAlpha1 unlocks a lock.
*
*/
public void unlockAlpha1(io.dapr.v1.DaprProtos.UnlockRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUnlockAlpha1Method(), responseObserver);
}
/**
*
* Gets metadata of the sidecar
*
*/
public void getMetadata(com.google.protobuf.Empty request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMetadataMethod(), responseObserver);
}
/**
*
* Sets value in extended metadata of the sidecar
*
*/
public void setMetadata(io.dapr.v1.DaprProtos.SetMetadataRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetMetadataMethod(), responseObserver);
}
/**
*
* Shutdown the sidecar
*
*/
public void shutdown(com.google.protobuf.Empty request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getShutdownMethod(), responseObserver);
}
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getInvokeServiceMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
io.dapr.v1.DaprProtos.InvokeServiceRequest,
io.dapr.v1.CommonProtos.InvokeResponse>(
this, METHODID_INVOKE_SERVICE)))
.addMethod(
getGetStateMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
io.dapr.v1.DaprProtos.GetStateRequest,
io.dapr.v1.DaprProtos.GetStateResponse>(
this, METHODID_GET_STATE)))
.addMethod(
getGetBulkStateMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
io.dapr.v1.DaprProtos.GetBulkStateRequest,
io.dapr.v1.DaprProtos.GetBulkStateResponse>(
this, METHODID_GET_BULK_STATE)))
.addMethod(
getSaveStateMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
io.dapr.v1.DaprProtos.SaveStateRequest,
com.google.protobuf.Empty>(
this, METHODID_SAVE_STATE)))
.addMethod(
getQueryStateAlpha1Method(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
io.dapr.v1.DaprProtos.QueryStateRequest,
io.dapr.v1.DaprProtos.QueryStateResponse>(
this, METHODID_QUERY_STATE_ALPHA1)))
.addMethod(
getDeleteStateMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
io.dapr.v1.DaprProtos.DeleteStateRequest,
com.google.protobuf.Empty>(
this, METHODID_DELETE_STATE)))
.addMethod(
getDeleteBulkStateMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
io.dapr.v1.DaprProtos.DeleteBulkStateRequest,
com.google.protobuf.Empty>(
this, METHODID_DELETE_BULK_STATE)))
.addMethod(
getExecuteStateTransactionMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest,
com.google.protobuf.Empty>(
this, METHODID_EXECUTE_STATE_TRANSACTION)))
.addMethod(
getPublishEventMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
io.dapr.v1.DaprProtos.PublishEventRequest,
com.google.protobuf.Empty>(
this, METHODID_PUBLISH_EVENT)))
.addMethod(
getInvokeBindingMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
io.dapr.v1.DaprProtos.InvokeBindingRequest,
io.dapr.v1.DaprProtos.InvokeBindingResponse>(
this, METHODID_INVOKE_BINDING)))
.addMethod(
getGetSecretMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
io.dapr.v1.DaprProtos.GetSecretRequest,
io.dapr.v1.DaprProtos.GetSecretResponse>(
this, METHODID_GET_SECRET)))
.addMethod(
getGetBulkSecretMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
io.dapr.v1.DaprProtos.GetBulkSecretRequest,
io.dapr.v1.DaprProtos.GetBulkSecretResponse>(
this, METHODID_GET_BULK_SECRET)))
.addMethod(
getRegisterActorTimerMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
io.dapr.v1.DaprProtos.RegisterActorTimerRequest,
com.google.protobuf.Empty>(
this, METHODID_REGISTER_ACTOR_TIMER)))
.addMethod(
getUnregisterActorTimerMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
io.dapr.v1.DaprProtos.UnregisterActorTimerRequest,
com.google.protobuf.Empty>(
this, METHODID_UNREGISTER_ACTOR_TIMER)))
.addMethod(
getRegisterActorReminderMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
io.dapr.v1.DaprProtos.RegisterActorReminderRequest,
com.google.protobuf.Empty>(
this, METHODID_REGISTER_ACTOR_REMINDER)))
.addMethod(
getUnregisterActorReminderMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
io.dapr.v1.DaprProtos.UnregisterActorReminderRequest,
com.google.protobuf.Empty>(
this, METHODID_UNREGISTER_ACTOR_REMINDER)))
.addMethod(
getRenameActorReminderMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
io.dapr.v1.DaprProtos.RenameActorReminderRequest,
com.google.protobuf.Empty>(
this, METHODID_RENAME_ACTOR_REMINDER)))
.addMethod(
getGetActorStateMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
io.dapr.v1.DaprProtos.GetActorStateRequest,
io.dapr.v1.DaprProtos.GetActorStateResponse>(
this, METHODID_GET_ACTOR_STATE)))
.addMethod(
getExecuteActorStateTransactionMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest,
com.google.protobuf.Empty>(
this, METHODID_EXECUTE_ACTOR_STATE_TRANSACTION)))
.addMethod(
getInvokeActorMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
io.dapr.v1.DaprProtos.InvokeActorRequest,
io.dapr.v1.DaprProtos.InvokeActorResponse>(
this, METHODID_INVOKE_ACTOR)))
.addMethod(
getGetConfigurationAlpha1Method(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
io.dapr.v1.DaprProtos.GetConfigurationRequest,
io.dapr.v1.DaprProtos.GetConfigurationResponse>(
this, METHODID_GET_CONFIGURATION_ALPHA1)))
.addMethod(
getSubscribeConfigurationAlpha1Method(),
io.grpc.stub.ServerCalls.asyncServerStreamingCall(
new MethodHandlers<
io.dapr.v1.DaprProtos.SubscribeConfigurationRequest,
io.dapr.v1.DaprProtos.SubscribeConfigurationResponse>(
this, METHODID_SUBSCRIBE_CONFIGURATION_ALPHA1)))
.addMethod(
getUnsubscribeConfigurationAlpha1Method(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest,
io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse>(
this, METHODID_UNSUBSCRIBE_CONFIGURATION_ALPHA1)))
.addMethod(
getTryLockAlpha1Method(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
io.dapr.v1.DaprProtos.TryLockRequest,
io.dapr.v1.DaprProtos.TryLockResponse>(
this, METHODID_TRY_LOCK_ALPHA1)))
.addMethod(
getUnlockAlpha1Method(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
io.dapr.v1.DaprProtos.UnlockRequest,
io.dapr.v1.DaprProtos.UnlockResponse>(
this, METHODID_UNLOCK_ALPHA1)))
.addMethod(
getGetMetadataMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.protobuf.Empty,
io.dapr.v1.DaprProtos.GetMetadataResponse>(
this, METHODID_GET_METADATA)))
.addMethod(
getSetMetadataMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
io.dapr.v1.DaprProtos.SetMetadataRequest,
com.google.protobuf.Empty>(
this, METHODID_SET_METADATA)))
.addMethod(
getShutdownMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.protobuf.Empty,
com.google.protobuf.Empty>(
this, METHODID_SHUTDOWN)))
.build();
}
}
/**
*
* Dapr service provides APIs to user application to access Dapr building blocks.
*
*/
public static final class DaprStub extends io.grpc.stub.AbstractAsyncStub {
private DaprStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected DaprStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new DaprStub(channel, callOptions);
}
/**
*
* Invokes a method on a remote Dapr app.
*
*/
public void invokeService(io.dapr.v1.DaprProtos.InvokeServiceRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getInvokeServiceMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Gets the state for a specific key.
*
*/
public void getState(io.dapr.v1.DaprProtos.GetStateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetStateMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Gets a bulk of state items for a list of keys
*
*/
public void getBulkState(io.dapr.v1.DaprProtos.GetBulkStateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetBulkStateMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Saves the state for a specific key.
*
*/
public void saveState(io.dapr.v1.DaprProtos.SaveStateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getSaveStateMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Queries the state.
*
*/
public void queryStateAlpha1(io.dapr.v1.DaprProtos.QueryStateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getQueryStateAlpha1Method(), getCallOptions()), request, responseObserver);
}
/**
*
* Deletes the state for a specific key.
*
*/
public void deleteState(io.dapr.v1.DaprProtos.DeleteStateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteStateMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Deletes a bulk of state items for a list of keys
*
*/
public void deleteBulkState(io.dapr.v1.DaprProtos.DeleteBulkStateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteBulkStateMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Executes transactions for a specified store
*
*/
public void executeStateTransaction(io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getExecuteStateTransactionMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Publishes events to the specific topic.
*
*/
public void publishEvent(io.dapr.v1.DaprProtos.PublishEventRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getPublishEventMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Invokes binding data to specific output bindings
*
*/
public void invokeBinding(io.dapr.v1.DaprProtos.InvokeBindingRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getInvokeBindingMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Gets secrets from secret stores.
*
*/
public void getSecret(io.dapr.v1.DaprProtos.GetSecretRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetSecretMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Gets a bulk of secrets
*
*/
public void getBulkSecret(io.dapr.v1.DaprProtos.GetBulkSecretRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetBulkSecretMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Register an actor timer.
*
*/
public void registerActorTimer(io.dapr.v1.DaprProtos.RegisterActorTimerRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRegisterActorTimerMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Unregister an actor timer.
*
*/
public void unregisterActorTimer(io.dapr.v1.DaprProtos.UnregisterActorTimerRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUnregisterActorTimerMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Register an actor reminder.
*
*/
public void registerActorReminder(io.dapr.v1.DaprProtos.RegisterActorReminderRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRegisterActorReminderMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Unregister an actor reminder.
*
*/
public void unregisterActorReminder(io.dapr.v1.DaprProtos.UnregisterActorReminderRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUnregisterActorReminderMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Rename an actor reminder.
*
*/
public void renameActorReminder(io.dapr.v1.DaprProtos.RenameActorReminderRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRenameActorReminderMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Gets the state for a specific actor.
*
*/
public void getActorState(io.dapr.v1.DaprProtos.GetActorStateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetActorStateMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Executes state transactions for a specified actor
*
*/
public void executeActorStateTransaction(io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getExecuteActorStateTransactionMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* InvokeActor calls a method on an actor.
*
*/
public void invokeActor(io.dapr.v1.DaprProtos.InvokeActorRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getInvokeActorMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* GetConfiguration gets configuration from configuration store.
*
*/
public void getConfigurationAlpha1(io.dapr.v1.DaprProtos.GetConfigurationRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetConfigurationAlpha1Method(), getCallOptions()), request, responseObserver);
}
/**
*
* SubscribeConfiguration gets configuration from configuration store and subscribe the updates event by grpc stream
*
*/
public void subscribeConfigurationAlpha1(io.dapr.v1.DaprProtos.SubscribeConfigurationRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncServerStreamingCall(
getChannel().newCall(getSubscribeConfigurationAlpha1Method(), getCallOptions()), request, responseObserver);
}
/**
*
* UnSubscribeConfiguration unsubscribe the subscription of configuration
*
*/
public void unsubscribeConfigurationAlpha1(io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUnsubscribeConfigurationAlpha1Method(), getCallOptions()), request, responseObserver);
}
/**
*
* TryLockAlpha1 tries to get a lock with an expiry.
*
*/
public void tryLockAlpha1(io.dapr.v1.DaprProtos.TryLockRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getTryLockAlpha1Method(), getCallOptions()), request, responseObserver);
}
/**
*
* UnlockAlpha1 unlocks a lock.
*
*/
public void unlockAlpha1(io.dapr.v1.DaprProtos.UnlockRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUnlockAlpha1Method(), getCallOptions()), request, responseObserver);
}
/**
*
* Gets metadata of the sidecar
*
*/
public void getMetadata(com.google.protobuf.Empty request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetMetadataMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Sets value in extended metadata of the sidecar
*
*/
public void setMetadata(io.dapr.v1.DaprProtos.SetMetadataRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getSetMetadataMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Shutdown the sidecar
*
*/
public void shutdown(com.google.protobuf.Empty request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getShutdownMethod(), getCallOptions()), request, responseObserver);
}
}
/**
*
* Dapr service provides APIs to user application to access Dapr building blocks.
*
*/
public static final class DaprBlockingStub extends io.grpc.stub.AbstractBlockingStub {
private DaprBlockingStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected DaprBlockingStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new DaprBlockingStub(channel, callOptions);
}
/**
*
* Invokes a method on a remote Dapr app.
*
*/
public io.dapr.v1.CommonProtos.InvokeResponse invokeService(io.dapr.v1.DaprProtos.InvokeServiceRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getInvokeServiceMethod(), getCallOptions(), request);
}
/**
*
* Gets the state for a specific key.
*
*/
public io.dapr.v1.DaprProtos.GetStateResponse getState(io.dapr.v1.DaprProtos.GetStateRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetStateMethod(), getCallOptions(), request);
}
/**
*
* Gets a bulk of state items for a list of keys
*
*/
public io.dapr.v1.DaprProtos.GetBulkStateResponse getBulkState(io.dapr.v1.DaprProtos.GetBulkStateRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetBulkStateMethod(), getCallOptions(), request);
}
/**
*
* Saves the state for a specific key.
*
*/
public com.google.protobuf.Empty saveState(io.dapr.v1.DaprProtos.SaveStateRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getSaveStateMethod(), getCallOptions(), request);
}
/**
*
* Queries the state.
*
*/
public io.dapr.v1.DaprProtos.QueryStateResponse queryStateAlpha1(io.dapr.v1.DaprProtos.QueryStateRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getQueryStateAlpha1Method(), getCallOptions(), request);
}
/**
*
* Deletes the state for a specific key.
*
*/
public com.google.protobuf.Empty deleteState(io.dapr.v1.DaprProtos.DeleteStateRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteStateMethod(), getCallOptions(), request);
}
/**
*
* Deletes a bulk of state items for a list of keys
*
*/
public com.google.protobuf.Empty deleteBulkState(io.dapr.v1.DaprProtos.DeleteBulkStateRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteBulkStateMethod(), getCallOptions(), request);
}
/**
*
* Executes transactions for a specified store
*
*/
public com.google.protobuf.Empty executeStateTransaction(io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getExecuteStateTransactionMethod(), getCallOptions(), request);
}
/**
*
* Publishes events to the specific topic.
*
*/
public com.google.protobuf.Empty publishEvent(io.dapr.v1.DaprProtos.PublishEventRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getPublishEventMethod(), getCallOptions(), request);
}
/**
*
* Invokes binding data to specific output bindings
*
*/
public io.dapr.v1.DaprProtos.InvokeBindingResponse invokeBinding(io.dapr.v1.DaprProtos.InvokeBindingRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getInvokeBindingMethod(), getCallOptions(), request);
}
/**
*
* Gets secrets from secret stores.
*
*/
public io.dapr.v1.DaprProtos.GetSecretResponse getSecret(io.dapr.v1.DaprProtos.GetSecretRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetSecretMethod(), getCallOptions(), request);
}
/**
*
* Gets a bulk of secrets
*
*/
public io.dapr.v1.DaprProtos.GetBulkSecretResponse getBulkSecret(io.dapr.v1.DaprProtos.GetBulkSecretRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetBulkSecretMethod(), getCallOptions(), request);
}
/**
*
* Register an actor timer.
*
*/
public com.google.protobuf.Empty registerActorTimer(io.dapr.v1.DaprProtos.RegisterActorTimerRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRegisterActorTimerMethod(), getCallOptions(), request);
}
/**
*
* Unregister an actor timer.
*
*/
public com.google.protobuf.Empty unregisterActorTimer(io.dapr.v1.DaprProtos.UnregisterActorTimerRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUnregisterActorTimerMethod(), getCallOptions(), request);
}
/**
*
* Register an actor reminder.
*
*/
public com.google.protobuf.Empty registerActorReminder(io.dapr.v1.DaprProtos.RegisterActorReminderRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRegisterActorReminderMethod(), getCallOptions(), request);
}
/**
*
* Unregister an actor reminder.
*
*/
public com.google.protobuf.Empty unregisterActorReminder(io.dapr.v1.DaprProtos.UnregisterActorReminderRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUnregisterActorReminderMethod(), getCallOptions(), request);
}
/**
*
* Rename an actor reminder.
*
*/
public com.google.protobuf.Empty renameActorReminder(io.dapr.v1.DaprProtos.RenameActorReminderRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRenameActorReminderMethod(), getCallOptions(), request);
}
/**
*
* Gets the state for a specific actor.
*
*/
public io.dapr.v1.DaprProtos.GetActorStateResponse getActorState(io.dapr.v1.DaprProtos.GetActorStateRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetActorStateMethod(), getCallOptions(), request);
}
/**
*
* Executes state transactions for a specified actor
*
*/
public com.google.protobuf.Empty executeActorStateTransaction(io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getExecuteActorStateTransactionMethod(), getCallOptions(), request);
}
/**
*
* InvokeActor calls a method on an actor.
*
*/
public io.dapr.v1.DaprProtos.InvokeActorResponse invokeActor(io.dapr.v1.DaprProtos.InvokeActorRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getInvokeActorMethod(), getCallOptions(), request);
}
/**
*
* GetConfiguration gets configuration from configuration store.
*
*/
public io.dapr.v1.DaprProtos.GetConfigurationResponse getConfigurationAlpha1(io.dapr.v1.DaprProtos.GetConfigurationRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetConfigurationAlpha1Method(), getCallOptions(), request);
}
/**
*
* SubscribeConfiguration gets configuration from configuration store and subscribe the updates event by grpc stream
*
*/
public java.util.Iterator subscribeConfigurationAlpha1(
io.dapr.v1.DaprProtos.SubscribeConfigurationRequest request) {
return io.grpc.stub.ClientCalls.blockingServerStreamingCall(
getChannel(), getSubscribeConfigurationAlpha1Method(), getCallOptions(), request);
}
/**
*
* UnSubscribeConfiguration unsubscribe the subscription of configuration
*
*/
public io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse unsubscribeConfigurationAlpha1(io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUnsubscribeConfigurationAlpha1Method(), getCallOptions(), request);
}
/**
*
* TryLockAlpha1 tries to get a lock with an expiry.
*
*/
public io.dapr.v1.DaprProtos.TryLockResponse tryLockAlpha1(io.dapr.v1.DaprProtos.TryLockRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getTryLockAlpha1Method(), getCallOptions(), request);
}
/**
*
* UnlockAlpha1 unlocks a lock.
*
*/
public io.dapr.v1.DaprProtos.UnlockResponse unlockAlpha1(io.dapr.v1.DaprProtos.UnlockRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUnlockAlpha1Method(), getCallOptions(), request);
}
/**
*
* Gets metadata of the sidecar
*
*/
public io.dapr.v1.DaprProtos.GetMetadataResponse getMetadata(com.google.protobuf.Empty request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetMetadataMethod(), getCallOptions(), request);
}
/**
*
* Sets value in extended metadata of the sidecar
*
*/
public com.google.protobuf.Empty setMetadata(io.dapr.v1.DaprProtos.SetMetadataRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getSetMetadataMethod(), getCallOptions(), request);
}
/**
*
* Shutdown the sidecar
*
*/
public com.google.protobuf.Empty shutdown(com.google.protobuf.Empty request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getShutdownMethod(), getCallOptions(), request);
}
}
/**
*
* Dapr service provides APIs to user application to access Dapr building blocks.
*
*/
public static final class DaprFutureStub extends io.grpc.stub.AbstractFutureStub {
private DaprFutureStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected DaprFutureStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new DaprFutureStub(channel, callOptions);
}
/**
*
* Invokes a method on a remote Dapr app.
*
*/
public com.google.common.util.concurrent.ListenableFuture invokeService(
io.dapr.v1.DaprProtos.InvokeServiceRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getInvokeServiceMethod(), getCallOptions()), request);
}
/**
*
* Gets the state for a specific key.
*
*/
public com.google.common.util.concurrent.ListenableFuture getState(
io.dapr.v1.DaprProtos.GetStateRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetStateMethod(), getCallOptions()), request);
}
/**
*
* Gets a bulk of state items for a list of keys
*
*/
public com.google.common.util.concurrent.ListenableFuture getBulkState(
io.dapr.v1.DaprProtos.GetBulkStateRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetBulkStateMethod(), getCallOptions()), request);
}
/**
*
* Saves the state for a specific key.
*
*/
public com.google.common.util.concurrent.ListenableFuture saveState(
io.dapr.v1.DaprProtos.SaveStateRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getSaveStateMethod(), getCallOptions()), request);
}
/**
*
* Queries the state.
*
*/
public com.google.common.util.concurrent.ListenableFuture queryStateAlpha1(
io.dapr.v1.DaprProtos.QueryStateRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getQueryStateAlpha1Method(), getCallOptions()), request);
}
/**
*
* Deletes the state for a specific key.
*
*/
public com.google.common.util.concurrent.ListenableFuture deleteState(
io.dapr.v1.DaprProtos.DeleteStateRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteStateMethod(), getCallOptions()), request);
}
/**
*
* Deletes a bulk of state items for a list of keys
*
*/
public com.google.common.util.concurrent.ListenableFuture deleteBulkState(
io.dapr.v1.DaprProtos.DeleteBulkStateRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteBulkStateMethod(), getCallOptions()), request);
}
/**
*
* Executes transactions for a specified store
*
*/
public com.google.common.util.concurrent.ListenableFuture executeStateTransaction(
io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getExecuteStateTransactionMethod(), getCallOptions()), request);
}
/**
*
* Publishes events to the specific topic.
*
*/
public com.google.common.util.concurrent.ListenableFuture publishEvent(
io.dapr.v1.DaprProtos.PublishEventRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getPublishEventMethod(), getCallOptions()), request);
}
/**
*
* Invokes binding data to specific output bindings
*
*/
public com.google.common.util.concurrent.ListenableFuture invokeBinding(
io.dapr.v1.DaprProtos.InvokeBindingRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getInvokeBindingMethod(), getCallOptions()), request);
}
/**
*
* Gets secrets from secret stores.
*
*/
public com.google.common.util.concurrent.ListenableFuture getSecret(
io.dapr.v1.DaprProtos.GetSecretRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetSecretMethod(), getCallOptions()), request);
}
/**
*
* Gets a bulk of secrets
*
*/
public com.google.common.util.concurrent.ListenableFuture getBulkSecret(
io.dapr.v1.DaprProtos.GetBulkSecretRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetBulkSecretMethod(), getCallOptions()), request);
}
/**
*
* Register an actor timer.
*
*/
public com.google.common.util.concurrent.ListenableFuture registerActorTimer(
io.dapr.v1.DaprProtos.RegisterActorTimerRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRegisterActorTimerMethod(), getCallOptions()), request);
}
/**
*
* Unregister an actor timer.
*
*/
public com.google.common.util.concurrent.ListenableFuture unregisterActorTimer(
io.dapr.v1.DaprProtos.UnregisterActorTimerRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUnregisterActorTimerMethod(), getCallOptions()), request);
}
/**
*
* Register an actor reminder.
*
*/
public com.google.common.util.concurrent.ListenableFuture registerActorReminder(
io.dapr.v1.DaprProtos.RegisterActorReminderRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRegisterActorReminderMethod(), getCallOptions()), request);
}
/**
*
* Unregister an actor reminder.
*
*/
public com.google.common.util.concurrent.ListenableFuture unregisterActorReminder(
io.dapr.v1.DaprProtos.UnregisterActorReminderRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUnregisterActorReminderMethod(), getCallOptions()), request);
}
/**
*
* Rename an actor reminder.
*
*/
public com.google.common.util.concurrent.ListenableFuture renameActorReminder(
io.dapr.v1.DaprProtos.RenameActorReminderRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRenameActorReminderMethod(), getCallOptions()), request);
}
/**
*
* Gets the state for a specific actor.
*
*/
public com.google.common.util.concurrent.ListenableFuture getActorState(
io.dapr.v1.DaprProtos.GetActorStateRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetActorStateMethod(), getCallOptions()), request);
}
/**
*
* Executes state transactions for a specified actor
*
*/
public com.google.common.util.concurrent.ListenableFuture executeActorStateTransaction(
io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getExecuteActorStateTransactionMethod(), getCallOptions()), request);
}
/**
*
* InvokeActor calls a method on an actor.
*
*/
public com.google.common.util.concurrent.ListenableFuture invokeActor(
io.dapr.v1.DaprProtos.InvokeActorRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getInvokeActorMethod(), getCallOptions()), request);
}
/**
*
* GetConfiguration gets configuration from configuration store.
*
*/
public com.google.common.util.concurrent.ListenableFuture getConfigurationAlpha1(
io.dapr.v1.DaprProtos.GetConfigurationRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetConfigurationAlpha1Method(), getCallOptions()), request);
}
/**
*
* UnSubscribeConfiguration unsubscribe the subscription of configuration
*
*/
public com.google.common.util.concurrent.ListenableFuture unsubscribeConfigurationAlpha1(
io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUnsubscribeConfigurationAlpha1Method(), getCallOptions()), request);
}
/**
*
* TryLockAlpha1 tries to get a lock with an expiry.
*
*/
public com.google.common.util.concurrent.ListenableFuture tryLockAlpha1(
io.dapr.v1.DaprProtos.TryLockRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getTryLockAlpha1Method(), getCallOptions()), request);
}
/**
*
* UnlockAlpha1 unlocks a lock.
*
*/
public com.google.common.util.concurrent.ListenableFuture unlockAlpha1(
io.dapr.v1.DaprProtos.UnlockRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUnlockAlpha1Method(), getCallOptions()), request);
}
/**
*
* Gets metadata of the sidecar
*
*/
public com.google.common.util.concurrent.ListenableFuture getMetadata(
com.google.protobuf.Empty request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetMetadataMethod(), getCallOptions()), request);
}
/**
*
* Sets value in extended metadata of the sidecar
*
*/
public com.google.common.util.concurrent.ListenableFuture setMetadata(
io.dapr.v1.DaprProtos.SetMetadataRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getSetMetadataMethod(), getCallOptions()), request);
}
/**
*
* Shutdown the sidecar
*
*/
public com.google.common.util.concurrent.ListenableFuture shutdown(
com.google.protobuf.Empty request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getShutdownMethod(), getCallOptions()), request);
}
}
private static final int METHODID_INVOKE_SERVICE = 0;
private static final int METHODID_GET_STATE = 1;
private static final int METHODID_GET_BULK_STATE = 2;
private static final int METHODID_SAVE_STATE = 3;
private static final int METHODID_QUERY_STATE_ALPHA1 = 4;
private static final int METHODID_DELETE_STATE = 5;
private static final int METHODID_DELETE_BULK_STATE = 6;
private static final int METHODID_EXECUTE_STATE_TRANSACTION = 7;
private static final int METHODID_PUBLISH_EVENT = 8;
private static final int METHODID_INVOKE_BINDING = 9;
private static final int METHODID_GET_SECRET = 10;
private static final int METHODID_GET_BULK_SECRET = 11;
private static final int METHODID_REGISTER_ACTOR_TIMER = 12;
private static final int METHODID_UNREGISTER_ACTOR_TIMER = 13;
private static final int METHODID_REGISTER_ACTOR_REMINDER = 14;
private static final int METHODID_UNREGISTER_ACTOR_REMINDER = 15;
private static final int METHODID_RENAME_ACTOR_REMINDER = 16;
private static final int METHODID_GET_ACTOR_STATE = 17;
private static final int METHODID_EXECUTE_ACTOR_STATE_TRANSACTION = 18;
private static final int METHODID_INVOKE_ACTOR = 19;
private static final int METHODID_GET_CONFIGURATION_ALPHA1 = 20;
private static final int METHODID_SUBSCRIBE_CONFIGURATION_ALPHA1 = 21;
private static final int METHODID_UNSUBSCRIBE_CONFIGURATION_ALPHA1 = 22;
private static final int METHODID_TRY_LOCK_ALPHA1 = 23;
private static final int METHODID_UNLOCK_ALPHA1 = 24;
private static final int METHODID_GET_METADATA = 25;
private static final int METHODID_SET_METADATA = 26;
private static final int METHODID_SHUTDOWN = 27;
private static final class MethodHandlers implements
io.grpc.stub.ServerCalls.UnaryMethod,
io.grpc.stub.ServerCalls.ServerStreamingMethod,
io.grpc.stub.ServerCalls.ClientStreamingMethod,
io.grpc.stub.ServerCalls.BidiStreamingMethod {
private final DaprImplBase serviceImpl;
private final int methodId;
MethodHandlers(DaprImplBase serviceImpl, int methodId) {
this.serviceImpl = serviceImpl;
this.methodId = methodId;
}
@java.lang.Override
@java.lang.SuppressWarnings("unchecked")
public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
switch (methodId) {
case METHODID_INVOKE_SERVICE:
serviceImpl.invokeService((io.dapr.v1.DaprProtos.InvokeServiceRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_STATE:
serviceImpl.getState((io.dapr.v1.DaprProtos.GetStateRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_BULK_STATE:
serviceImpl.getBulkState((io.dapr.v1.DaprProtos.GetBulkStateRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_SAVE_STATE:
serviceImpl.saveState((io.dapr.v1.DaprProtos.SaveStateRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_QUERY_STATE_ALPHA1:
serviceImpl.queryStateAlpha1((io.dapr.v1.DaprProtos.QueryStateRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_DELETE_STATE:
serviceImpl.deleteState((io.dapr.v1.DaprProtos.DeleteStateRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_DELETE_BULK_STATE:
serviceImpl.deleteBulkState((io.dapr.v1.DaprProtos.DeleteBulkStateRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_EXECUTE_STATE_TRANSACTION:
serviceImpl.executeStateTransaction((io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_PUBLISH_EVENT:
serviceImpl.publishEvent((io.dapr.v1.DaprProtos.PublishEventRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_INVOKE_BINDING:
serviceImpl.invokeBinding((io.dapr.v1.DaprProtos.InvokeBindingRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_SECRET:
serviceImpl.getSecret((io.dapr.v1.DaprProtos.GetSecretRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_BULK_SECRET:
serviceImpl.getBulkSecret((io.dapr.v1.DaprProtos.GetBulkSecretRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_REGISTER_ACTOR_TIMER:
serviceImpl.registerActorTimer((io.dapr.v1.DaprProtos.RegisterActorTimerRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_UNREGISTER_ACTOR_TIMER:
serviceImpl.unregisterActorTimer((io.dapr.v1.DaprProtos.UnregisterActorTimerRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_REGISTER_ACTOR_REMINDER:
serviceImpl.registerActorReminder((io.dapr.v1.DaprProtos.RegisterActorReminderRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_UNREGISTER_ACTOR_REMINDER:
serviceImpl.unregisterActorReminder((io.dapr.v1.DaprProtos.UnregisterActorReminderRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_RENAME_ACTOR_REMINDER:
serviceImpl.renameActorReminder((io.dapr.v1.DaprProtos.RenameActorReminderRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_ACTOR_STATE:
serviceImpl.getActorState((io.dapr.v1.DaprProtos.GetActorStateRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_EXECUTE_ACTOR_STATE_TRANSACTION:
serviceImpl.executeActorStateTransaction((io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_INVOKE_ACTOR:
serviceImpl.invokeActor((io.dapr.v1.DaprProtos.InvokeActorRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_CONFIGURATION_ALPHA1:
serviceImpl.getConfigurationAlpha1((io.dapr.v1.DaprProtos.GetConfigurationRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_SUBSCRIBE_CONFIGURATION_ALPHA1:
serviceImpl.subscribeConfigurationAlpha1((io.dapr.v1.DaprProtos.SubscribeConfigurationRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_UNSUBSCRIBE_CONFIGURATION_ALPHA1:
serviceImpl.unsubscribeConfigurationAlpha1((io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_TRY_LOCK_ALPHA1:
serviceImpl.tryLockAlpha1((io.dapr.v1.DaprProtos.TryLockRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_UNLOCK_ALPHA1:
serviceImpl.unlockAlpha1((io.dapr.v1.DaprProtos.UnlockRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_METADATA:
serviceImpl.getMetadata((com.google.protobuf.Empty) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_SET_METADATA:
serviceImpl.setMetadata((io.dapr.v1.DaprProtos.SetMetadataRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_SHUTDOWN:
serviceImpl.shutdown((com.google.protobuf.Empty) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
default:
throw new AssertionError();
}
}
@java.lang.Override
@java.lang.SuppressWarnings("unchecked")
public io.grpc.stub.StreamObserver invoke(
io.grpc.stub.StreamObserver responseObserver) {
switch (methodId) {
default:
throw new AssertionError();
}
}
}
private static abstract class DaprBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
DaprBaseDescriptorSupplier() {}
@java.lang.Override
public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
return io.dapr.v1.DaprProtos.getDescriptor();
}
@java.lang.Override
public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
return getFileDescriptor().findServiceByName("Dapr");
}
}
private static final class DaprFileDescriptorSupplier
extends DaprBaseDescriptorSupplier {
DaprFileDescriptorSupplier() {}
}
private static final class DaprMethodDescriptorSupplier
extends DaprBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
DaprMethodDescriptorSupplier(String methodName) {
this.methodName = methodName;
}
@java.lang.Override
public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() {
return getServiceDescriptor().findMethodByName(methodName);
}
}
private static volatile io.grpc.ServiceDescriptor serviceDescriptor;
public static io.grpc.ServiceDescriptor getServiceDescriptor() {
io.grpc.ServiceDescriptor result = serviceDescriptor;
if (result == null) {
synchronized (DaprGrpc.class) {
result = serviceDescriptor;
if (result == null) {
serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
.setSchemaDescriptor(new DaprFileDescriptorSupplier())
.addMethod(getInvokeServiceMethod())
.addMethod(getGetStateMethod())
.addMethod(getGetBulkStateMethod())
.addMethod(getSaveStateMethod())
.addMethod(getQueryStateAlpha1Method())
.addMethod(getDeleteStateMethod())
.addMethod(getDeleteBulkStateMethod())
.addMethod(getExecuteStateTransactionMethod())
.addMethod(getPublishEventMethod())
.addMethod(getInvokeBindingMethod())
.addMethod(getGetSecretMethod())
.addMethod(getGetBulkSecretMethod())
.addMethod(getRegisterActorTimerMethod())
.addMethod(getUnregisterActorTimerMethod())
.addMethod(getRegisterActorReminderMethod())
.addMethod(getUnregisterActorReminderMethod())
.addMethod(getRenameActorReminderMethod())
.addMethod(getGetActorStateMethod())
.addMethod(getExecuteActorStateTransactionMethod())
.addMethod(getInvokeActorMethod())
.addMethod(getGetConfigurationAlpha1Method())
.addMethod(getSubscribeConfigurationAlpha1Method())
.addMethod(getUnsubscribeConfigurationAlpha1Method())
.addMethod(getTryLockAlpha1Method())
.addMethod(getUnlockAlpha1Method())
.addMethod(getGetMetadataMethod())
.addMethod(getSetMetadataMethod())
.addMethod(getShutdownMethod())
.build();
}
}
}
return result;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy