From a152d10af5ca8c18e536f7298e75e3e7714ccf1e Mon Sep 17 00:00:00 2001 From: Bernd Verst <4535280+berndverst@users.noreply.github.com> Date: Sat, 15 Jan 2022 02:58:36 +0000 Subject: [PATCH] Updating to dapr runtime v1.6.0-rc.2 Signed-off-by: GitHub --- dapr/proto/runtime/v1/dapr.proto | 45 +- .../proto/runtime/v1/appcallback.grpc.pb.h | 14 +- src/dapr/proto/runtime/v1/dapr.grpc.pb.cc | 60 +- src/dapr/proto/runtime/v1/dapr.grpc.pb.h | 218 ++++-- src/dapr/proto/runtime/v1/dapr.pb.cc | 709 ++++++++++++++---- src/dapr/proto/runtime/v1/dapr.pb.h | 408 +++++++++- 6 files changed, 1227 insertions(+), 227 deletions(-) diff --git a/dapr/proto/runtime/v1/dapr.proto b/dapr/proto/runtime/v1/dapr.proto index 14bf6a9..8ff0c33 100644 --- a/dapr/proto/runtime/v1/dapr.proto +++ b/dapr/proto/runtime/v1/dapr.proto @@ -74,6 +74,9 @@ service Dapr { // Unregister an actor reminder. rpc UnregisterActorReminder(UnregisterActorReminderRequest) returns (google.protobuf.Empty) {} + // Rename an actor reminder. + rpc RenameActorReminder(RenameActorReminderRequest) returns (google.protobuf.Empty) {} + // Gets the state for a specific actor. rpc GetActorState(GetActorStateRequest) returns (GetActorStateResponse) {} @@ -120,7 +123,7 @@ message GetStateRequest { common.v1.StateOptions.StateConsistency consistency = 3; // The metadata which will be sent to state store components. - map metadata = 4; + map metadata = 4; } // GetBulkStateRequest is the message to get a list of key-value states from specific state store. @@ -135,7 +138,7 @@ message GetBulkStateRequest { int32 parallelism = 3; // The metadata which will be sent to state store components. - map metadata = 4; + map metadata = 4; } // GetBulkStateResponse is the response conveying the list of state values. @@ -161,7 +164,7 @@ message BulkStateItem { string error = 4; // The metadata which will be sent to app. - map metadata = 5; + map metadata = 5; } // GetStateResponse is the response conveying the state value and etag. @@ -174,7 +177,7 @@ message GetStateResponse { string etag = 2; // The metadata which will be sent to app. - map metadata = 3; + map metadata = 3; } // DeleteStateRequest is the message to delete key-value states in the specific state store. @@ -194,7 +197,7 @@ message DeleteStateRequest { common.v1.StateOptions options = 4; // The metadata which will be sent to state store components. - map metadata = 5; + map metadata = 5; } // DeleteBulkStateRequest is the message to delete a list of key-value states from specific state store. @@ -224,7 +227,7 @@ message QueryStateRequest { string query = 2; // The metadata which will be sent to state store components. - map metadata = 3; + map metadata = 3; } message QueryStateItem { @@ -251,7 +254,7 @@ message QueryStateResponse { string token = 2; // The metadata which will be sent to app. - map metadata = 3; + map metadata = 3; } // PublishEventRequest is the message to publish event data to pubsub topic @@ -272,7 +275,7 @@ message PublishEventRequest { // // metadata property: // - key : the key of the message. - map metadata = 5; + map metadata = 5; } // InvokeBindingRequest is the message to send data to output bindings @@ -290,7 +293,7 @@ message InvokeBindingRequest { // If set in the binding definition will cause all messages to // have a default time to live. The message ttl overrides any value // in the binding definition. - map metadata = 3; + map metadata = 3; // The name of the operation type for the binding to invoke string operation = 4; @@ -302,7 +305,7 @@ message InvokeBindingResponse { bytes data = 1; // The metadata returned from an external system - map metadata = 2; + map metadata = 2; } // GetSecretRequest is the message to get secret from secret store. @@ -314,7 +317,7 @@ message GetSecretRequest { string key = 2; // The metadata which will be sent to secret store components. - map metadata = 3; + map metadata = 3; } // GetSecretResponse is the response message to convey the requested secret. @@ -330,7 +333,7 @@ message GetBulkSecretRequest { string store_name = 1; // The metadata which will be sent to secret store components. - map metadata = 2; + map metadata = 2; } // SecretResponse is a map of decrypted string/string values @@ -363,7 +366,7 @@ message ExecuteStateTransactionRequest { repeated TransactionalStateOperation operations = 2; // The metadata used for transactional operations. - map metadata = 3; + map metadata = 3; } // RegisterActorTimerRequest is the message to register a timer for an actor of a given type and id. @@ -403,6 +406,14 @@ message UnregisterActorReminderRequest { string name = 3; } +// RenameActorReminderRequest is the message to rename an actor reminder. +message RenameActorReminderRequest { + string actor_type = 1; + string actor_id = 2; + string old_name = 3; + string new_name = 4; +} + // GetActorStateRequest is the message to get key-value states from specific actor. message GetActorStateRequest { string actor_type = 1; @@ -422,7 +433,7 @@ message ExecuteActorStateTransactionRequest { repeated TransactionalActorStateOperation operations = 3; } -// TransactionalAcorStateOperation is the message to execute a specified operation with a key-value pair. +// TransactionalActorStateOperation is the message to execute a specified operation with a key-value pair. message TransactionalActorStateOperation { string operationType = 1; string key = 2; @@ -447,7 +458,7 @@ message GetMetadataResponse { string id = 1; repeated ActiveActorsCount active_actors_count = 2; repeated RegisteredComponents registered_components = 3; - map extended_metadata = 4; + map extended_metadata = 4; } message ActiveActorsCount { @@ -477,7 +488,7 @@ message GetConfigurationRequest { repeated string keys = 2; // Optional. The metadata which will be sent to configuration store components. - map metadata = 3; + map metadata = 3; } // GetConfigurationResponse is the response conveying the list of configuration values. @@ -497,7 +508,7 @@ message SubscribeConfigurationRequest { repeated string keys = 2; // The metadata which will be sent to configuration store components. - map metadata = 3; + map metadata = 3; } message SubscribeConfigurationResponse { diff --git a/src/dapr/proto/runtime/v1/appcallback.grpc.pb.h b/src/dapr/proto/runtime/v1/appcallback.grpc.pb.h index 01342f1..672a8c8 100644 --- a/src/dapr/proto/runtime/v1/appcallback.grpc.pb.h +++ b/src/dapr/proto/runtime/v1/appcallback.grpc.pb.h @@ -1,7 +1,19 @@ // Generated by the gRPC C++ plugin. // If you make any local change, they will be lost. // source: dapr/proto/runtime/v1/appcallback.proto - +// Original file comments: +// +// Copyright 2021 The Dapr Authors +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// #ifndef GRPC_dapr_2fproto_2fruntime_2fv1_2fappcallback_2eproto__INCLUDED #define GRPC_dapr_2fproto_2fruntime_2fv1_2fappcallback_2eproto__INCLUDED diff --git a/src/dapr/proto/runtime/v1/dapr.grpc.pb.cc b/src/dapr/proto/runtime/v1/dapr.grpc.pb.cc index f2d6feb..0441a04 100644 --- a/src/dapr/proto/runtime/v1/dapr.grpc.pb.cc +++ b/src/dapr/proto/runtime/v1/dapr.grpc.pb.cc @@ -37,6 +37,7 @@ static const char* Dapr_method_names[] = { "/dapr.proto.runtime.v1.Dapr/UnregisterActorTimer", "/dapr.proto.runtime.v1.Dapr/RegisterActorReminder", "/dapr.proto.runtime.v1.Dapr/UnregisterActorReminder", + "/dapr.proto.runtime.v1.Dapr/RenameActorReminder", "/dapr.proto.runtime.v1.Dapr/GetActorState", "/dapr.proto.runtime.v1.Dapr/ExecuteActorStateTransaction", "/dapr.proto.runtime.v1.Dapr/InvokeActor", @@ -70,14 +71,15 @@ Dapr::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel) , rpcmethod_UnregisterActorTimer_(Dapr_method_names[13], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_RegisterActorReminder_(Dapr_method_names[14], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_UnregisterActorReminder_(Dapr_method_names[15], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetActorState_(Dapr_method_names[16], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ExecuteActorStateTransaction_(Dapr_method_names[17], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_InvokeActor_(Dapr_method_names[18], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetConfigurationAlpha1_(Dapr_method_names[19], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_SubscribeConfigurationAlpha1_(Dapr_method_names[20], ::grpc::internal::RpcMethod::SERVER_STREAMING, channel) - , rpcmethod_GetMetadata_(Dapr_method_names[21], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_SetMetadata_(Dapr_method_names[22], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_Shutdown_(Dapr_method_names[23], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_RenameActorReminder_(Dapr_method_names[16], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetActorState_(Dapr_method_names[17], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ExecuteActorStateTransaction_(Dapr_method_names[18], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_InvokeActor_(Dapr_method_names[19], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetConfigurationAlpha1_(Dapr_method_names[20], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_SubscribeConfigurationAlpha1_(Dapr_method_names[21], ::grpc::internal::RpcMethod::SERVER_STREAMING, channel) + , rpcmethod_GetMetadata_(Dapr_method_names[22], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_SetMetadata_(Dapr_method_names[23], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_Shutdown_(Dapr_method_names[24], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) {} ::grpc::Status Dapr::Stub::InvokeService(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::InvokeServiceRequest& request, ::dapr::proto::common::v1::InvokeResponse* response) { @@ -336,6 +338,22 @@ ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* Dapr::Stub::Prepa return ::grpc::internal::ClientAsyncResponseReaderFactory< ::google::protobuf::Empty>::Create(channel_.get(), cq, rpcmethod_UnregisterActorReminder_, context, request, false); } +::grpc::Status Dapr::Stub::RenameActorReminder(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::RenameActorReminderRequest& request, ::google::protobuf::Empty* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_RenameActorReminder_, context, request, response); +} + +void Dapr::Stub::experimental_async::RenameActorReminder(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::RenameActorReminderRequest* request, ::google::protobuf::Empty* response, std::function f) { + return ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_RenameActorReminder_, context, request, response, std::move(f)); +} + +::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* Dapr::Stub::AsyncRenameActorReminderRaw(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::RenameActorReminderRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::google::protobuf::Empty>::Create(channel_.get(), cq, rpcmethod_RenameActorReminder_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* Dapr::Stub::PrepareAsyncRenameActorReminderRaw(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::RenameActorReminderRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::google::protobuf::Empty>::Create(channel_.get(), cq, rpcmethod_RenameActorReminder_, context, request, false); +} + ::grpc::Status Dapr::Stub::GetActorState(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::GetActorStateRequest& request, ::dapr::proto::runtime::v1::GetActorStateResponse* response) { return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetActorState_, context, request, response); } @@ -544,40 +562,45 @@ Dapr::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( Dapr_method_names[16], ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< Dapr::Service, ::dapr::proto::runtime::v1::RenameActorReminderRequest, ::google::protobuf::Empty>( + std::mem_fn(&Dapr::Service::RenameActorReminder), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + Dapr_method_names[17], + ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Dapr::Service, ::dapr::proto::runtime::v1::GetActorStateRequest, ::dapr::proto::runtime::v1::GetActorStateResponse>( std::mem_fn(&Dapr::Service::GetActorState), this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Dapr_method_names[17], + Dapr_method_names[18], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Dapr::Service, ::dapr::proto::runtime::v1::ExecuteActorStateTransactionRequest, ::google::protobuf::Empty>( std::mem_fn(&Dapr::Service::ExecuteActorStateTransaction), this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Dapr_method_names[18], + Dapr_method_names[19], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Dapr::Service, ::dapr::proto::runtime::v1::InvokeActorRequest, ::dapr::proto::runtime::v1::InvokeActorResponse>( std::mem_fn(&Dapr::Service::InvokeActor), this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Dapr_method_names[19], + Dapr_method_names[20], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Dapr::Service, ::dapr::proto::runtime::v1::GetConfigurationRequest, ::dapr::proto::runtime::v1::GetConfigurationResponse>( std::mem_fn(&Dapr::Service::GetConfigurationAlpha1), this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Dapr_method_names[20], + Dapr_method_names[21], ::grpc::internal::RpcMethod::SERVER_STREAMING, new ::grpc::internal::ServerStreamingHandler< Dapr::Service, ::dapr::proto::runtime::v1::SubscribeConfigurationRequest, ::dapr::proto::runtime::v1::SubscribeConfigurationResponse>( std::mem_fn(&Dapr::Service::SubscribeConfigurationAlpha1), this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Dapr_method_names[21], + Dapr_method_names[22], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Dapr::Service, ::google::protobuf::Empty, ::dapr::proto::runtime::v1::GetMetadataResponse>( std::mem_fn(&Dapr::Service::GetMetadata), this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Dapr_method_names[22], + Dapr_method_names[23], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Dapr::Service, ::dapr::proto::runtime::v1::SetMetadataRequest, ::google::protobuf::Empty>( std::mem_fn(&Dapr::Service::SetMetadata), this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Dapr_method_names[23], + Dapr_method_names[24], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Dapr::Service, ::google::protobuf::Empty, ::google::protobuf::Empty>( std::mem_fn(&Dapr::Service::Shutdown), this))); @@ -698,6 +721,13 @@ ::grpc::Status Dapr::Service::UnregisterActorReminder(::grpc::ServerContext* con return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } +::grpc::Status Dapr::Service::RenameActorReminder(::grpc::ServerContext* context, const ::dapr::proto::runtime::v1::RenameActorReminderRequest* request, ::google::protobuf::Empty* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + ::grpc::Status Dapr::Service::GetActorState(::grpc::ServerContext* context, const ::dapr::proto::runtime::v1::GetActorStateRequest* request, ::dapr::proto::runtime::v1::GetActorStateResponse* response) { (void) context; (void) request; diff --git a/src/dapr/proto/runtime/v1/dapr.grpc.pb.h b/src/dapr/proto/runtime/v1/dapr.grpc.pb.h index 8759243..6e40497 100644 --- a/src/dapr/proto/runtime/v1/dapr.grpc.pb.h +++ b/src/dapr/proto/runtime/v1/dapr.grpc.pb.h @@ -1,7 +1,19 @@ // Generated by the gRPC C++ plugin. // If you make any local change, they will be lost. // source: dapr/proto/runtime/v1/dapr.proto - +// Original file comments: +// +// Copyright 2021 The Dapr Authors +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// #ifndef GRPC_dapr_2fproto_2fruntime_2fv1_2fdapr_2eproto__INCLUDED #define GRPC_dapr_2fproto_2fruntime_2fv1_2fdapr_2eproto__INCLUDED @@ -168,6 +180,14 @@ class Dapr final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> PrepareAsyncUnregisterActorReminder(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::UnregisterActorReminderRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(PrepareAsyncUnregisterActorReminderRaw(context, request, cq)); } + // Rename an actor reminder. + virtual ::grpc::Status RenameActorReminder(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::RenameActorReminderRequest& request, ::google::protobuf::Empty* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> AsyncRenameActorReminder(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::RenameActorReminderRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(AsyncRenameActorReminderRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> PrepareAsyncRenameActorReminder(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::RenameActorReminderRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(PrepareAsyncRenameActorReminderRaw(context, request, cq)); + } // Gets the state for a specific actor. virtual ::grpc::Status GetActorState(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::GetActorStateRequest& request, ::dapr::proto::runtime::v1::GetActorStateResponse* response) = 0; std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::dapr::proto::runtime::v1::GetActorStateResponse>> AsyncGetActorState(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::GetActorStateRequest& request, ::grpc::CompletionQueue* cq) { @@ -269,6 +289,8 @@ class Dapr final { virtual void RegisterActorReminder(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::RegisterActorReminderRequest* request, ::google::protobuf::Empty* response, std::function) = 0; // Unregister an actor reminder. virtual void UnregisterActorReminder(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::UnregisterActorReminderRequest* request, ::google::protobuf::Empty* response, std::function) = 0; + // Rename an actor reminder. + virtual void RenameActorReminder(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::RenameActorReminderRequest* request, ::google::protobuf::Empty* response, std::function) = 0; // Gets the state for a specific actor. virtual void GetActorState(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::GetActorStateRequest* request, ::dapr::proto::runtime::v1::GetActorStateResponse* response, std::function) = 0; // Executes state transactions for a specified actor @@ -319,6 +341,8 @@ class Dapr final { virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* PrepareAsyncRegisterActorReminderRaw(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::RegisterActorReminderRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncUnregisterActorReminderRaw(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::UnregisterActorReminderRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* PrepareAsyncUnregisterActorReminderRaw(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::UnregisterActorReminderRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncRenameActorReminderRaw(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::RenameActorReminderRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* PrepareAsyncRenameActorReminderRaw(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::RenameActorReminderRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::dapr::proto::runtime::v1::GetActorStateResponse>* AsyncGetActorStateRaw(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::GetActorStateRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::dapr::proto::runtime::v1::GetActorStateResponse>* PrepareAsyncGetActorStateRaw(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::GetActorStateRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncExecuteActorStateTransactionRaw(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::ExecuteActorStateTransactionRequest& request, ::grpc::CompletionQueue* cq) = 0; @@ -452,6 +476,13 @@ class Dapr final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> PrepareAsyncUnregisterActorReminder(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::UnregisterActorReminderRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(PrepareAsyncUnregisterActorReminderRaw(context, request, cq)); } + ::grpc::Status RenameActorReminder(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::RenameActorReminderRequest& request, ::google::protobuf::Empty* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> AsyncRenameActorReminder(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::RenameActorReminderRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(AsyncRenameActorReminderRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> PrepareAsyncRenameActorReminder(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::RenameActorReminderRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(PrepareAsyncRenameActorReminderRaw(context, request, cq)); + } ::grpc::Status GetActorState(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::GetActorStateRequest& request, ::dapr::proto::runtime::v1::GetActorStateResponse* response) override; std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::dapr::proto::runtime::v1::GetActorStateResponse>> AsyncGetActorState(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::GetActorStateRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::dapr::proto::runtime::v1::GetActorStateResponse>>(AsyncGetActorStateRaw(context, request, cq)); @@ -529,6 +560,7 @@ class Dapr final { void UnregisterActorTimer(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::UnregisterActorTimerRequest* request, ::google::protobuf::Empty* response, std::function) override; void RegisterActorReminder(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::RegisterActorReminderRequest* request, ::google::protobuf::Empty* response, std::function) override; void UnregisterActorReminder(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::UnregisterActorReminderRequest* request, ::google::protobuf::Empty* response, std::function) override; + void RenameActorReminder(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::RenameActorReminderRequest* request, ::google::protobuf::Empty* response, std::function) override; void GetActorState(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::GetActorStateRequest* request, ::dapr::proto::runtime::v1::GetActorStateResponse* response, std::function) override; void ExecuteActorStateTransaction(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::ExecuteActorStateTransactionRequest* request, ::google::protobuf::Empty* response, std::function) override; void InvokeActor(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::InvokeActorRequest* request, ::dapr::proto::runtime::v1::InvokeActorResponse* response, std::function) override; @@ -579,6 +611,8 @@ class Dapr final { ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* PrepareAsyncRegisterActorReminderRaw(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::RegisterActorReminderRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncUnregisterActorReminderRaw(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::UnregisterActorReminderRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* PrepareAsyncUnregisterActorReminderRaw(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::UnregisterActorReminderRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncRenameActorReminderRaw(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::RenameActorReminderRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* PrepareAsyncRenameActorReminderRaw(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::RenameActorReminderRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::dapr::proto::runtime::v1::GetActorStateResponse>* AsyncGetActorStateRaw(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::GetActorStateRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::dapr::proto::runtime::v1::GetActorStateResponse>* PrepareAsyncGetActorStateRaw(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::GetActorStateRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncExecuteActorStateTransactionRaw(::grpc::ClientContext* context, const ::dapr::proto::runtime::v1::ExecuteActorStateTransactionRequest& request, ::grpc::CompletionQueue* cq) override; @@ -612,6 +646,7 @@ class Dapr final { const ::grpc::internal::RpcMethod rpcmethod_UnregisterActorTimer_; const ::grpc::internal::RpcMethod rpcmethod_RegisterActorReminder_; const ::grpc::internal::RpcMethod rpcmethod_UnregisterActorReminder_; + const ::grpc::internal::RpcMethod rpcmethod_RenameActorReminder_; const ::grpc::internal::RpcMethod rpcmethod_GetActorState_; const ::grpc::internal::RpcMethod rpcmethod_ExecuteActorStateTransaction_; const ::grpc::internal::RpcMethod rpcmethod_InvokeActor_; @@ -659,6 +694,8 @@ class Dapr final { virtual ::grpc::Status RegisterActorReminder(::grpc::ServerContext* context, const ::dapr::proto::runtime::v1::RegisterActorReminderRequest* request, ::google::protobuf::Empty* response); // Unregister an actor reminder. virtual ::grpc::Status UnregisterActorReminder(::grpc::ServerContext* context, const ::dapr::proto::runtime::v1::UnregisterActorReminderRequest* request, ::google::protobuf::Empty* response); + // Rename an actor reminder. + virtual ::grpc::Status RenameActorReminder(::grpc::ServerContext* context, const ::dapr::proto::runtime::v1::RenameActorReminderRequest* request, ::google::protobuf::Empty* response); // Gets the state for a specific actor. virtual ::grpc::Status GetActorState(::grpc::ServerContext* context, const ::dapr::proto::runtime::v1::GetActorStateRequest* request, ::dapr::proto::runtime::v1::GetActorStateResponse* response); // Executes state transactions for a specified actor @@ -997,12 +1034,32 @@ class Dapr final { } }; template + class WithAsyncMethod_RenameActorReminder : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_RenameActorReminder() { + ::grpc::Service::MarkMethodAsync(16); + } + ~WithAsyncMethod_RenameActorReminder() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RenameActorReminder(::grpc::ServerContext* context, const ::dapr::proto::runtime::v1::RenameActorReminderRequest* request, ::google::protobuf::Empty* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestRenameActorReminder(::grpc::ServerContext* context, ::dapr::proto::runtime::v1::RenameActorReminderRequest* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(16, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template class WithAsyncMethod_GetActorState : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithAsyncMethod_GetActorState() { - ::grpc::Service::MarkMethodAsync(16); + ::grpc::Service::MarkMethodAsync(17); } ~WithAsyncMethod_GetActorState() override { BaseClassMustBeDerivedFromService(this); @@ -1013,7 +1070,7 @@ class Dapr final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetActorState(::grpc::ServerContext* context, ::dapr::proto::runtime::v1::GetActorStateRequest* request, ::grpc::ServerAsyncResponseWriter< ::dapr::proto::runtime::v1::GetActorStateResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(16, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(17, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -1022,7 +1079,7 @@ class Dapr final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithAsyncMethod_ExecuteActorStateTransaction() { - ::grpc::Service::MarkMethodAsync(17); + ::grpc::Service::MarkMethodAsync(18); } ~WithAsyncMethod_ExecuteActorStateTransaction() override { BaseClassMustBeDerivedFromService(this); @@ -1033,7 +1090,7 @@ class Dapr final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestExecuteActorStateTransaction(::grpc::ServerContext* context, ::dapr::proto::runtime::v1::ExecuteActorStateTransactionRequest* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(17, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(18, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -1042,7 +1099,7 @@ class Dapr final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithAsyncMethod_InvokeActor() { - ::grpc::Service::MarkMethodAsync(18); + ::grpc::Service::MarkMethodAsync(19); } ~WithAsyncMethod_InvokeActor() override { BaseClassMustBeDerivedFromService(this); @@ -1053,7 +1110,7 @@ class Dapr final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestInvokeActor(::grpc::ServerContext* context, ::dapr::proto::runtime::v1::InvokeActorRequest* request, ::grpc::ServerAsyncResponseWriter< ::dapr::proto::runtime::v1::InvokeActorResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(18, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(19, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -1062,7 +1119,7 @@ class Dapr final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithAsyncMethod_GetConfigurationAlpha1() { - ::grpc::Service::MarkMethodAsync(19); + ::grpc::Service::MarkMethodAsync(20); } ~WithAsyncMethod_GetConfigurationAlpha1() override { BaseClassMustBeDerivedFromService(this); @@ -1073,7 +1130,7 @@ class Dapr final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetConfigurationAlpha1(::grpc::ServerContext* context, ::dapr::proto::runtime::v1::GetConfigurationRequest* request, ::grpc::ServerAsyncResponseWriter< ::dapr::proto::runtime::v1::GetConfigurationResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(19, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(20, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -1082,7 +1139,7 @@ class Dapr final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithAsyncMethod_SubscribeConfigurationAlpha1() { - ::grpc::Service::MarkMethodAsync(20); + ::grpc::Service::MarkMethodAsync(21); } ~WithAsyncMethod_SubscribeConfigurationAlpha1() override { BaseClassMustBeDerivedFromService(this); @@ -1093,7 +1150,7 @@ class Dapr final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestSubscribeConfigurationAlpha1(::grpc::ServerContext* context, ::dapr::proto::runtime::v1::SubscribeConfigurationRequest* request, ::grpc::ServerAsyncWriter< ::dapr::proto::runtime::v1::SubscribeConfigurationResponse>* writer, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncServerStreaming(20, context, request, writer, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncServerStreaming(21, context, request, writer, new_call_cq, notification_cq, tag); } }; template @@ -1102,7 +1159,7 @@ class Dapr final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithAsyncMethod_GetMetadata() { - ::grpc::Service::MarkMethodAsync(21); + ::grpc::Service::MarkMethodAsync(22); } ~WithAsyncMethod_GetMetadata() override { BaseClassMustBeDerivedFromService(this); @@ -1113,7 +1170,7 @@ class Dapr final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetMetadata(::grpc::ServerContext* context, ::google::protobuf::Empty* request, ::grpc::ServerAsyncResponseWriter< ::dapr::proto::runtime::v1::GetMetadataResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(21, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(22, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -1122,7 +1179,7 @@ class Dapr final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithAsyncMethod_SetMetadata() { - ::grpc::Service::MarkMethodAsync(22); + ::grpc::Service::MarkMethodAsync(23); } ~WithAsyncMethod_SetMetadata() override { BaseClassMustBeDerivedFromService(this); @@ -1133,7 +1190,7 @@ class Dapr final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestSetMetadata(::grpc::ServerContext* context, ::dapr::proto::runtime::v1::SetMetadataRequest* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(22, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(23, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -1142,7 +1199,7 @@ class Dapr final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithAsyncMethod_Shutdown() { - ::grpc::Service::MarkMethodAsync(23); + ::grpc::Service::MarkMethodAsync(24); } ~WithAsyncMethod_Shutdown() override { BaseClassMustBeDerivedFromService(this); @@ -1153,10 +1210,10 @@ class Dapr final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestShutdown(::grpc::ServerContext* context, ::google::protobuf::Empty* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(23, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(24, context, request, response, new_call_cq, notification_cq, tag); } }; - typedef WithAsyncMethod_InvokeService > > > > > > > > > > > > > > > > > > > > > > > AsyncService; + typedef WithAsyncMethod_InvokeService > > > > > > > > > > > > > > > > > > > > > > > > AsyncService; template class WithGenericMethod_InvokeService : public BaseClass { private: @@ -1430,12 +1487,29 @@ class Dapr final { } }; template + class WithGenericMethod_RenameActorReminder : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_RenameActorReminder() { + ::grpc::Service::MarkMethodGeneric(16); + } + ~WithGenericMethod_RenameActorReminder() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RenameActorReminder(::grpc::ServerContext* context, const ::dapr::proto::runtime::v1::RenameActorReminderRequest* request, ::google::protobuf::Empty* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template class WithGenericMethod_GetActorState : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithGenericMethod_GetActorState() { - ::grpc::Service::MarkMethodGeneric(16); + ::grpc::Service::MarkMethodGeneric(17); } ~WithGenericMethod_GetActorState() override { BaseClassMustBeDerivedFromService(this); @@ -1452,7 +1526,7 @@ class Dapr final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithGenericMethod_ExecuteActorStateTransaction() { - ::grpc::Service::MarkMethodGeneric(17); + ::grpc::Service::MarkMethodGeneric(18); } ~WithGenericMethod_ExecuteActorStateTransaction() override { BaseClassMustBeDerivedFromService(this); @@ -1469,7 +1543,7 @@ class Dapr final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithGenericMethod_InvokeActor() { - ::grpc::Service::MarkMethodGeneric(18); + ::grpc::Service::MarkMethodGeneric(19); } ~WithGenericMethod_InvokeActor() override { BaseClassMustBeDerivedFromService(this); @@ -1486,7 +1560,7 @@ class Dapr final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithGenericMethod_GetConfigurationAlpha1() { - ::grpc::Service::MarkMethodGeneric(19); + ::grpc::Service::MarkMethodGeneric(20); } ~WithGenericMethod_GetConfigurationAlpha1() override { BaseClassMustBeDerivedFromService(this); @@ -1503,7 +1577,7 @@ class Dapr final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithGenericMethod_SubscribeConfigurationAlpha1() { - ::grpc::Service::MarkMethodGeneric(20); + ::grpc::Service::MarkMethodGeneric(21); } ~WithGenericMethod_SubscribeConfigurationAlpha1() override { BaseClassMustBeDerivedFromService(this); @@ -1520,7 +1594,7 @@ class Dapr final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithGenericMethod_GetMetadata() { - ::grpc::Service::MarkMethodGeneric(21); + ::grpc::Service::MarkMethodGeneric(22); } ~WithGenericMethod_GetMetadata() override { BaseClassMustBeDerivedFromService(this); @@ -1537,7 +1611,7 @@ class Dapr final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithGenericMethod_SetMetadata() { - ::grpc::Service::MarkMethodGeneric(22); + ::grpc::Service::MarkMethodGeneric(23); } ~WithGenericMethod_SetMetadata() override { BaseClassMustBeDerivedFromService(this); @@ -1554,7 +1628,7 @@ class Dapr final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithGenericMethod_Shutdown() { - ::grpc::Service::MarkMethodGeneric(23); + ::grpc::Service::MarkMethodGeneric(24); } ~WithGenericMethod_Shutdown() override { BaseClassMustBeDerivedFromService(this); @@ -1886,12 +1960,32 @@ class Dapr final { } }; template + class WithRawMethod_RenameActorReminder : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_RenameActorReminder() { + ::grpc::Service::MarkMethodRaw(16); + } + ~WithRawMethod_RenameActorReminder() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RenameActorReminder(::grpc::ServerContext* context, const ::dapr::proto::runtime::v1::RenameActorReminderRequest* request, ::google::protobuf::Empty* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestRenameActorReminder(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(16, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template class WithRawMethod_GetActorState : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithRawMethod_GetActorState() { - ::grpc::Service::MarkMethodRaw(16); + ::grpc::Service::MarkMethodRaw(17); } ~WithRawMethod_GetActorState() override { BaseClassMustBeDerivedFromService(this); @@ -1902,7 +1996,7 @@ class Dapr final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetActorState(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(16, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(17, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -1911,7 +2005,7 @@ class Dapr final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithRawMethod_ExecuteActorStateTransaction() { - ::grpc::Service::MarkMethodRaw(17); + ::grpc::Service::MarkMethodRaw(18); } ~WithRawMethod_ExecuteActorStateTransaction() override { BaseClassMustBeDerivedFromService(this); @@ -1922,7 +2016,7 @@ class Dapr final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestExecuteActorStateTransaction(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(17, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(18, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -1931,7 +2025,7 @@ class Dapr final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithRawMethod_InvokeActor() { - ::grpc::Service::MarkMethodRaw(18); + ::grpc::Service::MarkMethodRaw(19); } ~WithRawMethod_InvokeActor() override { BaseClassMustBeDerivedFromService(this); @@ -1942,7 +2036,7 @@ class Dapr final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestInvokeActor(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(18, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(19, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -1951,7 +2045,7 @@ class Dapr final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithRawMethod_GetConfigurationAlpha1() { - ::grpc::Service::MarkMethodRaw(19); + ::grpc::Service::MarkMethodRaw(20); } ~WithRawMethod_GetConfigurationAlpha1() override { BaseClassMustBeDerivedFromService(this); @@ -1962,7 +2056,7 @@ class Dapr final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetConfigurationAlpha1(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(19, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(20, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -1971,7 +2065,7 @@ class Dapr final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithRawMethod_SubscribeConfigurationAlpha1() { - ::grpc::Service::MarkMethodRaw(20); + ::grpc::Service::MarkMethodRaw(21); } ~WithRawMethod_SubscribeConfigurationAlpha1() override { BaseClassMustBeDerivedFromService(this); @@ -1982,7 +2076,7 @@ class Dapr final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestSubscribeConfigurationAlpha1(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncWriter< ::grpc::ByteBuffer>* writer, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncServerStreaming(20, context, request, writer, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncServerStreaming(21, context, request, writer, new_call_cq, notification_cq, tag); } }; template @@ -1991,7 +2085,7 @@ class Dapr final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithRawMethod_GetMetadata() { - ::grpc::Service::MarkMethodRaw(21); + ::grpc::Service::MarkMethodRaw(22); } ~WithRawMethod_GetMetadata() override { BaseClassMustBeDerivedFromService(this); @@ -2002,7 +2096,7 @@ class Dapr final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetMetadata(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(21, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(22, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2011,7 +2105,7 @@ class Dapr final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithRawMethod_SetMetadata() { - ::grpc::Service::MarkMethodRaw(22); + ::grpc::Service::MarkMethodRaw(23); } ~WithRawMethod_SetMetadata() override { BaseClassMustBeDerivedFromService(this); @@ -2022,7 +2116,7 @@ class Dapr final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestSetMetadata(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(22, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(23, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2031,7 +2125,7 @@ class Dapr final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithRawMethod_Shutdown() { - ::grpc::Service::MarkMethodRaw(23); + ::grpc::Service::MarkMethodRaw(24); } ~WithRawMethod_Shutdown() override { BaseClassMustBeDerivedFromService(this); @@ -2042,7 +2136,7 @@ class Dapr final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestShutdown(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(23, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(24, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2366,12 +2460,32 @@ class Dapr final { virtual ::grpc::Status StreamedUnregisterActorReminder(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::dapr::proto::runtime::v1::UnregisterActorReminderRequest,::google::protobuf::Empty>* server_unary_streamer) = 0; }; template + class WithStreamedUnaryMethod_RenameActorReminder : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_RenameActorReminder() { + ::grpc::Service::MarkMethodStreamed(16, + new ::grpc::internal::StreamedUnaryHandler< ::dapr::proto::runtime::v1::RenameActorReminderRequest, ::google::protobuf::Empty>(std::bind(&WithStreamedUnaryMethod_RenameActorReminder::StreamedRenameActorReminder, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_RenameActorReminder() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status RenameActorReminder(::grpc::ServerContext* context, const ::dapr::proto::runtime::v1::RenameActorReminderRequest* request, ::google::protobuf::Empty* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedRenameActorReminder(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::dapr::proto::runtime::v1::RenameActorReminderRequest,::google::protobuf::Empty>* server_unary_streamer) = 0; + }; + template class WithStreamedUnaryMethod_GetActorState : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithStreamedUnaryMethod_GetActorState() { - ::grpc::Service::MarkMethodStreamed(16, + ::grpc::Service::MarkMethodStreamed(17, new ::grpc::internal::StreamedUnaryHandler< ::dapr::proto::runtime::v1::GetActorStateRequest, ::dapr::proto::runtime::v1::GetActorStateResponse>(std::bind(&WithStreamedUnaryMethod_GetActorState::StreamedGetActorState, this, std::placeholders::_1, std::placeholders::_2))); } ~WithStreamedUnaryMethod_GetActorState() override { @@ -2391,7 +2505,7 @@ class Dapr final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithStreamedUnaryMethod_ExecuteActorStateTransaction() { - ::grpc::Service::MarkMethodStreamed(17, + ::grpc::Service::MarkMethodStreamed(18, new ::grpc::internal::StreamedUnaryHandler< ::dapr::proto::runtime::v1::ExecuteActorStateTransactionRequest, ::google::protobuf::Empty>(std::bind(&WithStreamedUnaryMethod_ExecuteActorStateTransaction::StreamedExecuteActorStateTransaction, this, std::placeholders::_1, std::placeholders::_2))); } ~WithStreamedUnaryMethod_ExecuteActorStateTransaction() override { @@ -2411,7 +2525,7 @@ class Dapr final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithStreamedUnaryMethod_InvokeActor() { - ::grpc::Service::MarkMethodStreamed(18, + ::grpc::Service::MarkMethodStreamed(19, new ::grpc::internal::StreamedUnaryHandler< ::dapr::proto::runtime::v1::InvokeActorRequest, ::dapr::proto::runtime::v1::InvokeActorResponse>(std::bind(&WithStreamedUnaryMethod_InvokeActor::StreamedInvokeActor, this, std::placeholders::_1, std::placeholders::_2))); } ~WithStreamedUnaryMethod_InvokeActor() override { @@ -2431,7 +2545,7 @@ class Dapr final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithStreamedUnaryMethod_GetConfigurationAlpha1() { - ::grpc::Service::MarkMethodStreamed(19, + ::grpc::Service::MarkMethodStreamed(20, new ::grpc::internal::StreamedUnaryHandler< ::dapr::proto::runtime::v1::GetConfigurationRequest, ::dapr::proto::runtime::v1::GetConfigurationResponse>(std::bind(&WithStreamedUnaryMethod_GetConfigurationAlpha1::StreamedGetConfigurationAlpha1, this, std::placeholders::_1, std::placeholders::_2))); } ~WithStreamedUnaryMethod_GetConfigurationAlpha1() override { @@ -2451,7 +2565,7 @@ class Dapr final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithStreamedUnaryMethod_GetMetadata() { - ::grpc::Service::MarkMethodStreamed(21, + ::grpc::Service::MarkMethodStreamed(22, new ::grpc::internal::StreamedUnaryHandler< ::google::protobuf::Empty, ::dapr::proto::runtime::v1::GetMetadataResponse>(std::bind(&WithStreamedUnaryMethod_GetMetadata::StreamedGetMetadata, this, std::placeholders::_1, std::placeholders::_2))); } ~WithStreamedUnaryMethod_GetMetadata() override { @@ -2471,7 +2585,7 @@ class Dapr final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithStreamedUnaryMethod_SetMetadata() { - ::grpc::Service::MarkMethodStreamed(22, + ::grpc::Service::MarkMethodStreamed(23, new ::grpc::internal::StreamedUnaryHandler< ::dapr::proto::runtime::v1::SetMetadataRequest, ::google::protobuf::Empty>(std::bind(&WithStreamedUnaryMethod_SetMetadata::StreamedSetMetadata, this, std::placeholders::_1, std::placeholders::_2))); } ~WithStreamedUnaryMethod_SetMetadata() override { @@ -2491,7 +2605,7 @@ class Dapr final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithStreamedUnaryMethod_Shutdown() { - ::grpc::Service::MarkMethodStreamed(23, + ::grpc::Service::MarkMethodStreamed(24, new ::grpc::internal::StreamedUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::Empty>(std::bind(&WithStreamedUnaryMethod_Shutdown::StreamedShutdown, this, std::placeholders::_1, std::placeholders::_2))); } ~WithStreamedUnaryMethod_Shutdown() override { @@ -2505,14 +2619,14 @@ class Dapr final { // replace default version of method with streamed unary virtual ::grpc::Status StreamedShutdown(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::google::protobuf::Empty,::google::protobuf::Empty>* server_unary_streamer) = 0; }; - typedef WithStreamedUnaryMethod_InvokeService > > > > > > > > > > > > > > > > > > > > > > StreamedUnaryService; + typedef WithStreamedUnaryMethod_InvokeService > > > > > > > > > > > > > > > > > > > > > > > StreamedUnaryService; template class WithSplitStreamingMethod_SubscribeConfigurationAlpha1 : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithSplitStreamingMethod_SubscribeConfigurationAlpha1() { - ::grpc::Service::MarkMethodStreamed(20, + ::grpc::Service::MarkMethodStreamed(21, new ::grpc::internal::SplitServerStreamingHandler< ::dapr::proto::runtime::v1::SubscribeConfigurationRequest, ::dapr::proto::runtime::v1::SubscribeConfigurationResponse>(std::bind(&WithSplitStreamingMethod_SubscribeConfigurationAlpha1::StreamedSubscribeConfigurationAlpha1, this, std::placeholders::_1, std::placeholders::_2))); } ~WithSplitStreamingMethod_SubscribeConfigurationAlpha1() override { @@ -2527,7 +2641,7 @@ class Dapr final { virtual ::grpc::Status StreamedSubscribeConfigurationAlpha1(::grpc::ServerContext* context, ::grpc::ServerSplitStreamer< ::dapr::proto::runtime::v1::SubscribeConfigurationRequest,::dapr::proto::runtime::v1::SubscribeConfigurationResponse>* server_split_streamer) = 0; }; typedef WithSplitStreamingMethod_SubscribeConfigurationAlpha1 SplitStreamedService; - typedef WithStreamedUnaryMethod_InvokeService > > > > > > > > > > > > > > > > > > > > > > > StreamedService; + typedef WithStreamedUnaryMethod_InvokeService > > > > > > > > > > > > > > > > > > > > > > > > StreamedService; }; } // namespace v1 diff --git a/src/dapr/proto/runtime/v1/dapr.pb.cc b/src/dapr/proto/runtime/v1/dapr.pb.cc index 3bbe88c..bc88b5f 100644 --- a/src/dapr/proto/runtime/v1/dapr.pb.cc +++ b/src/dapr/proto/runtime/v1/dapr.pb.cc @@ -271,6 +271,11 @@ class UnregisterActorReminderRequestDefaultTypeInternal { ::google::protobuf::internal::ExplicitlyConstructed _instance; } _UnregisterActorReminderRequest_default_instance_; +class RenameActorReminderRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _RenameActorReminderRequest_default_instance_; class GetActorStateRequestDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed @@ -959,6 +964,20 @@ static void InitDefaultsUnregisterActorReminderRequest() { ::google::protobuf::internal::SCCInfo<0> scc_info_UnregisterActorReminderRequest = {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsUnregisterActorReminderRequest}, {}}; +static void InitDefaultsRenameActorReminderRequest() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::dapr::proto::runtime::v1::_RenameActorReminderRequest_default_instance_; + new (ptr) ::dapr::proto::runtime::v1::RenameActorReminderRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::dapr::proto::runtime::v1::RenameActorReminderRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_RenameActorReminderRequest = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRenameActorReminderRequest}, {}}; + static void InitDefaultsGetActorStateRequest() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -1246,6 +1265,7 @@ void InitDefaults() { ::google::protobuf::internal::InitSCC(&scc_info_UnregisterActorTimerRequest.base); ::google::protobuf::internal::InitSCC(&scc_info_RegisterActorReminderRequest.base); ::google::protobuf::internal::InitSCC(&scc_info_UnregisterActorReminderRequest.base); + ::google::protobuf::internal::InitSCC(&scc_info_RenameActorReminderRequest.base); ::google::protobuf::internal::InitSCC(&scc_info_GetActorStateRequest.base); ::google::protobuf::internal::InitSCC(&scc_info_GetActorStateResponse.base); ::google::protobuf::internal::InitSCC(&scc_info_ExecuteActorStateTransactionRequest.base); @@ -1265,7 +1285,7 @@ void InitDefaults() { ::google::protobuf::internal::InitSCC(&scc_info_SubscribeConfigurationResponse.base); } -::google::protobuf::Metadata file_level_metadata[59]; +::google::protobuf::Metadata file_level_metadata[60]; const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { ~0u, // no _has_bits_ @@ -1626,6 +1646,15 @@ const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUT GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dapr::proto::runtime::v1::UnregisterActorReminderRequest, actor_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dapr::proto::runtime::v1::UnregisterActorReminderRequest, name_), ~0u, // no _has_bits_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dapr::proto::runtime::v1::RenameActorReminderRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dapr::proto::runtime::v1::RenameActorReminderRequest, actor_type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dapr::proto::runtime::v1::RenameActorReminderRequest, actor_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dapr::proto::runtime::v1::RenameActorReminderRequest, old_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dapr::proto::runtime::v1::RenameActorReminderRequest, new_name_), + ~0u, // no _has_bits_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::dapr::proto::runtime::v1::GetActorStateRequest, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ @@ -1800,23 +1829,24 @@ static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROT { 329, -1, sizeof(::dapr::proto::runtime::v1::UnregisterActorTimerRequest)}, { 337, -1, sizeof(::dapr::proto::runtime::v1::RegisterActorReminderRequest)}, { 349, -1, sizeof(::dapr::proto::runtime::v1::UnregisterActorReminderRequest)}, - { 357, -1, sizeof(::dapr::proto::runtime::v1::GetActorStateRequest)}, - { 365, -1, sizeof(::dapr::proto::runtime::v1::GetActorStateResponse)}, - { 371, -1, sizeof(::dapr::proto::runtime::v1::ExecuteActorStateTransactionRequest)}, - { 379, -1, sizeof(::dapr::proto::runtime::v1::TransactionalActorStateOperation)}, - { 387, -1, sizeof(::dapr::proto::runtime::v1::InvokeActorRequest)}, - { 396, -1, sizeof(::dapr::proto::runtime::v1::InvokeActorResponse)}, - { 402, 409, sizeof(::dapr::proto::runtime::v1::GetMetadataResponse_ExtendedMetadataEntry_DoNotUse)}, - { 411, -1, sizeof(::dapr::proto::runtime::v1::GetMetadataResponse)}, - { 420, -1, sizeof(::dapr::proto::runtime::v1::ActiveActorsCount)}, - { 427, -1, sizeof(::dapr::proto::runtime::v1::RegisteredComponents)}, - { 435, -1, sizeof(::dapr::proto::runtime::v1::SetMetadataRequest)}, - { 442, 449, sizeof(::dapr::proto::runtime::v1::GetConfigurationRequest_MetadataEntry_DoNotUse)}, - { 451, -1, sizeof(::dapr::proto::runtime::v1::GetConfigurationRequest)}, - { 459, -1, sizeof(::dapr::proto::runtime::v1::GetConfigurationResponse)}, - { 465, 472, sizeof(::dapr::proto::runtime::v1::SubscribeConfigurationRequest_MetadataEntry_DoNotUse)}, - { 474, -1, sizeof(::dapr::proto::runtime::v1::SubscribeConfigurationRequest)}, - { 482, -1, sizeof(::dapr::proto::runtime::v1::SubscribeConfigurationResponse)}, + { 357, -1, sizeof(::dapr::proto::runtime::v1::RenameActorReminderRequest)}, + { 366, -1, sizeof(::dapr::proto::runtime::v1::GetActorStateRequest)}, + { 374, -1, sizeof(::dapr::proto::runtime::v1::GetActorStateResponse)}, + { 380, -1, sizeof(::dapr::proto::runtime::v1::ExecuteActorStateTransactionRequest)}, + { 388, -1, sizeof(::dapr::proto::runtime::v1::TransactionalActorStateOperation)}, + { 396, -1, sizeof(::dapr::proto::runtime::v1::InvokeActorRequest)}, + { 405, -1, sizeof(::dapr::proto::runtime::v1::InvokeActorResponse)}, + { 411, 418, sizeof(::dapr::proto::runtime::v1::GetMetadataResponse_ExtendedMetadataEntry_DoNotUse)}, + { 420, -1, sizeof(::dapr::proto::runtime::v1::GetMetadataResponse)}, + { 429, -1, sizeof(::dapr::proto::runtime::v1::ActiveActorsCount)}, + { 436, -1, sizeof(::dapr::proto::runtime::v1::RegisteredComponents)}, + { 444, -1, sizeof(::dapr::proto::runtime::v1::SetMetadataRequest)}, + { 451, 458, sizeof(::dapr::proto::runtime::v1::GetConfigurationRequest_MetadataEntry_DoNotUse)}, + { 460, -1, sizeof(::dapr::proto::runtime::v1::GetConfigurationRequest)}, + { 468, -1, sizeof(::dapr::proto::runtime::v1::GetConfigurationResponse)}, + { 474, 481, sizeof(::dapr::proto::runtime::v1::SubscribeConfigurationRequest_MetadataEntry_DoNotUse)}, + { 483, -1, sizeof(::dapr::proto::runtime::v1::SubscribeConfigurationRequest)}, + { 491, -1, sizeof(::dapr::proto::runtime::v1::SubscribeConfigurationResponse)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { @@ -1862,6 +1892,7 @@ static ::google::protobuf::Message const * const file_default_instances[] = { reinterpret_cast(&::dapr::proto::runtime::v1::_UnregisterActorTimerRequest_default_instance_), reinterpret_cast(&::dapr::proto::runtime::v1::_RegisterActorReminderRequest_default_instance_), reinterpret_cast(&::dapr::proto::runtime::v1::_UnregisterActorReminderRequest_default_instance_), + reinterpret_cast(&::dapr::proto::runtime::v1::_RenameActorReminderRequest_default_instance_), reinterpret_cast(&::dapr::proto::runtime::v1::_GetActorStateRequest_default_instance_), reinterpret_cast(&::dapr::proto::runtime::v1::_GetActorStateResponse_default_instance_), reinterpret_cast(&::dapr::proto::runtime::v1::_ExecuteActorStateTransactionRequest_default_instance_), @@ -1896,7 +1927,7 @@ void protobuf_AssignDescriptorsOnce() { void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD; void protobuf_RegisterTypes(const ::std::string&) { protobuf_AssignDescriptorsOnce(); - ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 59); + ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 60); } void AddDescriptorsImpl() { @@ -2009,113 +2040,118 @@ void AddDescriptorsImpl() { "(\t\022\016\n\006period\030\005 \001(\t\022\014\n\004data\030\006 \001(\014\022\013\n\003ttl\030" "\007 \001(\t\"T\n\036UnregisterActorReminderRequest\022" "\022\n\nactor_type\030\001 \001(\t\022\020\n\010actor_id\030\002 \001(\t\022\014\n" - "\004name\030\003 \001(\t\"I\n\024GetActorStateRequest\022\022\n\na" - "ctor_type\030\001 \001(\t\022\020\n\010actor_id\030\002 \001(\t\022\013\n\003key" - "\030\003 \001(\t\"%\n\025GetActorStateResponse\022\014\n\004data\030" - "\001 \001(\014\"\230\001\n#ExecuteActorStateTransactionRe" - "quest\022\022\n\nactor_type\030\001 \001(\t\022\020\n\010actor_id\030\002 " - "\001(\t\022K\n\noperations\030\003 \003(\01327.dapr.proto.run" - "time.v1.TransactionalActorStateOperation" - "\"k\n TransactionalActorStateOperation\022\025\n\r" - "operationType\030\001 \001(\t\022\013\n\003key\030\002 \001(\t\022#\n\005valu" - "e\030\003 \001(\0132\024.google.protobuf.Any\"X\n\022InvokeA" - "ctorRequest\022\022\n\nactor_type\030\001 \001(\t\022\020\n\010actor" - "_id\030\002 \001(\t\022\016\n\006method\030\003 \001(\t\022\014\n\004data\030\004 \001(\014\"" - "#\n\023InvokeActorResponse\022\014\n\004data\030\001 \001(\014\"\312\002\n" - "\023GetMetadataResponse\022\n\n\002id\030\001 \001(\t\022E\n\023acti" - "ve_actors_count\030\002 \003(\0132(.dapr.proto.runti" - "me.v1.ActiveActorsCount\022J\n\025registered_co" - "mponents\030\003 \003(\0132+.dapr.proto.runtime.v1.R" - "egisteredComponents\022[\n\021extended_metadata" - "\030\004 \003(\0132@.dapr.proto.runtime.v1.GetMetada" - "taResponse.ExtendedMetadataEntry\0327\n\025Exte" - "ndedMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" - "\002 \001(\t:\0028\001\"0\n\021ActiveActorsCount\022\014\n\004type\030\001" - " \001(\t\022\r\n\005count\030\002 \001(\005\"C\n\024RegisteredCompone" - "nts\022\014\n\004name\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022\017\n\007versi" - "on\030\003 \001(\t\"0\n\022SetMetadataRequest\022\013\n\003key\030\001 " - "\001(\t\022\r\n\005value\030\002 \001(\t\"\274\001\n\027GetConfigurationR" - "equest\022\022\n\nstore_name\030\001 \001(\t\022\014\n\004keys\030\002 \003(\t" - "\022N\n\010metadata\030\003 \003(\0132<.dapr.proto.runtime." - "v1.GetConfigurationRequest.MetadataEntry" - "\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" - "\002 \001(\t:\0028\001\"R\n\030GetConfigurationResponse\0226\n" - "\005items\030\001 \003(\0132\'.dapr.proto.common.v1.Conf" - "igurationItem\"\310\001\n\035SubscribeConfiguration" - "Request\022\022\n\nstore_name\030\001 \001(\t\022\014\n\004keys\030\002 \003(" - "\t\022T\n\010metadata\030\003 \003(\0132B.dapr.proto.runtime" - ".v1.SubscribeConfigurationRequest.Metada" - "taEntry\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n" - "\005value\030\002 \001(\t:\0028\001\"X\n\036SubscribeConfigurati" - "onResponse\0226\n\005items\030\001 \003(\0132\'.dapr.proto.c" - "ommon.v1.ConfigurationItem2\377\022\n\004Dapr\022d\n\rI" - "nvokeService\022+.dapr.proto.runtime.v1.Inv" - "okeServiceRequest\032$.dapr.proto.common.v1" - ".InvokeResponse\"\000\022]\n\010GetState\022&.dapr.pro" - "to.runtime.v1.GetStateRequest\032\'.dapr.pro" - "to.runtime.v1.GetStateResponse\"\000\022i\n\014GetB" - "ulkState\022*.dapr.proto.runtime.v1.GetBulk" - "StateRequest\032+.dapr.proto.runtime.v1.Get" - "BulkStateResponse\"\000\022N\n\tSaveState\022\'.dapr." - "proto.runtime.v1.SaveStateRequest\032\026.goog" - "le.protobuf.Empty\"\000\022i\n\020QueryStateAlpha1\022" - "(.dapr.proto.runtime.v1.QueryStateReques" - "t\032).dapr.proto.runtime.v1.QueryStateResp" - "onse\"\000\022R\n\013DeleteState\022).dapr.proto.runti" - "me.v1.DeleteStateRequest\032\026.google.protob" - "uf.Empty\"\000\022Z\n\017DeleteBulkState\022-.dapr.pro" - "to.runtime.v1.DeleteBulkStateRequest\032\026.g" - "oogle.protobuf.Empty\"\000\022j\n\027ExecuteStateTr" - "ansaction\0225.dapr.proto.runtime.v1.Execut" - "eStateTransactionRequest\032\026.google.protob" - "uf.Empty\"\000\022T\n\014PublishEvent\022*.dapr.proto." - "runtime.v1.PublishEventRequest\032\026.google." - "protobuf.Empty\"\000\022l\n\rInvokeBinding\022+.dapr" - ".proto.runtime.v1.InvokeBindingRequest\032," - ".dapr.proto.runtime.v1.InvokeBindingResp" - "onse\"\000\022`\n\tGetSecret\022\'.dapr.proto.runtime" - ".v1.GetSecretRequest\032(.dapr.proto.runtim" - "e.v1.GetSecretResponse\"\000\022l\n\rGetBulkSecre" - "t\022+.dapr.proto.runtime.v1.GetBulkSecretR" - "equest\032,.dapr.proto.runtime.v1.GetBulkSe" - "cretResponse\"\000\022`\n\022RegisterActorTimer\0220.d" - "apr.proto.runtime.v1.RegisterActorTimerR" - "equest\032\026.google.protobuf.Empty\"\000\022d\n\024Unre" - "gisterActorTimer\0222.dapr.proto.runtime.v1" - ".UnregisterActorTimerRequest\032\026.google.pr" - "otobuf.Empty\"\000\022f\n\025RegisterActorReminder\022" - "3.dapr.proto.runtime.v1.RegisterActorRem" - "inderRequest\032\026.google.protobuf.Empty\"\000\022j" - "\n\027UnregisterActorReminder\0225.dapr.proto.r" - "untime.v1.UnregisterActorReminderRequest" - "\032\026.google.protobuf.Empty\"\000\022l\n\rGetActorSt" - "ate\022+.dapr.proto.runtime.v1.GetActorStat" - "eRequest\032,.dapr.proto.runtime.v1.GetActo" - "rStateResponse\"\000\022t\n\034ExecuteActorStateTra" - "nsaction\022:.dapr.proto.runtime.v1.Execute" - "ActorStateTransactionRequest\032\026.google.pr" - "otobuf.Empty\"\000\022f\n\013InvokeActor\022).dapr.pro" - "to.runtime.v1.InvokeActorRequest\032*.dapr." - "proto.runtime.v1.InvokeActorResponse\"\000\022{" - "\n\026GetConfigurationAlpha1\022..dapr.proto.ru" - "ntime.v1.GetConfigurationRequest\032/.dapr." - "proto.runtime.v1.GetConfigurationRespons" - "e\"\000\022\217\001\n\034SubscribeConfigurationAlpha1\0224.d" - "apr.proto.runtime.v1.SubscribeConfigurat" - "ionRequest\0325.dapr.proto.runtime.v1.Subsc" - "ribeConfigurationResponse\"\0000\001\022S\n\013GetMeta" - "data\022\026.google.protobuf.Empty\032*.dapr.prot" - "o.runtime.v1.GetMetadataResponse\"\000\022R\n\013Se" - "tMetadata\022).dapr.proto.runtime.v1.SetMet" - "adataRequest\032\026.google.protobuf.Empty\"\000\022<" - "\n\010Shutdown\022\026.google.protobuf.Empty\032\026.goo" - "gle.protobuf.Empty\"\000Bi\n\nio.dapr.v1B\nDapr" - "ProtosZ1github.com/dapr/dapr/pkg/proto/r" - "untime/v1;runtime\252\002\033Dapr.Client.Autogen." - "Grpc.v1b\006proto3" + "\004name\030\003 \001(\t\"f\n\032RenameActorReminderReques" + "t\022\022\n\nactor_type\030\001 \001(\t\022\020\n\010actor_id\030\002 \001(\t\022" + "\020\n\010old_name\030\003 \001(\t\022\020\n\010new_name\030\004 \001(\t\"I\n\024G" + "etActorStateRequest\022\022\n\nactor_type\030\001 \001(\t\022" + "\020\n\010actor_id\030\002 \001(\t\022\013\n\003key\030\003 \001(\t\"%\n\025GetAct" + "orStateResponse\022\014\n\004data\030\001 \001(\014\"\230\001\n#Execut" + "eActorStateTransactionRequest\022\022\n\nactor_t" + "ype\030\001 \001(\t\022\020\n\010actor_id\030\002 \001(\t\022K\n\noperation" + "s\030\003 \003(\01327.dapr.proto.runtime.v1.Transact" + "ionalActorStateOperation\"k\n Transactiona" + "lActorStateOperation\022\025\n\roperationType\030\001 " + "\001(\t\022\013\n\003key\030\002 \001(\t\022#\n\005value\030\003 \001(\0132\024.google" + ".protobuf.Any\"X\n\022InvokeActorRequest\022\022\n\na" + "ctor_type\030\001 \001(\t\022\020\n\010actor_id\030\002 \001(\t\022\016\n\006met" + "hod\030\003 \001(\t\022\014\n\004data\030\004 \001(\014\"#\n\023InvokeActorRe" + "sponse\022\014\n\004data\030\001 \001(\014\"\312\002\n\023GetMetadataResp" + "onse\022\n\n\002id\030\001 \001(\t\022E\n\023active_actors_count\030" + "\002 \003(\0132(.dapr.proto.runtime.v1.ActiveActo" + "rsCount\022J\n\025registered_components\030\003 \003(\0132+" + ".dapr.proto.runtime.v1.RegisteredCompone" + "nts\022[\n\021extended_metadata\030\004 \003(\0132@.dapr.pr" + "oto.runtime.v1.GetMetadataResponse.Exten" + "dedMetadataEntry\0327\n\025ExtendedMetadataEntr" + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"0\n\021Act" + "iveActorsCount\022\014\n\004type\030\001 \001(\t\022\r\n\005count\030\002 " + "\001(\005\"C\n\024RegisteredComponents\022\014\n\004name\030\001 \001(" + "\t\022\014\n\004type\030\002 \001(\t\022\017\n\007version\030\003 \001(\t\"0\n\022SetM" + "etadataRequest\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + "(\t\"\274\001\n\027GetConfigurationRequest\022\022\n\nstore_" + "name\030\001 \001(\t\022\014\n\004keys\030\002 \003(\t\022N\n\010metadata\030\003 \003" + "(\0132<.dapr.proto.runtime.v1.GetConfigurat" + "ionRequest.MetadataEntry\032/\n\rMetadataEntr" + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"R\n\030Get" + "ConfigurationResponse\0226\n\005items\030\001 \003(\0132\'.d" + "apr.proto.common.v1.ConfigurationItem\"\310\001" + "\n\035SubscribeConfigurationRequest\022\022\n\nstore" + "_name\030\001 \001(\t\022\014\n\004keys\030\002 \003(\t\022T\n\010metadata\030\003 " + "\003(\0132B.dapr.proto.runtime.v1.SubscribeCon" + "figurationRequest.MetadataEntry\032/\n\rMetad" + "ataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + "\"X\n\036SubscribeConfigurationResponse\0226\n\005it" + "ems\030\001 \003(\0132\'.dapr.proto.common.v1.Configu" + "rationItem2\343\023\n\004Dapr\022d\n\rInvokeService\022+.d" + "apr.proto.runtime.v1.InvokeServiceReques" + "t\032$.dapr.proto.common.v1.InvokeResponse\"" + "\000\022]\n\010GetState\022&.dapr.proto.runtime.v1.Ge" + "tStateRequest\032\'.dapr.proto.runtime.v1.Ge" + "tStateResponse\"\000\022i\n\014GetBulkState\022*.dapr." + "proto.runtime.v1.GetBulkStateRequest\032+.d" + "apr.proto.runtime.v1.GetBulkStateRespons" + "e\"\000\022N\n\tSaveState\022\'.dapr.proto.runtime.v1" + ".SaveStateRequest\032\026.google.protobuf.Empt" + "y\"\000\022i\n\020QueryStateAlpha1\022(.dapr.proto.run" + "time.v1.QueryStateRequest\032).dapr.proto.r" + "untime.v1.QueryStateResponse\"\000\022R\n\013Delete" + "State\022).dapr.proto.runtime.v1.DeleteStat" + "eRequest\032\026.google.protobuf.Empty\"\000\022Z\n\017De" + "leteBulkState\022-.dapr.proto.runtime.v1.De" + "leteBulkStateRequest\032\026.google.protobuf.E" + "mpty\"\000\022j\n\027ExecuteStateTransaction\0225.dapr" + ".proto.runtime.v1.ExecuteStateTransactio" + "nRequest\032\026.google.protobuf.Empty\"\000\022T\n\014Pu" + "blishEvent\022*.dapr.proto.runtime.v1.Publi" + "shEventRequest\032\026.google.protobuf.Empty\"\000" + "\022l\n\rInvokeBinding\022+.dapr.proto.runtime.v" + "1.InvokeBindingRequest\032,.dapr.proto.runt" + "ime.v1.InvokeBindingResponse\"\000\022`\n\tGetSec" + "ret\022\'.dapr.proto.runtime.v1.GetSecretReq" + "uest\032(.dapr.proto.runtime.v1.GetSecretRe" + "sponse\"\000\022l\n\rGetBulkSecret\022+.dapr.proto.r" + "untime.v1.GetBulkSecretRequest\032,.dapr.pr" + "oto.runtime.v1.GetBulkSecretResponse\"\000\022`" + "\n\022RegisterActorTimer\0220.dapr.proto.runtim" + "e.v1.RegisterActorTimerRequest\032\026.google." + "protobuf.Empty\"\000\022d\n\024UnregisterActorTimer" + "\0222.dapr.proto.runtime.v1.UnregisterActor" + "TimerRequest\032\026.google.protobuf.Empty\"\000\022f" + "\n\025RegisterActorReminder\0223.dapr.proto.run" + "time.v1.RegisterActorReminderRequest\032\026.g" + "oogle.protobuf.Empty\"\000\022j\n\027UnregisterActo" + "rReminder\0225.dapr.proto.runtime.v1.Unregi" + "sterActorReminderRequest\032\026.google.protob" + "uf.Empty\"\000\022b\n\023RenameActorReminder\0221.dapr" + ".proto.runtime.v1.RenameActorReminderReq" + "uest\032\026.google.protobuf.Empty\"\000\022l\n\rGetAct" + "orState\022+.dapr.proto.runtime.v1.GetActor" + "StateRequest\032,.dapr.proto.runtime.v1.Get" + "ActorStateResponse\"\000\022t\n\034ExecuteActorStat" + "eTransaction\022:.dapr.proto.runtime.v1.Exe" + "cuteActorStateTransactionRequest\032\026.googl" + "e.protobuf.Empty\"\000\022f\n\013InvokeActor\022).dapr" + ".proto.runtime.v1.InvokeActorRequest\032*.d" + "apr.proto.runtime.v1.InvokeActorResponse" + "\"\000\022{\n\026GetConfigurationAlpha1\022..dapr.prot" + "o.runtime.v1.GetConfigurationRequest\032/.d" + "apr.proto.runtime.v1.GetConfigurationRes" + "ponse\"\000\022\217\001\n\034SubscribeConfigurationAlpha1" + "\0224.dapr.proto.runtime.v1.SubscribeConfig" + "urationRequest\0325.dapr.proto.runtime.v1.S" + "ubscribeConfigurationResponse\"\0000\001\022S\n\013Get" + "Metadata\022\026.google.protobuf.Empty\032*.dapr." + "proto.runtime.v1.GetMetadataResponse\"\000\022R" + "\n\013SetMetadata\022).dapr.proto.runtime.v1.Se" + "tMetadataRequest\032\026.google.protobuf.Empty" + "\"\000\022<\n\010Shutdown\022\026.google.protobuf.Empty\032\026" + ".google.protobuf.Empty\"\000Bi\n\nio.dapr.v1B\n" + "DaprProtosZ1github.com/dapr/dapr/pkg/pro" + "to/runtime/v1;runtime\252\002\033Dapr.Client.Auto" + "gen.Grpc.v1b\006proto3" }; ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - descriptor, 8415); + descriptor, 8619); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "dapr/proto/runtime/v1/dapr.proto", &protobuf_RegisterTypes); ::protobuf_google_2fprotobuf_2fany_2eproto::AddDescriptors(); @@ -13359,6 +13395,422 @@ ::google::protobuf::Metadata UnregisterActorReminderRequest::GetMetadata() const } +// =================================================================== + +void RenameActorReminderRequest::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int RenameActorReminderRequest::kActorTypeFieldNumber; +const int RenameActorReminderRequest::kActorIdFieldNumber; +const int RenameActorReminderRequest::kOldNameFieldNumber; +const int RenameActorReminderRequest::kNewNameFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +RenameActorReminderRequest::RenameActorReminderRequest() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_dapr_2fproto_2fruntime_2fv1_2fdapr_2eproto::scc_info_RenameActorReminderRequest.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:dapr.proto.runtime.v1.RenameActorReminderRequest) +} +RenameActorReminderRequest::RenameActorReminderRequest(const RenameActorReminderRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + actor_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.actor_type().size() > 0) { + actor_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.actor_type_); + } + actor_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.actor_id().size() > 0) { + actor_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.actor_id_); + } + old_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.old_name().size() > 0) { + old_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.old_name_); + } + new_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.new_name().size() > 0) { + new_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.new_name_); + } + // @@protoc_insertion_point(copy_constructor:dapr.proto.runtime.v1.RenameActorReminderRequest) +} + +void RenameActorReminderRequest::SharedCtor() { + actor_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + actor_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + old_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + new_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +RenameActorReminderRequest::~RenameActorReminderRequest() { + // @@protoc_insertion_point(destructor:dapr.proto.runtime.v1.RenameActorReminderRequest) + SharedDtor(); +} + +void RenameActorReminderRequest::SharedDtor() { + actor_type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + actor_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + old_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + new_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void RenameActorReminderRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* RenameActorReminderRequest::descriptor() { + ::protobuf_dapr_2fproto_2fruntime_2fv1_2fdapr_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_dapr_2fproto_2fruntime_2fv1_2fdapr_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const RenameActorReminderRequest& RenameActorReminderRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_dapr_2fproto_2fruntime_2fv1_2fdapr_2eproto::scc_info_RenameActorReminderRequest.base); + return *internal_default_instance(); +} + + +void RenameActorReminderRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:dapr.proto.runtime.v1.RenameActorReminderRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + actor_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + actor_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + old_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + new_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + _internal_metadata_.Clear(); +} + +bool RenameActorReminderRequest::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:dapr.proto.runtime.v1.RenameActorReminderRequest) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // string actor_type = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_actor_type())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->actor_type().data(), static_cast(this->actor_type().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "dapr.proto.runtime.v1.RenameActorReminderRequest.actor_type")); + } else { + goto handle_unusual; + } + break; + } + + // string actor_id = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_actor_id())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->actor_id().data(), static_cast(this->actor_id().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "dapr.proto.runtime.v1.RenameActorReminderRequest.actor_id")); + } else { + goto handle_unusual; + } + break; + } + + // string old_name = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_old_name())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->old_name().data(), static_cast(this->old_name().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "dapr.proto.runtime.v1.RenameActorReminderRequest.old_name")); + } else { + goto handle_unusual; + } + break; + } + + // string new_name = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_new_name())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->new_name().data(), static_cast(this->new_name().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "dapr.proto.runtime.v1.RenameActorReminderRequest.new_name")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:dapr.proto.runtime.v1.RenameActorReminderRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:dapr.proto.runtime.v1.RenameActorReminderRequest) + return false; +#undef DO_ +} + +void RenameActorReminderRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:dapr.proto.runtime.v1.RenameActorReminderRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string actor_type = 1; + if (this->actor_type().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->actor_type().data(), static_cast(this->actor_type().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "dapr.proto.runtime.v1.RenameActorReminderRequest.actor_type"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->actor_type(), output); + } + + // string actor_id = 2; + if (this->actor_id().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->actor_id().data(), static_cast(this->actor_id().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "dapr.proto.runtime.v1.RenameActorReminderRequest.actor_id"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->actor_id(), output); + } + + // string old_name = 3; + if (this->old_name().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->old_name().data(), static_cast(this->old_name().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "dapr.proto.runtime.v1.RenameActorReminderRequest.old_name"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 3, this->old_name(), output); + } + + // string new_name = 4; + if (this->new_name().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->new_name().data(), static_cast(this->new_name().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "dapr.proto.runtime.v1.RenameActorReminderRequest.new_name"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 4, this->new_name(), output); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); + } + // @@protoc_insertion_point(serialize_end:dapr.proto.runtime.v1.RenameActorReminderRequest) +} + +::google::protobuf::uint8* RenameActorReminderRequest::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:dapr.proto.runtime.v1.RenameActorReminderRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string actor_type = 1; + if (this->actor_type().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->actor_type().data(), static_cast(this->actor_type().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "dapr.proto.runtime.v1.RenameActorReminderRequest.actor_type"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->actor_type(), target); + } + + // string actor_id = 2; + if (this->actor_id().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->actor_id().data(), static_cast(this->actor_id().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "dapr.proto.runtime.v1.RenameActorReminderRequest.actor_id"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->actor_id(), target); + } + + // string old_name = 3; + if (this->old_name().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->old_name().data(), static_cast(this->old_name().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "dapr.proto.runtime.v1.RenameActorReminderRequest.old_name"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->old_name(), target); + } + + // string new_name = 4; + if (this->new_name().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->new_name().data(), static_cast(this->new_name().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "dapr.proto.runtime.v1.RenameActorReminderRequest.new_name"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 4, this->new_name(), target); + } + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:dapr.proto.runtime.v1.RenameActorReminderRequest) + return target; +} + +size_t RenameActorReminderRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:dapr.proto.runtime.v1.RenameActorReminderRequest) + size_t total_size = 0; + + if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); + } + // string actor_type = 1; + if (this->actor_type().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->actor_type()); + } + + // string actor_id = 2; + if (this->actor_id().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->actor_id()); + } + + // string old_name = 3; + if (this->old_name().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->old_name()); + } + + // string new_name = 4; + if (this->new_name().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->new_name()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void RenameActorReminderRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:dapr.proto.runtime.v1.RenameActorReminderRequest) + GOOGLE_DCHECK_NE(&from, this); + const RenameActorReminderRequest* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:dapr.proto.runtime.v1.RenameActorReminderRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:dapr.proto.runtime.v1.RenameActorReminderRequest) + MergeFrom(*source); + } +} + +void RenameActorReminderRequest::MergeFrom(const RenameActorReminderRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:dapr.proto.runtime.v1.RenameActorReminderRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.actor_type().size() > 0) { + + actor_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.actor_type_); + } + if (from.actor_id().size() > 0) { + + actor_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.actor_id_); + } + if (from.old_name().size() > 0) { + + old_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.old_name_); + } + if (from.new_name().size() > 0) { + + new_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.new_name_); + } +} + +void RenameActorReminderRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:dapr.proto.runtime.v1.RenameActorReminderRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void RenameActorReminderRequest::CopyFrom(const RenameActorReminderRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:dapr.proto.runtime.v1.RenameActorReminderRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool RenameActorReminderRequest::IsInitialized() const { + return true; +} + +void RenameActorReminderRequest::Swap(RenameActorReminderRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void RenameActorReminderRequest::InternalSwap(RenameActorReminderRequest* other) { + using std::swap; + actor_type_.Swap(&other->actor_type_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + actor_id_.Swap(&other->actor_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + old_name_.Swap(&other->old_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + new_name_.Swap(&other->new_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata RenameActorReminderRequest::GetMetadata() const { + protobuf_dapr_2fproto_2fruntime_2fv1_2fdapr_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_dapr_2fproto_2fruntime_2fv1_2fdapr_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + // =================================================================== void GetActorStateRequest::InitAsDefaultInstance() { @@ -15291,7 +15743,7 @@ void GetMetadataResponse_ExtendedMetadataEntry_DoNotUse::MergeFrom(const GetMeta } ::google::protobuf::Metadata GetMetadataResponse_ExtendedMetadataEntry_DoNotUse::GetMetadata() const { ::protobuf_dapr_2fproto_2fruntime_2fv1_2fdapr_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_dapr_2fproto_2fruntime_2fv1_2fdapr_2eproto::file_level_metadata[48]; + return ::protobuf_dapr_2fproto_2fruntime_2fv1_2fdapr_2eproto::file_level_metadata[49]; } void GetMetadataResponse_ExtendedMetadataEntry_DoNotUse::MergeFrom( const ::google::protobuf::Message& other) { @@ -16735,7 +17187,7 @@ void GetConfigurationRequest_MetadataEntry_DoNotUse::MergeFrom(const GetConfigur } ::google::protobuf::Metadata GetConfigurationRequest_MetadataEntry_DoNotUse::GetMetadata() const { ::protobuf_dapr_2fproto_2fruntime_2fv1_2fdapr_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_dapr_2fproto_2fruntime_2fv1_2fdapr_2eproto::file_level_metadata[53]; + return ::protobuf_dapr_2fproto_2fruntime_2fv1_2fdapr_2eproto::file_level_metadata[54]; } void GetConfigurationRequest_MetadataEntry_DoNotUse::MergeFrom( const ::google::protobuf::Message& other) { @@ -17432,7 +17884,7 @@ void SubscribeConfigurationRequest_MetadataEntry_DoNotUse::MergeFrom(const Subsc } ::google::protobuf::Metadata SubscribeConfigurationRequest_MetadataEntry_DoNotUse::GetMetadata() const { ::protobuf_dapr_2fproto_2fruntime_2fv1_2fdapr_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_dapr_2fproto_2fruntime_2fv1_2fdapr_2eproto::file_level_metadata[56]; + return ::protobuf_dapr_2fproto_2fruntime_2fv1_2fdapr_2eproto::file_level_metadata[57]; } void SubscribeConfigurationRequest_MetadataEntry_DoNotUse::MergeFrom( const ::google::protobuf::Message& other) { @@ -18253,6 +18705,9 @@ template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::dapr::proto::runtime::v1::Regist template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::dapr::proto::runtime::v1::UnregisterActorReminderRequest* Arena::CreateMaybeMessage< ::dapr::proto::runtime::v1::UnregisterActorReminderRequest >(Arena* arena) { return Arena::CreateInternal< ::dapr::proto::runtime::v1::UnregisterActorReminderRequest >(arena); } +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::dapr::proto::runtime::v1::RenameActorReminderRequest* Arena::CreateMaybeMessage< ::dapr::proto::runtime::v1::RenameActorReminderRequest >(Arena* arena) { + return Arena::CreateInternal< ::dapr::proto::runtime::v1::RenameActorReminderRequest >(arena); +} template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::dapr::proto::runtime::v1::GetActorStateRequest* Arena::CreateMaybeMessage< ::dapr::proto::runtime::v1::GetActorStateRequest >(Arena* arena) { return Arena::CreateInternal< ::dapr::proto::runtime::v1::GetActorStateRequest >(arena); } diff --git a/src/dapr/proto/runtime/v1/dapr.pb.h b/src/dapr/proto/runtime/v1/dapr.pb.h index 4861161..635399c 100644 --- a/src/dapr/proto/runtime/v1/dapr.pb.h +++ b/src/dapr/proto/runtime/v1/dapr.pb.h @@ -44,7 +44,7 @@ namespace protobuf_dapr_2fproto_2fruntime_2fv1_2fdapr_2eproto { struct TableStruct { static const ::google::protobuf::internal::ParseTableField entries[]; static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; - static const ::google::protobuf::internal::ParseTable schema[59]; + static const ::google::protobuf::internal::ParseTable schema[60]; static const ::google::protobuf::internal::FieldMetadata field_metadata[]; static const ::google::protobuf::internal::SerializationTable serialization_table[]; static const ::google::protobuf::uint32 offsets[]; @@ -199,6 +199,9 @@ extern RegisterActorTimerRequestDefaultTypeInternal _RegisterActorTimerRequest_d class RegisteredComponents; class RegisteredComponentsDefaultTypeInternal; extern RegisteredComponentsDefaultTypeInternal _RegisteredComponents_default_instance_; +class RenameActorReminderRequest; +class RenameActorReminderRequestDefaultTypeInternal; +extern RenameActorReminderRequestDefaultTypeInternal _RenameActorReminderRequest_default_instance_; class SaveStateRequest; class SaveStateRequestDefaultTypeInternal; extern SaveStateRequestDefaultTypeInternal _SaveStateRequest_default_instance_; @@ -286,6 +289,7 @@ template<> ::dapr::proto::runtime::v1::QueryStateResponse_MetadataEntry_DoNotUse template<> ::dapr::proto::runtime::v1::RegisterActorReminderRequest* Arena::CreateMaybeMessage<::dapr::proto::runtime::v1::RegisterActorReminderRequest>(Arena*); template<> ::dapr::proto::runtime::v1::RegisterActorTimerRequest* Arena::CreateMaybeMessage<::dapr::proto::runtime::v1::RegisterActorTimerRequest>(Arena*); template<> ::dapr::proto::runtime::v1::RegisteredComponents* Arena::CreateMaybeMessage<::dapr::proto::runtime::v1::RegisteredComponents>(Arena*); +template<> ::dapr::proto::runtime::v1::RenameActorReminderRequest* Arena::CreateMaybeMessage<::dapr::proto::runtime::v1::RenameActorReminderRequest>(Arena*); template<> ::dapr::proto::runtime::v1::SaveStateRequest* Arena::CreateMaybeMessage<::dapr::proto::runtime::v1::SaveStateRequest>(Arena*); template<> ::dapr::proto::runtime::v1::SecretResponse* Arena::CreateMaybeMessage<::dapr::proto::runtime::v1::SecretResponse>(Arena*); template<> ::dapr::proto::runtime::v1::SecretResponse_SecretsEntry_DoNotUse* Arena::CreateMaybeMessage<::dapr::proto::runtime::v1::SecretResponse_SecretsEntry_DoNotUse>(Arena*); @@ -4373,6 +4377,162 @@ class UnregisterActorReminderRequest : public ::google::protobuf::Message /* @@p }; // ------------------------------------------------------------------- +class RenameActorReminderRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dapr.proto.runtime.v1.RenameActorReminderRequest) */ { + public: + RenameActorReminderRequest(); + virtual ~RenameActorReminderRequest(); + + RenameActorReminderRequest(const RenameActorReminderRequest& from); + + inline RenameActorReminderRequest& operator=(const RenameActorReminderRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + RenameActorReminderRequest(RenameActorReminderRequest&& from) noexcept + : RenameActorReminderRequest() { + *this = ::std::move(from); + } + + inline RenameActorReminderRequest& operator=(RenameActorReminderRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor(); + static const RenameActorReminderRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const RenameActorReminderRequest* internal_default_instance() { + return reinterpret_cast( + &_RenameActorReminderRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 42; + + void Swap(RenameActorReminderRequest* other); + friend void swap(RenameActorReminderRequest& a, RenameActorReminderRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline RenameActorReminderRequest* New() const final { + return CreateMaybeMessage(NULL); + } + + RenameActorReminderRequest* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const RenameActorReminderRequest& from); + void MergeFrom(const RenameActorReminderRequest& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(RenameActorReminderRequest* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string actor_type = 1; + void clear_actor_type(); + static const int kActorTypeFieldNumber = 1; + const ::std::string& actor_type() const; + void set_actor_type(const ::std::string& value); + #if LANG_CXX11 + void set_actor_type(::std::string&& value); + #endif + void set_actor_type(const char* value); + void set_actor_type(const char* value, size_t size); + ::std::string* mutable_actor_type(); + ::std::string* release_actor_type(); + void set_allocated_actor_type(::std::string* actor_type); + + // string actor_id = 2; + void clear_actor_id(); + static const int kActorIdFieldNumber = 2; + const ::std::string& actor_id() const; + void set_actor_id(const ::std::string& value); + #if LANG_CXX11 + void set_actor_id(::std::string&& value); + #endif + void set_actor_id(const char* value); + void set_actor_id(const char* value, size_t size); + ::std::string* mutable_actor_id(); + ::std::string* release_actor_id(); + void set_allocated_actor_id(::std::string* actor_id); + + // string old_name = 3; + void clear_old_name(); + static const int kOldNameFieldNumber = 3; + const ::std::string& old_name() const; + void set_old_name(const ::std::string& value); + #if LANG_CXX11 + void set_old_name(::std::string&& value); + #endif + void set_old_name(const char* value); + void set_old_name(const char* value, size_t size); + ::std::string* mutable_old_name(); + ::std::string* release_old_name(); + void set_allocated_old_name(::std::string* old_name); + + // string new_name = 4; + void clear_new_name(); + static const int kNewNameFieldNumber = 4; + const ::std::string& new_name() const; + void set_new_name(const ::std::string& value); + #if LANG_CXX11 + void set_new_name(::std::string&& value); + #endif + void set_new_name(const char* value); + void set_new_name(const char* value, size_t size); + ::std::string* mutable_new_name(); + ::std::string* release_new_name(); + void set_allocated_new_name(::std::string* new_name); + + // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.RenameActorReminderRequest) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr actor_type_; + ::google::protobuf::internal::ArenaStringPtr actor_id_; + ::google::protobuf::internal::ArenaStringPtr old_name_; + ::google::protobuf::internal::ArenaStringPtr new_name_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::protobuf_dapr_2fproto_2fruntime_2fv1_2fdapr_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + class GetActorStateRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:dapr.proto.runtime.v1.GetActorStateRequest) */ { public: GetActorStateRequest(); @@ -4408,7 +4568,7 @@ class GetActorStateRequest : public ::google::protobuf::Message /* @@protoc_inse &_GetActorStateRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 42; + 43; void Swap(GetActorStateRequest* other); friend void swap(GetActorStateRequest& a, GetActorStateRequest& b) { @@ -4549,7 +4709,7 @@ class GetActorStateResponse : public ::google::protobuf::Message /* @@protoc_ins &_GetActorStateResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 43; + 44; void Swap(GetActorStateResponse* other); friend void swap(GetActorStateResponse& a, GetActorStateResponse& b) { @@ -4660,7 +4820,7 @@ class ExecuteActorStateTransactionRequest : public ::google::protobuf::Message / &_ExecuteActorStateTransactionRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 44; + 45; void Swap(ExecuteActorStateTransactionRequest* other); friend void swap(ExecuteActorStateTransactionRequest& a, ExecuteActorStateTransactionRequest& b) { @@ -4799,7 +4959,7 @@ class TransactionalActorStateOperation : public ::google::protobuf::Message /* @ &_TransactionalActorStateOperation_default_instance_); } static constexpr int kIndexInFileMessages = - 45; + 46; void Swap(TransactionalActorStateOperation* other); friend void swap(TransactionalActorStateOperation& a, TransactionalActorStateOperation& b) { @@ -4938,7 +5098,7 @@ class InvokeActorRequest : public ::google::protobuf::Message /* @@protoc_insert &_InvokeActorRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 46; + 47; void Swap(InvokeActorRequest* other); friend void swap(InvokeActorRequest& a, InvokeActorRequest& b) { @@ -5094,7 +5254,7 @@ class InvokeActorResponse : public ::google::protobuf::Message /* @@protoc_inser &_InvokeActorResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 47; + 48; void Swap(InvokeActorResponse* other); friend void swap(InvokeActorResponse& a, InvokeActorResponse& b) { @@ -5226,7 +5386,7 @@ class GetMetadataResponse : public ::google::protobuf::Message /* @@protoc_inser &_GetMetadataResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 49; + 50; void Swap(GetMetadataResponse* other); friend void swap(GetMetadataResponse& a, GetMetadataResponse& b) { @@ -5379,7 +5539,7 @@ class ActiveActorsCount : public ::google::protobuf::Message /* @@protoc_inserti &_ActiveActorsCount_default_instance_); } static constexpr int kIndexInFileMessages = - 50; + 51; void Swap(ActiveActorsCount* other); friend void swap(ActiveActorsCount& a, ActiveActorsCount& b) { @@ -5497,7 +5657,7 @@ class RegisteredComponents : public ::google::protobuf::Message /* @@protoc_inse &_RegisteredComponents_default_instance_); } static constexpr int kIndexInFileMessages = - 51; + 52; void Swap(RegisteredComponents* other); friend void swap(RegisteredComponents& a, RegisteredComponents& b) { @@ -5638,7 +5798,7 @@ class SetMetadataRequest : public ::google::protobuf::Message /* @@protoc_insert &_SetMetadataRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 52; + 53; void Swap(SetMetadataRequest* other); friend void swap(SetMetadataRequest& a, SetMetadataRequest& b) { @@ -5785,7 +5945,7 @@ class GetConfigurationRequest : public ::google::protobuf::Message /* @@protoc_i &_GetConfigurationRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 54; + 55; void Swap(GetConfigurationRequest* other); friend void swap(GetConfigurationRequest& a, GetConfigurationRequest& b) { @@ -5935,7 +6095,7 @@ class GetConfigurationResponse : public ::google::protobuf::Message /* @@protoc_ &_GetConfigurationResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 55; + 56; void Swap(GetConfigurationResponse* other); friend void swap(GetConfigurationResponse& a, GetConfigurationResponse& b) { @@ -6065,7 +6225,7 @@ class SubscribeConfigurationRequest : public ::google::protobuf::Message /* @@pr &_SubscribeConfigurationRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 57; + 58; void Swap(SubscribeConfigurationRequest* other); friend void swap(SubscribeConfigurationRequest& a, SubscribeConfigurationRequest& b) { @@ -6215,7 +6375,7 @@ class SubscribeConfigurationResponse : public ::google::protobuf::Message /* @@p &_SubscribeConfigurationResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 58; + 59; void Swap(SubscribeConfigurationResponse* other); friend void swap(SubscribeConfigurationResponse& a, SubscribeConfigurationResponse& b) { @@ -10068,6 +10228,222 @@ inline void UnregisterActorReminderRequest::set_allocated_name(::std::string* na // ------------------------------------------------------------------- +// RenameActorReminderRequest + +// string actor_type = 1; +inline void RenameActorReminderRequest::clear_actor_type() { + actor_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& RenameActorReminderRequest::actor_type() const { + // @@protoc_insertion_point(field_get:dapr.proto.runtime.v1.RenameActorReminderRequest.actor_type) + return actor_type_.GetNoArena(); +} +inline void RenameActorReminderRequest::set_actor_type(const ::std::string& value) { + + actor_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:dapr.proto.runtime.v1.RenameActorReminderRequest.actor_type) +} +#if LANG_CXX11 +inline void RenameActorReminderRequest::set_actor_type(::std::string&& value) { + + actor_type_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:dapr.proto.runtime.v1.RenameActorReminderRequest.actor_type) +} +#endif +inline void RenameActorReminderRequest::set_actor_type(const char* value) { + GOOGLE_DCHECK(value != NULL); + + actor_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:dapr.proto.runtime.v1.RenameActorReminderRequest.actor_type) +} +inline void RenameActorReminderRequest::set_actor_type(const char* value, size_t size) { + + actor_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:dapr.proto.runtime.v1.RenameActorReminderRequest.actor_type) +} +inline ::std::string* RenameActorReminderRequest::mutable_actor_type() { + + // @@protoc_insertion_point(field_mutable:dapr.proto.runtime.v1.RenameActorReminderRequest.actor_type) + return actor_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* RenameActorReminderRequest::release_actor_type() { + // @@protoc_insertion_point(field_release:dapr.proto.runtime.v1.RenameActorReminderRequest.actor_type) + + return actor_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void RenameActorReminderRequest::set_allocated_actor_type(::std::string* actor_type) { + if (actor_type != NULL) { + + } else { + + } + actor_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), actor_type); + // @@protoc_insertion_point(field_set_allocated:dapr.proto.runtime.v1.RenameActorReminderRequest.actor_type) +} + +// string actor_id = 2; +inline void RenameActorReminderRequest::clear_actor_id() { + actor_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& RenameActorReminderRequest::actor_id() const { + // @@protoc_insertion_point(field_get:dapr.proto.runtime.v1.RenameActorReminderRequest.actor_id) + return actor_id_.GetNoArena(); +} +inline void RenameActorReminderRequest::set_actor_id(const ::std::string& value) { + + actor_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:dapr.proto.runtime.v1.RenameActorReminderRequest.actor_id) +} +#if LANG_CXX11 +inline void RenameActorReminderRequest::set_actor_id(::std::string&& value) { + + actor_id_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:dapr.proto.runtime.v1.RenameActorReminderRequest.actor_id) +} +#endif +inline void RenameActorReminderRequest::set_actor_id(const char* value) { + GOOGLE_DCHECK(value != NULL); + + actor_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:dapr.proto.runtime.v1.RenameActorReminderRequest.actor_id) +} +inline void RenameActorReminderRequest::set_actor_id(const char* value, size_t size) { + + actor_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:dapr.proto.runtime.v1.RenameActorReminderRequest.actor_id) +} +inline ::std::string* RenameActorReminderRequest::mutable_actor_id() { + + // @@protoc_insertion_point(field_mutable:dapr.proto.runtime.v1.RenameActorReminderRequest.actor_id) + return actor_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* RenameActorReminderRequest::release_actor_id() { + // @@protoc_insertion_point(field_release:dapr.proto.runtime.v1.RenameActorReminderRequest.actor_id) + + return actor_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void RenameActorReminderRequest::set_allocated_actor_id(::std::string* actor_id) { + if (actor_id != NULL) { + + } else { + + } + actor_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), actor_id); + // @@protoc_insertion_point(field_set_allocated:dapr.proto.runtime.v1.RenameActorReminderRequest.actor_id) +} + +// string old_name = 3; +inline void RenameActorReminderRequest::clear_old_name() { + old_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& RenameActorReminderRequest::old_name() const { + // @@protoc_insertion_point(field_get:dapr.proto.runtime.v1.RenameActorReminderRequest.old_name) + return old_name_.GetNoArena(); +} +inline void RenameActorReminderRequest::set_old_name(const ::std::string& value) { + + old_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:dapr.proto.runtime.v1.RenameActorReminderRequest.old_name) +} +#if LANG_CXX11 +inline void RenameActorReminderRequest::set_old_name(::std::string&& value) { + + old_name_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:dapr.proto.runtime.v1.RenameActorReminderRequest.old_name) +} +#endif +inline void RenameActorReminderRequest::set_old_name(const char* value) { + GOOGLE_DCHECK(value != NULL); + + old_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:dapr.proto.runtime.v1.RenameActorReminderRequest.old_name) +} +inline void RenameActorReminderRequest::set_old_name(const char* value, size_t size) { + + old_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:dapr.proto.runtime.v1.RenameActorReminderRequest.old_name) +} +inline ::std::string* RenameActorReminderRequest::mutable_old_name() { + + // @@protoc_insertion_point(field_mutable:dapr.proto.runtime.v1.RenameActorReminderRequest.old_name) + return old_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* RenameActorReminderRequest::release_old_name() { + // @@protoc_insertion_point(field_release:dapr.proto.runtime.v1.RenameActorReminderRequest.old_name) + + return old_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void RenameActorReminderRequest::set_allocated_old_name(::std::string* old_name) { + if (old_name != NULL) { + + } else { + + } + old_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), old_name); + // @@protoc_insertion_point(field_set_allocated:dapr.proto.runtime.v1.RenameActorReminderRequest.old_name) +} + +// string new_name = 4; +inline void RenameActorReminderRequest::clear_new_name() { + new_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& RenameActorReminderRequest::new_name() const { + // @@protoc_insertion_point(field_get:dapr.proto.runtime.v1.RenameActorReminderRequest.new_name) + return new_name_.GetNoArena(); +} +inline void RenameActorReminderRequest::set_new_name(const ::std::string& value) { + + new_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:dapr.proto.runtime.v1.RenameActorReminderRequest.new_name) +} +#if LANG_CXX11 +inline void RenameActorReminderRequest::set_new_name(::std::string&& value) { + + new_name_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:dapr.proto.runtime.v1.RenameActorReminderRequest.new_name) +} +#endif +inline void RenameActorReminderRequest::set_new_name(const char* value) { + GOOGLE_DCHECK(value != NULL); + + new_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:dapr.proto.runtime.v1.RenameActorReminderRequest.new_name) +} +inline void RenameActorReminderRequest::set_new_name(const char* value, size_t size) { + + new_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:dapr.proto.runtime.v1.RenameActorReminderRequest.new_name) +} +inline ::std::string* RenameActorReminderRequest::mutable_new_name() { + + // @@protoc_insertion_point(field_mutable:dapr.proto.runtime.v1.RenameActorReminderRequest.new_name) + return new_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* RenameActorReminderRequest::release_new_name() { + // @@protoc_insertion_point(field_release:dapr.proto.runtime.v1.RenameActorReminderRequest.new_name) + + return new_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void RenameActorReminderRequest::set_allocated_new_name(::std::string* new_name) { + if (new_name != NULL) { + + } else { + + } + new_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), new_name); + // @@protoc_insertion_point(field_set_allocated:dapr.proto.runtime.v1.RenameActorReminderRequest.new_name) +} + +// ------------------------------------------------------------------- + // GetActorStateRequest // string actor_type = 1; @@ -11811,6 +12187,8 @@ SubscribeConfigurationResponse::items() const { // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope)