From 3b5f931f064eede9f0289f02a1f4ff4d49c8b80e Mon Sep 17 00:00:00 2001 From: Romain LE JEUNE Date: Tue, 4 Oct 2022 10:37:11 +0200 Subject: [PATCH] GODT-1609: remove unused gRPC event (c++ side) --- .../bridge-gui/bridge-gui/QMLBackend.cpp | 11 - .../bridge-gui/bridge-gui/QMLBackend.h | 4 - .../bridgepp/bridgepp/GRPC/EventFactory.cpp | 14 - .../bridgepp/bridgepp/GRPC/EventFactory.h | 1 - .../bridgepp/bridgepp/GRPC/GRPCClient.cpp | 29 - .../bridgepp/bridgepp/GRPC/GRPCClient.h | 2 - .../bridgepp/bridgepp/GRPC/bridge.grpc.pb.cc | 128 +-- .../bridgepp/bridgepp/GRPC/bridge.grpc.pb.h | 559 ++++------- .../bridgepp/bridgepp/GRPC/bridge.pb.cc | 899 ++++++------------ .../bridgepp/bridgepp/GRPC/bridge.pb.h | 341 +------ 10 files changed, 563 insertions(+), 1425 deletions(-) diff --git a/internal/frontend/bridge-gui/bridge-gui/QMLBackend.cpp b/internal/frontend/bridge-gui/bridge-gui/QMLBackend.cpp index a934bdd6..2ef62114 100644 --- a/internal/frontend/bridge-gui/bridge-gui/QMLBackend.cpp +++ b/internal/frontend/bridge-gui/bridge-gui/QMLBackend.cpp @@ -104,7 +104,6 @@ void QMLBackend::connectGrpcEvents() connect(client, &GRPCClient::showMainWindow, this, &QMLBackend::showMainWindow); // cache events - connect(client, &GRPCClient::isCacheOnDiskEnabledChanged, this, &QMLBackend::isDiskCacheEnabledChanged); connect(client, &GRPCClient::diskCachePathChanged, this, &QMLBackend::diskCachePathChanged); connect(client, &GRPCClient::cacheUnavailable, this, &QMLBackend::cacheUnavailable); // _ func() `signal:"cacheUnavailable"` connect(client, &GRPCClient::cacheCantMove, this, &QMLBackend::cacheCantMove); @@ -320,16 +319,6 @@ void QMLBackend::changePorts(int imapPort, int smtpPort) } -//**************************************************************************************************************************************************** -/// \param[in] enable Is cache enabled? -/// \param[in] path The path of the cache. -//**************************************************************************************************************************************************** -void QMLBackend::changeLocalCache(bool enable, QUrl const &path) -{ - app().grpc().changeLocalCache(enable, path); -} - - //**************************************************************************************************************************************************** /// \param[in] active Should DoH be active. //**************************************************************************************************************************************************** diff --git a/internal/frontend/bridge-gui/bridge-gui/QMLBackend.h b/internal/frontend/bridge-gui/bridge-gui/QMLBackend.h index 69ca1c8f..4c6f5772 100644 --- a/internal/frontend/bridge-gui/bridge-gui/QMLBackend.h +++ b/internal/frontend/bridge-gui/bridge-gui/QMLBackend.h @@ -66,7 +66,6 @@ public: // Qt/QML properties. Note that the NOTIFY-er signal is required even fo Q_PROPERTY(bool isBetaEnabled READ isBetaEnabled NOTIFY isBetaEnabledChanged) // _ bool `property:"isBetaEnabled"` Q_PROPERTY(bool isAllMailVisible READ isAllMailVisible NOTIFY isAllMailVisibleChanged) // _ bool `property:"isAllMailVisible"` Q_PROPERTY(QString colorSchemeName READ colorSchemeName NOTIFY colorSchemeNameChanged) // _ string `property:"colorSchemeName"` - Q_PROPERTY(bool isDiskCacheEnabled READ isDiskCacheEnabled NOTIFY isDiskCacheEnabledChanged) // _ bool `property:"isDiskCacheEnabled"` Q_PROPERTY(QUrl diskCachePath READ diskCachePath NOTIFY diskCachePathChanged) // _ core.QUrl `property:"diskCachePath"` Q_PROPERTY(bool useSSLforSMTP READ useSSLForSMTP NOTIFY useSSLforSMTPChanged) // _ bool `property:"useSSLforSMTP"` Q_PROPERTY(int portIMAP READ portIMAP NOTIFY portIMAPChanged) // _ int `property:"portIMAP"` @@ -98,7 +97,6 @@ public: // Qt/QML properties. Note that the NOTIFY-er signal is required even fo bool isBetaEnabled() const { bool v; app().grpc().isBetaEnabled(v); return v; } bool isAllMailVisible() const { bool v; app().grpc().isAllMailVisible(v); return v; } QString colorSchemeName() const { QString name; app().grpc().colorSchemeName(name); return name; } - bool isDiskCacheEnabled() const { bool enabled; app().grpc().isCacheOnDiskEnabled(enabled); return enabled;} QUrl diskCachePath() const { QUrl path; app().grpc().diskCachePath(path); return path; } bool useSSLForSMTP() const{ bool useSSL; app().grpc().useSSLForSMTP(useSSL); return useSSL; } int portIMAP() const { int port; app().grpc().portIMAP(port); return port; } @@ -116,7 +114,6 @@ signals: // Signal used by the Qt property system. Many of them are unused but r void showSplashScreenChanged(bool value); void showOnStartupChanged(bool value); void goosChanged(QString const &value); - void isDiskCacheEnabledChanged(bool value); void diskCachePathChanged(QUrl const &url); void useSSLforSMTPChanged(bool value); void isAutomaticUpdateOnChanged(bool value); @@ -147,7 +144,6 @@ public slots: // slot for signals received from QML -> To be forwarded to Bridge void toggleBeta(bool active); // _ func(makeItActive bool) `slot:"toggleBeta"` void changeIsAllMailVisible(bool isVisible); // _ func(isVisible bool) `slot:"changeIsAllMailVisible"` void changeColorScheme(QString const &scheme); // _ func(string) `slot:"changeColorScheme"` - void changeLocalCache(bool enable, QUrl const& path); // _ func(enableDiskCache bool, diskCachePath core.QUrl) `slot:"changeLocalCache"` void login(QString const& username, QString const& password) { app().grpc().login(username, password);} // _ func(username, password string) `slot:"login"` void login2FA(QString const& username, QString const& code) { app().grpc().login2FA(username, code);} // _ func(username, code string) `slot:"login2FA"` void login2Password(QString const& username, QString const& password) { app().grpc().login2Passwords(username, password);} // _ func(username, password string) `slot:"login2Password"` diff --git a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/EventFactory.cpp b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/EventFactory.cpp index 760294d9..fb910cca 100644 --- a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/EventFactory.cpp +++ b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/EventFactory.cpp @@ -419,20 +419,6 @@ SPStreamEvent newChangeLocalCacheFinishedEvent() } -//**************************************************************************************************************************************************** -/// \param[in] enabled The new state of the cache. -/// \return The event. -//**************************************************************************************************************************************************** -SPStreamEvent newIsCacheOnDiskEnabledChanged(bool enabled) -{ - auto event = new grpc::IsCacheOnDiskEnabledChanged; - event->set_enabled(enabled); - auto cacheEvent = new grpc::CacheEvent; - cacheEvent->set_allocated_iscacheondiskenabledchanged(event); - return wrapCacheEvent(cacheEvent); -} - - //**************************************************************************************************************************************************** /// \param[in] path The path of the cache. /// \return The event. diff --git a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/EventFactory.h b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/EventFactory.h index 2658c088..dba671d5 100644 --- a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/EventFactory.h +++ b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/EventFactory.h @@ -57,7 +57,6 @@ SPStreamEvent newUpdateCheckFinished(); ///< Create a new UpdateCheckFinished ev SPStreamEvent newCacheErrorEvent(grpc::CacheErrorType errorType); ///< Create a new CacheErrorEvent event. SPStreamEvent newCacheLocationChangeSuccessEvent(); ///< Create a new CacheLocationChangeSuccessEvent event. SPStreamEvent newChangeLocalCacheFinishedEvent(); ///< Create a new ChangeLocalCacheFinishedEvent event. -SPStreamEvent newIsCacheOnDiskEnabledChanged(bool enabled); ///< Create a new IsCacheOnDiskEnabledChanged event. SPStreamEvent newDiskCachePathChanged(QString const &path); ///< Create a new DiskCachePathChanged event. // Mail settings related events diff --git a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/GRPCClient.cpp b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/GRPCClient.cpp index 5945fe4c..04627a08 100644 --- a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/GRPCClient.cpp +++ b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/GRPCClient.cpp @@ -575,16 +575,6 @@ grpc::Status GRPCClient::hostname(QString &outHostname) } -//**************************************************************************************************************************************************** -/// \param[out] outEnabled The value for the property. -/// \return The status for the gRPC call. -//**************************************************************************************************************************************************** -grpc::Status GRPCClient::isCacheOnDiskEnabled(bool &outEnabled) -{ - return this->logGRPCCallStatus(getBool(&Bridge::Stub::IsCacheOnDiskEnabled, outEnabled), __FUNCTION__); -} - - //**************************************************************************************************************************************************** /// \param[out] outPath The value for the property. /// \return The status for the gRPC call. @@ -595,20 +585,6 @@ grpc::Status GRPCClient::diskCachePath(QUrl &outPath) } -//**************************************************************************************************************************************************** -/// \param[in] enabled Should the cache be enabled. -/// \param[in] path The value for the property. -/// \return The status for the gRPC call. -//**************************************************************************************************************************************************** -grpc::Status GRPCClient::changeLocalCache(bool enabled, QUrl const &path) -{ - ChangeLocalCacheRequest request; - request.set_enablediskcache(enabled); - request.set_diskcachepath(path.path(QUrl::FullyDecoded).toStdString()); - return this->logGRPCCallStatus(stub_->ChangeLocalCache(this->clientContext().get(), request, &empty), __FUNCTION__); -} - - //**************************************************************************************************************************************************** /// \param[in] username The username. /// \param[in] password The password. @@ -1331,11 +1307,6 @@ void GRPCClient::processCacheEvent(CacheEvent const &event) this->logTrace("Cache event received: ChangeLocalCacheFinished."); break; - case CacheEvent::kIsCacheOnDiskEnabledChanged: - this->logTrace("Cache event received: IsCacheOnDiskEnabledChanged."); - emit isCacheOnDiskEnabledChanged(event.iscacheondiskenabledchanged().enabled()); - break; - case CacheEvent::kDiskCachePathChanged: this->logTrace("Cache event received: DiskCachePathChanged."); emit diskCachePathChanged(QUrl::fromLocalFile(QString::fromStdString(event.diskcachepathchanged().path()))); diff --git a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/GRPCClient.h b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/GRPCClient.h index 8e0b9099..4db0e710 100644 --- a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/GRPCClient.h +++ b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/GRPCClient.h @@ -104,9 +104,7 @@ signals: // app related signals // cache related calls public: - grpc::Status isCacheOnDiskEnabled(bool &outEnabled); ///< Performs the 'isCacheOnDiskEnabled' call. grpc::Status diskCachePath(QUrl &outPath); ///< Performs the 'diskCachePath' call. - grpc::Status changeLocalCache(bool enabled, QUrl const &path); ///< Performs the 'ChangeLocalCache' call. signals: void isCacheOnDiskEnabledChanged(bool enabled); void diskCachePathChanged(QUrl const &outPath); diff --git a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/bridge.grpc.pb.cc b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/bridge.grpc.pb.cc index a4b6aef6..b6ef7f82 100644 --- a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/bridge.grpc.pb.cc +++ b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/bridge.grpc.pb.cc @@ -58,7 +58,6 @@ static const char* Bridge_method_names[] = { "/grpc.Bridge/InstallUpdate", "/grpc.Bridge/SetIsAutomaticUpdateOn", "/grpc.Bridge/IsAutomaticUpdateOn", - "/grpc.Bridge/IsCacheOnDiskEnabled", "/grpc.Bridge/DiskCachePath", "/grpc.Bridge/ChangeLocalCache", "/grpc.Bridge/SetIsDoHEnabled", @@ -126,29 +125,28 @@ Bridge::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, co , rpcmethod_InstallUpdate_(Bridge_method_names[33], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_SetIsAutomaticUpdateOn_(Bridge_method_names[34], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_IsAutomaticUpdateOn_(Bridge_method_names[35], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_IsCacheOnDiskEnabled_(Bridge_method_names[36], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_DiskCachePath_(Bridge_method_names[37], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ChangeLocalCache_(Bridge_method_names[38], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_SetIsDoHEnabled_(Bridge_method_names[39], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_IsDoHEnabled_(Bridge_method_names[40], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_SetUseSslForSmtp_(Bridge_method_names[41], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_UseSslForSmtp_(Bridge_method_names[42], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_Hostname_(Bridge_method_names[43], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ImapPort_(Bridge_method_names[44], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_SmtpPort_(Bridge_method_names[45], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ChangePorts_(Bridge_method_names[46], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_IsPortFree_(Bridge_method_names[47], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_AvailableKeychains_(Bridge_method_names[48], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_SetCurrentKeychain_(Bridge_method_names[49], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CurrentKeychain_(Bridge_method_names[50], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetUserList_(Bridge_method_names[51], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetUser_(Bridge_method_names[52], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_SetUserSplitMode_(Bridge_method_names[53], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_LogoutUser_(Bridge_method_names[54], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_RemoveUser_(Bridge_method_names[55], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ConfigureUserAppleMail_(Bridge_method_names[56], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_RunEventStream_(Bridge_method_names[57], options.suffix_for_stats(),::grpc::internal::RpcMethod::SERVER_STREAMING, channel) - , rpcmethod_StopEventStream_(Bridge_method_names[58], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DiskCachePath_(Bridge_method_names[36], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ChangeLocalCache_(Bridge_method_names[37], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_SetIsDoHEnabled_(Bridge_method_names[38], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_IsDoHEnabled_(Bridge_method_names[39], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_SetUseSslForSmtp_(Bridge_method_names[40], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_UseSslForSmtp_(Bridge_method_names[41], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_Hostname_(Bridge_method_names[42], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ImapPort_(Bridge_method_names[43], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_SmtpPort_(Bridge_method_names[44], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ChangePorts_(Bridge_method_names[45], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_IsPortFree_(Bridge_method_names[46], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_AvailableKeychains_(Bridge_method_names[47], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_SetCurrentKeychain_(Bridge_method_names[48], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_CurrentKeychain_(Bridge_method_names[49], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetUserList_(Bridge_method_names[50], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetUser_(Bridge_method_names[51], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_SetUserSplitMode_(Bridge_method_names[52], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_LogoutUser_(Bridge_method_names[53], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_RemoveUser_(Bridge_method_names[54], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ConfigureUserAppleMail_(Bridge_method_names[55], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_RunEventStream_(Bridge_method_names[56], options.suffix_for_stats(),::grpc::internal::RpcMethod::SERVER_STREAMING, channel) + , rpcmethod_StopEventStream_(Bridge_method_names[57], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) {} ::grpc::Status Bridge::Stub::CheckTokens(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::google::protobuf::StringValue* response) { @@ -979,29 +977,6 @@ void Bridge::Stub::async::IsAutomaticUpdateOn(::grpc::ClientContext* context, co return result; } -::grpc::Status Bridge::Stub::IsCacheOnDiskEnabled(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::google::protobuf::BoolValue* response) { - return ::grpc::internal::BlockingUnaryCall< ::google::protobuf::Empty, ::google::protobuf::BoolValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_IsCacheOnDiskEnabled_, context, request, response); -} - -void Bridge::Stub::async::IsCacheOnDiskEnabled(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::google::protobuf::Empty, ::google::protobuf::BoolValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_IsCacheOnDiskEnabled_, context, request, response, std::move(f)); -} - -void Bridge::Stub::async::IsCacheOnDiskEnabled(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_IsCacheOnDiskEnabled_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>* Bridge::Stub::PrepareAsyncIsCacheOnDiskEnabledRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::google::protobuf::BoolValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_IsCacheOnDiskEnabled_, context, request); -} - -::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>* Bridge::Stub::AsyncIsCacheOnDiskEnabledRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { - auto* result = - this->PrepareAsyncIsCacheOnDiskEnabledRaw(context, request, cq); - result->StartCall(); - return result; -} - ::grpc::Status Bridge::Stub::DiskCachePath(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::google::protobuf::StringValue* response) { return ::grpc::internal::BlockingUnaryCall< ::google::protobuf::Empty, ::google::protobuf::StringValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_DiskCachePath_, context, request, response); } @@ -1865,16 +1840,6 @@ Bridge::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( Bridge_method_names[36], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::google::protobuf::BoolValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( - [](Bridge::Service* service, - ::grpc::ServerContext* ctx, - const ::google::protobuf::Empty* req, - ::google::protobuf::BoolValue* resp) { - return service->IsCacheOnDiskEnabled(ctx, req, resp); - }, this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[37], - ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::google::protobuf::StringValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, ::grpc::ServerContext* ctx, @@ -1883,7 +1848,7 @@ Bridge::Service::Service() { return service->DiskCachePath(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[38], + Bridge_method_names[37], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::grpc::ChangeLocalCacheRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, @@ -1893,7 +1858,7 @@ Bridge::Service::Service() { return service->ChangeLocalCache(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[39], + Bridge_method_names[38], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::BoolValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, @@ -1903,7 +1868,7 @@ Bridge::Service::Service() { return service->SetIsDoHEnabled(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[40], + Bridge_method_names[39], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::google::protobuf::BoolValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, @@ -1913,7 +1878,7 @@ Bridge::Service::Service() { return service->IsDoHEnabled(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[41], + Bridge_method_names[40], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::BoolValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, @@ -1923,7 +1888,7 @@ Bridge::Service::Service() { return service->SetUseSslForSmtp(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[42], + Bridge_method_names[41], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::google::protobuf::BoolValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, @@ -1933,7 +1898,7 @@ Bridge::Service::Service() { return service->UseSslForSmtp(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[43], + Bridge_method_names[42], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::google::protobuf::StringValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, @@ -1943,7 +1908,7 @@ Bridge::Service::Service() { return service->Hostname(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[44], + Bridge_method_names[43], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::google::protobuf::Int32Value, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, @@ -1953,7 +1918,7 @@ Bridge::Service::Service() { return service->ImapPort(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[45], + Bridge_method_names[44], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::google::protobuf::Int32Value, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, @@ -1963,7 +1928,7 @@ Bridge::Service::Service() { return service->SmtpPort(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[46], + Bridge_method_names[45], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::grpc::ChangePortsRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, @@ -1973,7 +1938,7 @@ Bridge::Service::Service() { return service->ChangePorts(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[47], + Bridge_method_names[46], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Int32Value, ::google::protobuf::BoolValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, @@ -1983,7 +1948,7 @@ Bridge::Service::Service() { return service->IsPortFree(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[48], + Bridge_method_names[47], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::grpc::AvailableKeychainsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, @@ -1993,7 +1958,7 @@ Bridge::Service::Service() { return service->AvailableKeychains(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[49], + Bridge_method_names[48], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::StringValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, @@ -2003,7 +1968,7 @@ Bridge::Service::Service() { return service->SetCurrentKeychain(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[50], + Bridge_method_names[49], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::google::protobuf::StringValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, @@ -2013,7 +1978,7 @@ Bridge::Service::Service() { return service->CurrentKeychain(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[51], + Bridge_method_names[50], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::grpc::UserListResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, @@ -2023,7 +1988,7 @@ Bridge::Service::Service() { return service->GetUserList(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[52], + Bridge_method_names[51], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::StringValue, ::grpc::User, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, @@ -2033,7 +1998,7 @@ Bridge::Service::Service() { return service->GetUser(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[53], + Bridge_method_names[52], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::grpc::UserSplitModeRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, @@ -2043,7 +2008,7 @@ Bridge::Service::Service() { return service->SetUserSplitMode(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[54], + Bridge_method_names[53], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::StringValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, @@ -2053,7 +2018,7 @@ Bridge::Service::Service() { return service->LogoutUser(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[55], + Bridge_method_names[54], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::StringValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, @@ -2063,7 +2028,7 @@ Bridge::Service::Service() { return service->RemoveUser(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[56], + Bridge_method_names[55], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::grpc::ConfigureAppleMailRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, @@ -2073,7 +2038,7 @@ Bridge::Service::Service() { return service->ConfigureUserAppleMail(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[57], + Bridge_method_names[56], ::grpc::internal::RpcMethod::SERVER_STREAMING, new ::grpc::internal::ServerStreamingHandler< Bridge::Service, ::grpc::EventStreamRequest, ::grpc::StreamEvent>( [](Bridge::Service* service, @@ -2083,7 +2048,7 @@ Bridge::Service::Service() { return service->RunEventStream(ctx, req, writer); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[58], + Bridge_method_names[57], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, @@ -2349,13 +2314,6 @@ Bridge::Service::~Service() { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status Bridge::Service::IsCacheOnDiskEnabled(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - ::grpc::Status Bridge::Service::DiskCachePath(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::StringValue* response) { (void) context; (void) request; diff --git a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/bridge.grpc.pb.h b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/bridge.grpc.pb.h index 6a50e41a..90358ce4 100644 --- a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/bridge.grpc.pb.h +++ b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/bridge.grpc.pb.h @@ -313,13 +313,6 @@ class Bridge final { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::BoolValue>>(PrepareAsyncIsAutomaticUpdateOnRaw(context, request, cq)); } // cache - virtual ::grpc::Status IsCacheOnDiskEnabled(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::google::protobuf::BoolValue* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::BoolValue>> AsyncIsCacheOnDiskEnabled(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::BoolValue>>(AsyncIsCacheOnDiskEnabledRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::BoolValue>> PrepareAsyncIsCacheOnDiskEnabled(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::BoolValue>>(PrepareAsyncIsCacheOnDiskEnabledRaw(context, request, cq)); - } virtual ::grpc::Status DiskCachePath(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::google::protobuf::StringValue* response) = 0; std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::StringValue>> AsyncDiskCachePath(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::StringValue>>(AsyncDiskCachePathRaw(context, request, cq)); @@ -561,8 +554,6 @@ class Bridge final { virtual void IsAutomaticUpdateOn(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response, std::function) = 0; virtual void IsAutomaticUpdateOn(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response, ::grpc::ClientUnaryReactor* reactor) = 0; // cache - virtual void IsCacheOnDiskEnabled(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response, std::function) = 0; - virtual void IsCacheOnDiskEnabled(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response, ::grpc::ClientUnaryReactor* reactor) = 0; virtual void DiskCachePath(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::StringValue* response, std::function) = 0; virtual void DiskCachePath(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::StringValue* response, ::grpc::ClientUnaryReactor* reactor) = 0; virtual void ChangeLocalCache(::grpc::ClientContext* context, const ::grpc::ChangeLocalCacheRequest* request, ::google::protobuf::Empty* response, std::function) = 0; @@ -688,8 +679,6 @@ class Bridge final { virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* PrepareAsyncSetIsAutomaticUpdateOnRaw(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::BoolValue>* AsyncIsAutomaticUpdateOnRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::BoolValue>* PrepareAsyncIsAutomaticUpdateOnRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::BoolValue>* AsyncIsCacheOnDiskEnabledRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::BoolValue>* PrepareAsyncIsCacheOnDiskEnabledRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::StringValue>* AsyncDiskCachePathRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::StringValue>* PrepareAsyncDiskCachePathRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncChangeLocalCacheRaw(::grpc::ClientContext* context, const ::grpc::ChangeLocalCacheRequest& request, ::grpc::CompletionQueue* cq) = 0; @@ -991,13 +980,6 @@ class Bridge final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>> PrepareAsyncIsAutomaticUpdateOn(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>>(PrepareAsyncIsAutomaticUpdateOnRaw(context, request, cq)); } - ::grpc::Status IsCacheOnDiskEnabled(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::google::protobuf::BoolValue* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>> AsyncIsCacheOnDiskEnabled(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>>(AsyncIsCacheOnDiskEnabledRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>> PrepareAsyncIsCacheOnDiskEnabled(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>>(PrepareAsyncIsCacheOnDiskEnabledRaw(context, request, cq)); - } ::grpc::Status DiskCachePath(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::google::protobuf::StringValue* response) override; std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::StringValue>> AsyncDiskCachePath(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::StringValue>>(AsyncDiskCachePathRaw(context, request, cq)); @@ -1229,8 +1211,6 @@ class Bridge final { void SetIsAutomaticUpdateOn(::grpc::ClientContext* context, const ::google::protobuf::BoolValue* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) override; void IsAutomaticUpdateOn(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response, std::function) override; void IsAutomaticUpdateOn(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response, ::grpc::ClientUnaryReactor* reactor) override; - void IsCacheOnDiskEnabled(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response, std::function) override; - void IsCacheOnDiskEnabled(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response, ::grpc::ClientUnaryReactor* reactor) override; void DiskCachePath(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::StringValue* response, std::function) override; void DiskCachePath(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::StringValue* response, ::grpc::ClientUnaryReactor* reactor) override; void ChangeLocalCache(::grpc::ClientContext* context, const ::grpc::ChangeLocalCacheRequest* request, ::google::protobuf::Empty* response, std::function) override; @@ -1357,8 +1337,6 @@ class Bridge final { ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* PrepareAsyncSetIsAutomaticUpdateOnRaw(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>* AsyncIsAutomaticUpdateOnRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>* PrepareAsyncIsAutomaticUpdateOnRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>* AsyncIsCacheOnDiskEnabledRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>* PrepareAsyncIsCacheOnDiskEnabledRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::google::protobuf::StringValue>* AsyncDiskCachePathRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::google::protobuf::StringValue>* PrepareAsyncDiskCachePathRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncChangeLocalCacheRaw(::grpc::ClientContext* context, const ::grpc::ChangeLocalCacheRequest& request, ::grpc::CompletionQueue* cq) override; @@ -1440,7 +1418,6 @@ class Bridge final { const ::grpc::internal::RpcMethod rpcmethod_InstallUpdate_; const ::grpc::internal::RpcMethod rpcmethod_SetIsAutomaticUpdateOn_; const ::grpc::internal::RpcMethod rpcmethod_IsAutomaticUpdateOn_; - const ::grpc::internal::RpcMethod rpcmethod_IsCacheOnDiskEnabled_; const ::grpc::internal::RpcMethod rpcmethod_DiskCachePath_; const ::grpc::internal::RpcMethod rpcmethod_ChangeLocalCache_; const ::grpc::internal::RpcMethod rpcmethod_SetIsDoHEnabled_; @@ -1511,7 +1488,6 @@ class Bridge final { virtual ::grpc::Status SetIsAutomaticUpdateOn(::grpc::ServerContext* context, const ::google::protobuf::BoolValue* request, ::google::protobuf::Empty* response); virtual ::grpc::Status IsAutomaticUpdateOn(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response); // cache - virtual ::grpc::Status IsCacheOnDiskEnabled(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response); virtual ::grpc::Status DiskCachePath(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::StringValue* response); virtual ::grpc::Status ChangeLocalCache(::grpc::ServerContext* context, const ::grpc::ChangeLocalCacheRequest* request, ::google::protobuf::Empty* response); // mail @@ -2261,32 +2237,12 @@ class Bridge final { } }; template - class WithAsyncMethod_IsCacheOnDiskEnabled : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithAsyncMethod_IsCacheOnDiskEnabled() { - ::grpc::Service::MarkMethodAsync(36); - } - ~WithAsyncMethod_IsCacheOnDiskEnabled() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IsCacheOnDiskEnabled(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::BoolValue* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestIsCacheOnDiskEnabled(::grpc::ServerContext* context, ::google::protobuf::Empty* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::BoolValue>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(36, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template class WithAsyncMethod_DiskCachePath : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_DiskCachePath() { - ::grpc::Service::MarkMethodAsync(37); + ::grpc::Service::MarkMethodAsync(36); } ~WithAsyncMethod_DiskCachePath() override { BaseClassMustBeDerivedFromService(this); @@ -2297,7 +2253,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestDiskCachePath(::grpc::ServerContext* context, ::google::protobuf::Empty* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::StringValue>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(37, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(36, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2306,7 +2262,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_ChangeLocalCache() { - ::grpc::Service::MarkMethodAsync(38); + ::grpc::Service::MarkMethodAsync(37); } ~WithAsyncMethod_ChangeLocalCache() override { BaseClassMustBeDerivedFromService(this); @@ -2317,7 +2273,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestChangeLocalCache(::grpc::ServerContext* context, ::grpc::ChangeLocalCacheRequest* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(38, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(37, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2326,7 +2282,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_SetIsDoHEnabled() { - ::grpc::Service::MarkMethodAsync(39); + ::grpc::Service::MarkMethodAsync(38); } ~WithAsyncMethod_SetIsDoHEnabled() override { BaseClassMustBeDerivedFromService(this); @@ -2337,7 +2293,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestSetIsDoHEnabled(::grpc::ServerContext* context, ::google::protobuf::BoolValue* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(39, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(38, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2346,7 +2302,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_IsDoHEnabled() { - ::grpc::Service::MarkMethodAsync(40); + ::grpc::Service::MarkMethodAsync(39); } ~WithAsyncMethod_IsDoHEnabled() override { BaseClassMustBeDerivedFromService(this); @@ -2357,7 +2313,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestIsDoHEnabled(::grpc::ServerContext* context, ::google::protobuf::Empty* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::BoolValue>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(40, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(39, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2366,7 +2322,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_SetUseSslForSmtp() { - ::grpc::Service::MarkMethodAsync(41); + ::grpc::Service::MarkMethodAsync(40); } ~WithAsyncMethod_SetUseSslForSmtp() override { BaseClassMustBeDerivedFromService(this); @@ -2377,7 +2333,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestSetUseSslForSmtp(::grpc::ServerContext* context, ::google::protobuf::BoolValue* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(41, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(40, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2386,7 +2342,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_UseSslForSmtp() { - ::grpc::Service::MarkMethodAsync(42); + ::grpc::Service::MarkMethodAsync(41); } ~WithAsyncMethod_UseSslForSmtp() override { BaseClassMustBeDerivedFromService(this); @@ -2397,7 +2353,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestUseSslForSmtp(::grpc::ServerContext* context, ::google::protobuf::Empty* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::BoolValue>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(42, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(41, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2406,7 +2362,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_Hostname() { - ::grpc::Service::MarkMethodAsync(43); + ::grpc::Service::MarkMethodAsync(42); } ~WithAsyncMethod_Hostname() override { BaseClassMustBeDerivedFromService(this); @@ -2417,7 +2373,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestHostname(::grpc::ServerContext* context, ::google::protobuf::Empty* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::StringValue>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(43, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(42, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2426,7 +2382,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_ImapPort() { - ::grpc::Service::MarkMethodAsync(44); + ::grpc::Service::MarkMethodAsync(43); } ~WithAsyncMethod_ImapPort() override { BaseClassMustBeDerivedFromService(this); @@ -2437,7 +2393,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestImapPort(::grpc::ServerContext* context, ::google::protobuf::Empty* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Int32Value>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(44, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(43, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2446,7 +2402,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_SmtpPort() { - ::grpc::Service::MarkMethodAsync(45); + ::grpc::Service::MarkMethodAsync(44); } ~WithAsyncMethod_SmtpPort() override { BaseClassMustBeDerivedFromService(this); @@ -2457,7 +2413,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestSmtpPort(::grpc::ServerContext* context, ::google::protobuf::Empty* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Int32Value>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(45, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(44, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2466,7 +2422,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_ChangePorts() { - ::grpc::Service::MarkMethodAsync(46); + ::grpc::Service::MarkMethodAsync(45); } ~WithAsyncMethod_ChangePorts() override { BaseClassMustBeDerivedFromService(this); @@ -2477,7 +2433,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestChangePorts(::grpc::ServerContext* context, ::grpc::ChangePortsRequest* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(46, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(45, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2486,7 +2442,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_IsPortFree() { - ::grpc::Service::MarkMethodAsync(47); + ::grpc::Service::MarkMethodAsync(46); } ~WithAsyncMethod_IsPortFree() override { BaseClassMustBeDerivedFromService(this); @@ -2497,7 +2453,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestIsPortFree(::grpc::ServerContext* context, ::google::protobuf::Int32Value* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::BoolValue>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(47, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(46, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2506,7 +2462,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_AvailableKeychains() { - ::grpc::Service::MarkMethodAsync(48); + ::grpc::Service::MarkMethodAsync(47); } ~WithAsyncMethod_AvailableKeychains() override { BaseClassMustBeDerivedFromService(this); @@ -2517,7 +2473,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestAvailableKeychains(::grpc::ServerContext* context, ::google::protobuf::Empty* request, ::grpc::ServerAsyncResponseWriter< ::grpc::AvailableKeychainsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(48, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(47, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2526,7 +2482,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_SetCurrentKeychain() { - ::grpc::Service::MarkMethodAsync(49); + ::grpc::Service::MarkMethodAsync(48); } ~WithAsyncMethod_SetCurrentKeychain() override { BaseClassMustBeDerivedFromService(this); @@ -2537,7 +2493,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestSetCurrentKeychain(::grpc::ServerContext* context, ::google::protobuf::StringValue* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(49, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(48, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2546,7 +2502,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_CurrentKeychain() { - ::grpc::Service::MarkMethodAsync(50); + ::grpc::Service::MarkMethodAsync(49); } ~WithAsyncMethod_CurrentKeychain() override { BaseClassMustBeDerivedFromService(this); @@ -2557,7 +2513,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestCurrentKeychain(::grpc::ServerContext* context, ::google::protobuf::Empty* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::StringValue>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(50, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(49, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2566,7 +2522,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_GetUserList() { - ::grpc::Service::MarkMethodAsync(51); + ::grpc::Service::MarkMethodAsync(50); } ~WithAsyncMethod_GetUserList() override { BaseClassMustBeDerivedFromService(this); @@ -2577,7 +2533,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetUserList(::grpc::ServerContext* context, ::google::protobuf::Empty* request, ::grpc::ServerAsyncResponseWriter< ::grpc::UserListResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(51, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(50, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2586,7 +2542,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_GetUser() { - ::grpc::Service::MarkMethodAsync(52); + ::grpc::Service::MarkMethodAsync(51); } ~WithAsyncMethod_GetUser() override { BaseClassMustBeDerivedFromService(this); @@ -2597,7 +2553,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetUser(::grpc::ServerContext* context, ::google::protobuf::StringValue* request, ::grpc::ServerAsyncResponseWriter< ::grpc::User>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(52, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(51, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2606,7 +2562,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_SetUserSplitMode() { - ::grpc::Service::MarkMethodAsync(53); + ::grpc::Service::MarkMethodAsync(52); } ~WithAsyncMethod_SetUserSplitMode() override { BaseClassMustBeDerivedFromService(this); @@ -2617,7 +2573,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestSetUserSplitMode(::grpc::ServerContext* context, ::grpc::UserSplitModeRequest* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(53, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(52, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2626,7 +2582,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_LogoutUser() { - ::grpc::Service::MarkMethodAsync(54); + ::grpc::Service::MarkMethodAsync(53); } ~WithAsyncMethod_LogoutUser() override { BaseClassMustBeDerivedFromService(this); @@ -2637,7 +2593,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestLogoutUser(::grpc::ServerContext* context, ::google::protobuf::StringValue* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(54, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(53, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2646,7 +2602,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_RemoveUser() { - ::grpc::Service::MarkMethodAsync(55); + ::grpc::Service::MarkMethodAsync(54); } ~WithAsyncMethod_RemoveUser() override { BaseClassMustBeDerivedFromService(this); @@ -2657,7 +2613,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestRemoveUser(::grpc::ServerContext* context, ::google::protobuf::StringValue* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(55, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(54, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2666,7 +2622,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_ConfigureUserAppleMail() { - ::grpc::Service::MarkMethodAsync(56); + ::grpc::Service::MarkMethodAsync(55); } ~WithAsyncMethod_ConfigureUserAppleMail() override { BaseClassMustBeDerivedFromService(this); @@ -2677,7 +2633,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestConfigureUserAppleMail(::grpc::ServerContext* context, ::grpc::ConfigureAppleMailRequest* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(56, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(55, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2686,7 +2642,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_RunEventStream() { - ::grpc::Service::MarkMethodAsync(57); + ::grpc::Service::MarkMethodAsync(56); } ~WithAsyncMethod_RunEventStream() override { BaseClassMustBeDerivedFromService(this); @@ -2697,7 +2653,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestRunEventStream(::grpc::ServerContext* context, ::grpc::EventStreamRequest* request, ::grpc::ServerAsyncWriter< ::grpc::StreamEvent>* writer, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncServerStreaming(57, context, request, writer, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncServerStreaming(56, context, request, writer, new_call_cq, notification_cq, tag); } }; template @@ -2706,7 +2662,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_StopEventStream() { - ::grpc::Service::MarkMethodAsync(58); + ::grpc::Service::MarkMethodAsync(57); } ~WithAsyncMethod_StopEventStream() override { BaseClassMustBeDerivedFromService(this); @@ -2717,10 +2673,10 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestStopEventStream(::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(58, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(57, context, request, response, new_call_cq, notification_cq, tag); } }; - typedef WithAsyncMethod_CheckTokens > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > AsyncService; + typedef WithAsyncMethod_CheckTokens > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > AsyncService; template class WithCallbackMethod_CheckTokens : public BaseClass { private: @@ -3694,45 +3650,18 @@ class Bridge final { ::grpc::CallbackServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::BoolValue* /*response*/) { return nullptr; } }; template - class WithCallbackMethod_IsCacheOnDiskEnabled : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithCallbackMethod_IsCacheOnDiskEnabled() { - ::grpc::Service::MarkMethodCallback(36, - new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::BoolValue>( - [this]( - ::grpc::CallbackServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response) { return this->IsCacheOnDiskEnabled(context, request, response); }));} - void SetMessageAllocatorFor_IsCacheOnDiskEnabled( - ::grpc::MessageAllocator< ::google::protobuf::Empty, ::google::protobuf::BoolValue>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(36); - static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::BoolValue>*>(handler) - ->SetMessageAllocator(allocator); - } - ~WithCallbackMethod_IsCacheOnDiskEnabled() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IsCacheOnDiskEnabled(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::BoolValue* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* IsCacheOnDiskEnabled( - ::grpc::CallbackServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::BoolValue* /*response*/) { return nullptr; } - }; - template class WithCallbackMethod_DiskCachePath : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_DiskCachePath() { - ::grpc::Service::MarkMethodCallback(37, + ::grpc::Service::MarkMethodCallback(36, new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::StringValue>( [this]( ::grpc::CallbackServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::StringValue* response) { return this->DiskCachePath(context, request, response); }));} void SetMessageAllocatorFor_DiskCachePath( ::grpc::MessageAllocator< ::google::protobuf::Empty, ::google::protobuf::StringValue>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(37); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(36); static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::StringValue>*>(handler) ->SetMessageAllocator(allocator); } @@ -3753,13 +3682,13 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_ChangeLocalCache() { - ::grpc::Service::MarkMethodCallback(38, + ::grpc::Service::MarkMethodCallback(37, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ChangeLocalCacheRequest, ::google::protobuf::Empty>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ChangeLocalCacheRequest* request, ::google::protobuf::Empty* response) { return this->ChangeLocalCache(context, request, response); }));} void SetMessageAllocatorFor_ChangeLocalCache( ::grpc::MessageAllocator< ::grpc::ChangeLocalCacheRequest, ::google::protobuf::Empty>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(38); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(37); static_cast<::grpc::internal::CallbackUnaryHandler< ::grpc::ChangeLocalCacheRequest, ::google::protobuf::Empty>*>(handler) ->SetMessageAllocator(allocator); } @@ -3780,13 +3709,13 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_SetIsDoHEnabled() { - ::grpc::Service::MarkMethodCallback(39, + ::grpc::Service::MarkMethodCallback(38, new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::BoolValue, ::google::protobuf::Empty>( [this]( ::grpc::CallbackServerContext* context, const ::google::protobuf::BoolValue* request, ::google::protobuf::Empty* response) { return this->SetIsDoHEnabled(context, request, response); }));} void SetMessageAllocatorFor_SetIsDoHEnabled( ::grpc::MessageAllocator< ::google::protobuf::BoolValue, ::google::protobuf::Empty>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(39); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(38); static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::BoolValue, ::google::protobuf::Empty>*>(handler) ->SetMessageAllocator(allocator); } @@ -3807,13 +3736,13 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_IsDoHEnabled() { - ::grpc::Service::MarkMethodCallback(40, + ::grpc::Service::MarkMethodCallback(39, new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::BoolValue>( [this]( ::grpc::CallbackServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response) { return this->IsDoHEnabled(context, request, response); }));} void SetMessageAllocatorFor_IsDoHEnabled( ::grpc::MessageAllocator< ::google::protobuf::Empty, ::google::protobuf::BoolValue>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(40); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(39); static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::BoolValue>*>(handler) ->SetMessageAllocator(allocator); } @@ -3834,13 +3763,13 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_SetUseSslForSmtp() { - ::grpc::Service::MarkMethodCallback(41, + ::grpc::Service::MarkMethodCallback(40, new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::BoolValue, ::google::protobuf::Empty>( [this]( ::grpc::CallbackServerContext* context, const ::google::protobuf::BoolValue* request, ::google::protobuf::Empty* response) { return this->SetUseSslForSmtp(context, request, response); }));} void SetMessageAllocatorFor_SetUseSslForSmtp( ::grpc::MessageAllocator< ::google::protobuf::BoolValue, ::google::protobuf::Empty>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(41); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(40); static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::BoolValue, ::google::protobuf::Empty>*>(handler) ->SetMessageAllocator(allocator); } @@ -3861,13 +3790,13 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_UseSslForSmtp() { - ::grpc::Service::MarkMethodCallback(42, + ::grpc::Service::MarkMethodCallback(41, new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::BoolValue>( [this]( ::grpc::CallbackServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response) { return this->UseSslForSmtp(context, request, response); }));} void SetMessageAllocatorFor_UseSslForSmtp( ::grpc::MessageAllocator< ::google::protobuf::Empty, ::google::protobuf::BoolValue>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(42); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(41); static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::BoolValue>*>(handler) ->SetMessageAllocator(allocator); } @@ -3888,13 +3817,13 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_Hostname() { - ::grpc::Service::MarkMethodCallback(43, + ::grpc::Service::MarkMethodCallback(42, new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::StringValue>( [this]( ::grpc::CallbackServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::StringValue* response) { return this->Hostname(context, request, response); }));} void SetMessageAllocatorFor_Hostname( ::grpc::MessageAllocator< ::google::protobuf::Empty, ::google::protobuf::StringValue>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(43); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(42); static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::StringValue>*>(handler) ->SetMessageAllocator(allocator); } @@ -3915,13 +3844,13 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_ImapPort() { - ::grpc::Service::MarkMethodCallback(44, + ::grpc::Service::MarkMethodCallback(43, new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::Int32Value>( [this]( ::grpc::CallbackServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Int32Value* response) { return this->ImapPort(context, request, response); }));} void SetMessageAllocatorFor_ImapPort( ::grpc::MessageAllocator< ::google::protobuf::Empty, ::google::protobuf::Int32Value>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(44); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(43); static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::Int32Value>*>(handler) ->SetMessageAllocator(allocator); } @@ -3942,13 +3871,13 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_SmtpPort() { - ::grpc::Service::MarkMethodCallback(45, + ::grpc::Service::MarkMethodCallback(44, new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::Int32Value>( [this]( ::grpc::CallbackServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Int32Value* response) { return this->SmtpPort(context, request, response); }));} void SetMessageAllocatorFor_SmtpPort( ::grpc::MessageAllocator< ::google::protobuf::Empty, ::google::protobuf::Int32Value>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(45); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(44); static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::Int32Value>*>(handler) ->SetMessageAllocator(allocator); } @@ -3969,13 +3898,13 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_ChangePorts() { - ::grpc::Service::MarkMethodCallback(46, + ::grpc::Service::MarkMethodCallback(45, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ChangePortsRequest, ::google::protobuf::Empty>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ChangePortsRequest* request, ::google::protobuf::Empty* response) { return this->ChangePorts(context, request, response); }));} void SetMessageAllocatorFor_ChangePorts( ::grpc::MessageAllocator< ::grpc::ChangePortsRequest, ::google::protobuf::Empty>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(46); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(45); static_cast<::grpc::internal::CallbackUnaryHandler< ::grpc::ChangePortsRequest, ::google::protobuf::Empty>*>(handler) ->SetMessageAllocator(allocator); } @@ -3996,13 +3925,13 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_IsPortFree() { - ::grpc::Service::MarkMethodCallback(47, + ::grpc::Service::MarkMethodCallback(46, new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Int32Value, ::google::protobuf::BoolValue>( [this]( ::grpc::CallbackServerContext* context, const ::google::protobuf::Int32Value* request, ::google::protobuf::BoolValue* response) { return this->IsPortFree(context, request, response); }));} void SetMessageAllocatorFor_IsPortFree( ::grpc::MessageAllocator< ::google::protobuf::Int32Value, ::google::protobuf::BoolValue>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(47); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(46); static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Int32Value, ::google::protobuf::BoolValue>*>(handler) ->SetMessageAllocator(allocator); } @@ -4023,13 +3952,13 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_AvailableKeychains() { - ::grpc::Service::MarkMethodCallback(48, + ::grpc::Service::MarkMethodCallback(47, new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::grpc::AvailableKeychainsResponse>( [this]( ::grpc::CallbackServerContext* context, const ::google::protobuf::Empty* request, ::grpc::AvailableKeychainsResponse* response) { return this->AvailableKeychains(context, request, response); }));} void SetMessageAllocatorFor_AvailableKeychains( ::grpc::MessageAllocator< ::google::protobuf::Empty, ::grpc::AvailableKeychainsResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(48); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(47); static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::grpc::AvailableKeychainsResponse>*>(handler) ->SetMessageAllocator(allocator); } @@ -4050,13 +3979,13 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_SetCurrentKeychain() { - ::grpc::Service::MarkMethodCallback(49, + ::grpc::Service::MarkMethodCallback(48, new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::StringValue, ::google::protobuf::Empty>( [this]( ::grpc::CallbackServerContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response) { return this->SetCurrentKeychain(context, request, response); }));} void SetMessageAllocatorFor_SetCurrentKeychain( ::grpc::MessageAllocator< ::google::protobuf::StringValue, ::google::protobuf::Empty>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(49); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(48); static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::StringValue, ::google::protobuf::Empty>*>(handler) ->SetMessageAllocator(allocator); } @@ -4077,13 +4006,13 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_CurrentKeychain() { - ::grpc::Service::MarkMethodCallback(50, + ::grpc::Service::MarkMethodCallback(49, new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::StringValue>( [this]( ::grpc::CallbackServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::StringValue* response) { return this->CurrentKeychain(context, request, response); }));} void SetMessageAllocatorFor_CurrentKeychain( ::grpc::MessageAllocator< ::google::protobuf::Empty, ::google::protobuf::StringValue>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(50); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(49); static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::StringValue>*>(handler) ->SetMessageAllocator(allocator); } @@ -4104,13 +4033,13 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_GetUserList() { - ::grpc::Service::MarkMethodCallback(51, + ::grpc::Service::MarkMethodCallback(50, new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::grpc::UserListResponse>( [this]( ::grpc::CallbackServerContext* context, const ::google::protobuf::Empty* request, ::grpc::UserListResponse* response) { return this->GetUserList(context, request, response); }));} void SetMessageAllocatorFor_GetUserList( ::grpc::MessageAllocator< ::google::protobuf::Empty, ::grpc::UserListResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(51); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(50); static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::grpc::UserListResponse>*>(handler) ->SetMessageAllocator(allocator); } @@ -4131,13 +4060,13 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_GetUser() { - ::grpc::Service::MarkMethodCallback(52, + ::grpc::Service::MarkMethodCallback(51, new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::StringValue, ::grpc::User>( [this]( ::grpc::CallbackServerContext* context, const ::google::protobuf::StringValue* request, ::grpc::User* response) { return this->GetUser(context, request, response); }));} void SetMessageAllocatorFor_GetUser( ::grpc::MessageAllocator< ::google::protobuf::StringValue, ::grpc::User>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(52); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(51); static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::StringValue, ::grpc::User>*>(handler) ->SetMessageAllocator(allocator); } @@ -4158,13 +4087,13 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_SetUserSplitMode() { - ::grpc::Service::MarkMethodCallback(53, + ::grpc::Service::MarkMethodCallback(52, new ::grpc::internal::CallbackUnaryHandler< ::grpc::UserSplitModeRequest, ::google::protobuf::Empty>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::UserSplitModeRequest* request, ::google::protobuf::Empty* response) { return this->SetUserSplitMode(context, request, response); }));} void SetMessageAllocatorFor_SetUserSplitMode( ::grpc::MessageAllocator< ::grpc::UserSplitModeRequest, ::google::protobuf::Empty>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(53); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(52); static_cast<::grpc::internal::CallbackUnaryHandler< ::grpc::UserSplitModeRequest, ::google::protobuf::Empty>*>(handler) ->SetMessageAllocator(allocator); } @@ -4185,13 +4114,13 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_LogoutUser() { - ::grpc::Service::MarkMethodCallback(54, + ::grpc::Service::MarkMethodCallback(53, new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::StringValue, ::google::protobuf::Empty>( [this]( ::grpc::CallbackServerContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response) { return this->LogoutUser(context, request, response); }));} void SetMessageAllocatorFor_LogoutUser( ::grpc::MessageAllocator< ::google::protobuf::StringValue, ::google::protobuf::Empty>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(54); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(53); static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::StringValue, ::google::protobuf::Empty>*>(handler) ->SetMessageAllocator(allocator); } @@ -4212,13 +4141,13 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_RemoveUser() { - ::grpc::Service::MarkMethodCallback(55, + ::grpc::Service::MarkMethodCallback(54, new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::StringValue, ::google::protobuf::Empty>( [this]( ::grpc::CallbackServerContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response) { return this->RemoveUser(context, request, response); }));} void SetMessageAllocatorFor_RemoveUser( ::grpc::MessageAllocator< ::google::protobuf::StringValue, ::google::protobuf::Empty>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(55); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(54); static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::StringValue, ::google::protobuf::Empty>*>(handler) ->SetMessageAllocator(allocator); } @@ -4239,13 +4168,13 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_ConfigureUserAppleMail() { - ::grpc::Service::MarkMethodCallback(56, + ::grpc::Service::MarkMethodCallback(55, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ConfigureAppleMailRequest, ::google::protobuf::Empty>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ConfigureAppleMailRequest* request, ::google::protobuf::Empty* response) { return this->ConfigureUserAppleMail(context, request, response); }));} void SetMessageAllocatorFor_ConfigureUserAppleMail( ::grpc::MessageAllocator< ::grpc::ConfigureAppleMailRequest, ::google::protobuf::Empty>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(56); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(55); static_cast<::grpc::internal::CallbackUnaryHandler< ::grpc::ConfigureAppleMailRequest, ::google::protobuf::Empty>*>(handler) ->SetMessageAllocator(allocator); } @@ -4266,7 +4195,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_RunEventStream() { - ::grpc::Service::MarkMethodCallback(57, + ::grpc::Service::MarkMethodCallback(56, new ::grpc::internal::CallbackServerStreamingHandler< ::grpc::EventStreamRequest, ::grpc::StreamEvent>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::EventStreamRequest* request) { return this->RunEventStream(context, request); })); @@ -4288,13 +4217,13 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_StopEventStream() { - ::grpc::Service::MarkMethodCallback(58, + ::grpc::Service::MarkMethodCallback(57, new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::Empty>( [this]( ::grpc::CallbackServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Empty* response) { return this->StopEventStream(context, request, response); }));} void SetMessageAllocatorFor_StopEventStream( ::grpc::MessageAllocator< ::google::protobuf::Empty, ::google::protobuf::Empty>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(58); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(57); static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::Empty>*>(handler) ->SetMessageAllocator(allocator); } @@ -4309,7 +4238,7 @@ class Bridge final { virtual ::grpc::ServerUnaryReactor* StopEventStream( ::grpc::CallbackServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::Empty* /*response*/) { return nullptr; } }; - typedef WithCallbackMethod_CheckTokens > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > CallbackService; + typedef WithCallbackMethod_CheckTokens > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > CallbackService; typedef CallbackService ExperimentalCallbackService; template class WithGenericMethod_CheckTokens : public BaseClass { @@ -4924,29 +4853,12 @@ class Bridge final { } }; template - class WithGenericMethod_IsCacheOnDiskEnabled : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithGenericMethod_IsCacheOnDiskEnabled() { - ::grpc::Service::MarkMethodGeneric(36); - } - ~WithGenericMethod_IsCacheOnDiskEnabled() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IsCacheOnDiskEnabled(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::BoolValue* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template class WithGenericMethod_DiskCachePath : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_DiskCachePath() { - ::grpc::Service::MarkMethodGeneric(37); + ::grpc::Service::MarkMethodGeneric(36); } ~WithGenericMethod_DiskCachePath() override { BaseClassMustBeDerivedFromService(this); @@ -4963,7 +4875,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_ChangeLocalCache() { - ::grpc::Service::MarkMethodGeneric(38); + ::grpc::Service::MarkMethodGeneric(37); } ~WithGenericMethod_ChangeLocalCache() override { BaseClassMustBeDerivedFromService(this); @@ -4980,7 +4892,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_SetIsDoHEnabled() { - ::grpc::Service::MarkMethodGeneric(39); + ::grpc::Service::MarkMethodGeneric(38); } ~WithGenericMethod_SetIsDoHEnabled() override { BaseClassMustBeDerivedFromService(this); @@ -4997,7 +4909,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_IsDoHEnabled() { - ::grpc::Service::MarkMethodGeneric(40); + ::grpc::Service::MarkMethodGeneric(39); } ~WithGenericMethod_IsDoHEnabled() override { BaseClassMustBeDerivedFromService(this); @@ -5014,7 +4926,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_SetUseSslForSmtp() { - ::grpc::Service::MarkMethodGeneric(41); + ::grpc::Service::MarkMethodGeneric(40); } ~WithGenericMethod_SetUseSslForSmtp() override { BaseClassMustBeDerivedFromService(this); @@ -5031,7 +4943,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_UseSslForSmtp() { - ::grpc::Service::MarkMethodGeneric(42); + ::grpc::Service::MarkMethodGeneric(41); } ~WithGenericMethod_UseSslForSmtp() override { BaseClassMustBeDerivedFromService(this); @@ -5048,7 +4960,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_Hostname() { - ::grpc::Service::MarkMethodGeneric(43); + ::grpc::Service::MarkMethodGeneric(42); } ~WithGenericMethod_Hostname() override { BaseClassMustBeDerivedFromService(this); @@ -5065,7 +4977,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_ImapPort() { - ::grpc::Service::MarkMethodGeneric(44); + ::grpc::Service::MarkMethodGeneric(43); } ~WithGenericMethod_ImapPort() override { BaseClassMustBeDerivedFromService(this); @@ -5082,7 +4994,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_SmtpPort() { - ::grpc::Service::MarkMethodGeneric(45); + ::grpc::Service::MarkMethodGeneric(44); } ~WithGenericMethod_SmtpPort() override { BaseClassMustBeDerivedFromService(this); @@ -5099,7 +5011,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_ChangePorts() { - ::grpc::Service::MarkMethodGeneric(46); + ::grpc::Service::MarkMethodGeneric(45); } ~WithGenericMethod_ChangePorts() override { BaseClassMustBeDerivedFromService(this); @@ -5116,7 +5028,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_IsPortFree() { - ::grpc::Service::MarkMethodGeneric(47); + ::grpc::Service::MarkMethodGeneric(46); } ~WithGenericMethod_IsPortFree() override { BaseClassMustBeDerivedFromService(this); @@ -5133,7 +5045,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_AvailableKeychains() { - ::grpc::Service::MarkMethodGeneric(48); + ::grpc::Service::MarkMethodGeneric(47); } ~WithGenericMethod_AvailableKeychains() override { BaseClassMustBeDerivedFromService(this); @@ -5150,7 +5062,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_SetCurrentKeychain() { - ::grpc::Service::MarkMethodGeneric(49); + ::grpc::Service::MarkMethodGeneric(48); } ~WithGenericMethod_SetCurrentKeychain() override { BaseClassMustBeDerivedFromService(this); @@ -5167,7 +5079,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_CurrentKeychain() { - ::grpc::Service::MarkMethodGeneric(50); + ::grpc::Service::MarkMethodGeneric(49); } ~WithGenericMethod_CurrentKeychain() override { BaseClassMustBeDerivedFromService(this); @@ -5184,7 +5096,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_GetUserList() { - ::grpc::Service::MarkMethodGeneric(51); + ::grpc::Service::MarkMethodGeneric(50); } ~WithGenericMethod_GetUserList() override { BaseClassMustBeDerivedFromService(this); @@ -5201,7 +5113,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_GetUser() { - ::grpc::Service::MarkMethodGeneric(52); + ::grpc::Service::MarkMethodGeneric(51); } ~WithGenericMethod_GetUser() override { BaseClassMustBeDerivedFromService(this); @@ -5218,7 +5130,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_SetUserSplitMode() { - ::grpc::Service::MarkMethodGeneric(53); + ::grpc::Service::MarkMethodGeneric(52); } ~WithGenericMethod_SetUserSplitMode() override { BaseClassMustBeDerivedFromService(this); @@ -5235,7 +5147,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_LogoutUser() { - ::grpc::Service::MarkMethodGeneric(54); + ::grpc::Service::MarkMethodGeneric(53); } ~WithGenericMethod_LogoutUser() override { BaseClassMustBeDerivedFromService(this); @@ -5252,7 +5164,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_RemoveUser() { - ::grpc::Service::MarkMethodGeneric(55); + ::grpc::Service::MarkMethodGeneric(54); } ~WithGenericMethod_RemoveUser() override { BaseClassMustBeDerivedFromService(this); @@ -5269,7 +5181,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_ConfigureUserAppleMail() { - ::grpc::Service::MarkMethodGeneric(56); + ::grpc::Service::MarkMethodGeneric(55); } ~WithGenericMethod_ConfigureUserAppleMail() override { BaseClassMustBeDerivedFromService(this); @@ -5286,7 +5198,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_RunEventStream() { - ::grpc::Service::MarkMethodGeneric(57); + ::grpc::Service::MarkMethodGeneric(56); } ~WithGenericMethod_RunEventStream() override { BaseClassMustBeDerivedFromService(this); @@ -5303,7 +5215,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_StopEventStream() { - ::grpc::Service::MarkMethodGeneric(58); + ::grpc::Service::MarkMethodGeneric(57); } ~WithGenericMethod_StopEventStream() override { BaseClassMustBeDerivedFromService(this); @@ -6035,32 +5947,12 @@ class Bridge final { } }; template - class WithRawMethod_IsCacheOnDiskEnabled : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawMethod_IsCacheOnDiskEnabled() { - ::grpc::Service::MarkMethodRaw(36); - } - ~WithRawMethod_IsCacheOnDiskEnabled() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IsCacheOnDiskEnabled(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::BoolValue* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestIsCacheOnDiskEnabled(::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(36, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template class WithRawMethod_DiskCachePath : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_DiskCachePath() { - ::grpc::Service::MarkMethodRaw(37); + ::grpc::Service::MarkMethodRaw(36); } ~WithRawMethod_DiskCachePath() override { BaseClassMustBeDerivedFromService(this); @@ -6071,7 +5963,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestDiskCachePath(::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(37, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(36, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6080,7 +5972,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_ChangeLocalCache() { - ::grpc::Service::MarkMethodRaw(38); + ::grpc::Service::MarkMethodRaw(37); } ~WithRawMethod_ChangeLocalCache() override { BaseClassMustBeDerivedFromService(this); @@ -6091,7 +5983,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestChangeLocalCache(::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(38, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(37, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6100,7 +5992,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_SetIsDoHEnabled() { - ::grpc::Service::MarkMethodRaw(39); + ::grpc::Service::MarkMethodRaw(38); } ~WithRawMethod_SetIsDoHEnabled() override { BaseClassMustBeDerivedFromService(this); @@ -6111,7 +6003,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestSetIsDoHEnabled(::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(39, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(38, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6120,7 +6012,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_IsDoHEnabled() { - ::grpc::Service::MarkMethodRaw(40); + ::grpc::Service::MarkMethodRaw(39); } ~WithRawMethod_IsDoHEnabled() override { BaseClassMustBeDerivedFromService(this); @@ -6131,7 +6023,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestIsDoHEnabled(::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(40, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(39, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6140,7 +6032,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_SetUseSslForSmtp() { - ::grpc::Service::MarkMethodRaw(41); + ::grpc::Service::MarkMethodRaw(40); } ~WithRawMethod_SetUseSslForSmtp() override { BaseClassMustBeDerivedFromService(this); @@ -6151,7 +6043,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestSetUseSslForSmtp(::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(41, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(40, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6160,7 +6052,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_UseSslForSmtp() { - ::grpc::Service::MarkMethodRaw(42); + ::grpc::Service::MarkMethodRaw(41); } ~WithRawMethod_UseSslForSmtp() override { BaseClassMustBeDerivedFromService(this); @@ -6171,7 +6063,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestUseSslForSmtp(::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(42, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(41, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6180,7 +6072,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_Hostname() { - ::grpc::Service::MarkMethodRaw(43); + ::grpc::Service::MarkMethodRaw(42); } ~WithRawMethod_Hostname() override { BaseClassMustBeDerivedFromService(this); @@ -6191,7 +6083,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestHostname(::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(43, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(42, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6200,7 +6092,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_ImapPort() { - ::grpc::Service::MarkMethodRaw(44); + ::grpc::Service::MarkMethodRaw(43); } ~WithRawMethod_ImapPort() override { BaseClassMustBeDerivedFromService(this); @@ -6211,7 +6103,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestImapPort(::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(44, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(43, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6220,7 +6112,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_SmtpPort() { - ::grpc::Service::MarkMethodRaw(45); + ::grpc::Service::MarkMethodRaw(44); } ~WithRawMethod_SmtpPort() override { BaseClassMustBeDerivedFromService(this); @@ -6231,7 +6123,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestSmtpPort(::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(45, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(44, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6240,7 +6132,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_ChangePorts() { - ::grpc::Service::MarkMethodRaw(46); + ::grpc::Service::MarkMethodRaw(45); } ~WithRawMethod_ChangePorts() override { BaseClassMustBeDerivedFromService(this); @@ -6251,7 +6143,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestChangePorts(::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(46, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(45, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6260,7 +6152,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_IsPortFree() { - ::grpc::Service::MarkMethodRaw(47); + ::grpc::Service::MarkMethodRaw(46); } ~WithRawMethod_IsPortFree() override { BaseClassMustBeDerivedFromService(this); @@ -6271,7 +6163,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestIsPortFree(::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(47, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(46, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6280,7 +6172,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_AvailableKeychains() { - ::grpc::Service::MarkMethodRaw(48); + ::grpc::Service::MarkMethodRaw(47); } ~WithRawMethod_AvailableKeychains() override { BaseClassMustBeDerivedFromService(this); @@ -6291,7 +6183,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestAvailableKeychains(::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(48, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(47, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6300,7 +6192,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_SetCurrentKeychain() { - ::grpc::Service::MarkMethodRaw(49); + ::grpc::Service::MarkMethodRaw(48); } ~WithRawMethod_SetCurrentKeychain() override { BaseClassMustBeDerivedFromService(this); @@ -6311,7 +6203,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestSetCurrentKeychain(::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(49, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(48, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6320,7 +6212,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_CurrentKeychain() { - ::grpc::Service::MarkMethodRaw(50); + ::grpc::Service::MarkMethodRaw(49); } ~WithRawMethod_CurrentKeychain() override { BaseClassMustBeDerivedFromService(this); @@ -6331,7 +6223,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestCurrentKeychain(::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(50, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(49, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6340,7 +6232,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_GetUserList() { - ::grpc::Service::MarkMethodRaw(51); + ::grpc::Service::MarkMethodRaw(50); } ~WithRawMethod_GetUserList() override { BaseClassMustBeDerivedFromService(this); @@ -6351,7 +6243,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetUserList(::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(51, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(50, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6360,7 +6252,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_GetUser() { - ::grpc::Service::MarkMethodRaw(52); + ::grpc::Service::MarkMethodRaw(51); } ~WithRawMethod_GetUser() override { BaseClassMustBeDerivedFromService(this); @@ -6371,7 +6263,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetUser(::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(52, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(51, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6380,7 +6272,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_SetUserSplitMode() { - ::grpc::Service::MarkMethodRaw(53); + ::grpc::Service::MarkMethodRaw(52); } ~WithRawMethod_SetUserSplitMode() override { BaseClassMustBeDerivedFromService(this); @@ -6391,7 +6283,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestSetUserSplitMode(::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(53, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(52, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6400,7 +6292,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_LogoutUser() { - ::grpc::Service::MarkMethodRaw(54); + ::grpc::Service::MarkMethodRaw(53); } ~WithRawMethod_LogoutUser() override { BaseClassMustBeDerivedFromService(this); @@ -6411,7 +6303,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestLogoutUser(::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(54, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(53, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6420,7 +6312,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_RemoveUser() { - ::grpc::Service::MarkMethodRaw(55); + ::grpc::Service::MarkMethodRaw(54); } ~WithRawMethod_RemoveUser() override { BaseClassMustBeDerivedFromService(this); @@ -6431,7 +6323,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestRemoveUser(::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(55, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(54, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6440,7 +6332,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_ConfigureUserAppleMail() { - ::grpc::Service::MarkMethodRaw(56); + ::grpc::Service::MarkMethodRaw(55); } ~WithRawMethod_ConfigureUserAppleMail() override { BaseClassMustBeDerivedFromService(this); @@ -6451,7 +6343,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestConfigureUserAppleMail(::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(56, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(55, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6460,7 +6352,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_RunEventStream() { - ::grpc::Service::MarkMethodRaw(57); + ::grpc::Service::MarkMethodRaw(56); } ~WithRawMethod_RunEventStream() override { BaseClassMustBeDerivedFromService(this); @@ -6471,7 +6363,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestRunEventStream(::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(57, context, request, writer, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncServerStreaming(56, context, request, writer, new_call_cq, notification_cq, tag); } }; template @@ -6480,7 +6372,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_StopEventStream() { - ::grpc::Service::MarkMethodRaw(58); + ::grpc::Service::MarkMethodRaw(57); } ~WithRawMethod_StopEventStream() override { BaseClassMustBeDerivedFromService(this); @@ -6491,7 +6383,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestStopEventStream(::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(58, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(57, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -7287,34 +7179,12 @@ class Bridge final { ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template - class WithRawCallbackMethod_IsCacheOnDiskEnabled : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawCallbackMethod_IsCacheOnDiskEnabled() { - ::grpc::Service::MarkMethodRawCallback(36, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this]( - ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->IsCacheOnDiskEnabled(context, request, response); })); - } - ~WithRawCallbackMethod_IsCacheOnDiskEnabled() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status IsCacheOnDiskEnabled(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::BoolValue* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* IsCacheOnDiskEnabled( - ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } - }; - template class WithRawCallbackMethod_DiskCachePath : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_DiskCachePath() { - ::grpc::Service::MarkMethodRawCallback(37, + ::grpc::Service::MarkMethodRawCallback(36, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->DiskCachePath(context, request, response); })); @@ -7336,7 +7206,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_ChangeLocalCache() { - ::grpc::Service::MarkMethodRawCallback(38, + ::grpc::Service::MarkMethodRawCallback(37, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->ChangeLocalCache(context, request, response); })); @@ -7358,7 +7228,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_SetIsDoHEnabled() { - ::grpc::Service::MarkMethodRawCallback(39, + ::grpc::Service::MarkMethodRawCallback(38, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->SetIsDoHEnabled(context, request, response); })); @@ -7380,7 +7250,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_IsDoHEnabled() { - ::grpc::Service::MarkMethodRawCallback(40, + ::grpc::Service::MarkMethodRawCallback(39, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->IsDoHEnabled(context, request, response); })); @@ -7402,7 +7272,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_SetUseSslForSmtp() { - ::grpc::Service::MarkMethodRawCallback(41, + ::grpc::Service::MarkMethodRawCallback(40, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->SetUseSslForSmtp(context, request, response); })); @@ -7424,7 +7294,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_UseSslForSmtp() { - ::grpc::Service::MarkMethodRawCallback(42, + ::grpc::Service::MarkMethodRawCallback(41, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->UseSslForSmtp(context, request, response); })); @@ -7446,7 +7316,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_Hostname() { - ::grpc::Service::MarkMethodRawCallback(43, + ::grpc::Service::MarkMethodRawCallback(42, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->Hostname(context, request, response); })); @@ -7468,7 +7338,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_ImapPort() { - ::grpc::Service::MarkMethodRawCallback(44, + ::grpc::Service::MarkMethodRawCallback(43, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->ImapPort(context, request, response); })); @@ -7490,7 +7360,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_SmtpPort() { - ::grpc::Service::MarkMethodRawCallback(45, + ::grpc::Service::MarkMethodRawCallback(44, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->SmtpPort(context, request, response); })); @@ -7512,7 +7382,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_ChangePorts() { - ::grpc::Service::MarkMethodRawCallback(46, + ::grpc::Service::MarkMethodRawCallback(45, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->ChangePorts(context, request, response); })); @@ -7534,7 +7404,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_IsPortFree() { - ::grpc::Service::MarkMethodRawCallback(47, + ::grpc::Service::MarkMethodRawCallback(46, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->IsPortFree(context, request, response); })); @@ -7556,7 +7426,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_AvailableKeychains() { - ::grpc::Service::MarkMethodRawCallback(48, + ::grpc::Service::MarkMethodRawCallback(47, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->AvailableKeychains(context, request, response); })); @@ -7578,7 +7448,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_SetCurrentKeychain() { - ::grpc::Service::MarkMethodRawCallback(49, + ::grpc::Service::MarkMethodRawCallback(48, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->SetCurrentKeychain(context, request, response); })); @@ -7600,7 +7470,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_CurrentKeychain() { - ::grpc::Service::MarkMethodRawCallback(50, + ::grpc::Service::MarkMethodRawCallback(49, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->CurrentKeychain(context, request, response); })); @@ -7622,7 +7492,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_GetUserList() { - ::grpc::Service::MarkMethodRawCallback(51, + ::grpc::Service::MarkMethodRawCallback(50, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetUserList(context, request, response); })); @@ -7644,7 +7514,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_GetUser() { - ::grpc::Service::MarkMethodRawCallback(52, + ::grpc::Service::MarkMethodRawCallback(51, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetUser(context, request, response); })); @@ -7666,7 +7536,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_SetUserSplitMode() { - ::grpc::Service::MarkMethodRawCallback(53, + ::grpc::Service::MarkMethodRawCallback(52, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->SetUserSplitMode(context, request, response); })); @@ -7688,7 +7558,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_LogoutUser() { - ::grpc::Service::MarkMethodRawCallback(54, + ::grpc::Service::MarkMethodRawCallback(53, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->LogoutUser(context, request, response); })); @@ -7710,7 +7580,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_RemoveUser() { - ::grpc::Service::MarkMethodRawCallback(55, + ::grpc::Service::MarkMethodRawCallback(54, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->RemoveUser(context, request, response); })); @@ -7732,7 +7602,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_ConfigureUserAppleMail() { - ::grpc::Service::MarkMethodRawCallback(56, + ::grpc::Service::MarkMethodRawCallback(55, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->ConfigureUserAppleMail(context, request, response); })); @@ -7754,7 +7624,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_RunEventStream() { - ::grpc::Service::MarkMethodRawCallback(57, + ::grpc::Service::MarkMethodRawCallback(56, new ::grpc::internal::CallbackServerStreamingHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const::grpc::ByteBuffer* request) { return this->RunEventStream(context, request); })); @@ -7776,7 +7646,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_StopEventStream() { - ::grpc::Service::MarkMethodRawCallback(58, + ::grpc::Service::MarkMethodRawCallback(57, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->StopEventStream(context, request, response); })); @@ -8765,39 +8635,12 @@ class Bridge final { virtual ::grpc::Status StreamedIsAutomaticUpdateOn(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::google::protobuf::Empty,::google::protobuf::BoolValue>* server_unary_streamer) = 0; }; template - class WithStreamedUnaryMethod_IsCacheOnDiskEnabled : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithStreamedUnaryMethod_IsCacheOnDiskEnabled() { - ::grpc::Service::MarkMethodStreamed(36, - new ::grpc::internal::StreamedUnaryHandler< - ::google::protobuf::Empty, ::google::protobuf::BoolValue>( - [this](::grpc::ServerContext* context, - ::grpc::ServerUnaryStreamer< - ::google::protobuf::Empty, ::google::protobuf::BoolValue>* streamer) { - return this->StreamedIsCacheOnDiskEnabled(context, - streamer); - })); - } - ~WithStreamedUnaryMethod_IsCacheOnDiskEnabled() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status IsCacheOnDiskEnabled(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::BoolValue* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedIsCacheOnDiskEnabled(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::google::protobuf::Empty,::google::protobuf::BoolValue>* server_unary_streamer) = 0; - }; - template class WithStreamedUnaryMethod_DiskCachePath : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_DiskCachePath() { - ::grpc::Service::MarkMethodStreamed(37, + ::grpc::Service::MarkMethodStreamed(36, new ::grpc::internal::StreamedUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::StringValue>( [this](::grpc::ServerContext* context, @@ -8824,7 +8667,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_ChangeLocalCache() { - ::grpc::Service::MarkMethodStreamed(38, + ::grpc::Service::MarkMethodStreamed(37, new ::grpc::internal::StreamedUnaryHandler< ::grpc::ChangeLocalCacheRequest, ::google::protobuf::Empty>( [this](::grpc::ServerContext* context, @@ -8851,7 +8694,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_SetIsDoHEnabled() { - ::grpc::Service::MarkMethodStreamed(39, + ::grpc::Service::MarkMethodStreamed(38, new ::grpc::internal::StreamedUnaryHandler< ::google::protobuf::BoolValue, ::google::protobuf::Empty>( [this](::grpc::ServerContext* context, @@ -8878,7 +8721,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_IsDoHEnabled() { - ::grpc::Service::MarkMethodStreamed(40, + ::grpc::Service::MarkMethodStreamed(39, new ::grpc::internal::StreamedUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::BoolValue>( [this](::grpc::ServerContext* context, @@ -8905,7 +8748,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_SetUseSslForSmtp() { - ::grpc::Service::MarkMethodStreamed(41, + ::grpc::Service::MarkMethodStreamed(40, new ::grpc::internal::StreamedUnaryHandler< ::google::protobuf::BoolValue, ::google::protobuf::Empty>( [this](::grpc::ServerContext* context, @@ -8932,7 +8775,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_UseSslForSmtp() { - ::grpc::Service::MarkMethodStreamed(42, + ::grpc::Service::MarkMethodStreamed(41, new ::grpc::internal::StreamedUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::BoolValue>( [this](::grpc::ServerContext* context, @@ -8959,7 +8802,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_Hostname() { - ::grpc::Service::MarkMethodStreamed(43, + ::grpc::Service::MarkMethodStreamed(42, new ::grpc::internal::StreamedUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::StringValue>( [this](::grpc::ServerContext* context, @@ -8986,7 +8829,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_ImapPort() { - ::grpc::Service::MarkMethodStreamed(44, + ::grpc::Service::MarkMethodStreamed(43, new ::grpc::internal::StreamedUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::Int32Value>( [this](::grpc::ServerContext* context, @@ -9013,7 +8856,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_SmtpPort() { - ::grpc::Service::MarkMethodStreamed(45, + ::grpc::Service::MarkMethodStreamed(44, new ::grpc::internal::StreamedUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::Int32Value>( [this](::grpc::ServerContext* context, @@ -9040,7 +8883,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_ChangePorts() { - ::grpc::Service::MarkMethodStreamed(46, + ::grpc::Service::MarkMethodStreamed(45, new ::grpc::internal::StreamedUnaryHandler< ::grpc::ChangePortsRequest, ::google::protobuf::Empty>( [this](::grpc::ServerContext* context, @@ -9067,7 +8910,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_IsPortFree() { - ::grpc::Service::MarkMethodStreamed(47, + ::grpc::Service::MarkMethodStreamed(46, new ::grpc::internal::StreamedUnaryHandler< ::google::protobuf::Int32Value, ::google::protobuf::BoolValue>( [this](::grpc::ServerContext* context, @@ -9094,7 +8937,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_AvailableKeychains() { - ::grpc::Service::MarkMethodStreamed(48, + ::grpc::Service::MarkMethodStreamed(47, new ::grpc::internal::StreamedUnaryHandler< ::google::protobuf::Empty, ::grpc::AvailableKeychainsResponse>( [this](::grpc::ServerContext* context, @@ -9121,7 +8964,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_SetCurrentKeychain() { - ::grpc::Service::MarkMethodStreamed(49, + ::grpc::Service::MarkMethodStreamed(48, new ::grpc::internal::StreamedUnaryHandler< ::google::protobuf::StringValue, ::google::protobuf::Empty>( [this](::grpc::ServerContext* context, @@ -9148,7 +8991,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_CurrentKeychain() { - ::grpc::Service::MarkMethodStreamed(50, + ::grpc::Service::MarkMethodStreamed(49, new ::grpc::internal::StreamedUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::StringValue>( [this](::grpc::ServerContext* context, @@ -9175,7 +9018,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_GetUserList() { - ::grpc::Service::MarkMethodStreamed(51, + ::grpc::Service::MarkMethodStreamed(50, new ::grpc::internal::StreamedUnaryHandler< ::google::protobuf::Empty, ::grpc::UserListResponse>( [this](::grpc::ServerContext* context, @@ -9202,7 +9045,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_GetUser() { - ::grpc::Service::MarkMethodStreamed(52, + ::grpc::Service::MarkMethodStreamed(51, new ::grpc::internal::StreamedUnaryHandler< ::google::protobuf::StringValue, ::grpc::User>( [this](::grpc::ServerContext* context, @@ -9229,7 +9072,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_SetUserSplitMode() { - ::grpc::Service::MarkMethodStreamed(53, + ::grpc::Service::MarkMethodStreamed(52, new ::grpc::internal::StreamedUnaryHandler< ::grpc::UserSplitModeRequest, ::google::protobuf::Empty>( [this](::grpc::ServerContext* context, @@ -9256,7 +9099,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_LogoutUser() { - ::grpc::Service::MarkMethodStreamed(54, + ::grpc::Service::MarkMethodStreamed(53, new ::grpc::internal::StreamedUnaryHandler< ::google::protobuf::StringValue, ::google::protobuf::Empty>( [this](::grpc::ServerContext* context, @@ -9283,7 +9126,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_RemoveUser() { - ::grpc::Service::MarkMethodStreamed(55, + ::grpc::Service::MarkMethodStreamed(54, new ::grpc::internal::StreamedUnaryHandler< ::google::protobuf::StringValue, ::google::protobuf::Empty>( [this](::grpc::ServerContext* context, @@ -9310,7 +9153,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_ConfigureUserAppleMail() { - ::grpc::Service::MarkMethodStreamed(56, + ::grpc::Service::MarkMethodStreamed(55, new ::grpc::internal::StreamedUnaryHandler< ::grpc::ConfigureAppleMailRequest, ::google::protobuf::Empty>( [this](::grpc::ServerContext* context, @@ -9337,7 +9180,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_StopEventStream() { - ::grpc::Service::MarkMethodStreamed(58, + ::grpc::Service::MarkMethodStreamed(57, new ::grpc::internal::StreamedUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::Empty>( [this](::grpc::ServerContext* context, @@ -9358,14 +9201,14 @@ class Bridge final { // replace default version of method with streamed unary virtual ::grpc::Status StreamedStopEventStream(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::google::protobuf::Empty,::google::protobuf::Empty>* server_unary_streamer) = 0; }; - typedef WithStreamedUnaryMethod_CheckTokens > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > StreamedUnaryService; + typedef WithStreamedUnaryMethod_CheckTokens > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > StreamedUnaryService; template class WithSplitStreamingMethod_RunEventStream : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithSplitStreamingMethod_RunEventStream() { - ::grpc::Service::MarkMethodStreamed(57, + ::grpc::Service::MarkMethodStreamed(56, new ::grpc::internal::SplitServerStreamingHandler< ::grpc::EventStreamRequest, ::grpc::StreamEvent>( [this](::grpc::ServerContext* context, @@ -9387,7 +9230,7 @@ class Bridge final { virtual ::grpc::Status StreamedRunEventStream(::grpc::ServerContext* context, ::grpc::ServerSplitStreamer< ::grpc::EventStreamRequest,::grpc::StreamEvent>* server_split_streamer) = 0; }; typedef WithSplitStreamingMethod_RunEventStream SplitStreamedService; - typedef WithStreamedUnaryMethod_CheckTokens > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > StreamedService; + typedef WithStreamedUnaryMethod_CheckTokens > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > StreamedService; }; } // namespace grpc diff --git a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/bridge.pb.cc b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/bridge.pb.cc index 421cf89d..82b50538 100644 --- a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/bridge.pb.cc +++ b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/bridge.pb.cc @@ -84,7 +84,6 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORIT PROTOBUF_CONSTEXPR ChangeLocalCacheRequest::ChangeLocalCacheRequest( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.diskcachepath_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.enablediskcache_)*/false , /*decltype(_impl_._cached_size_)*/{}} {} struct ChangeLocalCacheRequestDefaultTypeInternal { PROTOBUF_CONSTEXPR ChangeLocalCacheRequestDefaultTypeInternal() @@ -529,19 +528,6 @@ struct ChangeLocalCacheFinishedEventDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ChangeLocalCacheFinishedEventDefaultTypeInternal _ChangeLocalCacheFinishedEvent_default_instance_; -PROTOBUF_CONSTEXPR IsCacheOnDiskEnabledChanged::IsCacheOnDiskEnabledChanged( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.enabled_)*/false - , /*decltype(_impl_._cached_size_)*/{}} {} -struct IsCacheOnDiskEnabledChangedDefaultTypeInternal { - PROTOBUF_CONSTEXPR IsCacheOnDiskEnabledChangedDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~IsCacheOnDiskEnabledChangedDefaultTypeInternal() {} - union { - IsCacheOnDiskEnabledChanged _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IsCacheOnDiskEnabledChangedDefaultTypeInternal _IsCacheOnDiskEnabledChanged_default_instance_; PROTOBUF_CONSTEXPR DiskCachePathChanged::DiskCachePathChanged( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.path_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} @@ -769,7 +755,7 @@ struct UserChangedEventDefaultTypeInternal { }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UserChangedEventDefaultTypeInternal _UserChangedEvent_default_instance_; } // namespace grpc -static ::_pb::Metadata file_level_metadata_bridge_2eproto[58]; +static ::_pb::Metadata file_level_metadata_bridge_2eproto[57]; static const ::_pb::EnumDescriptor* file_level_enum_descriptors_bridge_2eproto[5]; static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_bridge_2eproto = nullptr; @@ -816,7 +802,6 @@ const uint32_t TableStruct_bridge_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(p ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::grpc::ChangeLocalCacheRequest, _impl_.enablediskcache_), PROTOBUF_FIELD_OFFSET(::grpc::ChangeLocalCacheRequest, _impl_.diskcachepath_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::grpc::ChangePortsRequest, _internal_metadata_), @@ -1067,7 +1052,6 @@ const uint32_t TableStruct_bridge_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(p ::_pbi::kInvalidFieldOffsetTag, ::_pbi::kInvalidFieldOffsetTag, ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::grpc::CacheEvent, _impl_.event_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::grpc::CacheErrorEvent, _internal_metadata_), @@ -1090,13 +1074,6 @@ const uint32_t TableStruct_bridge_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(p ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::grpc::ChangeLocalCacheFinishedEvent, _impl_.willrestart_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::grpc::IsCacheOnDiskEnabledChanged, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::grpc::IsCacheOnDiskEnabledChanged, _impl_.enabled_), - ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::grpc::DiskCachePathChanged, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ @@ -1236,59 +1213,58 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode { 21, -1, -1, sizeof(::grpc::LoginRequest)}, { 29, -1, -1, sizeof(::grpc::LoginAbortRequest)}, { 36, -1, -1, sizeof(::grpc::ChangeLocalCacheRequest)}, - { 44, -1, -1, sizeof(::grpc::ChangePortsRequest)}, - { 52, -1, -1, sizeof(::grpc::AvailableKeychainsResponse)}, - { 59, -1, -1, sizeof(::grpc::User)}, - { 75, -1, -1, sizeof(::grpc::UserSplitModeRequest)}, - { 83, -1, -1, sizeof(::grpc::UserListResponse)}, - { 90, -1, -1, sizeof(::grpc::ConfigureAppleMailRequest)}, - { 98, -1, -1, sizeof(::grpc::EventStreamRequest)}, - { 105, -1, -1, sizeof(::grpc::StreamEvent)}, - { 120, -1, -1, sizeof(::grpc::AppEvent)}, - { 134, -1, -1, sizeof(::grpc::InternetStatusEvent)}, - { 141, -1, -1, sizeof(::grpc::ToggleAutostartFinishedEvent)}, - { 147, -1, -1, sizeof(::grpc::ResetFinishedEvent)}, - { 153, -1, -1, sizeof(::grpc::ReportBugFinishedEvent)}, - { 159, -1, -1, sizeof(::grpc::ReportBugSuccessEvent)}, - { 165, -1, -1, sizeof(::grpc::ReportBugErrorEvent)}, - { 171, -1, -1, sizeof(::grpc::ShowMainWindowEvent)}, - { 177, -1, -1, sizeof(::grpc::LoginEvent)}, - { 189, -1, -1, sizeof(::grpc::LoginErrorEvent)}, - { 197, -1, -1, sizeof(::grpc::LoginTfaRequestedEvent)}, - { 204, -1, -1, sizeof(::grpc::LoginTwoPasswordsRequestedEvent)}, - { 210, -1, -1, sizeof(::grpc::LoginFinishedEvent)}, - { 217, -1, -1, sizeof(::grpc::UpdateEvent)}, - { 232, -1, -1, sizeof(::grpc::UpdateErrorEvent)}, - { 239, -1, -1, sizeof(::grpc::UpdateManualReadyEvent)}, - { 246, -1, -1, sizeof(::grpc::UpdateManualRestartNeededEvent)}, - { 252, -1, -1, sizeof(::grpc::UpdateForceEvent)}, - { 259, -1, -1, sizeof(::grpc::UpdateSilentRestartNeeded)}, - { 265, -1, -1, sizeof(::grpc::UpdateIsLatestVersion)}, - { 271, -1, -1, sizeof(::grpc::UpdateCheckFinished)}, - { 277, -1, -1, sizeof(::grpc::UpdateVersionChanged)}, - { 283, -1, -1, sizeof(::grpc::CacheEvent)}, - { 295, -1, -1, sizeof(::grpc::CacheErrorEvent)}, - { 302, -1, -1, sizeof(::grpc::CacheLocationChangeSuccessEvent)}, - { 308, -1, -1, sizeof(::grpc::ChangeLocalCacheFinishedEvent)}, - { 315, -1, -1, sizeof(::grpc::IsCacheOnDiskEnabledChanged)}, - { 322, -1, -1, sizeof(::grpc::DiskCachePathChanged)}, - { 329, -1, -1, sizeof(::grpc::MailSettingsEvent)}, - { 339, -1, -1, sizeof(::grpc::MailSettingsErrorEvent)}, - { 346, -1, -1, sizeof(::grpc::UseSslForSmtpFinishedEvent)}, - { 352, -1, -1, sizeof(::grpc::ChangePortsFinishedEvent)}, - { 358, -1, -1, sizeof(::grpc::KeychainEvent)}, - { 368, -1, -1, sizeof(::grpc::ChangeKeychainFinishedEvent)}, - { 374, -1, -1, sizeof(::grpc::HasNoKeychainEvent)}, - { 380, -1, -1, sizeof(::grpc::RebuildKeychainEvent)}, - { 386, -1, -1, sizeof(::grpc::MailEvent)}, - { 397, -1, -1, sizeof(::grpc::NoActiveKeyForRecipientEvent)}, - { 404, -1, -1, sizeof(::grpc::AddressChangedEvent)}, - { 411, -1, -1, sizeof(::grpc::AddressChangedLogoutEvent)}, - { 418, -1, -1, sizeof(::grpc::ApiCertIssueEvent)}, - { 424, -1, -1, sizeof(::grpc::UserEvent)}, - { 434, -1, -1, sizeof(::grpc::ToggleSplitModeFinishedEvent)}, - { 441, -1, -1, sizeof(::grpc::UserDisconnectedEvent)}, - { 448, -1, -1, sizeof(::grpc::UserChangedEvent)}, + { 43, -1, -1, sizeof(::grpc::ChangePortsRequest)}, + { 51, -1, -1, sizeof(::grpc::AvailableKeychainsResponse)}, + { 58, -1, -1, sizeof(::grpc::User)}, + { 74, -1, -1, sizeof(::grpc::UserSplitModeRequest)}, + { 82, -1, -1, sizeof(::grpc::UserListResponse)}, + { 89, -1, -1, sizeof(::grpc::ConfigureAppleMailRequest)}, + { 97, -1, -1, sizeof(::grpc::EventStreamRequest)}, + { 104, -1, -1, sizeof(::grpc::StreamEvent)}, + { 119, -1, -1, sizeof(::grpc::AppEvent)}, + { 133, -1, -1, sizeof(::grpc::InternetStatusEvent)}, + { 140, -1, -1, sizeof(::grpc::ToggleAutostartFinishedEvent)}, + { 146, -1, -1, sizeof(::grpc::ResetFinishedEvent)}, + { 152, -1, -1, sizeof(::grpc::ReportBugFinishedEvent)}, + { 158, -1, -1, sizeof(::grpc::ReportBugSuccessEvent)}, + { 164, -1, -1, sizeof(::grpc::ReportBugErrorEvent)}, + { 170, -1, -1, sizeof(::grpc::ShowMainWindowEvent)}, + { 176, -1, -1, sizeof(::grpc::LoginEvent)}, + { 188, -1, -1, sizeof(::grpc::LoginErrorEvent)}, + { 196, -1, -1, sizeof(::grpc::LoginTfaRequestedEvent)}, + { 203, -1, -1, sizeof(::grpc::LoginTwoPasswordsRequestedEvent)}, + { 209, -1, -1, sizeof(::grpc::LoginFinishedEvent)}, + { 216, -1, -1, sizeof(::grpc::UpdateEvent)}, + { 231, -1, -1, sizeof(::grpc::UpdateErrorEvent)}, + { 238, -1, -1, sizeof(::grpc::UpdateManualReadyEvent)}, + { 245, -1, -1, sizeof(::grpc::UpdateManualRestartNeededEvent)}, + { 251, -1, -1, sizeof(::grpc::UpdateForceEvent)}, + { 258, -1, -1, sizeof(::grpc::UpdateSilentRestartNeeded)}, + { 264, -1, -1, sizeof(::grpc::UpdateIsLatestVersion)}, + { 270, -1, -1, sizeof(::grpc::UpdateCheckFinished)}, + { 276, -1, -1, sizeof(::grpc::UpdateVersionChanged)}, + { 282, -1, -1, sizeof(::grpc::CacheEvent)}, + { 293, -1, -1, sizeof(::grpc::CacheErrorEvent)}, + { 300, -1, -1, sizeof(::grpc::CacheLocationChangeSuccessEvent)}, + { 306, -1, -1, sizeof(::grpc::ChangeLocalCacheFinishedEvent)}, + { 313, -1, -1, sizeof(::grpc::DiskCachePathChanged)}, + { 320, -1, -1, sizeof(::grpc::MailSettingsEvent)}, + { 330, -1, -1, sizeof(::grpc::MailSettingsErrorEvent)}, + { 337, -1, -1, sizeof(::grpc::UseSslForSmtpFinishedEvent)}, + { 343, -1, -1, sizeof(::grpc::ChangePortsFinishedEvent)}, + { 349, -1, -1, sizeof(::grpc::KeychainEvent)}, + { 359, -1, -1, sizeof(::grpc::ChangeKeychainFinishedEvent)}, + { 365, -1, -1, sizeof(::grpc::HasNoKeychainEvent)}, + { 371, -1, -1, sizeof(::grpc::RebuildKeychainEvent)}, + { 377, -1, -1, sizeof(::grpc::MailEvent)}, + { 388, -1, -1, sizeof(::grpc::NoActiveKeyForRecipientEvent)}, + { 395, -1, -1, sizeof(::grpc::AddressChangedEvent)}, + { 402, -1, -1, sizeof(::grpc::AddressChangedLogoutEvent)}, + { 409, -1, -1, sizeof(::grpc::ApiCertIssueEvent)}, + { 415, -1, -1, sizeof(::grpc::UserEvent)}, + { 425, -1, -1, sizeof(::grpc::ToggleSplitModeFinishedEvent)}, + { 432, -1, -1, sizeof(::grpc::UserDisconnectedEvent)}, + { 439, -1, -1, sizeof(::grpc::UserChangedEvent)}, }; static const ::_pb::Message* const file_default_instances[] = { @@ -1331,7 +1307,6 @@ static const ::_pb::Message* const file_default_instances[] = { &::grpc::_CacheErrorEvent_default_instance_._instance, &::grpc::_CacheLocationChangeSuccessEvent_default_instance_._instance, &::grpc::_ChangeLocalCacheFinishedEvent_default_instance_._instance, - &::grpc::_IsCacheOnDiskEnabledChanged_default_instance_._instance, &::grpc::_DiskCachePathChanged_default_instance_._instance, &::grpc::_MailSettingsEvent_default_instance_._instance, &::grpc::_MailSettingsErrorEvent_default_instance_._instance, @@ -1362,240 +1337,235 @@ const char descriptor_table_protodef_bridge_2eproto[] PROTOBUF_SECTION_VARIABLE( "\003 \001(\t\022\017\n\007address\030\004 \001(\t\022\023\n\013emailClient\030\005 " "\001(\t\022\023\n\013includeLogs\030\006 \001(\010\"2\n\014LoginRequest" "\022\020\n\010username\030\001 \001(\t\022\020\n\010password\030\002 \001(\t\"%\n\021" - "LoginAbortRequest\022\020\n\010username\030\001 \001(\t\"I\n\027C" - "hangeLocalCacheRequest\022\027\n\017enableDiskCach" - "e\030\001 \001(\010\022\025\n\rdiskCachePath\030\002 \001(\t\"8\n\022Change" - "PortsRequest\022\020\n\010imapPort\030\001 \001(\005\022\020\n\010smtpPo" - "rt\030\002 \001(\005\"/\n\032AvailableKeychainsResponse\022\021" - "\n\tkeychains\030\001 \003(\t\"\301\001\n\004User\022\n\n\002id\030\001 \001(\t\022\020" - "\n\010username\030\002 \001(\t\022\022\n\navatarText\030\003 \001(\t\022\020\n\010" - "loggedIn\030\004 \001(\010\022\021\n\tsplitMode\030\005 \001(\010\022\026\n\016set" - "upGuideSeen\030\006 \001(\010\022\021\n\tusedBytes\030\007 \001(\003\022\022\n\n" - "totalBytes\030\010 \001(\003\022\020\n\010password\030\t \001(\t\022\021\n\tad" - "dresses\030\n \003(\t\"6\n\024UserSplitModeRequest\022\016\n" - "\006userID\030\001 \001(\t\022\016\n\006active\030\002 \001(\010\"-\n\020UserLis" - "tResponse\022\031\n\005users\030\001 \003(\0132\n.grpc.User\"<\n\031" - "ConfigureAppleMailRequest\022\016\n\006userID\030\001 \001(" - "\t\022\017\n\007address\030\002 \001(\t\",\n\022EventStreamRequest" - "\022\026\n\016ClientPlatform\030\001 \001(\t\"\274\002\n\013StreamEvent" - "\022\035\n\003app\030\001 \001(\0132\016.grpc.AppEventH\000\022!\n\005login" - "\030\002 \001(\0132\020.grpc.LoginEventH\000\022#\n\006update\030\003 \001" - "(\0132\021.grpc.UpdateEventH\000\022!\n\005cache\030\004 \001(\0132\020" - ".grpc.CacheEventH\000\022/\n\014mailSettings\030\005 \001(\013" - "2\027.grpc.MailSettingsEventH\000\022\'\n\010keychain\030" - "\006 \001(\0132\023.grpc.KeychainEventH\000\022\037\n\004mail\030\007 \001" - "(\0132\017.grpc.MailEventH\000\022\037\n\004user\030\010 \001(\0132\017.gr" - "pc.UserEventH\000B\007\n\005event\"\240\003\n\010AppEvent\0223\n\016" - "internetStatus\030\001 \001(\0132\031.grpc.InternetStat" - "usEventH\000\022E\n\027toggleAutostartFinished\030\002 \001" - "(\0132\".grpc.ToggleAutostartFinishedEventH\000" - "\0221\n\rresetFinished\030\003 \001(\0132\030.grpc.ResetFini" - "shedEventH\000\0229\n\021reportBugFinished\030\004 \001(\0132\034" - ".grpc.ReportBugFinishedEventH\000\0227\n\020report" - "BugSuccess\030\005 \001(\0132\033.grpc.ReportBugSuccess" - "EventH\000\0223\n\016reportBugError\030\006 \001(\0132\031.grpc.R" - "eportBugErrorEventH\000\0223\n\016showMainWindow\030\007" - " \001(\0132\031.grpc.ShowMainWindowEventH\000B\007\n\005eve" - "nt\"(\n\023InternetStatusEvent\022\021\n\tconnected\030\001" - " \001(\010\"\036\n\034ToggleAutostartFinishedEvent\"\024\n\022" - "ResetFinishedEvent\"\030\n\026ReportBugFinishedE" - "vent\"\027\n\025ReportBugSuccessEvent\"\025\n\023ReportB" - "ugErrorEvent\"\025\n\023ShowMainWindowEvent\"\235\002\n\n" - "LoginEvent\022&\n\005error\030\001 \001(\0132\025.grpc.LoginEr" - "rorEventH\000\0224\n\014tfaRequested\030\002 \001(\0132\034.grpc." - "LoginTfaRequestedEventH\000\022E\n\024twoPasswordR" - "equested\030\003 \001(\0132%.grpc.LoginTwoPasswordsR" - "equestedEventH\000\022,\n\010finished\030\004 \001(\0132\030.grpc" - ".LoginFinishedEventH\000\0223\n\017alreadyLoggedIn" - "\030\005 \001(\0132\030.grpc.LoginFinishedEventH\000B\007\n\005ev" - "ent\"F\n\017LoginErrorEvent\022\"\n\004type\030\001 \001(\0162\024.g" - "rpc.LoginErrorType\022\017\n\007message\030\002 \001(\t\"*\n\026L" - "oginTfaRequestedEvent\022\020\n\010username\030\001 \001(\t\"" - "!\n\037LoginTwoPasswordsRequestedEvent\"$\n\022Lo" - "ginFinishedEvent\022\016\n\006userID\030\001 \001(\t\"\304\003\n\013Upd" - "ateEvent\022\'\n\005error\030\001 \001(\0132\026.grpc.UpdateErr" - "orEventH\000\0223\n\013manualReady\030\002 \001(\0132\034.grpc.Up" - "dateManualReadyEventH\000\022C\n\023manualRestartN" - "eeded\030\003 \001(\0132$.grpc.UpdateManualRestartNe" - "ededEventH\000\022\'\n\005force\030\004 \001(\0132\026.grpc.Update" - "ForceEventH\000\022>\n\023silentRestartNeeded\030\005 \001(" - "\0132\037.grpc.UpdateSilentRestartNeededH\000\0226\n\017" - "isLatestVersion\030\006 \001(\0132\033.grpc.UpdateIsLat" - "estVersionH\000\0222\n\rcheckFinished\030\007 \001(\0132\031.gr" - "pc.UpdateCheckFinishedH\000\0224\n\016versionChang" - "ed\030\010 \001(\0132\032.grpc.UpdateVersionChangedH\000B\007" - "\n\005event\"7\n\020UpdateErrorEvent\022#\n\004type\030\001 \001(" - "\0162\025.grpc.UpdateErrorType\")\n\026UpdateManual" - "ReadyEvent\022\017\n\007version\030\001 \001(\t\" \n\036UpdateMan" - "ualRestartNeededEvent\"#\n\020UpdateForceEven" - "t\022\017\n\007version\030\001 \001(\t\"\033\n\031UpdateSilentRestar" - "tNeeded\"\027\n\025UpdateIsLatestVersion\"\025\n\023Upda" - "teCheckFinished\"\026\n\024UpdateVersionChanged\"" - "\325\002\n\nCacheEvent\022&\n\005error\030\001 \001(\0132\025.grpc.Cac" - "heErrorEventH\000\022G\n\026locationChangedSuccess" - "\030\002 \001(\0132%.grpc.CacheLocationChangeSuccess" - "EventH\000\022G\n\030changeLocalCacheFinished\030\003 \001(" - "\0132#.grpc.ChangeLocalCacheFinishedEventH\000" - "\022H\n\033isCacheOnDiskEnabledChanged\030\004 \001(\0132!." - "grpc.IsCacheOnDiskEnabledChangedH\000\022:\n\024di" - "skCachePathChanged\030\005 \001(\0132\032.grpc.DiskCach" - "ePathChangedH\000B\007\n\005event\"5\n\017CacheErrorEve" - "nt\022\"\n\004type\030\001 \001(\0162\024.grpc.CacheErrorType\"!" - "\n\037CacheLocationChangeSuccessEvent\"4\n\035Cha" - "ngeLocalCacheFinishedEvent\022\023\n\013willRestar" - "t\030\001 \001(\010\".\n\033IsCacheOnDiskEnabledChanged\022\017" - "\n\007enabled\030\001 \001(\010\"$\n\024DiskCachePathChanged\022" - "\014\n\004path\030\001 \001(\t\"\315\001\n\021MailSettingsEvent\022-\n\005e" - "rror\030\001 \001(\0132\034.grpc.MailSettingsErrorEvent" - "H\000\022A\n\025useSslForSmtpFinished\030\002 \001(\0132 .grpc" - ".UseSslForSmtpFinishedEventH\000\022=\n\023changeP" - "ortsFinished\030\003 \001(\0132\036.grpc.ChangePortsFin" - "ishedEventH\000B\007\n\005event\"C\n\026MailSettingsErr" - "orEvent\022)\n\004type\030\001 \001(\0162\033.grpc.MailSetting" - "sErrorType\"\034\n\032UseSslForSmtpFinishedEvent" - "\"\032\n\030ChangePortsFinishedEvent\"\307\001\n\rKeychai" - "nEvent\022C\n\026changeKeychainFinished\030\001 \001(\0132!" - ".grpc.ChangeKeychainFinishedEventH\000\0221\n\rh" - "asNoKeychain\030\002 \001(\0132\030.grpc.HasNoKeychainE" - "ventH\000\0225\n\017rebuildKeychain\030\003 \001(\0132\032.grpc.R" - "ebuildKeychainEventH\000B\007\n\005event\"\035\n\033Change" - "KeychainFinishedEvent\"\024\n\022HasNoKeychainEv" - "ent\"\026\n\024RebuildKeychainEvent\"\207\002\n\tMailEven" - "t\022J\n\034noActiveKeyForRecipientEvent\030\001 \001(\0132" - "\".grpc.NoActiveKeyForRecipientEventH\000\0223\n" - "\016addressChanged\030\002 \001(\0132\031.grpc.AddressChan" - "gedEventH\000\022\?\n\024addressChangedLogout\030\003 \001(\013" - "2\037.grpc.AddressChangedLogoutEventH\000\022/\n\014a" - "piCertIssue\030\006 \001(\0132\027.grpc.ApiCertIssueEve" - "ntH\000B\007\n\005event\"-\n\034NoActiveKeyForRecipient" - "Event\022\r\n\005email\030\001 \001(\t\"&\n\023AddressChangedEv" - "ent\022\017\n\007address\030\001 \001(\t\",\n\031AddressChangedLo" - "goutEvent\022\017\n\007address\030\001 \001(\t\"\023\n\021ApiCertIss" - "ueEvent\"\303\001\n\tUserEvent\022E\n\027toggleSplitMode" - "Finished\030\001 \001(\0132\".grpc.ToggleSplitModeFin" - "ishedEventH\000\0227\n\020userDisconnected\030\002 \001(\0132\033" - ".grpc.UserDisconnectedEventH\000\022-\n\013userCha" - "nged\030\003 \001(\0132\026.grpc.UserChangedEventH\000B\007\n\005" - "event\".\n\034ToggleSplitModeFinishedEvent\022\016\n" - "\006userID\030\001 \001(\t\")\n\025UserDisconnectedEvent\022\020" - "\n\010username\030\001 \001(\t\"\"\n\020UserChangedEvent\022\016\n\006" - "userID\030\001 \001(\t*q\n\010LogLevel\022\r\n\tLOG_PANIC\020\000\022" - "\r\n\tLOG_FATAL\020\001\022\r\n\tLOG_ERROR\020\002\022\014\n\010LOG_WAR" - "N\020\003\022\014\n\010LOG_INFO\020\004\022\r\n\tLOG_DEBUG\020\005\022\r\n\tLOG_" - "TRACE\020\006*\242\001\n\016LoginErrorType\022\033\n\027USERNAME_P" - "ASSWORD_ERROR\020\000\022\r\n\tFREE_USER\020\001\022\024\n\020CONNEC" - "TION_ERROR\020\002\022\r\n\tTFA_ERROR\020\003\022\r\n\tTFA_ABORT" - "\020\004\022\027\n\023TWO_PASSWORDS_ERROR\020\005\022\027\n\023TWO_PASSW" - "ORDS_ABORT\020\006*[\n\017UpdateErrorType\022\027\n\023UPDAT" - "E_MANUAL_ERROR\020\000\022\026\n\022UPDATE_FORCE_ERROR\020\001" - "\022\027\n\023UPDATE_SILENT_ERROR\020\002*W\n\016CacheErrorT" - "ype\022\033\n\027CACHE_UNAVAILABLE_ERROR\020\000\022\031\n\025CACH" - "E_CANT_MOVE_ERROR\020\001\022\r\n\tDISK_FULL\020\002*A\n\025Ma" - "ilSettingsErrorType\022\023\n\017IMAP_PORT_ISSUE\020\000" - "\022\023\n\017SMTP_PORT_ISSUE\020\0012\347\037\n\006Bridge\022I\n\013Chec" - "kTokens\022\034.google.protobuf.StringValue\032\034." - "google.protobuf.StringValue\022\?\n\013AddLogEnt" - "ry\022\030.grpc.AddLogEntryRequest\032\026.google.pr" - "otobuf.Empty\022:\n\010GuiReady\022\026.google.protob" - "uf.Empty\032\026.google.protobuf.Empty\0226\n\004Quit" - "\022\026.google.protobuf.Empty\032\026.google.protob" - "uf.Empty\0229\n\007Restart\022\026.google.protobuf.Em" - "pty\032\026.google.protobuf.Empty\022C\n\rShowOnSta" - "rtup\022\026.google.protobuf.Empty\032\032.google.pr" - "otobuf.BoolValue\022F\n\020ShowSplashScreen\022\026.g" - "oogle.protobuf.Empty\032\032.google.protobuf.B" - "oolValue\022E\n\017IsFirstGuiStart\022\026.google.pro" - "tobuf.Empty\032\032.google.protobuf.BoolValue\022" - "F\n\020SetIsAutostartOn\022\032.google.protobuf.Bo" - "olValue\032\026.google.protobuf.Empty\022C\n\rIsAut" - "ostartOn\022\026.google.protobuf.Empty\032\032.googl" - "e.protobuf.BoolValue\022F\n\020SetIsBetaEnabled" - "\022\032.google.protobuf.BoolValue\032\026.google.pr" - "otobuf.Empty\022C\n\rIsBetaEnabled\022\026.google.p" - "rotobuf.Empty\032\032.google.protobuf.BoolValu" - "e\022I\n\023SetIsAllMailVisible\022\032.google.protob" - "uf.BoolValue\032\026.google.protobuf.Empty\022F\n\020" - "IsAllMailVisible\022\026.google.protobuf.Empty" - "\032\032.google.protobuf.BoolValue\022<\n\004GoOs\022\026.g" - "oogle.protobuf.Empty\032\034.google.protobuf.S" - "tringValue\022>\n\014TriggerReset\022\026.google.prot" - "obuf.Empty\032\026.google.protobuf.Empty\022\?\n\007Ve" - "rsion\022\026.google.protobuf.Empty\032\034.google.p" - "rotobuf.StringValue\022@\n\010LogsPath\022\026.google" - ".protobuf.Empty\032\034.google.protobuf.String" - "Value\022C\n\013LicensePath\022\026.google.protobuf.E" - "mpty\032\034.google.protobuf.StringValue\022L\n\024Re" - "leaseNotesPageLink\022\026.google.protobuf.Emp" - "ty\032\034.google.protobuf.StringValue\022N\n\026Depe" - "ndencyLicensesLink\022\026.google.protobuf.Emp" - "ty\032\034.google.protobuf.StringValue\022G\n\017Land" - "ingPageLink\022\026.google.protobuf.Empty\032\034.go" - "ogle.protobuf.StringValue\022J\n\022SetColorSch" - "emeName\022\034.google.protobuf.StringValue\032\026." - "google.protobuf.Empty\022G\n\017ColorSchemeName" - "\022\026.google.protobuf.Empty\032\034.google.protob" - "uf.StringValue\022J\n\022CurrentEmailClient\022\026.g" - "oogle.protobuf.Empty\032\034.google.protobuf.S" - "tringValue\022;\n\tReportBug\022\026.grpc.ReportBug" - "Request\032\026.google.protobuf.Empty\022E\n\rForce" - "Launcher\022\034.google.protobuf.StringValue\032\026" - ".google.protobuf.Empty\022I\n\021SetMainExecuta" - "ble\022\034.google.protobuf.StringValue\032\026.goog" - "le.protobuf.Empty\0223\n\005Login\022\022.grpc.LoginR" - "equest\032\026.google.protobuf.Empty\0226\n\010Login2" - "FA\022\022.grpc.LoginRequest\032\026.google.protobuf" - ".Empty\022=\n\017Login2Passwords\022\022.grpc.LoginRe" - "quest\032\026.google.protobuf.Empty\022=\n\nLoginAb" - "ort\022\027.grpc.LoginAbortRequest\032\026.google.pr" - "otobuf.Empty\022=\n\013CheckUpdate\022\026.google.pro" - "tobuf.Empty\032\026.google.protobuf.Empty\022\?\n\rI" - "nstallUpdate\022\026.google.protobuf.Empty\032\026.g" - "oogle.protobuf.Empty\022L\n\026SetIsAutomaticUp" - "dateOn\022\032.google.protobuf.BoolValue\032\026.goo" - "gle.protobuf.Empty\022I\n\023IsAutomaticUpdateO" - "n\022\026.google.protobuf.Empty\032\032.google.proto" - "buf.BoolValue\022J\n\024IsCacheOnDiskEnabled\022\026." - "google.protobuf.Empty\032\032.google.protobuf." - "BoolValue\022E\n\rDiskCachePath\022\026.google.prot" - "obuf.Empty\032\034.google.protobuf.StringValue" - "\022I\n\020ChangeLocalCache\022\035.grpc.ChangeLocalC" - "acheRequest\032\026.google.protobuf.Empty\022E\n\017S" - "etIsDoHEnabled\022\032.google.protobuf.BoolVal" - "ue\032\026.google.protobuf.Empty\022B\n\014IsDoHEnabl" + "LoginAbortRequest\022\020\n\010username\030\001 \001(\t\"0\n\027C" + "hangeLocalCacheRequest\022\025\n\rdiskCachePath\030" + "\002 \001(\t\"8\n\022ChangePortsRequest\022\020\n\010imapPort\030" + "\001 \001(\005\022\020\n\010smtpPort\030\002 \001(\005\"/\n\032AvailableKeyc" + "hainsResponse\022\021\n\tkeychains\030\001 \003(\t\"\301\001\n\004Use" + "r\022\n\n\002id\030\001 \001(\t\022\020\n\010username\030\002 \001(\t\022\022\n\navata" + "rText\030\003 \001(\t\022\020\n\010loggedIn\030\004 \001(\010\022\021\n\tsplitMo" + "de\030\005 \001(\010\022\026\n\016setupGuideSeen\030\006 \001(\010\022\021\n\tused" + "Bytes\030\007 \001(\003\022\022\n\ntotalBytes\030\010 \001(\003\022\020\n\010passw" + "ord\030\t \001(\t\022\021\n\taddresses\030\n \003(\t\"6\n\024UserSpli" + "tModeRequest\022\016\n\006userID\030\001 \001(\t\022\016\n\006active\030\002" + " \001(\010\"-\n\020UserListResponse\022\031\n\005users\030\001 \003(\0132" + "\n.grpc.User\"<\n\031ConfigureAppleMailRequest" + "\022\016\n\006userID\030\001 \001(\t\022\017\n\007address\030\002 \001(\t\",\n\022Eve" + "ntStreamRequest\022\026\n\016ClientPlatform\030\001 \001(\t\"" + "\274\002\n\013StreamEvent\022\035\n\003app\030\001 \001(\0132\016.grpc.AppE" + "ventH\000\022!\n\005login\030\002 \001(\0132\020.grpc.LoginEventH" + "\000\022#\n\006update\030\003 \001(\0132\021.grpc.UpdateEventH\000\022!" + "\n\005cache\030\004 \001(\0132\020.grpc.CacheEventH\000\022/\n\014mai" + "lSettings\030\005 \001(\0132\027.grpc.MailSettingsEvent" + "H\000\022\'\n\010keychain\030\006 \001(\0132\023.grpc.KeychainEven" + "tH\000\022\037\n\004mail\030\007 \001(\0132\017.grpc.MailEventH\000\022\037\n\004" + "user\030\010 \001(\0132\017.grpc.UserEventH\000B\007\n\005event\"\240" + "\003\n\010AppEvent\0223\n\016internetStatus\030\001 \001(\0132\031.gr" + "pc.InternetStatusEventH\000\022E\n\027toggleAutost" + "artFinished\030\002 \001(\0132\".grpc.ToggleAutostart" + "FinishedEventH\000\0221\n\rresetFinished\030\003 \001(\0132\030" + ".grpc.ResetFinishedEventH\000\0229\n\021reportBugF" + "inished\030\004 \001(\0132\034.grpc.ReportBugFinishedEv" + "entH\000\0227\n\020reportBugSuccess\030\005 \001(\0132\033.grpc.R" + "eportBugSuccessEventH\000\0223\n\016reportBugError" + "\030\006 \001(\0132\031.grpc.ReportBugErrorEventH\000\0223\n\016s" + "howMainWindow\030\007 \001(\0132\031.grpc.ShowMainWindo" + "wEventH\000B\007\n\005event\"(\n\023InternetStatusEvent" + "\022\021\n\tconnected\030\001 \001(\010\"\036\n\034ToggleAutostartFi" + "nishedEvent\"\024\n\022ResetFinishedEvent\"\030\n\026Rep" + "ortBugFinishedEvent\"\027\n\025ReportBugSuccessE" + "vent\"\025\n\023ReportBugErrorEvent\"\025\n\023ShowMainW" + "indowEvent\"\235\002\n\nLoginEvent\022&\n\005error\030\001 \001(\013" + "2\025.grpc.LoginErrorEventH\000\0224\n\014tfaRequeste" + "d\030\002 \001(\0132\034.grpc.LoginTfaRequestedEventH\000\022" + "E\n\024twoPasswordRequested\030\003 \001(\0132%.grpc.Log" + "inTwoPasswordsRequestedEventH\000\022,\n\010finish" + "ed\030\004 \001(\0132\030.grpc.LoginFinishedEventH\000\0223\n\017" + "alreadyLoggedIn\030\005 \001(\0132\030.grpc.LoginFinish" + "edEventH\000B\007\n\005event\"F\n\017LoginErrorEvent\022\"\n" + "\004type\030\001 \001(\0162\024.grpc.LoginErrorType\022\017\n\007mes" + "sage\030\002 \001(\t\"*\n\026LoginTfaRequestedEvent\022\020\n\010" + "username\030\001 \001(\t\"!\n\037LoginTwoPasswordsReque" + "stedEvent\"$\n\022LoginFinishedEvent\022\016\n\006userI" + "D\030\001 \001(\t\"\304\003\n\013UpdateEvent\022\'\n\005error\030\001 \001(\0132\026" + ".grpc.UpdateErrorEventH\000\0223\n\013manualReady\030" + "\002 \001(\0132\034.grpc.UpdateManualReadyEventH\000\022C\n" + "\023manualRestartNeeded\030\003 \001(\0132$.grpc.Update" + "ManualRestartNeededEventH\000\022\'\n\005force\030\004 \001(" + "\0132\026.grpc.UpdateForceEventH\000\022>\n\023silentRes" + "tartNeeded\030\005 \001(\0132\037.grpc.UpdateSilentRest" + "artNeededH\000\0226\n\017isLatestVersion\030\006 \001(\0132\033.g" + "rpc.UpdateIsLatestVersionH\000\0222\n\rcheckFini" + "shed\030\007 \001(\0132\031.grpc.UpdateCheckFinishedH\000\022" + "4\n\016versionChanged\030\010 \001(\0132\032.grpc.UpdateVer" + "sionChangedH\000B\007\n\005event\"7\n\020UpdateErrorEve" + "nt\022#\n\004type\030\001 \001(\0162\025.grpc.UpdateErrorType\"" + ")\n\026UpdateManualReadyEvent\022\017\n\007version\030\001 \001" + "(\t\" \n\036UpdateManualRestartNeededEvent\"#\n\020" + "UpdateForceEvent\022\017\n\007version\030\001 \001(\t\"\033\n\031Upd" + "ateSilentRestartNeeded\"\027\n\025UpdateIsLatest" + "Version\"\025\n\023UpdateCheckFinished\"\026\n\024Update" + "VersionChanged\"\213\002\n\nCacheEvent\022&\n\005error\030\001" + " \001(\0132\025.grpc.CacheErrorEventH\000\022G\n\026locatio" + "nChangedSuccess\030\002 \001(\0132%.grpc.CacheLocati" + "onChangeSuccessEventH\000\022G\n\030changeLocalCac" + "heFinished\030\003 \001(\0132#.grpc.ChangeLocalCache" + "FinishedEventH\000\022:\n\024diskCachePathChanged\030" + "\005 \001(\0132\032.grpc.DiskCachePathChangedH\000B\007\n\005e" + "vent\"5\n\017CacheErrorEvent\022\"\n\004type\030\001 \001(\0162\024." + "grpc.CacheErrorType\"!\n\037CacheLocationChan" + "geSuccessEvent\"4\n\035ChangeLocalCacheFinish" + "edEvent\022\023\n\013willRestart\030\001 \001(\010\"$\n\024DiskCach" + "ePathChanged\022\014\n\004path\030\001 \001(\t\"\315\001\n\021MailSetti" + "ngsEvent\022-\n\005error\030\001 \001(\0132\034.grpc.MailSetti" + "ngsErrorEventH\000\022A\n\025useSslForSmtpFinished" + "\030\002 \001(\0132 .grpc.UseSslForSmtpFinishedEvent" + "H\000\022=\n\023changePortsFinished\030\003 \001(\0132\036.grpc.C" + "hangePortsFinishedEventH\000B\007\n\005event\"C\n\026Ma" + "ilSettingsErrorEvent\022)\n\004type\030\001 \001(\0162\033.grp" + "c.MailSettingsErrorType\"\034\n\032UseSslForSmtp" + "FinishedEvent\"\032\n\030ChangePortsFinishedEven" + "t\"\307\001\n\rKeychainEvent\022C\n\026changeKeychainFin" + "ished\030\001 \001(\0132!.grpc.ChangeKeychainFinishe" + "dEventH\000\0221\n\rhasNoKeychain\030\002 \001(\0132\030.grpc.H" + "asNoKeychainEventH\000\0225\n\017rebuildKeychain\030\003" + " \001(\0132\032.grpc.RebuildKeychainEventH\000B\007\n\005ev" + "ent\"\035\n\033ChangeKeychainFinishedEvent\"\024\n\022Ha" + "sNoKeychainEvent\"\026\n\024RebuildKeychainEvent" + "\"\207\002\n\tMailEvent\022J\n\034noActiveKeyForRecipien" + "tEvent\030\001 \001(\0132\".grpc.NoActiveKeyForRecipi" + "entEventH\000\0223\n\016addressChanged\030\002 \001(\0132\031.grp" + "c.AddressChangedEventH\000\022\?\n\024addressChange" + "dLogout\030\003 \001(\0132\037.grpc.AddressChangedLogou" + "tEventH\000\022/\n\014apiCertIssue\030\006 \001(\0132\027.grpc.Ap" + "iCertIssueEventH\000B\007\n\005event\"-\n\034NoActiveKe" + "yForRecipientEvent\022\r\n\005email\030\001 \001(\t\"&\n\023Add" + "ressChangedEvent\022\017\n\007address\030\001 \001(\t\",\n\031Add" + "ressChangedLogoutEvent\022\017\n\007address\030\001 \001(\t\"" + "\023\n\021ApiCertIssueEvent\"\303\001\n\tUserEvent\022E\n\027to" + "ggleSplitModeFinished\030\001 \001(\0132\".grpc.Toggl" + "eSplitModeFinishedEventH\000\0227\n\020userDisconn" + "ected\030\002 \001(\0132\033.grpc.UserDisconnectedEvent" + "H\000\022-\n\013userChanged\030\003 \001(\0132\026.grpc.UserChang" + "edEventH\000B\007\n\005event\".\n\034ToggleSplitModeFin" + "ishedEvent\022\016\n\006userID\030\001 \001(\t\")\n\025UserDiscon" + "nectedEvent\022\020\n\010username\030\001 \001(\t\"\"\n\020UserCha" + "ngedEvent\022\016\n\006userID\030\001 \001(\t*q\n\010LogLevel\022\r\n" + "\tLOG_PANIC\020\000\022\r\n\tLOG_FATAL\020\001\022\r\n\tLOG_ERROR" + "\020\002\022\014\n\010LOG_WARN\020\003\022\014\n\010LOG_INFO\020\004\022\r\n\tLOG_DE" + "BUG\020\005\022\r\n\tLOG_TRACE\020\006*\242\001\n\016LoginErrorType\022" + "\033\n\027USERNAME_PASSWORD_ERROR\020\000\022\r\n\tFREE_USE" + "R\020\001\022\024\n\020CONNECTION_ERROR\020\002\022\r\n\tTFA_ERROR\020\003" + "\022\r\n\tTFA_ABORT\020\004\022\027\n\023TWO_PASSWORDS_ERROR\020\005" + "\022\027\n\023TWO_PASSWORDS_ABORT\020\006*[\n\017UpdateError" + "Type\022\027\n\023UPDATE_MANUAL_ERROR\020\000\022\026\n\022UPDATE_" + "FORCE_ERROR\020\001\022\027\n\023UPDATE_SILENT_ERROR\020\002*W" + "\n\016CacheErrorType\022\033\n\027CACHE_UNAVAILABLE_ER" + "ROR\020\000\022\031\n\025CACHE_CANT_MOVE_ERROR\020\001\022\r\n\tDISK" + "_FULL\020\002*A\n\025MailSettingsErrorType\022\023\n\017IMAP" + "_PORT_ISSUE\020\000\022\023\n\017SMTP_PORT_ISSUE\020\0012\233\037\n\006B" + "ridge\022I\n\013CheckTokens\022\034.google.protobuf.S" + "tringValue\032\034.google.protobuf.StringValue" + "\022\?\n\013AddLogEntry\022\030.grpc.AddLogEntryReques" + "t\032\026.google.protobuf.Empty\022:\n\010GuiReady\022\026." + "google.protobuf.Empty\032\026.google.protobuf." + "Empty\0226\n\004Quit\022\026.google.protobuf.Empty\032\026." + "google.protobuf.Empty\0229\n\007Restart\022\026.googl" + "e.protobuf.Empty\032\026.google.protobuf.Empty" + "\022C\n\rShowOnStartup\022\026.google.protobuf.Empt" + "y\032\032.google.protobuf.BoolValue\022F\n\020ShowSpl" + "ashScreen\022\026.google.protobuf.Empty\032\032.goog" + "le.protobuf.BoolValue\022E\n\017IsFirstGuiStart" + "\022\026.google.protobuf.Empty\032\032.google.protob" + "uf.BoolValue\022F\n\020SetIsAutostartOn\022\032.googl" + "e.protobuf.BoolValue\032\026.google.protobuf.E" + "mpty\022C\n\rIsAutostartOn\022\026.google.protobuf." + "Empty\032\032.google.protobuf.BoolValue\022F\n\020Set" + "IsBetaEnabled\022\032.google.protobuf.BoolValu" + "e\032\026.google.protobuf.Empty\022C\n\rIsBetaEnabl" "ed\022\026.google.protobuf.Empty\032\032.google.prot" - "obuf.BoolValue\022F\n\020SetUseSslForSmtp\022\032.goo" - "gle.protobuf.BoolValue\032\026.google.protobuf" - ".Empty\022C\n\rUseSslForSmtp\022\026.google.protobu" - "f.Empty\032\032.google.protobuf.BoolValue\022@\n\010H" - "ostname\022\026.google.protobuf.Empty\032\034.google" - ".protobuf.StringValue\022\?\n\010ImapPort\022\026.goog" - "le.protobuf.Empty\032\033.google.protobuf.Int3" - "2Value\022\?\n\010SmtpPort\022\026.google.protobuf.Emp" - "ty\032\033.google.protobuf.Int32Value\022\?\n\013Chang" - "ePorts\022\030.grpc.ChangePortsRequest\032\026.googl" - "e.protobuf.Empty\022E\n\nIsPortFree\022\033.google." - "protobuf.Int32Value\032\032.google.protobuf.Bo" - "olValue\022N\n\022AvailableKeychains\022\026.google.p" - "rotobuf.Empty\032 .grpc.AvailableKeychainsR" - "esponse\022J\n\022SetCurrentKeychain\022\034.google.p" - "rotobuf.StringValue\032\026.google.protobuf.Em" - "pty\022G\n\017CurrentKeychain\022\026.google.protobuf" - ".Empty\032\034.google.protobuf.StringValue\022=\n\013" - "GetUserList\022\026.google.protobuf.Empty\032\026.gr" - "pc.UserListResponse\0223\n\007GetUser\022\034.google." - "protobuf.StringValue\032\n.grpc.User\022F\n\020SetU" - "serSplitMode\022\032.grpc.UserSplitModeRequest" - "\032\026.google.protobuf.Empty\022B\n\nLogoutUser\022\034" - ".google.protobuf.StringValue\032\026.google.pr" - "otobuf.Empty\022B\n\nRemoveUser\022\034.google.prot" - "obuf.StringValue\032\026.google.protobuf.Empty" - "\022Q\n\026ConfigureUserAppleMail\022\037.grpc.Config" - "ureAppleMailRequest\032\026.google.protobuf.Em" - "pty\022\?\n\016RunEventStream\022\030.grpc.EventStream" - "Request\032\021.grpc.StreamEvent0\001\022A\n\017StopEven" - "tStream\022\026.google.protobuf.Empty\032\026.google" - ".protobuf.EmptyB6Z4github.com/ProtonMail" - "/proton-bridge/v2/internal/grpcb\006proto3" + "obuf.BoolValue\022I\n\023SetIsAllMailVisible\022\032." + "google.protobuf.BoolValue\032\026.google.proto" + "buf.Empty\022F\n\020IsAllMailVisible\022\026.google.p" + "rotobuf.Empty\032\032.google.protobuf.BoolValu" + "e\022<\n\004GoOs\022\026.google.protobuf.Empty\032\034.goog" + "le.protobuf.StringValue\022>\n\014TriggerReset\022" + "\026.google.protobuf.Empty\032\026.google.protobu" + "f.Empty\022\?\n\007Version\022\026.google.protobuf.Emp" + "ty\032\034.google.protobuf.StringValue\022@\n\010Logs" + "Path\022\026.google.protobuf.Empty\032\034.google.pr" + "otobuf.StringValue\022C\n\013LicensePath\022\026.goog" + "le.protobuf.Empty\032\034.google.protobuf.Stri" + "ngValue\022L\n\024ReleaseNotesPageLink\022\026.google" + ".protobuf.Empty\032\034.google.protobuf.String" + "Value\022N\n\026DependencyLicensesLink\022\026.google" + ".protobuf.Empty\032\034.google.protobuf.String" + "Value\022G\n\017LandingPageLink\022\026.google.protob" + "uf.Empty\032\034.google.protobuf.StringValue\022J" + "\n\022SetColorSchemeName\022\034.google.protobuf.S" + "tringValue\032\026.google.protobuf.Empty\022G\n\017Co" + "lorSchemeName\022\026.google.protobuf.Empty\032\034." + "google.protobuf.StringValue\022J\n\022CurrentEm" + "ailClient\022\026.google.protobuf.Empty\032\034.goog" + "le.protobuf.StringValue\022;\n\tReportBug\022\026.g" + "rpc.ReportBugRequest\032\026.google.protobuf.E" + "mpty\022E\n\rForceLauncher\022\034.google.protobuf." + "StringValue\032\026.google.protobuf.Empty\022I\n\021S" + "etMainExecutable\022\034.google.protobuf.Strin" + "gValue\032\026.google.protobuf.Empty\0223\n\005Login\022" + "\022.grpc.LoginRequest\032\026.google.protobuf.Em" + "pty\0226\n\010Login2FA\022\022.grpc.LoginRequest\032\026.go" + "ogle.protobuf.Empty\022=\n\017Login2Passwords\022\022" + ".grpc.LoginRequest\032\026.google.protobuf.Emp" + "ty\022=\n\nLoginAbort\022\027.grpc.LoginAbortReques" + "t\032\026.google.protobuf.Empty\022=\n\013CheckUpdate" + "\022\026.google.protobuf.Empty\032\026.google.protob" + "uf.Empty\022\?\n\rInstallUpdate\022\026.google.proto" + "buf.Empty\032\026.google.protobuf.Empty\022L\n\026Set" + "IsAutomaticUpdateOn\022\032.google.protobuf.Bo" + "olValue\032\026.google.protobuf.Empty\022I\n\023IsAut" + "omaticUpdateOn\022\026.google.protobuf.Empty\032\032" + ".google.protobuf.BoolValue\022E\n\rDiskCacheP" + "ath\022\026.google.protobuf.Empty\032\034.google.pro" + "tobuf.StringValue\022I\n\020ChangeLocalCache\022\035." + "grpc.ChangeLocalCacheRequest\032\026.google.pr" + "otobuf.Empty\022E\n\017SetIsDoHEnabled\022\032.google" + ".protobuf.BoolValue\032\026.google.protobuf.Em" + "pty\022B\n\014IsDoHEnabled\022\026.google.protobuf.Em" + "pty\032\032.google.protobuf.BoolValue\022F\n\020SetUs" + "eSslForSmtp\022\032.google.protobuf.BoolValue\032" + "\026.google.protobuf.Empty\022C\n\rUseSslForSmtp" + "\022\026.google.protobuf.Empty\032\032.google.protob" + "uf.BoolValue\022@\n\010Hostname\022\026.google.protob" + "uf.Empty\032\034.google.protobuf.StringValue\022\?" + "\n\010ImapPort\022\026.google.protobuf.Empty\032\033.goo" + "gle.protobuf.Int32Value\022\?\n\010SmtpPort\022\026.go" + "ogle.protobuf.Empty\032\033.google.protobuf.In" + "t32Value\022\?\n\013ChangePorts\022\030.grpc.ChangePor" + "tsRequest\032\026.google.protobuf.Empty\022E\n\nIsP" + "ortFree\022\033.google.protobuf.Int32Value\032\032.g" + "oogle.protobuf.BoolValue\022N\n\022AvailableKey" + "chains\022\026.google.protobuf.Empty\032 .grpc.Av" + "ailableKeychainsResponse\022J\n\022SetCurrentKe" + "ychain\022\034.google.protobuf.StringValue\032\026.g" + "oogle.protobuf.Empty\022G\n\017CurrentKeychain\022" + "\026.google.protobuf.Empty\032\034.google.protobu" + "f.StringValue\022=\n\013GetUserList\022\026.google.pr" + "otobuf.Empty\032\026.grpc.UserListResponse\0223\n\007" + "GetUser\022\034.google.protobuf.StringValue\032\n." + "grpc.User\022F\n\020SetUserSplitMode\022\032.grpc.Use" + "rSplitModeRequest\032\026.google.protobuf.Empt" + "y\022B\n\nLogoutUser\022\034.google.protobuf.String" + "Value\032\026.google.protobuf.Empty\022B\n\nRemoveU" + "ser\022\034.google.protobuf.StringValue\032\026.goog" + "le.protobuf.Empty\022Q\n\026ConfigureUserAppleM" + "ail\022\037.grpc.ConfigureAppleMailRequest\032\026.g" + "oogle.protobuf.Empty\022\?\n\016RunEventStream\022\030" + ".grpc.EventStreamRequest\032\021.grpc.StreamEv" + "ent0\001\022A\n\017StopEventStream\022\026.google.protob" + "uf.Empty\032\026.google.protobuf.EmptyB6Z4gith" + "ub.com/ProtonMail/proton-bridge/v2/inter" + "nal/grpcb\006proto3" ; static const ::_pbi::DescriptorTable* const descriptor_table_bridge_2eproto_deps[2] = { &::descriptor_table_google_2fprotobuf_2fempty_2eproto, @@ -1603,9 +1573,9 @@ static const ::_pbi::DescriptorTable* const descriptor_table_bridge_2eproto_deps }; static ::_pbi::once_flag descriptor_table_bridge_2eproto_once; const ::_pbi::DescriptorTable descriptor_table_bridge_2eproto = { - false, false, 9719, descriptor_table_protodef_bridge_2eproto, + false, false, 9496, descriptor_table_protodef_bridge_2eproto, "bridge.proto", - &descriptor_table_bridge_2eproto_once, descriptor_table_bridge_2eproto_deps, 2, 58, + &descriptor_table_bridge_2eproto_once, descriptor_table_bridge_2eproto_deps, 2, 57, schemas, file_default_instances, TableStruct_bridge_2eproto::offsets, file_level_metadata_bridge_2eproto, file_level_enum_descriptors_bridge_2eproto, file_level_service_descriptors_bridge_2eproto, @@ -2886,7 +2856,6 @@ ChangeLocalCacheRequest::ChangeLocalCacheRequest(const ChangeLocalCacheRequest& ChangeLocalCacheRequest* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_.diskcachepath_){} - , decltype(_impl_.enablediskcache_){} , /*decltype(_impl_._cached_size_)*/{}}; _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); @@ -2898,7 +2867,6 @@ ChangeLocalCacheRequest::ChangeLocalCacheRequest(const ChangeLocalCacheRequest& _this->_impl_.diskcachepath_.Set(from._internal_diskcachepath(), _this->GetArenaForAllocation()); } - _this->_impl_.enablediskcache_ = from._impl_.enablediskcache_; // @@protoc_insertion_point(copy_constructor:grpc.ChangeLocalCacheRequest) } @@ -2908,7 +2876,6 @@ inline void ChangeLocalCacheRequest::SharedCtor( (void)is_message_owned; new (&_impl_) Impl_{ decltype(_impl_.diskcachepath_){} - , decltype(_impl_.enablediskcache_){false} , /*decltype(_impl_._cached_size_)*/{} }; _impl_.diskcachepath_.InitDefault(); @@ -2942,7 +2909,6 @@ void ChangeLocalCacheRequest::Clear() { (void) cached_has_bits; _impl_.diskcachepath_.ClearToEmpty(); - _impl_.enablediskcache_ = false; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -2952,14 +2918,6 @@ const char* ChangeLocalCacheRequest::_InternalParse(const char* ptr, ::_pbi::Par uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // bool enableDiskCache = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _impl_.enablediskcache_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; // string diskCachePath = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { @@ -2999,12 +2957,6 @@ uint8_t* ChangeLocalCacheRequest::_InternalSerialize( uint32_t cached_has_bits = 0; (void) cached_has_bits; - // bool enableDiskCache = 1; - if (this->_internal_enablediskcache() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_enablediskcache(), target); - } - // string diskCachePath = 2; if (!this->_internal_diskcachepath().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( @@ -3038,11 +2990,6 @@ size_t ChangeLocalCacheRequest::ByteSizeLong() const { this->_internal_diskcachepath()); } - // bool enableDiskCache = 1; - if (this->_internal_enablediskcache() != 0) { - total_size += 1 + 1; - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } @@ -3064,9 +3011,6 @@ void ChangeLocalCacheRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg if (!from._internal_diskcachepath().empty()) { _this->_internal_set_diskcachepath(from._internal_diskcachepath()); } - if (from._internal_enablediskcache() != 0) { - _this->_internal_set_enablediskcache(from._internal_enablediskcache()); - } _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -3090,7 +3034,6 @@ void ChangeLocalCacheRequest::InternalSwap(ChangeLocalCacheRequest* other) { &_impl_.diskcachepath_, lhs_arena, &other->_impl_.diskcachepath_, rhs_arena ); - swap(_impl_.enablediskcache_, other->_impl_.enablediskcache_); } ::PROTOBUF_NAMESPACE_ID::Metadata ChangeLocalCacheRequest::GetMetadata() const { @@ -9166,7 +9109,6 @@ class CacheEvent::_Internal { static const ::grpc::CacheErrorEvent& error(const CacheEvent* msg); static const ::grpc::CacheLocationChangeSuccessEvent& locationchangedsuccess(const CacheEvent* msg); static const ::grpc::ChangeLocalCacheFinishedEvent& changelocalcachefinished(const CacheEvent* msg); - static const ::grpc::IsCacheOnDiskEnabledChanged& iscacheondiskenabledchanged(const CacheEvent* msg); static const ::grpc::DiskCachePathChanged& diskcachepathchanged(const CacheEvent* msg); }; @@ -9182,10 +9124,6 @@ const ::grpc::ChangeLocalCacheFinishedEvent& CacheEvent::_Internal::changelocalcachefinished(const CacheEvent* msg) { return *msg->_impl_.event_.changelocalcachefinished_; } -const ::grpc::IsCacheOnDiskEnabledChanged& -CacheEvent::_Internal::iscacheondiskenabledchanged(const CacheEvent* msg) { - return *msg->_impl_.event_.iscacheondiskenabledchanged_; -} const ::grpc::DiskCachePathChanged& CacheEvent::_Internal::diskcachepathchanged(const CacheEvent* msg) { return *msg->_impl_.event_.diskcachepathchanged_; @@ -9235,21 +9173,6 @@ void CacheEvent::set_allocated_changelocalcachefinished(::grpc::ChangeLocalCache } // @@protoc_insertion_point(field_set_allocated:grpc.CacheEvent.changeLocalCacheFinished) } -void CacheEvent::set_allocated_iscacheondiskenabledchanged(::grpc::IsCacheOnDiskEnabledChanged* iscacheondiskenabledchanged) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_event(); - if (iscacheondiskenabledchanged) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(iscacheondiskenabledchanged); - if (message_arena != submessage_arena) { - iscacheondiskenabledchanged = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, iscacheondiskenabledchanged, submessage_arena); - } - set_has_iscacheondiskenabledchanged(); - _impl_.event_.iscacheondiskenabledchanged_ = iscacheondiskenabledchanged; - } - // @@protoc_insertion_point(field_set_allocated:grpc.CacheEvent.isCacheOnDiskEnabledChanged) -} void CacheEvent::set_allocated_diskcachepathchanged(::grpc::DiskCachePathChanged* diskcachepathchanged) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); clear_event(); @@ -9297,11 +9220,6 @@ CacheEvent::CacheEvent(const CacheEvent& from) from._internal_changelocalcachefinished()); break; } - case kIsCacheOnDiskEnabledChanged: { - _this->_internal_mutable_iscacheondiskenabledchanged()->::grpc::IsCacheOnDiskEnabledChanged::MergeFrom( - from._internal_iscacheondiskenabledchanged()); - break; - } case kDiskCachePathChanged: { _this->_internal_mutable_diskcachepathchanged()->::grpc::DiskCachePathChanged::MergeFrom( from._internal_diskcachepathchanged()); @@ -9367,12 +9285,6 @@ void CacheEvent::clear_event() { } break; } - case kIsCacheOnDiskEnabledChanged: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.event_.iscacheondiskenabledchanged_; - } - break; - } case kDiskCachePathChanged: { if (GetArenaForAllocation() == nullptr) { delete _impl_.event_.diskcachepathchanged_; @@ -9427,14 +9339,6 @@ const char* CacheEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ct } else goto handle_unusual; continue; - // .grpc.IsCacheOnDiskEnabledChanged isCacheOnDiskEnabledChanged = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_iscacheondiskenabledchanged(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; // .grpc.DiskCachePathChanged diskCachePathChanged = 5; case 5: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { @@ -9493,13 +9397,6 @@ uint8_t* CacheEvent::_InternalSerialize( _Internal::changelocalcachefinished(this).GetCachedSize(), target, stream); } - // .grpc.IsCacheOnDiskEnabledChanged isCacheOnDiskEnabledChanged = 4; - if (_internal_has_iscacheondiskenabledchanged()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::iscacheondiskenabledchanged(this), - _Internal::iscacheondiskenabledchanged(this).GetCachedSize(), target, stream); - } - // .grpc.DiskCachePathChanged diskCachePathChanged = 5; if (_internal_has_diskcachepathchanged()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: @@ -9545,13 +9442,6 @@ size_t CacheEvent::ByteSizeLong() const { *_impl_.event_.changelocalcachefinished_); break; } - // .grpc.IsCacheOnDiskEnabledChanged isCacheOnDiskEnabledChanged = 4; - case kIsCacheOnDiskEnabledChanged: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.event_.iscacheondiskenabledchanged_); - break; - } // .grpc.DiskCachePathChanged diskCachePathChanged = 5; case kDiskCachePathChanged: { total_size += 1 + @@ -9597,11 +9487,6 @@ void CacheEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PRO from._internal_changelocalcachefinished()); break; } - case kIsCacheOnDiskEnabledChanged: { - _this->_internal_mutable_iscacheondiskenabledchanged()->::grpc::IsCacheOnDiskEnabledChanged::MergeFrom( - from._internal_iscacheondiskenabledchanged()); - break; - } case kDiskCachePathChanged: { _this->_internal_mutable_diskcachepathchanged()->::grpc::DiskCachePathChanged::MergeFrom( from._internal_diskcachepathchanged()); @@ -10039,184 +9924,6 @@ void ChangeLocalCacheFinishedEvent::InternalSwap(ChangeLocalCacheFinishedEvent* // =================================================================== -class IsCacheOnDiskEnabledChanged::_Internal { - public: -}; - -IsCacheOnDiskEnabledChanged::IsCacheOnDiskEnabledChanged(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:grpc.IsCacheOnDiskEnabledChanged) -} -IsCacheOnDiskEnabledChanged::IsCacheOnDiskEnabledChanged(const IsCacheOnDiskEnabledChanged& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - IsCacheOnDiskEnabledChanged* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.enabled_){} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.enabled_ = from._impl_.enabled_; - // @@protoc_insertion_point(copy_constructor:grpc.IsCacheOnDiskEnabledChanged) -} - -inline void IsCacheOnDiskEnabledChanged::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.enabled_){false} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -IsCacheOnDiskEnabledChanged::~IsCacheOnDiskEnabledChanged() { - // @@protoc_insertion_point(destructor:grpc.IsCacheOnDiskEnabledChanged) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void IsCacheOnDiskEnabledChanged::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void IsCacheOnDiskEnabledChanged::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void IsCacheOnDiskEnabledChanged::Clear() { -// @@protoc_insertion_point(message_clear_start:grpc.IsCacheOnDiskEnabledChanged) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.enabled_ = false; - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* IsCacheOnDiskEnabledChanged::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // bool enabled = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _impl_.enabled_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* IsCacheOnDiskEnabledChanged::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:grpc.IsCacheOnDiskEnabledChanged) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // bool enabled = 1; - if (this->_internal_enabled() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_enabled(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:grpc.IsCacheOnDiskEnabledChanged) - return target; -} - -size_t IsCacheOnDiskEnabledChanged::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:grpc.IsCacheOnDiskEnabledChanged) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // bool enabled = 1; - if (this->_internal_enabled() != 0) { - total_size += 1 + 1; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IsCacheOnDiskEnabledChanged::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - IsCacheOnDiskEnabledChanged::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IsCacheOnDiskEnabledChanged::GetClassData() const { return &_class_data_; } - - -void IsCacheOnDiskEnabledChanged::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:grpc.IsCacheOnDiskEnabledChanged) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_enabled() != 0) { - _this->_internal_set_enabled(from._internal_enabled()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void IsCacheOnDiskEnabledChanged::CopyFrom(const IsCacheOnDiskEnabledChanged& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:grpc.IsCacheOnDiskEnabledChanged) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool IsCacheOnDiskEnabledChanged::IsInitialized() const { - return true; -} - -void IsCacheOnDiskEnabledChanged::InternalSwap(IsCacheOnDiskEnabledChanged* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.enabled_, other->_impl_.enabled_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata IsCacheOnDiskEnabledChanged::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[39]); -} - -// =================================================================== - class DiskCachePathChanged::_Internal { public: }; @@ -10415,7 +10122,7 @@ void DiskCachePathChanged::InternalSwap(DiskCachePathChanged* other) { ::PROTOBUF_NAMESPACE_ID::Metadata DiskCachePathChanged::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[40]); + file_level_metadata_bridge_2eproto[39]); } // =================================================================== @@ -10778,7 +10485,7 @@ void MailSettingsEvent::InternalSwap(MailSettingsEvent* other) { ::PROTOBUF_NAMESPACE_ID::Metadata MailSettingsEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[41]); + file_level_metadata_bridge_2eproto[40]); } // =================================================================== @@ -10959,7 +10666,7 @@ void MailSettingsErrorEvent::InternalSwap(MailSettingsErrorEvent* other) { ::PROTOBUF_NAMESPACE_ID::Metadata MailSettingsErrorEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[42]); + file_level_metadata_bridge_2eproto[41]); } // =================================================================== @@ -10999,7 +10706,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UseSslForSmtpFinishedEvent::Ge ::PROTOBUF_NAMESPACE_ID::Metadata UseSslForSmtpFinishedEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[43]); + file_level_metadata_bridge_2eproto[42]); } // =================================================================== @@ -11039,7 +10746,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ChangePortsFinishedEvent::GetC ::PROTOBUF_NAMESPACE_ID::Metadata ChangePortsFinishedEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[44]); + file_level_metadata_bridge_2eproto[43]); } // =================================================================== @@ -11402,7 +11109,7 @@ void KeychainEvent::InternalSwap(KeychainEvent* other) { ::PROTOBUF_NAMESPACE_ID::Metadata KeychainEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[45]); + file_level_metadata_bridge_2eproto[44]); } // =================================================================== @@ -11442,7 +11149,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ChangeKeychainFinishedEvent::G ::PROTOBUF_NAMESPACE_ID::Metadata ChangeKeychainFinishedEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[46]); + file_level_metadata_bridge_2eproto[45]); } // =================================================================== @@ -11482,7 +11189,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*HasNoKeychainEvent::GetClassDa ::PROTOBUF_NAMESPACE_ID::Metadata HasNoKeychainEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[47]); + file_level_metadata_bridge_2eproto[46]); } // =================================================================== @@ -11522,7 +11229,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RebuildKeychainEvent::GetClass ::PROTOBUF_NAMESPACE_ID::Metadata RebuildKeychainEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[48]); + file_level_metadata_bridge_2eproto[47]); } // =================================================================== @@ -11943,7 +11650,7 @@ void MailEvent::InternalSwap(MailEvent* other) { ::PROTOBUF_NAMESPACE_ID::Metadata MailEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[49]); + file_level_metadata_bridge_2eproto[48]); } // =================================================================== @@ -12146,7 +11853,7 @@ void NoActiveKeyForRecipientEvent::InternalSwap(NoActiveKeyForRecipientEvent* ot ::PROTOBUF_NAMESPACE_ID::Metadata NoActiveKeyForRecipientEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[50]); + file_level_metadata_bridge_2eproto[49]); } // =================================================================== @@ -12349,7 +12056,7 @@ void AddressChangedEvent::InternalSwap(AddressChangedEvent* other) { ::PROTOBUF_NAMESPACE_ID::Metadata AddressChangedEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[51]); + file_level_metadata_bridge_2eproto[50]); } // =================================================================== @@ -12552,7 +12259,7 @@ void AddressChangedLogoutEvent::InternalSwap(AddressChangedLogoutEvent* other) { ::PROTOBUF_NAMESPACE_ID::Metadata AddressChangedLogoutEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[52]); + file_level_metadata_bridge_2eproto[51]); } // =================================================================== @@ -12592,7 +12299,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ApiCertIssueEvent::GetClassDat ::PROTOBUF_NAMESPACE_ID::Metadata ApiCertIssueEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[53]); + file_level_metadata_bridge_2eproto[52]); } // =================================================================== @@ -12955,7 +12662,7 @@ void UserEvent::InternalSwap(UserEvent* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UserEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[54]); + file_level_metadata_bridge_2eproto[53]); } // =================================================================== @@ -13158,7 +12865,7 @@ void ToggleSplitModeFinishedEvent::InternalSwap(ToggleSplitModeFinishedEvent* ot ::PROTOBUF_NAMESPACE_ID::Metadata ToggleSplitModeFinishedEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[55]); + file_level_metadata_bridge_2eproto[54]); } // =================================================================== @@ -13361,7 +13068,7 @@ void UserDisconnectedEvent::InternalSwap(UserDisconnectedEvent* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UserDisconnectedEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[56]); + file_level_metadata_bridge_2eproto[55]); } // =================================================================== @@ -13564,7 +13271,7 @@ void UserChangedEvent::InternalSwap(UserChangedEvent* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UserChangedEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[57]); + file_level_metadata_bridge_2eproto[56]); } // @@protoc_insertion_point(namespace_scope) @@ -13726,10 +13433,6 @@ template<> PROTOBUF_NOINLINE ::grpc::ChangeLocalCacheFinishedEvent* Arena::CreateMaybeMessage< ::grpc::ChangeLocalCacheFinishedEvent >(Arena* arena) { return Arena::CreateMessageInternal< ::grpc::ChangeLocalCacheFinishedEvent >(arena); } -template<> PROTOBUF_NOINLINE ::grpc::IsCacheOnDiskEnabledChanged* -Arena::CreateMaybeMessage< ::grpc::IsCacheOnDiskEnabledChanged >(Arena* arena) { - return Arena::CreateMessageInternal< ::grpc::IsCacheOnDiskEnabledChanged >(arena); -} template<> PROTOBUF_NOINLINE ::grpc::DiskCachePathChanged* Arena::CreateMaybeMessage< ::grpc::DiskCachePathChanged >(Arena* arena) { return Arena::CreateMessageInternal< ::grpc::DiskCachePathChanged >(arena); diff --git a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/bridge.pb.h b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/bridge.pb.h index 5d483924..6c7a57e3 100644 --- a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/bridge.pb.h +++ b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/bridge.pb.h @@ -106,9 +106,6 @@ extern HasNoKeychainEventDefaultTypeInternal _HasNoKeychainEvent_default_instanc class InternetStatusEvent; struct InternetStatusEventDefaultTypeInternal; extern InternetStatusEventDefaultTypeInternal _InternetStatusEvent_default_instance_; -class IsCacheOnDiskEnabledChanged; -struct IsCacheOnDiskEnabledChangedDefaultTypeInternal; -extern IsCacheOnDiskEnabledChangedDefaultTypeInternal _IsCacheOnDiskEnabledChanged_default_instance_; class KeychainEvent; struct KeychainEventDefaultTypeInternal; extern KeychainEventDefaultTypeInternal _KeychainEvent_default_instance_; @@ -244,7 +241,6 @@ template<> ::grpc::DiskCachePathChanged* Arena::CreateMaybeMessage<::grpc::DiskC template<> ::grpc::EventStreamRequest* Arena::CreateMaybeMessage<::grpc::EventStreamRequest>(Arena*); template<> ::grpc::HasNoKeychainEvent* Arena::CreateMaybeMessage<::grpc::HasNoKeychainEvent>(Arena*); template<> ::grpc::InternetStatusEvent* Arena::CreateMaybeMessage<::grpc::InternetStatusEvent>(Arena*); -template<> ::grpc::IsCacheOnDiskEnabledChanged* Arena::CreateMaybeMessage<::grpc::IsCacheOnDiskEnabledChanged>(Arena*); template<> ::grpc::KeychainEvent* Arena::CreateMaybeMessage<::grpc::KeychainEvent>(Arena*); template<> ::grpc::LoginAbortRequest* Arena::CreateMaybeMessage<::grpc::LoginAbortRequest>(Arena*); template<> ::grpc::LoginErrorEvent* Arena::CreateMaybeMessage<::grpc::LoginErrorEvent>(Arena*); @@ -1277,7 +1273,6 @@ class ChangeLocalCacheRequest final : enum : int { kDiskCachePathFieldNumber = 2, - kEnableDiskCacheFieldNumber = 1, }; // string diskCachePath = 2; void clear_diskcachepath(); @@ -1293,15 +1288,6 @@ class ChangeLocalCacheRequest final : std::string* _internal_mutable_diskcachepath(); public: - // bool enableDiskCache = 1; - void clear_enablediskcache(); - bool enablediskcache() const; - void set_enablediskcache(bool value); - private: - bool _internal_enablediskcache() const; - void _internal_set_enablediskcache(bool value); - public: - // @@protoc_insertion_point(class_scope:grpc.ChangeLocalCacheRequest) private: class _Internal; @@ -1311,7 +1297,6 @@ class ChangeLocalCacheRequest final : typedef void DestructorSkippable_; struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr diskcachepath_; - bool enablediskcache_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; }; union { Impl_ _impl_; }; @@ -6325,7 +6310,6 @@ class CacheEvent final : kError = 1, kLocationChangedSuccess = 2, kChangeLocalCacheFinished = 3, - kIsCacheOnDiskEnabledChanged = 4, kDiskCachePathChanged = 5, EVENT_NOT_SET = 0, }; @@ -6411,7 +6395,6 @@ class CacheEvent final : kErrorFieldNumber = 1, kLocationChangedSuccessFieldNumber = 2, kChangeLocalCacheFinishedFieldNumber = 3, - kIsCacheOnDiskEnabledChangedFieldNumber = 4, kDiskCachePathChangedFieldNumber = 5, }; // .grpc.CacheErrorEvent error = 1; @@ -6468,24 +6451,6 @@ class CacheEvent final : ::grpc::ChangeLocalCacheFinishedEvent* changelocalcachefinished); ::grpc::ChangeLocalCacheFinishedEvent* unsafe_arena_release_changelocalcachefinished(); - // .grpc.IsCacheOnDiskEnabledChanged isCacheOnDiskEnabledChanged = 4; - bool has_iscacheondiskenabledchanged() const; - private: - bool _internal_has_iscacheondiskenabledchanged() const; - public: - void clear_iscacheondiskenabledchanged(); - const ::grpc::IsCacheOnDiskEnabledChanged& iscacheondiskenabledchanged() const; - PROTOBUF_NODISCARD ::grpc::IsCacheOnDiskEnabledChanged* release_iscacheondiskenabledchanged(); - ::grpc::IsCacheOnDiskEnabledChanged* mutable_iscacheondiskenabledchanged(); - void set_allocated_iscacheondiskenabledchanged(::grpc::IsCacheOnDiskEnabledChanged* iscacheondiskenabledchanged); - private: - const ::grpc::IsCacheOnDiskEnabledChanged& _internal_iscacheondiskenabledchanged() const; - ::grpc::IsCacheOnDiskEnabledChanged* _internal_mutable_iscacheondiskenabledchanged(); - public: - void unsafe_arena_set_allocated_iscacheondiskenabledchanged( - ::grpc::IsCacheOnDiskEnabledChanged* iscacheondiskenabledchanged); - ::grpc::IsCacheOnDiskEnabledChanged* unsafe_arena_release_iscacheondiskenabledchanged(); - // .grpc.DiskCachePathChanged diskCachePathChanged = 5; bool has_diskcachepathchanged() const; private: @@ -6512,7 +6477,6 @@ class CacheEvent final : void set_has_error(); void set_has_locationchangedsuccess(); void set_has_changelocalcachefinished(); - void set_has_iscacheondiskenabledchanged(); void set_has_diskcachepathchanged(); inline bool has_event() const; @@ -6528,7 +6492,6 @@ class CacheEvent final : ::grpc::CacheErrorEvent* error_; ::grpc::CacheLocationChangeSuccessEvent* locationchangedsuccess_; ::grpc::ChangeLocalCacheFinishedEvent* changelocalcachefinished_; - ::grpc::IsCacheOnDiskEnabledChanged* iscacheondiskenabledchanged_; ::grpc::DiskCachePathChanged* diskcachepathchanged_; } event_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; @@ -6954,154 +6917,6 @@ class ChangeLocalCacheFinishedEvent final : }; // ------------------------------------------------------------------- -class IsCacheOnDiskEnabledChanged final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:grpc.IsCacheOnDiskEnabledChanged) */ { - public: - inline IsCacheOnDiskEnabledChanged() : IsCacheOnDiskEnabledChanged(nullptr) {} - ~IsCacheOnDiskEnabledChanged() override; - explicit PROTOBUF_CONSTEXPR IsCacheOnDiskEnabledChanged(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - IsCacheOnDiskEnabledChanged(const IsCacheOnDiskEnabledChanged& from); - IsCacheOnDiskEnabledChanged(IsCacheOnDiskEnabledChanged&& from) noexcept - : IsCacheOnDiskEnabledChanged() { - *this = ::std::move(from); - } - - inline IsCacheOnDiskEnabledChanged& operator=(const IsCacheOnDiskEnabledChanged& from) { - CopyFrom(from); - return *this; - } - inline IsCacheOnDiskEnabledChanged& operator=(IsCacheOnDiskEnabledChanged&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const IsCacheOnDiskEnabledChanged& default_instance() { - return *internal_default_instance(); - } - static inline const IsCacheOnDiskEnabledChanged* internal_default_instance() { - return reinterpret_cast( - &_IsCacheOnDiskEnabledChanged_default_instance_); - } - static constexpr int kIndexInFileMessages = - 39; - - friend void swap(IsCacheOnDiskEnabledChanged& a, IsCacheOnDiskEnabledChanged& b) { - a.Swap(&b); - } - inline void Swap(IsCacheOnDiskEnabledChanged* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(IsCacheOnDiskEnabledChanged* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - IsCacheOnDiskEnabledChanged* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const IsCacheOnDiskEnabledChanged& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const IsCacheOnDiskEnabledChanged& from) { - IsCacheOnDiskEnabledChanged::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(IsCacheOnDiskEnabledChanged* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "grpc.IsCacheOnDiskEnabledChanged"; - } - protected: - explicit IsCacheOnDiskEnabledChanged(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEnabledFieldNumber = 1, - }; - // bool enabled = 1; - void clear_enabled(); - bool enabled() const; - void set_enabled(bool value); - private: - bool _internal_enabled() const; - void _internal_set_enabled(bool value); - public: - - // @@protoc_insertion_point(class_scope:grpc.IsCacheOnDiskEnabledChanged) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - bool enabled_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_bridge_2eproto; -}; -// ------------------------------------------------------------------- - class DiskCachePathChanged final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:grpc.DiskCachePathChanged) */ { public: @@ -7150,7 +6965,7 @@ class DiskCachePathChanged final : &_DiskCachePathChanged_default_instance_); } static constexpr int kIndexInFileMessages = - 40; + 39; friend void swap(DiskCachePathChanged& a, DiskCachePathChanged& b) { a.Swap(&b); @@ -7310,7 +7125,7 @@ class MailSettingsEvent final : &_MailSettingsEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 41; + 40; friend void swap(MailSettingsEvent& a, MailSettingsEvent& b) { a.Swap(&b); @@ -7521,7 +7336,7 @@ class MailSettingsErrorEvent final : &_MailSettingsErrorEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 42; + 41; friend void swap(MailSettingsErrorEvent& a, MailSettingsErrorEvent& b) { a.Swap(&b); @@ -7668,7 +7483,7 @@ class UseSslForSmtpFinishedEvent final : &_UseSslForSmtpFinishedEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 43; + 42; friend void swap(UseSslForSmtpFinishedEvent& a, UseSslForSmtpFinishedEvent& b) { a.Swap(&b); @@ -7786,7 +7601,7 @@ class ChangePortsFinishedEvent final : &_ChangePortsFinishedEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 44; + 43; friend void swap(ChangePortsFinishedEvent& a, ChangePortsFinishedEvent& b) { a.Swap(&b); @@ -7912,7 +7727,7 @@ class KeychainEvent final : &_KeychainEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 45; + 44; friend void swap(KeychainEvent& a, KeychainEvent& b) { a.Swap(&b); @@ -8122,7 +7937,7 @@ class ChangeKeychainFinishedEvent final : &_ChangeKeychainFinishedEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 46; + 45; friend void swap(ChangeKeychainFinishedEvent& a, ChangeKeychainFinishedEvent& b) { a.Swap(&b); @@ -8240,7 +8055,7 @@ class HasNoKeychainEvent final : &_HasNoKeychainEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 47; + 46; friend void swap(HasNoKeychainEvent& a, HasNoKeychainEvent& b) { a.Swap(&b); @@ -8358,7 +8173,7 @@ class RebuildKeychainEvent final : &_RebuildKeychainEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 48; + 47; friend void swap(RebuildKeychainEvent& a, RebuildKeychainEvent& b) { a.Swap(&b); @@ -8485,7 +8300,7 @@ class MailEvent final : &_MailEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 49; + 48; friend void swap(MailEvent& a, MailEvent& b) { a.Swap(&b); @@ -8717,7 +8532,7 @@ class NoActiveKeyForRecipientEvent final : &_NoActiveKeyForRecipientEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 50; + 49; friend void swap(NoActiveKeyForRecipientEvent& a, NoActiveKeyForRecipientEvent& b) { a.Swap(&b); @@ -8870,7 +8685,7 @@ class AddressChangedEvent final : &_AddressChangedEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 51; + 50; friend void swap(AddressChangedEvent& a, AddressChangedEvent& b) { a.Swap(&b); @@ -9023,7 +8838,7 @@ class AddressChangedLogoutEvent final : &_AddressChangedLogoutEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 52; + 51; friend void swap(AddressChangedLogoutEvent& a, AddressChangedLogoutEvent& b) { a.Swap(&b); @@ -9175,7 +8990,7 @@ class ApiCertIssueEvent final : &_ApiCertIssueEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 53; + 52; friend void swap(ApiCertIssueEvent& a, ApiCertIssueEvent& b) { a.Swap(&b); @@ -9301,7 +9116,7 @@ class UserEvent final : &_UserEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 54; + 53; friend void swap(UserEvent& a, UserEvent& b) { a.Swap(&b); @@ -9512,7 +9327,7 @@ class ToggleSplitModeFinishedEvent final : &_ToggleSplitModeFinishedEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 55; + 54; friend void swap(ToggleSplitModeFinishedEvent& a, ToggleSplitModeFinishedEvent& b) { a.Swap(&b); @@ -9665,7 +9480,7 @@ class UserDisconnectedEvent final : &_UserDisconnectedEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 56; + 55; friend void swap(UserDisconnectedEvent& a, UserDisconnectedEvent& b) { a.Swap(&b); @@ -9818,7 +9633,7 @@ class UserChangedEvent final : &_UserChangedEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 57; + 56; friend void swap(UserChangedEvent& a, UserChangedEvent& b) { a.Swap(&b); @@ -10488,26 +10303,6 @@ inline void LoginAbortRequest::set_allocated_username(std::string* username) { // ChangeLocalCacheRequest -// bool enableDiskCache = 1; -inline void ChangeLocalCacheRequest::clear_enablediskcache() { - _impl_.enablediskcache_ = false; -} -inline bool ChangeLocalCacheRequest::_internal_enablediskcache() const { - return _impl_.enablediskcache_; -} -inline bool ChangeLocalCacheRequest::enablediskcache() const { - // @@protoc_insertion_point(field_get:grpc.ChangeLocalCacheRequest.enableDiskCache) - return _internal_enablediskcache(); -} -inline void ChangeLocalCacheRequest::_internal_set_enablediskcache(bool value) { - - _impl_.enablediskcache_ = value; -} -inline void ChangeLocalCacheRequest::set_enablediskcache(bool value) { - _internal_set_enablediskcache(value); - // @@protoc_insertion_point(field_set:grpc.ChangeLocalCacheRequest.enableDiskCache) -} - // string diskCachePath = 2; inline void ChangeLocalCacheRequest::clear_diskcachepath() { _impl_.diskcachepath_.ClearToEmpty(); @@ -14072,80 +13867,6 @@ inline ::grpc::ChangeLocalCacheFinishedEvent* CacheEvent::mutable_changelocalcac return _msg; } -// .grpc.IsCacheOnDiskEnabledChanged isCacheOnDiskEnabledChanged = 4; -inline bool CacheEvent::_internal_has_iscacheondiskenabledchanged() const { - return event_case() == kIsCacheOnDiskEnabledChanged; -} -inline bool CacheEvent::has_iscacheondiskenabledchanged() const { - return _internal_has_iscacheondiskenabledchanged(); -} -inline void CacheEvent::set_has_iscacheondiskenabledchanged() { - _impl_._oneof_case_[0] = kIsCacheOnDiskEnabledChanged; -} -inline void CacheEvent::clear_iscacheondiskenabledchanged() { - if (_internal_has_iscacheondiskenabledchanged()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.event_.iscacheondiskenabledchanged_; - } - clear_has_event(); - } -} -inline ::grpc::IsCacheOnDiskEnabledChanged* CacheEvent::release_iscacheondiskenabledchanged() { - // @@protoc_insertion_point(field_release:grpc.CacheEvent.isCacheOnDiskEnabledChanged) - if (_internal_has_iscacheondiskenabledchanged()) { - clear_has_event(); - ::grpc::IsCacheOnDiskEnabledChanged* temp = _impl_.event_.iscacheondiskenabledchanged_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.event_.iscacheondiskenabledchanged_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::grpc::IsCacheOnDiskEnabledChanged& CacheEvent::_internal_iscacheondiskenabledchanged() const { - return _internal_has_iscacheondiskenabledchanged() - ? *_impl_.event_.iscacheondiskenabledchanged_ - : reinterpret_cast< ::grpc::IsCacheOnDiskEnabledChanged&>(::grpc::_IsCacheOnDiskEnabledChanged_default_instance_); -} -inline const ::grpc::IsCacheOnDiskEnabledChanged& CacheEvent::iscacheondiskenabledchanged() const { - // @@protoc_insertion_point(field_get:grpc.CacheEvent.isCacheOnDiskEnabledChanged) - return _internal_iscacheondiskenabledchanged(); -} -inline ::grpc::IsCacheOnDiskEnabledChanged* CacheEvent::unsafe_arena_release_iscacheondiskenabledchanged() { - // @@protoc_insertion_point(field_unsafe_arena_release:grpc.CacheEvent.isCacheOnDiskEnabledChanged) - if (_internal_has_iscacheondiskenabledchanged()) { - clear_has_event(); - ::grpc::IsCacheOnDiskEnabledChanged* temp = _impl_.event_.iscacheondiskenabledchanged_; - _impl_.event_.iscacheondiskenabledchanged_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void CacheEvent::unsafe_arena_set_allocated_iscacheondiskenabledchanged(::grpc::IsCacheOnDiskEnabledChanged* iscacheondiskenabledchanged) { - clear_event(); - if (iscacheondiskenabledchanged) { - set_has_iscacheondiskenabledchanged(); - _impl_.event_.iscacheondiskenabledchanged_ = iscacheondiskenabledchanged; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.CacheEvent.isCacheOnDiskEnabledChanged) -} -inline ::grpc::IsCacheOnDiskEnabledChanged* CacheEvent::_internal_mutable_iscacheondiskenabledchanged() { - if (!_internal_has_iscacheondiskenabledchanged()) { - clear_event(); - set_has_iscacheondiskenabledchanged(); - _impl_.event_.iscacheondiskenabledchanged_ = CreateMaybeMessage< ::grpc::IsCacheOnDiskEnabledChanged >(GetArenaForAllocation()); - } - return _impl_.event_.iscacheondiskenabledchanged_; -} -inline ::grpc::IsCacheOnDiskEnabledChanged* CacheEvent::mutable_iscacheondiskenabledchanged() { - ::grpc::IsCacheOnDiskEnabledChanged* _msg = _internal_mutable_iscacheondiskenabledchanged(); - // @@protoc_insertion_point(field_mutable:grpc.CacheEvent.isCacheOnDiskEnabledChanged) - return _msg; -} - // .grpc.DiskCachePathChanged diskCachePathChanged = 5; inline bool CacheEvent::_internal_has_diskcachepathchanged() const { return event_case() == kDiskCachePathChanged; @@ -14283,30 +14004,6 @@ inline void ChangeLocalCacheFinishedEvent::set_willrestart(bool value) { // ------------------------------------------------------------------- -// IsCacheOnDiskEnabledChanged - -// bool enabled = 1; -inline void IsCacheOnDiskEnabledChanged::clear_enabled() { - _impl_.enabled_ = false; -} -inline bool IsCacheOnDiskEnabledChanged::_internal_enabled() const { - return _impl_.enabled_; -} -inline bool IsCacheOnDiskEnabledChanged::enabled() const { - // @@protoc_insertion_point(field_get:grpc.IsCacheOnDiskEnabledChanged.enabled) - return _internal_enabled(); -} -inline void IsCacheOnDiskEnabledChanged::_internal_set_enabled(bool value) { - - _impl_.enabled_ = value; -} -inline void IsCacheOnDiskEnabledChanged::set_enabled(bool value) { - _internal_set_enabled(value); - // @@protoc_insertion_point(field_set:grpc.IsCacheOnDiskEnabledChanged.enabled) -} - -// ------------------------------------------------------------------- - // DiskCachePathChanged // string path = 1; @@ -15860,8 +15557,6 @@ inline void UserChangedEvent::set_allocated_userid(std::string* userid) { // ------------------------------------------------------------------- -// ------------------------------------------------------------------- - // @@protoc_insertion_point(namespace_scope)