diff --git a/internal/frontend/bridge-gui/bridge-gui-tester/GRPCQtProxy.cpp b/internal/frontend/bridge-gui/bridge-gui-tester/GRPCQtProxy.cpp index 09d3ca99..fe3449b0 100644 --- a/internal/frontend/bridge-gui/bridge-gui-tester/GRPCQtProxy.cpp +++ b/internal/frontend/bridge-gui/bridge-gui-tester/GRPCQtProxy.cpp @@ -47,7 +47,7 @@ void GRPCQtProxy::connectSignals() connect(this, &GRPCQtProxy::changePortsReceived, &settingsTab, &SettingsTab::changePorts); connect(this, &GRPCQtProxy::setUseSSLForSMTPReceived, &settingsTab, &SettingsTab::setUseSSLForSMTP); connect(this, &GRPCQtProxy::setIsDoHEnabledReceived, &settingsTab, &SettingsTab::setIsDoHEnabled); - connect(this, &GRPCQtProxy::changeLocalCacheReceived, &settingsTab, &SettingsTab::changeLocalCache); + connect(this, &GRPCQtProxy::setDiskCachePathReceived, &settingsTab, &SettingsTab::setDiskCachePath); connect(this, &GRPCQtProxy::setIsAutomaticUpdateOnReceived, &settingsTab, &SettingsTab::setIsAutomaticUpdateOn); connect(this, &GRPCQtProxy::setUserSplitModeReceived, &usersTab, &UsersTab::setUserSplitMode); connect(this, &GRPCQtProxy::removeUserReceived, &usersTab, &UsersTab::removeUser); @@ -164,12 +164,11 @@ void GRPCQtProxy::setIsDoHEnabled(bool enabled) //**************************************************************************************************************************************************** -/// \param[in] enabled is cache on disk enabled? -/// \param[in] path The path for the cache on disk. +/// \param[in] path The disk cache path. //**************************************************************************************************************************************************** -void GRPCQtProxy::changeLocalCache(bool enabled, QString const &path) +void GRPCQtProxy::setDiskCachePath(QString const &path) { - emit changeLocalCacheReceived(enabled, path); + emit setDiskCachePathReceived(path); } diff --git a/internal/frontend/bridge-gui/bridge-gui-tester/GRPCQtProxy.h b/internal/frontend/bridge-gui/bridge-gui-tester/GRPCQtProxy.h index a8c7100a..4056c59a 100644 --- a/internal/frontend/bridge-gui/bridge-gui-tester/GRPCQtProxy.h +++ b/internal/frontend/bridge-gui/bridge-gui-tester/GRPCQtProxy.h @@ -50,7 +50,7 @@ public: // member functions. void changePorts(qint32 imapPort, qint32 smtpPort); ///< Forwards a ChangePorts call via a Qt signal. void setUseSSLForSMTP(bool use); ///< Forwards a SetUseSSLForSMTP call via a Qt signal. void setIsDoHEnabled(bool enabled); ///< Forwards a setIsDoHEnabled call via a Qt signal. - void changeLocalCache(bool enabled, QString const &path); ///< Forwards a ChangeLocalPath call via a Qt signal. + void setDiskCachePath(QString const &path); ///< Forwards a setDiskCachePath call via a Qt signal. void setIsAutomaticUpdateOn(bool on); ///< Forwards a SetIsAutomaticUpdateOn call via a Qt signal. void setUserSplitMode(QString const &userID, bool makeItActive); ///< Forwards a setUserSplitMode call via a Qt signal. void logoutUser(QString const &userID); ///< Forwards a logoutUser call via a Qt signal. @@ -70,7 +70,7 @@ signals: void changePortsReceived(qint32 imapPort, qint32 smtpPort); ///< Signal for the ChangePorts gRPC call. void setUseSSLForSMTPReceived(bool use); ///< Signal for the SetUseSSLForSMTP gRPC call. void setIsDoHEnabledReceived(bool enabled); ///< Signal for the SetIsDoHEnabled gRPC call. - void changeLocalCacheReceived(bool enabled, QString const &path); ///< Signal for the ChangeLocalPath gRPC call. + void setDiskCachePathReceived(QString const &path); ///< Signal for the setDiskCachePath gRPC call. void setIsAutomaticUpdateOnReceived(bool on); ///< Signal for the SetIsAutomaticUpdateOn gRPC call. void setUserSplitModeReceived(QString const &userID, bool makeItActive); ///< Signal for the SetUserSplitModeReceived gRPC call. void logoutUserReceived(QString const &userID); ///< Signal for the LogoutUserReceived gRPC call. diff --git a/internal/frontend/bridge-gui/bridge-gui-tester/GRPCService.cpp b/internal/frontend/bridge-gui/bridge-gui-tester/GRPCService.cpp index 3628210b..e41a1f41 100644 --- a/internal/frontend/bridge-gui/bridge-gui-tester/GRPCService.cpp +++ b/internal/frontend/bridge-gui/bridge-gui-tester/GRPCService.cpp @@ -573,19 +573,6 @@ Status GRPCService::IsAutomaticUpdateOn(ServerContext *, Empty const *, BoolValu return Status::OK; } - -//**************************************************************************************************************************************************** -/// \param[in] response The response. -/// \return The status for the call -//**************************************************************************************************************************************************** -Status GRPCService::IsCacheOnDiskEnabled(ServerContext *, Empty const *, BoolValue *response) -{ - app().log().debug(__FUNCTION__); - response->set_value(app().mainWindow().settingsTab().isCacheOnDiskEnabled()); - return Status::OK; -} - - //**************************************************************************************************************************************************** /// \param[in] response The response. /// \return The status for the call @@ -599,23 +586,25 @@ Status GRPCService::DiskCachePath(ServerContext *, Empty const *, StringValue *r //**************************************************************************************************************************************************** -/// \param[in] request The request. +/// \param[in] path The path. /// \return The status for the call. //**************************************************************************************************************************************************** -Status GRPCService::ChangeLocalCache(ServerContext *, ChangeLocalCacheRequest const *request, Empty *) +Status GRPCService::SetDiskCachePath(ServerContext *, StringValue const *path, Empty *) { app().log().debug(__FUNCTION__); + SettingsTab &tab = app().mainWindow().settingsTab(); - QString const path = QString::fromStdString(request->diskcachepath()); + QString const qPath = QString::fromStdString(path->value()); // we mimic the behaviour of Bridge if (!tab.nextCacheChangeWillSucceed()) - qtProxy_.sendDelayedEvent(newCacheErrorEvent(grpc::CacheErrorType(tab.cacheError()))); + qtProxy_.sendDelayedEvent(newDiskCacheErrorEvent(grpc::DiskCacheErrorType(tab.cacheError()))); else - qtProxy_.sendDelayedEvent(newCacheLocationChangeSuccessEvent()); - qtProxy_.sendDelayedEvent(newDiskCachePathChanged(path)); - qtProxy_.sendDelayedEvent(newIsCacheOnDiskEnabledChanged(request->enablediskcache())); - qtProxy_.sendDelayedEvent(newChangeLocalCacheFinishedEvent()); + { + qtProxy_.setDiskCachePath(qPath); + qtProxy_.sendDelayedEvent(newDiskCachePathChangedEvent(qPath)); + } + qtProxy_.sendDelayedEvent(newDiskCachePathChangeFinishedEvent()); return Status::OK; } diff --git a/internal/frontend/bridge-gui/bridge-gui-tester/GRPCService.h b/internal/frontend/bridge-gui/bridge-gui-tester/GRPCService.h index fb19786d..bef05566 100644 --- a/internal/frontend/bridge-gui/bridge-gui-tester/GRPCService.h +++ b/internal/frontend/bridge-gui/bridge-gui-tester/GRPCService.h @@ -76,9 +76,8 @@ public: // member functions. grpc::Status InstallUpdate(::grpc::ServerContext *, ::google::protobuf::Empty const*, ::google::protobuf::Empty *) override; grpc::Status SetIsAutomaticUpdateOn(::grpc::ServerContext *, ::google::protobuf::BoolValue const *request, ::google::protobuf::Empty *) override; grpc::Status IsAutomaticUpdateOn(::grpc::ServerContext *, ::google::protobuf::Empty const*, ::google::protobuf::BoolValue *response) override; - grpc::Status IsCacheOnDiskEnabled(::grpc::ServerContext *, ::google::protobuf::Empty const*, ::google::protobuf::BoolValue *response) override; grpc::Status DiskCachePath(::grpc::ServerContext *, ::google::protobuf::Empty const*, ::google::protobuf::StringValue *response) override; - grpc::Status ChangeLocalCache(::grpc::ServerContext *, ::grpc::ChangeLocalCacheRequest const *request, ::google::protobuf::Empty *) override; + grpc::Status SetDiskCachePath(::grpc::ServerContext *, ::google::protobuf::StringValue const*, ::google::protobuf::Empty *r) override; grpc::Status SetIsDoHEnabled(::grpc::ServerContext *, ::google::protobuf::BoolValue const *request, ::google::protobuf::Empty *) override; grpc::Status IsDoHEnabled(::grpc::ServerContext *, ::google::protobuf::Empty const*, ::google::protobuf::BoolValue *response) override; grpc::Status SetUseSslForSmtp(::grpc::ServerContext *, ::google::protobuf::BoolValue const *request, ::google::protobuf::Empty *) override; diff --git a/internal/frontend/bridge-gui/bridge-gui-tester/Tabs/SettingsTab.cpp b/internal/frontend/bridge-gui/bridge-gui-tester/Tabs/SettingsTab.cpp index f59204b0..a554a405 100644 --- a/internal/frontend/bridge-gui/bridge-gui-tester/Tabs/SettingsTab.cpp +++ b/internal/frontend/bridge-gui/bridge-gui-tester/Tabs/SettingsTab.cpp @@ -44,6 +44,10 @@ SettingsTab::SettingsTab(QWidget *parent) connect(ui_.buttonInternetOff, &QPushButton::clicked, []() { app().grpc().sendEvent(newInternetStatusEvent(false)); }); connect(ui_.buttonShowMainWindow, &QPushButton::clicked, []() { app().grpc().sendEvent(newShowMainWindowEvent()); }); connect(ui_.buttonAPICertIssue, &QPushButton::clicked, []() {app().grpc().sendEvent(newApiCertIssueEvent()); }); + connect(ui_.buttonDiskCacheUnavailable, &QPushButton::clicked,[]() {app().grpc().sendEvent( + newDiskCacheErrorEvent(grpc::DiskCacheErrorType::DISK_CACHE_UNAVAILABLE_ERROR)); }); + connect(ui_.buttonDiskFull, &QPushButton::clicked,[]() {app().grpc().sendEvent( + newDiskCacheErrorEvent(grpc::DiskCacheErrorType::DISK_FULL_ERROR)); }); connect(ui_.buttonNoActiveKeyForRecipient, &QPushButton::clicked, [&]() {app().grpc().sendEvent( newNoActiveKeyForRecipientEvent(ui_.editNoActiveKeyForRecipient->text())); }); connect(ui_.checkNextCacheChangeWillSucceed, &QCheckBox::toggled, this, &SettingsTab::updateGUIState); @@ -403,21 +407,10 @@ bool SettingsTab::isPortFree() const //**************************************************************************************************************************************************** -/// \return true iff cache on disk is enabled. -//**************************************************************************************************************************************************** -bool SettingsTab::isCacheOnDiskEnabled() const -{ - return ui_.checkCacheOnDiskEnabled->isChecked(); -} - - -//**************************************************************************************************************************************************** -/// \param[in] enabled Is the cache on disk enabled? /// \param[in] path The path of the local cache. //**************************************************************************************************************************************************** -void SettingsTab::changeLocalCache(bool enabled, QString const &path) +void SettingsTab::setDiskCachePath(const QString &path) { - ui_.checkCacheOnDiskEnabled->setChecked(enabled); ui_.editDiskCachePath->setText(path); } @@ -523,7 +516,6 @@ void SettingsTab::resetUI() ui_.checkDoHEnabled->setChecked(true); ui_.checkIsPortFree->setChecked(true); - ui_.checkCacheOnDiskEnabled->setChecked(true); QString const cacheDir = QDir(tmpDir).absoluteFilePath("cache"); QDir().mkpath(cacheDir); ui_.editDiskCachePath->setText(QDir::toNativeSeparators(cacheDir)); diff --git a/internal/frontend/bridge-gui/bridge-gui-tester/Tabs/SettingsTab.h b/internal/frontend/bridge-gui/bridge-gui-tester/Tabs/SettingsTab.h index 93249806..47951d21 100644 --- a/internal/frontend/bridge-gui/bridge-gui-tester/Tabs/SettingsTab.h +++ b/internal/frontend/bridge-gui/bridge-gui-tester/Tabs/SettingsTab.h @@ -62,13 +62,12 @@ public: // member functions. bool useSSLForIMAP() const; ///< Get the value for the 'Use SSL for IMAP' check box. bool isDoHEnabled() const; ///< Get the value for the 'DoH Enabled' check box. bool isPortFree() const; ///< Get the value for the "Is Port Free" check box. - bool isCacheOnDiskEnabled() const; ///< get the value for the 'Cache On Disk Enabled' check box. QString diskCachePath() const; ///< Get the value for the 'Disk Cache Path' edit. bool nextCacheChangeWillSucceed() const; ///< Get the value for the 'Next Cache Change will succeed' edit. qint32 cacheError() const; ///< Return the index of the selected cache error. bool isAutomaticUpdateOn() const; /// 0 0 - 1066 + 1127 808 @@ -211,7 +211,7 @@ - + @@ -355,13 +355,6 @@ Cache - - - - Cache On Disk Enabled - - - @@ -733,6 +726,37 @@ + + + + + + Disk Cache Unavailable + + + + + + + Disk Full + + + + + + + Qt::Horizontal + + + + 40 + 1 + + + + + + @@ -796,12 +820,12 @@ - Cache Unavailable + Disk Cache Unavailable - Can't Move Cache + Can't Move Disk Cache @@ -851,7 +875,6 @@ editReleaseNotesLink editDependencyLicenseLink editLandingPageLink - checkCacheOnDiskEnabled editDiskCachePath editOSType editOSVersion diff --git a/internal/frontend/bridge-gui/bridge-gui/QMLBackend.cpp b/internal/frontend/bridge-gui/bridge-gui/QMLBackend.cpp index 4f9225c6..3debbcda 100644 --- a/internal/frontend/bridge-gui/bridge-gui/QMLBackend.cpp +++ b/internal/frontend/bridge-gui/bridge-gui/QMLBackend.cpp @@ -104,12 +104,11 @@ void QMLBackend::connectGrpcEvents() connect(client, &GRPCClient::showMainWindow, this, &QMLBackend::showMainWindow); // cache events - connect(client, &GRPCClient::diskCachePathChanged, this, &QMLBackend::diskCachePathChanged); - connect(client, &GRPCClient::cacheUnavailable, this, &QMLBackend::cacheUnavailable); // _ func() `signal:"cacheUnavailable"` - connect(client, &GRPCClient::cacheCantMove, this, &QMLBackend::cacheCantMove); + connect(client, &GRPCClient::diskCacheUnavailable, this, &QMLBackend::diskCacheUnavailable); // _ func() `signal:"cacheUnavailable"` + connect(client, &GRPCClient::cantMoveDiskCache, this, &QMLBackend::cantMoveDiskCache); connect(client, &GRPCClient::diskFull, this, &QMLBackend::diskFull); - connect(client, &GRPCClient::cacheLocationChangeSuccess, this, &QMLBackend::cacheLocationChangeSuccess); - connect(client, &GRPCClient::changeLocalCacheFinished, this, &QMLBackend::onChangeLocalCacheFinished); + connect(client, &GRPCClient::diskCachePathChanged, this, &QMLBackend::diskCachePathChanged); + connect(client, &GRPCClient::diskCachePathChangeFinished, this, &QMLBackend::diskCachePathChangeFinished); // login events connect(client, &GRPCClient::loginUsernamePasswordError, this, &QMLBackend::loginUsernamePasswordError); @@ -219,6 +218,24 @@ bool QMLBackend::isPortFree(int port) } +//**************************************************************************************************************************************************** +/// \return true the native local file path of the given URL. +//**************************************************************************************************************************************************** +QString QMLBackend::nativePath(QUrl const &url) +{ + return QDir::toNativeSeparators(url.toLocalFile()); +} + + +//**************************************************************************************************************************************************** +/// \return true iff the two URL point to the same local file or folder. +//**************************************************************************************************************************************************** +bool QMLBackend::areSameFileOrFolder(QUrl const &lhs, QUrl const &rhs) +{ + return QFileInfo(lhs.toLocalFile()) == QFileInfo(rhs.toLocalFile()); +} + + //**************************************************************************************************************************************************** // //**************************************************************************************************************************************************** @@ -295,6 +312,13 @@ void QMLBackend::changeColorScheme(QString const &scheme) emit colorSchemeNameChanged(this->colorSchemeName()); } +//**************************************************************************************************************************************************** +/// \param[in] path The path of the disk cache. +//**************************************************************************************************************************************************** +void QMLBackend::setDiskCachePath(QUrl const &path) const +{ + app().grpc().setDiskCachePath(path); +} //**************************************************************************************************************************************************** /// \param[in] makeItActive Should SSL for SMTP be enabled. @@ -404,14 +428,3 @@ void QMLBackend::onVersionChanged() emit releaseNotesLinkChanged(releaseNotesLink()); emit landingPageLinkChanged(landingPageLink()); } - - -//**************************************************************************************************************************************************** -/// -//**************************************************************************************************************************************************** -void QMLBackend::onChangeLocalCacheFinished(bool willRestart) -{ - if (willRestart) - emit hideMainWindow(); - emit changeLocalCacheFinished(); -} diff --git a/internal/frontend/bridge-gui/bridge-gui/QMLBackend.h b/internal/frontend/bridge-gui/bridge-gui/QMLBackend.h index 10db5d8e..4dd09f9d 100644 --- a/internal/frontend/bridge-gui/bridge-gui/QMLBackend.h +++ b/internal/frontend/bridge-gui/bridge-gui/QMLBackend.h @@ -48,6 +48,8 @@ public: // member functions. // invokable methods can be called from QML. They generally return a value, which slots cannot do. Q_INVOKABLE static QPoint getCursorPos(); // _ func() *core.QPoint `slot:"getCursorPos"` Q_INVOKABLE static bool isPortFree(int port); // _ func(port int) bool `slot:"isPortFree"` + Q_INVOKABLE static QString nativePath(QUrl const &url); + Q_INVOKABLE static bool areSameFileOrFolder(QUrl const &lhs, QUrl const &rhs); public: // Qt/QML properties. Note that the NOTIFY-er signal is required even for read-only properties (QML warning otherwise) Q_PROPERTY(bool showOnStartup READ showOnStartup NOTIFY showOnStartupChanged) // _ bool `property:showOnStartup` @@ -112,7 +114,7 @@ public: // Qt/QML properties. Note that the NOTIFY-er signal is required even fo bool dockIconVisible() const { return getDockIconVisibleState(); }; void setDockIconVisible(bool visible) { setDockIconVisibleState(visible); emit dockIconVisibleChanged(visible); } -signals: // Signal used by the Qt property system. Many of them are unused but required to avoir warning from the QML engine. +signals: // Signal used by the Qt property system. Many of them are unused but required to avoid warning from the QML engine. void showSplashScreenChanged(bool value); void showOnStartupChanged(bool value); void goosChanged(QString const &value); @@ -147,6 +149,7 @@ 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 setDiskCachePath(QUrl const& path) const; 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"` @@ -169,15 +172,13 @@ public slots: // slot for signals received from QML -> To be forwarded to Bridge app().grpc().reportBug(description, address, emailClient, includeLogs); } // _ func(description, address, emailClient string, includeLogs bool) `slot:"reportBug"` void onResetFinished(); // _ func() `slot:"onResetFinished"` void onVersionChanged(); // _ func() `slot:"onVersionChanged"` - void onChangeLocalCacheFinished(bool willRestart); signals: // Signals received from the Go backend, to be forwarded to QML void toggleAutostartFinished(); // _ func() `signal:"toggleAutostartFinished"` - void cacheUnavailable(); // _ func() `signal:"cacheUnavailable"` - void cacheCantMove(); // _ func() `signal:"cacheCantMove"` - void cacheLocationChangeSuccess(); // _ func() `signal:"cacheLocationChangeSuccess"` + void diskCacheUnavailable(); // _ func() `signal:"cacheUnavailable"` + void cantMoveDiskCache(); // _ func() `signal:"cacheCantMove"` + void diskCachePathChangeFinished(); // _ func() `signal:"cacheLocationChangeSuccess"` void diskFull(); // _ func() `signal:"diskFull"` - void changeLocalCacheFinished(); // _ func() `signal:"changeLocalCacheFinished"` void loginUsernamePasswordError(QString const &errorMsg); // _ func(errorMsg string) `signal:"loginUsernamePasswordError"` void loginFreeUserError(); // _ func() `signal:"loginFreeUserError"` void loginConnectionError(QString const &errorMsg); // _ func(errorMsg string) `signal:"loginConnectionError"` diff --git a/internal/frontend/bridge-gui/bridge-gui/qml/Bridge.qml b/internal/frontend/bridge-gui/bridge-gui/qml/Bridge.qml index 80127650..3e1474d3 100644 --- a/internal/frontend/bridge-gui/bridge-gui/qml/Bridge.qml +++ b/internal/frontend/bridge-gui/bridge-gui/qml/Bridge.qml @@ -55,7 +55,7 @@ QtObject { Connections { target: Backend - function onCacheUnavailable() { + function onDiskCacheUnavailable() { mainWindow.showAndRise() } function onColorSchemeNameChanged(scheme) { root.setColorScheme() } diff --git a/internal/frontend/bridge-gui/bridge-gui/qml/LocalCacheSettings.qml b/internal/frontend/bridge-gui/bridge-gui/qml/LocalCacheSettings.qml index 0ccbbd71..2bf8332e 100644 --- a/internal/frontend/bridge-gui/bridge-gui/qml/LocalCacheSettings.qml +++ b/internal/frontend/bridge-gui/bridge-gui/qml/LocalCacheSettings.qml @@ -29,8 +29,12 @@ SettingsView { fillHeight: false property var notifications - property bool _diskCacheEnabled: true - property url _diskCachePath: pathDialog.shortcuts.home + property url diskCachePath: pathDialog.shortcuts.home + + function refresh() { + diskCacheSetting.description = Backend.nativePath(root.diskCachePath) + submitButton.enabled = !Backend.areSameFileOrFolder(Backend.diskCachePath, root.diskCachePath) + } Label { colorScheme: root.colorScheme @@ -49,26 +53,12 @@ SettingsView { } SettingsItem { - colorScheme: root.colorScheme - text: qsTr("Enable local cache") - description: qsTr("Recommended for optimal performance.") - type: SettingsItem.Toggle - checked: root._diskCacheEnabled - onClicked: root._diskCacheEnabled = !root._diskCacheEnabled - - Layout.fillWidth: true - } - - SettingsItem { + id: diskCacheSetting colorScheme: root.colorScheme text: qsTr("Current cache location") actionText: qsTr("Change location") - description: Backend.goos === "windows" ? - root._diskCachePath.toString().replace("file:///", "").replace(new RegExp("/", 'g'), "\\") + "\\" : - root._diskCachePath.toString().replace("file://", "") + "/" descriptionWrap: Text.WrapAnywhere type: SettingsItem.Button - enabled: root._diskCacheEnabled onClicked: { pathDialog.open() } @@ -78,8 +68,11 @@ SettingsView { FolderDialog { id: pathDialog title: qsTr("Select cache location") - currentFolder: root._diskCachePath - onAccepted: root._diskCachePath = pathDialog.selectedFolder + currentFolder: root.diskCachePath + onAccepted: { + root.diskCachePath = pathDialog.selectedFolder + root.refresh() + } } } @@ -89,11 +82,7 @@ SettingsView { Button { id: submitButton colorScheme: root.colorScheme - text: qsTr("Save and restart") - enabled: ( - Backend.diskCachePath != root._diskCachePath || - Backend.isDiskCacheEnabled != root._diskCacheEnabled - ) + text: qsTr("Save") onClicked: { root.submit() } @@ -109,7 +98,7 @@ SettingsView { Connections { target: Backend - function onChangeLocalCacheFinished() { + function onDiskCachePathChangeFinished() { submitButton.loading = false root.setDefaultValues() } @@ -120,25 +109,14 @@ SettingsView { root.setDefaultValues() } - function submit(){ - if (!root._diskCacheEnabled && Backend.isDiskCacheEnabled) { - root.notifications.askDisableLocalCache() - return - } - - if (root._diskCacheEnabled && !Backend.isDiskCacheEnabled) { - root.notifications.askEnableLocalCache(root._diskCachePath) - return - } - - // Not asking, only changing path + function submit() { submitButton.loading = true - Backend.changeLocalCache(Backend.isDiskCacheEnabled, root._diskCachePath) + Backend.setDiskCachePath(root.diskCachePath) } function setDefaultValues(){ - root._diskCacheEnabled = Backend.isDiskCacheEnabled - root._diskCachePath = Backend.diskCachePath + root.diskCachePath = Backend.diskCachePath + root.refresh(); } onVisibleChanged: { diff --git a/internal/frontend/bridge-gui/bridge-gui/qml/NotificationPopups.qml b/internal/frontend/bridge-gui/bridge-gui/qml/NotificationPopups.qml index f4aee23b..67d9dfff 100644 --- a/internal/frontend/bridge-gui/bridge-gui/qml/NotificationPopups.qml +++ b/internal/frontend/bridge-gui/bridge-gui/qml/NotificationPopups.qml @@ -94,16 +94,6 @@ Item { notification: root.notifications.enableSplitMode } - NotificationDialog { - colorScheme: root.colorScheme - notification: root.notifications.disableLocalCache - } - - NotificationDialog { - colorScheme: root.colorScheme - notification: root.notifications.enableLocalCache - } - NotificationDialog { colorScheme: root.colorScheme notification: root.notifications.resetBridge diff --git a/internal/frontend/bridge-gui/bridge-gui/qml/Notifications/Notifications.qml b/internal/frontend/bridge-gui/bridge-gui/qml/Notifications/Notifications.qml index 6cefe798..e7c931e1 100644 --- a/internal/frontend/bridge-gui/bridge-gui/qml/Notifications/Notifications.qml +++ b/internal/frontend/bridge-gui/bridge-gui/qml/Notifications/Notifications.qml @@ -29,8 +29,6 @@ QtObject { signal askEnableBeta() signal askEnableSplitMode(var user) - signal askDisableLocalCache() - signal askEnableLocalCache(var path) signal askResetBridge() signal askChangeAllMailVisibility(var isVisibleNow) signal askDeleteAccount(var user) @@ -70,8 +68,6 @@ QtObject { root.diskFull, root.cacheLocationChangeSuccess, root.enableSplitMode, - root.disableLocalCache, - root.enableLocalCache, root.resetBridge, root.changeAllMailVisibility, root.deleteAccount, @@ -558,7 +554,7 @@ QtObject { Connections { target: Backend - function onCacheUnavailable() { + function onDiskCacheUnavailable() { root.cacheUnavailable.active = true } } @@ -591,7 +587,7 @@ QtObject { Connections { target: Backend - function onCacheCantMove() { + function onCantMoveDiskCache() { root.cacheCantMove.active = true } } @@ -622,8 +618,8 @@ QtObject { Connections { target: Backend - function onCacheLocationChangeSuccess() { - console.log("notify location changed succesfully") + function onDiskCachePathChanged() { + console.log("notify location changed successfully") root.cacheLocationChangeSuccess.active = true } } @@ -736,99 +732,6 @@ QtObject { ] } - property Notification disableLocalCache: Notification { - title: qsTr("Disable local cache?") - brief: title - description: qsTr("This action will clear your local cache, including locally stored messages. Bridge will restart.") - icon: "/qml/icons/ic-question-circle.svg" - type: Notification.NotificationType.Warning - group: Notifications.Group.Configuration | Notifications.Group.Dialogs - - Connections { - target: root - function onAskDisableLocalCache() { - root.disableLocalCache.active = true - } - } - - Connections { - target: Backend - function onChangeLocalCacheFinished() { - root.disableLocalCache.active = false - - disableLocalCache_disable.loading = false - disableLocalCache_cancel.enabled = true - } - } - - action: [ - Action { - id: disableLocalCache_cancel - text: qsTr("Cancel") - onTriggered: { - root.disableLocalCache.active = false - } - }, - Action { - id: disableLocalCache_disable - text: qsTr("Disable and restart") - onTriggered: { - disableLocalCache_disable.loading = true - disableLocalCache_cancel.enabled = false - Backend.changeLocalCache(false, Backend.diskCachePath) - } - } - ] - } - - property Notification enableLocalCache: Notification { - title: qsTr("Enable local cache") - brief: title - description: qsTr("Bridge will restart.") - icon: "/qml/icons/ic-question-circle.svg" - type: Notification.NotificationType.Warning - group: Notifications.Group.Configuration | Notifications.Group.Dialogs - - property url path - - Connections { - target: root - function onAskEnableLocalCache(path) { - root.enableLocalCache.active = true - root.enableLocalCache.path = path - } - } - - Connections { - target: Backend - function onChangeLocalCacheFinished() { - root.enableLocalCache.active = false - - enableLocalCache_enable.loading = false - enableLocalCache_cancel.enabled = true - } - } - - action: [ - Action { - id: enableLocalCache_enable - text: qsTr("Enable and restart") - onTriggered: { - enableLocalCache_enable.loading = true - enableLocalCache_cancel.enabled = false - Backend.changeLocalCache(true, root.enableLocalCache.path) - } - }, - Action { - id: enableLocalCache_cancel - text: qsTr("Cancel") - onTriggered: { - root.enableLocalCache.active = false - } - } - ] - } - property Notification resetBridge: Notification { title: qsTr("Reset Bridge?") brief: title diff --git a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/EventFactory.cpp b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/EventFactory.cpp index fb910cca..fee7eaea 100644 --- a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/EventFactory.cpp +++ b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/EventFactory.cpp @@ -76,7 +76,7 @@ bridgepp::SPStreamEvent wrapUpdateEvent(grpc::UpdateEvent *updateEvent) /// \param[in] cacheEvent The cache event. /// \return The stream event. //**************************************************************************************************************************************************** -bridgepp::SPStreamEvent wrapCacheEvent(grpc::CacheEvent *cacheEvent) +bridgepp::SPStreamEvent wrapCacheEvent(grpc::DiskCacheEvent *cacheEvent) { auto event = newStreamEvent(); event->set_allocated_cache(cacheEvent); @@ -385,50 +385,38 @@ SPStreamEvent newUpdateCheckFinished() /// \param[in] errorType The error type. /// \return The event. //**************************************************************************************************************************************************** -SPStreamEvent newCacheErrorEvent(grpc::CacheErrorType errorType) +SPStreamEvent newDiskCacheErrorEvent(grpc::DiskCacheErrorType errorType) { - auto event = new grpc::CacheErrorEvent; + auto event = new grpc::DiskCacheErrorEvent; event->set_type(errorType); - auto cacheEvent = new grpc::CacheEvent; + auto cacheEvent = new grpc::DiskCacheEvent; cacheEvent->set_allocated_error(event); return wrapCacheEvent(cacheEvent); } -//**************************************************************************************************************************************************** -/// \return The event. -//**************************************************************************************************************************************************** -SPStreamEvent newCacheLocationChangeSuccessEvent() -{ - auto event = new grpc::CacheLocationChangeSuccessEvent; - auto cacheEvent = new grpc::CacheEvent; - cacheEvent->set_allocated_locationchangedsuccess(event); - return wrapCacheEvent(cacheEvent); -} - - -//**************************************************************************************************************************************************** -/// \return The event. -//**************************************************************************************************************************************************** -SPStreamEvent newChangeLocalCacheFinishedEvent() -{ - auto event = new grpc::ChangeLocalCacheFinishedEvent; - auto cacheEvent = new grpc::CacheEvent; - cacheEvent->set_allocated_changelocalcachefinished(event); - return wrapCacheEvent(cacheEvent); -} - - //**************************************************************************************************************************************************** /// \param[in] path The path of the cache. /// \return The event. //**************************************************************************************************************************************************** -SPStreamEvent newDiskCachePathChanged(QString const &path) +SPStreamEvent newDiskCachePathChangedEvent(QString const &path) { - auto event = new grpc::DiskCachePathChanged; + auto event = new grpc::DiskCachePathChangedEvent; event->set_path(path.toStdString()); - auto cacheEvent = new grpc::CacheEvent; - cacheEvent->set_allocated_diskcachepathchanged(event); + auto cacheEvent = new grpc::DiskCacheEvent; + cacheEvent->set_allocated_pathchanged(event); + return wrapCacheEvent(cacheEvent); +} + + +//**************************************************************************************************************************************************** +/// \return The event. +//**************************************************************************************************************************************************** +SPStreamEvent newDiskCachePathChangeFinishedEvent() +{ + auto event = new grpc::DiskCachePathChangeFinishedEvent; + auto cacheEvent = new grpc::DiskCacheEvent; + cacheEvent->set_allocated_pathchangefinished(event); return wrapCacheEvent(cacheEvent); } diff --git a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/EventFactory.h b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/EventFactory.h index dba671d5..649bdcfd 100644 --- a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/EventFactory.h +++ b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/EventFactory.h @@ -54,10 +54,9 @@ SPStreamEvent newUpdateIsLatestVersion(); ///< Create a new UpdateIsLatestVersio SPStreamEvent newUpdateCheckFinished(); ///< Create a new UpdateCheckFinished event. // Cache on disk related events -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 newDiskCachePathChanged(QString const &path); ///< Create a new DiskCachePathChanged event. +SPStreamEvent newDiskCacheErrorEvent(grpc::DiskCacheErrorType errorType); ///< Create a new DiskCacheErrorEvent event. +SPStreamEvent newDiskCachePathChangedEvent(QString const &path); ///< Create a new DiskCachePathChanged event. +SPStreamEvent newDiskCachePathChangeFinishedEvent(); ///< Create a new DiskCachePathChangeFinishedEvent event. // Mail settings related events SPStreamEvent newMailSettingsErrorEvent(grpc::MailSettingsErrorType errorType); ///< Create a new MailSettingsErrorEvent event. diff --git a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/GRPCClient.cpp b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/GRPCClient.cpp index ada2ea32..a7a0ba18 100644 --- a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/GRPCClient.cpp +++ b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/GRPCClient.cpp @@ -605,6 +605,16 @@ grpc::Status GRPCClient::diskCachePath(QUrl &outPath) } +//**************************************************************************************************************************************************** +/// \param[out] path The value for the property. +/// \return The status for the gRPC call. +//**************************************************************************************************************************************************** +grpc::Status GRPCClient::setDiskCachePath(QUrl const &path) +{ + return this->logGRPCCallStatus(this->setString(&Bridge::Stub::SetDiskCachePath, path.toLocalFile()), __FUNCTION__); +} + + //**************************************************************************************************************************************************** /// \param[in] username The username. /// \param[in] password The password. @@ -1290,23 +1300,23 @@ void GRPCClient::processUpdateEvent(UpdateEvent const &event) //**************************************************************************************************************************************************** /// \param[in] event The event. //**************************************************************************************************************************************************** -void GRPCClient::processCacheEvent(CacheEvent const &event) +void GRPCClient::processCacheEvent(DiskCacheEvent const &event) { switch (event.event_case()) { - case CacheEvent::kError: + case DiskCacheEvent::kError: { switch (event.error().type()) { - case CACHE_UNAVAILABLE_ERROR: - this->logError("Cache error received: cacheUnavailable."); - emit cacheUnavailable(); + case DISK_CACHE_UNAVAILABLE_ERROR: + this->logError("Cache error received: diskCacheUnavailable."); + emit diskCacheUnavailable(); break; - case CACHE_CANT_MOVE_ERROR: - this->logError("Cache error received: cacheCantMove."); - emit cacheCantMove(); + case CANT_MOVE_DISK_CACHE_ERROR: + this->logError("Cache error received: cantMoveDiskCache."); + emit cantMoveDiskCache(); break; - case DISK_FULL: + case DISK_FULL_ERROR: this->logError("Cache error received: diskFull."); emit diskFull(); break; @@ -1317,21 +1327,17 @@ void GRPCClient::processCacheEvent(CacheEvent const &event) break; } - case CacheEvent::kLocationChangedSuccess: - this->logTrace("Cache event received: LocationChangedSuccess."); - emit cacheLocationChangeSuccess(); - break; - - case CacheEvent::kChangeLocalCacheFinished: - emit changeLocalCacheFinished(event.changelocalcachefinished().willrestart()); - this->logTrace("Cache event received: ChangeLocalCacheFinished."); - break; - - case CacheEvent::kDiskCachePathChanged: + case DiskCacheEvent::kPathChanged: this->logTrace("Cache event received: DiskCachePathChanged."); - emit diskCachePathChanged(QUrl::fromLocalFile(QString::fromStdString(event.diskcachepathchanged().path()))); + emit diskCachePathChanged(QUrl::fromLocalFile(QString::fromStdString(event.pathchanged().path()))); break; + case DiskCacheEvent::kPathChangeFinished: + this->logTrace("Cache event received: diskCachePathChangeFinished."); + emit diskCachePathChangeFinished(); + break; + + default: this->logError("Unknown Cache event received."); } diff --git a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/GRPCClient.h b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/GRPCClient.h index 0847e9dc..f551300a 100644 --- a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/GRPCClient.h +++ b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/GRPCClient.h @@ -105,15 +105,14 @@ signals: // app related signals // cache related calls public: grpc::Status diskCachePath(QUrl &outPath); ///< Performs the 'diskCachePath' call. -signals: - void isCacheOnDiskEnabledChanged(bool enabled); - void diskCachePathChanged(QUrl const &outPath); - void cacheUnavailable(); // _ func() `signal:"cacheUnavailable"` - void cacheCantMove(); // _ func() `signal:"cacheCantMove"` - void cacheLocationChangeSuccess(); // _ func() `signal:"cacheLocationChangeSuccess"` - void diskFull(); // _ func() `signal:"diskFull"` - void changeLocalCacheFinished(bool willRestart); // _ func() `signal:"changeLocalCacheFinished"` + grpc::Status setDiskCachePath(QUrl const &path); ///< Performs the 'setDiskCachePath' call +signals: + void diskCacheUnavailable(); + void cantMoveDiskCache(); + void diskFull(); + void diskCachePathChanged(QUrl const &path); + void diskCachePathChangeFinished(); // mail settings related calls public: @@ -183,7 +182,6 @@ signals: void userDisconnected(QString const &username); void userChanged(QString const &userID); - public: // keychain related calls grpc::Status availableKeychains(QStringList &outKeychains); grpc::Status currentKeychain(QString &outKeychain); @@ -229,7 +227,7 @@ private: void processAppEvent(grpc::AppEvent const &event); ///< Process an 'App' event. void processLoginEvent(grpc::LoginEvent const &event); ///< Process a 'Login' event. void processUpdateEvent(grpc::UpdateEvent const &event); ///< Process an 'Update' event. - void processCacheEvent(grpc::CacheEvent const &event); ///< Process a 'Cache' event. + void processCacheEvent(grpc::DiskCacheEvent const &event); ///< Process a 'Cache' event. void processMailSettingsEvent(grpc::MailSettingsEvent const &event); ///< Process a 'MailSettings' event. void processKeychainEvent(grpc::KeychainEvent const &event); ///< Process a 'Keychain' event. void processMailEvent(grpc::MailEvent const &event); ///< Process a 'Mail' event. 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 8d59e5dd..8ac031af 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 @@ -59,7 +59,7 @@ static const char* Bridge_method_names[] = { "/grpc.Bridge/SetIsAutomaticUpdateOn", "/grpc.Bridge/IsAutomaticUpdateOn", "/grpc.Bridge/DiskCachePath", - "/grpc.Bridge/ChangeLocalCache", + "/grpc.Bridge/SetDiskCachePath", "/grpc.Bridge/SetIsDoHEnabled", "/grpc.Bridge/IsDoHEnabled", "/grpc.Bridge/SetUseSslForSmtp", @@ -128,7 +128,7 @@ Bridge::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, co , 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_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_SetDiskCachePath_(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) @@ -1004,25 +1004,25 @@ void Bridge::Stub::async::DiskCachePath(::grpc::ClientContext* context, const :: return result; } -::grpc::Status Bridge::Stub::ChangeLocalCache(::grpc::ClientContext* context, const ::grpc::ChangeLocalCacheRequest& request, ::google::protobuf::Empty* response) { - return ::grpc::internal::BlockingUnaryCall< ::grpc::ChangeLocalCacheRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_ChangeLocalCache_, context, request, response); +::grpc::Status Bridge::Stub::SetDiskCachePath(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::google::protobuf::Empty* response) { + return ::grpc::internal::BlockingUnaryCall< ::google::protobuf::StringValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_SetDiskCachePath_, context, request, response); } -void Bridge::Stub::async::ChangeLocalCache(::grpc::ClientContext* context, const ::grpc::ChangeLocalCacheRequest* request, ::google::protobuf::Empty* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::grpc::ChangeLocalCacheRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_ChangeLocalCache_, context, request, response, std::move(f)); +void Bridge::Stub::async::SetDiskCachePath(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::google::protobuf::StringValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_SetDiskCachePath_, context, request, response, std::move(f)); } -void Bridge::Stub::async::ChangeLocalCache(::grpc::ClientContext* context, const ::grpc::ChangeLocalCacheRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_ChangeLocalCache_, context, request, response, reactor); +void Bridge::Stub::async::SetDiskCachePath(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_SetDiskCachePath_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* Bridge::Stub::PrepareAsyncChangeLocalCacheRaw(::grpc::ClientContext* context, const ::grpc::ChangeLocalCacheRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::google::protobuf::Empty, ::grpc::ChangeLocalCacheRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_ChangeLocalCache_, context, request); +::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* Bridge::Stub::PrepareAsyncSetDiskCachePathRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::google::protobuf::Empty, ::google::protobuf::StringValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_SetDiskCachePath_, context, request); } -::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* Bridge::Stub::AsyncChangeLocalCacheRaw(::grpc::ClientContext* context, const ::grpc::ChangeLocalCacheRequest& request, ::grpc::CompletionQueue* cq) { +::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* Bridge::Stub::AsyncSetDiskCachePathRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) { auto* result = - this->PrepareAsyncChangeLocalCacheRaw(context, request, cq); + this->PrepareAsyncSetDiskCachePathRaw(context, request, cq); result->StartCall(); return result; } @@ -1900,12 +1900,12 @@ Bridge::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( 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>( + new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::StringValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, ::grpc::ServerContext* ctx, - const ::grpc::ChangeLocalCacheRequest* req, + const ::google::protobuf::StringValue* req, ::google::protobuf::Empty* resp) { - return service->ChangeLocalCache(ctx, req, resp); + return service->SetDiskCachePath(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( Bridge_method_names[38], @@ -2391,7 +2391,7 @@ Bridge::Service::~Service() { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status Bridge::Service::ChangeLocalCache(::grpc::ServerContext* context, const ::grpc::ChangeLocalCacheRequest* request, ::google::protobuf::Empty* response) { +::grpc::Status Bridge::Service::SetDiskCachePath(::grpc::ServerContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response) { (void) context; (void) request; (void) response; 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 64e5edd5..1f19a16a 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 @@ -320,12 +320,12 @@ class Bridge final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::StringValue>> PrepareAsyncDiskCachePath(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::StringValue>>(PrepareAsyncDiskCachePathRaw(context, request, cq)); } - virtual ::grpc::Status ChangeLocalCache(::grpc::ClientContext* context, const ::grpc::ChangeLocalCacheRequest& request, ::google::protobuf::Empty* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> AsyncChangeLocalCache(::grpc::ClientContext* context, const ::grpc::ChangeLocalCacheRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(AsyncChangeLocalCacheRaw(context, request, cq)); + virtual ::grpc::Status SetDiskCachePath(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::google::protobuf::Empty* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> AsyncSetDiskCachePath(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(AsyncSetDiskCachePathRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> PrepareAsyncChangeLocalCache(::grpc::ClientContext* context, const ::grpc::ChangeLocalCacheRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(PrepareAsyncChangeLocalCacheRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> PrepareAsyncSetDiskCachePath(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(PrepareAsyncSetDiskCachePathRaw(context, request, cq)); } // mail virtual ::grpc::Status SetIsDoHEnabled(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::google::protobuf::Empty* response) = 0; @@ -570,8 +570,8 @@ class Bridge final { // cache 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; - virtual void ChangeLocalCache(::grpc::ClientContext* context, const ::grpc::ChangeLocalCacheRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void SetDiskCachePath(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response, std::function) = 0; + virtual void SetDiskCachePath(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) = 0; // mail virtual void SetIsDoHEnabled(::grpc::ClientContext* context, const ::google::protobuf::BoolValue* request, ::google::protobuf::Empty* response, std::function) = 0; virtual void SetIsDoHEnabled(::grpc::ClientContext* context, const ::google::protobuf::BoolValue* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) = 0; @@ -699,8 +699,8 @@ class Bridge final { virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::BoolValue>* PrepareAsyncIsAutomaticUpdateOnRaw(::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; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* PrepareAsyncChangeLocalCacheRaw(::grpc::ClientContext* context, const ::grpc::ChangeLocalCacheRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncSetDiskCachePathRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* PrepareAsyncSetDiskCachePathRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncSetIsDoHEnabledRaw(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* PrepareAsyncSetIsDoHEnabledRaw(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::BoolValue>* AsyncIsDoHEnabledRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) = 0; @@ -1009,12 +1009,12 @@ class Bridge final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::StringValue>> PrepareAsyncDiskCachePath(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::StringValue>>(PrepareAsyncDiskCachePathRaw(context, request, cq)); } - ::grpc::Status ChangeLocalCache(::grpc::ClientContext* context, const ::grpc::ChangeLocalCacheRequest& request, ::google::protobuf::Empty* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> AsyncChangeLocalCache(::grpc::ClientContext* context, const ::grpc::ChangeLocalCacheRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(AsyncChangeLocalCacheRaw(context, request, cq)); + ::grpc::Status SetDiskCachePath(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::google::protobuf::Empty* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> AsyncSetDiskCachePath(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(AsyncSetDiskCachePathRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> PrepareAsyncChangeLocalCache(::grpc::ClientContext* context, const ::grpc::ChangeLocalCacheRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(PrepareAsyncChangeLocalCacheRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> PrepareAsyncSetDiskCachePath(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(PrepareAsyncSetDiskCachePathRaw(context, request, cq)); } ::grpc::Status SetIsDoHEnabled(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::google::protobuf::Empty* response) override; std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> AsyncSetIsDoHEnabled(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::grpc::CompletionQueue* cq) { @@ -1249,8 +1249,8 @@ class Bridge final { void IsAutomaticUpdateOn(::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; - void ChangeLocalCache(::grpc::ClientContext* context, const ::grpc::ChangeLocalCacheRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) override; + void SetDiskCachePath(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response, std::function) override; + void SetDiskCachePath(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) override; void SetIsDoHEnabled(::grpc::ClientContext* context, const ::google::protobuf::BoolValue* request, ::google::protobuf::Empty* response, std::function) override; void SetIsDoHEnabled(::grpc::ClientContext* context, const ::google::protobuf::BoolValue* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) override; void IsDoHEnabled(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response, std::function) override; @@ -1379,8 +1379,8 @@ class Bridge final { ::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>* PrepareAsyncIsAutomaticUpdateOnRaw(::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; - ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* PrepareAsyncChangeLocalCacheRaw(::grpc::ClientContext* context, const ::grpc::ChangeLocalCacheRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncSetDiskCachePathRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* PrepareAsyncSetDiskCachePathRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncSetIsDoHEnabledRaw(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* PrepareAsyncSetIsDoHEnabledRaw(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>* AsyncIsDoHEnabledRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) override; @@ -1463,7 +1463,7 @@ class Bridge final { const ::grpc::internal::RpcMethod rpcmethod_SetIsAutomaticUpdateOn_; const ::grpc::internal::RpcMethod rpcmethod_IsAutomaticUpdateOn_; const ::grpc::internal::RpcMethod rpcmethod_DiskCachePath_; - const ::grpc::internal::RpcMethod rpcmethod_ChangeLocalCache_; + const ::grpc::internal::RpcMethod rpcmethod_SetDiskCachePath_; const ::grpc::internal::RpcMethod rpcmethod_SetIsDoHEnabled_; const ::grpc::internal::RpcMethod rpcmethod_IsDoHEnabled_; const ::grpc::internal::RpcMethod rpcmethod_SetUseSslForSmtp_; @@ -1535,7 +1535,7 @@ class Bridge final { virtual ::grpc::Status IsAutomaticUpdateOn(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response); // cache 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); + virtual ::grpc::Status SetDiskCachePath(::grpc::ServerContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response); // mail virtual ::grpc::Status SetIsDoHEnabled(::grpc::ServerContext* context, const ::google::protobuf::BoolValue* request, ::google::protobuf::Empty* response); virtual ::grpc::Status IsDoHEnabled(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response); @@ -2305,22 +2305,22 @@ class Bridge final { } }; template - class WithAsyncMethod_ChangeLocalCache : public BaseClass { + class WithAsyncMethod_SetDiskCachePath : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithAsyncMethod_ChangeLocalCache() { + WithAsyncMethod_SetDiskCachePath() { ::grpc::Service::MarkMethodAsync(37); } - ~WithAsyncMethod_ChangeLocalCache() override { + ~WithAsyncMethod_SetDiskCachePath() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status ChangeLocalCache(::grpc::ServerContext* /*context*/, const ::grpc::ChangeLocalCacheRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + ::grpc::Status SetDiskCachePath(::grpc::ServerContext* /*context*/, const ::google::protobuf::StringValue* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); 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) { + void RequestSetDiskCachePath(::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(37, context, request, response, new_call_cq, notification_cq, tag); } }; @@ -2764,7 +2764,7 @@ class Bridge final { ::grpc::Service::RequestAsyncUnary(59, context, request, response, new_call_cq, notification_cq, tag); } }; - typedef WithAsyncMethod_CheckTokens > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > AsyncService; + typedef WithAsyncMethod_CheckTokens > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > AsyncService; template class WithCallbackMethod_CheckTokens : public BaseClass { private: @@ -3765,31 +3765,31 @@ class Bridge final { ::grpc::CallbackServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::StringValue* /*response*/) { return nullptr; } }; template - class WithCallbackMethod_ChangeLocalCache : public BaseClass { + class WithCallbackMethod_SetDiskCachePath : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithCallbackMethod_ChangeLocalCache() { + WithCallbackMethod_SetDiskCachePath() { ::grpc::Service::MarkMethodCallback(37, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ChangeLocalCacheRequest, ::google::protobuf::Empty>( + new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::StringValue, ::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::CallbackServerContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response) { return this->SetDiskCachePath(context, request, response); }));} + void SetMessageAllocatorFor_SetDiskCachePath( + ::grpc::MessageAllocator< ::google::protobuf::StringValue, ::google::protobuf::Empty>* allocator) { ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(37); - static_cast<::grpc::internal::CallbackUnaryHandler< ::grpc::ChangeLocalCacheRequest, ::google::protobuf::Empty>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::StringValue, ::google::protobuf::Empty>*>(handler) ->SetMessageAllocator(allocator); } - ~WithCallbackMethod_ChangeLocalCache() override { + ~WithCallbackMethod_SetDiskCachePath() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status ChangeLocalCache(::grpc::ServerContext* /*context*/, const ::grpc::ChangeLocalCacheRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + ::grpc::Status SetDiskCachePath(::grpc::ServerContext* /*context*/, const ::google::protobuf::StringValue* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* ChangeLocalCache( - ::grpc::CallbackServerContext* /*context*/, const ::grpc::ChangeLocalCacheRequest* /*request*/, ::google::protobuf::Empty* /*response*/) { return nullptr; } + virtual ::grpc::ServerUnaryReactor* SetDiskCachePath( + ::grpc::CallbackServerContext* /*context*/, const ::google::protobuf::StringValue* /*request*/, ::google::protobuf::Empty* /*response*/) { return nullptr; } }; template class WithCallbackMethod_SetIsDoHEnabled : public BaseClass { @@ -4380,7 +4380,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 { @@ -5012,18 +5012,18 @@ class Bridge final { } }; template - class WithGenericMethod_ChangeLocalCache : public BaseClass { + class WithGenericMethod_SetDiskCachePath : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_ChangeLocalCache() { + WithGenericMethod_SetDiskCachePath() { ::grpc::Service::MarkMethodGeneric(37); } - ~WithGenericMethod_ChangeLocalCache() override { + ~WithGenericMethod_SetDiskCachePath() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status ChangeLocalCache(::grpc::ServerContext* /*context*/, const ::grpc::ChangeLocalCacheRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + ::grpc::Status SetDiskCachePath(::grpc::ServerContext* /*context*/, const ::google::protobuf::StringValue* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } @@ -6143,22 +6143,22 @@ class Bridge final { } }; template - class WithRawMethod_ChangeLocalCache : public BaseClass { + class WithRawMethod_SetDiskCachePath : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawMethod_ChangeLocalCache() { + WithRawMethod_SetDiskCachePath() { ::grpc::Service::MarkMethodRaw(37); } - ~WithRawMethod_ChangeLocalCache() override { + ~WithRawMethod_SetDiskCachePath() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status ChangeLocalCache(::grpc::ServerContext* /*context*/, const ::grpc::ChangeLocalCacheRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + ::grpc::Status SetDiskCachePath(::grpc::ServerContext* /*context*/, const ::google::protobuf::StringValue* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); 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) { + void RequestSetDiskCachePath(::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); } }; @@ -7417,25 +7417,25 @@ class Bridge final { ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template - class WithRawCallbackMethod_ChangeLocalCache : public BaseClass { + class WithRawCallbackMethod_SetDiskCachePath : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawCallbackMethod_ChangeLocalCache() { + WithRawCallbackMethod_SetDiskCachePath() { ::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); })); + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->SetDiskCachePath(context, request, response); })); } - ~WithRawCallbackMethod_ChangeLocalCache() override { + ~WithRawCallbackMethod_SetDiskCachePath() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status ChangeLocalCache(::grpc::ServerContext* /*context*/, const ::grpc::ChangeLocalCacheRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + ::grpc::Status SetDiskCachePath(::grpc::ServerContext* /*context*/, const ::google::protobuf::StringValue* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* ChangeLocalCache( + virtual ::grpc::ServerUnaryReactor* SetDiskCachePath( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template @@ -8922,31 +8922,31 @@ class Bridge final { virtual ::grpc::Status StreamedDiskCachePath(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::google::protobuf::Empty,::google::protobuf::StringValue>* server_unary_streamer) = 0; }; template - class WithStreamedUnaryMethod_ChangeLocalCache : public BaseClass { + class WithStreamedUnaryMethod_SetDiskCachePath : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithStreamedUnaryMethod_ChangeLocalCache() { + WithStreamedUnaryMethod_SetDiskCachePath() { ::grpc::Service::MarkMethodStreamed(37, new ::grpc::internal::StreamedUnaryHandler< - ::grpc::ChangeLocalCacheRequest, ::google::protobuf::Empty>( + ::google::protobuf::StringValue, ::google::protobuf::Empty>( [this](::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< - ::grpc::ChangeLocalCacheRequest, ::google::protobuf::Empty>* streamer) { - return this->StreamedChangeLocalCache(context, + ::google::protobuf::StringValue, ::google::protobuf::Empty>* streamer) { + return this->StreamedSetDiskCachePath(context, streamer); })); } - ~WithStreamedUnaryMethod_ChangeLocalCache() override { + ~WithStreamedUnaryMethod_SetDiskCachePath() override { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status ChangeLocalCache(::grpc::ServerContext* /*context*/, const ::grpc::ChangeLocalCacheRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + ::grpc::Status SetDiskCachePath(::grpc::ServerContext* /*context*/, const ::google::protobuf::StringValue* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedChangeLocalCache(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::grpc::ChangeLocalCacheRequest,::google::protobuf::Empty>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedSetDiskCachePath(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::google::protobuf::StringValue,::google::protobuf::Empty>* server_unary_streamer) = 0; }; template class WithStreamedUnaryMethod_SetIsDoHEnabled : public BaseClass { @@ -9515,7 +9515,7 @@ 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: @@ -9544,7 +9544,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 210b30b6..d989514f 100644 --- a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/bridge.pb.cc +++ b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/bridge.pb.cc @@ -81,19 +81,6 @@ struct LoginAbortRequestDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LoginAbortRequestDefaultTypeInternal _LoginAbortRequest_default_instance_; -PROTOBUF_CONSTEXPR ChangeLocalCacheRequest::ChangeLocalCacheRequest( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.diskcachepath_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct ChangeLocalCacheRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR ChangeLocalCacheRequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ChangeLocalCacheRequestDefaultTypeInternal() {} - union { - ChangeLocalCacheRequest _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ChangeLocalCacheRequestDefaultTypeInternal _ChangeLocalCacheRequest_default_instance_; PROTOBUF_CONSTEXPR ChangePortsRequest::ChangePortsRequest( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.imapport_)*/0 @@ -477,70 +464,57 @@ struct UpdateVersionChangedDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdateVersionChangedDefaultTypeInternal _UpdateVersionChanged_default_instance_; -PROTOBUF_CONSTEXPR CacheEvent::CacheEvent( +PROTOBUF_CONSTEXPR DiskCacheEvent::DiskCacheEvent( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.event_)*/{} , /*decltype(_impl_._cached_size_)*/{} , /*decltype(_impl_._oneof_case_)*/{}} {} -struct CacheEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR CacheEventDefaultTypeInternal() +struct DiskCacheEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR DiskCacheEventDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~CacheEventDefaultTypeInternal() {} + ~DiskCacheEventDefaultTypeInternal() {} union { - CacheEvent _instance; + DiskCacheEvent _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CacheEventDefaultTypeInternal _CacheEvent_default_instance_; -PROTOBUF_CONSTEXPR CacheErrorEvent::CacheErrorEvent( +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DiskCacheEventDefaultTypeInternal _DiskCacheEvent_default_instance_; +PROTOBUF_CONSTEXPR DiskCacheErrorEvent::DiskCacheErrorEvent( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.type_)*/0 , /*decltype(_impl_._cached_size_)*/{}} {} -struct CacheErrorEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR CacheErrorEventDefaultTypeInternal() +struct DiskCacheErrorEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR DiskCacheErrorEventDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~CacheErrorEventDefaultTypeInternal() {} + ~DiskCacheErrorEventDefaultTypeInternal() {} union { - CacheErrorEvent _instance; + DiskCacheErrorEvent _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CacheErrorEventDefaultTypeInternal _CacheErrorEvent_default_instance_; -PROTOBUF_CONSTEXPR CacheLocationChangeSuccessEvent::CacheLocationChangeSuccessEvent( - ::_pbi::ConstantInitialized) {} -struct CacheLocationChangeSuccessEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR CacheLocationChangeSuccessEventDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CacheLocationChangeSuccessEventDefaultTypeInternal() {} - union { - CacheLocationChangeSuccessEvent _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CacheLocationChangeSuccessEventDefaultTypeInternal _CacheLocationChangeSuccessEvent_default_instance_; -PROTOBUF_CONSTEXPR ChangeLocalCacheFinishedEvent::ChangeLocalCacheFinishedEvent( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.willrestart_)*/false - , /*decltype(_impl_._cached_size_)*/{}} {} -struct ChangeLocalCacheFinishedEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR ChangeLocalCacheFinishedEventDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ChangeLocalCacheFinishedEventDefaultTypeInternal() {} - union { - ChangeLocalCacheFinishedEvent _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ChangeLocalCacheFinishedEventDefaultTypeInternal _ChangeLocalCacheFinishedEvent_default_instance_; -PROTOBUF_CONSTEXPR DiskCachePathChanged::DiskCachePathChanged( +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DiskCacheErrorEventDefaultTypeInternal _DiskCacheErrorEvent_default_instance_; +PROTOBUF_CONSTEXPR DiskCachePathChangedEvent::DiskCachePathChangedEvent( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.path_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} , /*decltype(_impl_._cached_size_)*/{}} {} -struct DiskCachePathChangedDefaultTypeInternal { - PROTOBUF_CONSTEXPR DiskCachePathChangedDefaultTypeInternal() +struct DiskCachePathChangedEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR DiskCachePathChangedEventDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~DiskCachePathChangedDefaultTypeInternal() {} + ~DiskCachePathChangedEventDefaultTypeInternal() {} union { - DiskCachePathChanged _instance; + DiskCachePathChangedEvent _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DiskCachePathChangedDefaultTypeInternal _DiskCachePathChanged_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DiskCachePathChangedEventDefaultTypeInternal _DiskCachePathChangedEvent_default_instance_; +PROTOBUF_CONSTEXPR DiskCachePathChangeFinishedEvent::DiskCachePathChangeFinishedEvent( + ::_pbi::ConstantInitialized) {} +struct DiskCachePathChangeFinishedEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR DiskCachePathChangeFinishedEventDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~DiskCachePathChangeFinishedEventDefaultTypeInternal() {} + union { + DiskCachePathChangeFinishedEvent _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DiskCachePathChangeFinishedEventDefaultTypeInternal _DiskCachePathChangeFinishedEvent_default_instance_; PROTOBUF_CONSTEXPR MailSettingsEvent::MailSettingsEvent( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.event_)*/{} @@ -766,7 +740,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[56]; static const ::_pb::EnumDescriptor* file_level_enum_descriptors_bridge_2eproto[5]; static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_bridge_2eproto = nullptr; @@ -808,13 +782,6 @@ const uint32_t TableStruct_bridge_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(p ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::grpc::LoginAbortRequest, _impl_.username_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::grpc::ChangeLocalCacheRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::grpc::ChangeLocalCacheRequest, _impl_.diskcachepath_), - ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::grpc::ChangePortsRequest, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ @@ -1054,43 +1021,35 @@ const uint32_t TableStruct_bridge_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(p ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::grpc::CacheEvent, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::grpc::DiskCacheEvent, _internal_metadata_), ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::grpc::CacheEvent, _impl_._oneof_case_[0]), + PROTOBUF_FIELD_OFFSET(::grpc::DiskCacheEvent, _impl_._oneof_case_[0]), ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ::_pbi::kInvalidFieldOffsetTag, ::_pbi::kInvalidFieldOffsetTag, ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - PROTOBUF_FIELD_OFFSET(::grpc::CacheEvent, _impl_.event_), + PROTOBUF_FIELD_OFFSET(::grpc::DiskCacheEvent, _impl_.event_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::grpc::CacheErrorEvent, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::grpc::DiskCacheErrorEvent, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::grpc::CacheErrorEvent, _impl_.type_), + PROTOBUF_FIELD_OFFSET(::grpc::DiskCacheErrorEvent, _impl_.type_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::grpc::CacheLocationChangeSuccessEvent, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::grpc::DiskCachePathChangedEvent, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::grpc::DiskCachePathChangedEvent, _impl_.path_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::grpc::ChangeLocalCacheFinishedEvent, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::grpc::DiskCachePathChangeFinishedEvent, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::grpc::ChangeLocalCacheFinishedEvent, _impl_.willrestart_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::grpc::DiskCachePathChanged, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::grpc::DiskCachePathChanged, _impl_.path_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::grpc::MailSettingsEvent, _internal_metadata_), ~0u, // no _extensions_ @@ -1230,60 +1189,58 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode { 9, -1, -1, sizeof(::grpc::ReportBugRequest)}, { 21, -1, -1, sizeof(::grpc::LoginRequest)}, { 29, -1, -1, sizeof(::grpc::LoginAbortRequest)}, - { 36, -1, -1, sizeof(::grpc::ChangeLocalCacheRequest)}, - { 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)}, - { 331, -1, -1, sizeof(::grpc::MailSettingsErrorEvent)}, - { 338, -1, -1, sizeof(::grpc::UseSslForSmtpFinishedEvent)}, - { 344, -1, -1, sizeof(::grpc::UseSslForImapFinishedEvent)}, - { 350, -1, -1, sizeof(::grpc::ChangePortsFinishedEvent)}, - { 356, -1, -1, sizeof(::grpc::KeychainEvent)}, - { 366, -1, -1, sizeof(::grpc::ChangeKeychainFinishedEvent)}, - { 372, -1, -1, sizeof(::grpc::HasNoKeychainEvent)}, - { 378, -1, -1, sizeof(::grpc::RebuildKeychainEvent)}, - { 384, -1, -1, sizeof(::grpc::MailEvent)}, - { 395, -1, -1, sizeof(::grpc::NoActiveKeyForRecipientEvent)}, - { 402, -1, -1, sizeof(::grpc::AddressChangedEvent)}, - { 409, -1, -1, sizeof(::grpc::AddressChangedLogoutEvent)}, - { 416, -1, -1, sizeof(::grpc::ApiCertIssueEvent)}, - { 422, -1, -1, sizeof(::grpc::UserEvent)}, - { 432, -1, -1, sizeof(::grpc::ToggleSplitModeFinishedEvent)}, - { 439, -1, -1, sizeof(::grpc::UserDisconnectedEvent)}, - { 446, -1, -1, sizeof(::grpc::UserChangedEvent)}, + { 36, -1, -1, sizeof(::grpc::ChangePortsRequest)}, + { 44, -1, -1, sizeof(::grpc::AvailableKeychainsResponse)}, + { 51, -1, -1, sizeof(::grpc::User)}, + { 67, -1, -1, sizeof(::grpc::UserSplitModeRequest)}, + { 75, -1, -1, sizeof(::grpc::UserListResponse)}, + { 82, -1, -1, sizeof(::grpc::ConfigureAppleMailRequest)}, + { 90, -1, -1, sizeof(::grpc::EventStreamRequest)}, + { 97, -1, -1, sizeof(::grpc::StreamEvent)}, + { 112, -1, -1, sizeof(::grpc::AppEvent)}, + { 126, -1, -1, sizeof(::grpc::InternetStatusEvent)}, + { 133, -1, -1, sizeof(::grpc::ToggleAutostartFinishedEvent)}, + { 139, -1, -1, sizeof(::grpc::ResetFinishedEvent)}, + { 145, -1, -1, sizeof(::grpc::ReportBugFinishedEvent)}, + { 151, -1, -1, sizeof(::grpc::ReportBugSuccessEvent)}, + { 157, -1, -1, sizeof(::grpc::ReportBugErrorEvent)}, + { 163, -1, -1, sizeof(::grpc::ShowMainWindowEvent)}, + { 169, -1, -1, sizeof(::grpc::LoginEvent)}, + { 181, -1, -1, sizeof(::grpc::LoginErrorEvent)}, + { 189, -1, -1, sizeof(::grpc::LoginTfaRequestedEvent)}, + { 196, -1, -1, sizeof(::grpc::LoginTwoPasswordsRequestedEvent)}, + { 202, -1, -1, sizeof(::grpc::LoginFinishedEvent)}, + { 209, -1, -1, sizeof(::grpc::UpdateEvent)}, + { 224, -1, -1, sizeof(::grpc::UpdateErrorEvent)}, + { 231, -1, -1, sizeof(::grpc::UpdateManualReadyEvent)}, + { 238, -1, -1, sizeof(::grpc::UpdateManualRestartNeededEvent)}, + { 244, -1, -1, sizeof(::grpc::UpdateForceEvent)}, + { 251, -1, -1, sizeof(::grpc::UpdateSilentRestartNeeded)}, + { 257, -1, -1, sizeof(::grpc::UpdateIsLatestVersion)}, + { 263, -1, -1, sizeof(::grpc::UpdateCheckFinished)}, + { 269, -1, -1, sizeof(::grpc::UpdateVersionChanged)}, + { 275, -1, -1, sizeof(::grpc::DiskCacheEvent)}, + { 285, -1, -1, sizeof(::grpc::DiskCacheErrorEvent)}, + { 292, -1, -1, sizeof(::grpc::DiskCachePathChangedEvent)}, + { 299, -1, -1, sizeof(::grpc::DiskCachePathChangeFinishedEvent)}, + { 305, -1, -1, sizeof(::grpc::MailSettingsEvent)}, + { 316, -1, -1, sizeof(::grpc::MailSettingsErrorEvent)}, + { 323, -1, -1, sizeof(::grpc::UseSslForSmtpFinishedEvent)}, + { 329, -1, -1, sizeof(::grpc::UseSslForImapFinishedEvent)}, + { 335, -1, -1, sizeof(::grpc::ChangePortsFinishedEvent)}, + { 341, -1, -1, sizeof(::grpc::KeychainEvent)}, + { 351, -1, -1, sizeof(::grpc::ChangeKeychainFinishedEvent)}, + { 357, -1, -1, sizeof(::grpc::HasNoKeychainEvent)}, + { 363, -1, -1, sizeof(::grpc::RebuildKeychainEvent)}, + { 369, -1, -1, sizeof(::grpc::MailEvent)}, + { 380, -1, -1, sizeof(::grpc::NoActiveKeyForRecipientEvent)}, + { 387, -1, -1, sizeof(::grpc::AddressChangedEvent)}, + { 394, -1, -1, sizeof(::grpc::AddressChangedLogoutEvent)}, + { 401, -1, -1, sizeof(::grpc::ApiCertIssueEvent)}, + { 407, -1, -1, sizeof(::grpc::UserEvent)}, + { 417, -1, -1, sizeof(::grpc::ToggleSplitModeFinishedEvent)}, + { 424, -1, -1, sizeof(::grpc::UserDisconnectedEvent)}, + { 431, -1, -1, sizeof(::grpc::UserChangedEvent)}, }; static const ::_pb::Message* const file_default_instances[] = { @@ -1291,7 +1248,6 @@ static const ::_pb::Message* const file_default_instances[] = { &::grpc::_ReportBugRequest_default_instance_._instance, &::grpc::_LoginRequest_default_instance_._instance, &::grpc::_LoginAbortRequest_default_instance_._instance, - &::grpc::_ChangeLocalCacheRequest_default_instance_._instance, &::grpc::_ChangePortsRequest_default_instance_._instance, &::grpc::_AvailableKeychainsResponse_default_instance_._instance, &::grpc::_User_default_instance_._instance, @@ -1322,11 +1278,10 @@ static const ::_pb::Message* const file_default_instances[] = { &::grpc::_UpdateIsLatestVersion_default_instance_._instance, &::grpc::_UpdateCheckFinished_default_instance_._instance, &::grpc::_UpdateVersionChanged_default_instance_._instance, - &::grpc::_CacheEvent_default_instance_._instance, - &::grpc::_CacheErrorEvent_default_instance_._instance, - &::grpc::_CacheLocationChangeSuccessEvent_default_instance_._instance, - &::grpc::_ChangeLocalCacheFinishedEvent_default_instance_._instance, - &::grpc::_DiskCachePathChanged_default_instance_._instance, + &::grpc::_DiskCacheEvent_default_instance_._instance, + &::grpc::_DiskCacheErrorEvent_default_instance_._instance, + &::grpc::_DiskCachePathChangedEvent_default_instance_._instance, + &::grpc::_DiskCachePathChangeFinishedEvent_default_instance_._instance, &::grpc::_MailSettingsEvent_default_instance_._instance, &::grpc::_MailSettingsErrorEvent_default_instance_._instance, &::grpc::_UseSslForSmtpFinishedEvent_default_instance_._instance, @@ -1357,241 +1312,237 @@ 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(\014\"%\n\021" - "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(\014\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\"\220\002\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\000\022A\n\025useSslForIm" - "apFinished\030\004 \001(\0132 .grpc.UseSslForImapFin" - "ishedEventH\000B\007\n\005event\"C\n\026MailSettingsErr" - "orEvent\022)\n\004type\030\001 \001(\0162\033.grpc.MailSetting" - "sErrorType\"\034\n\032UseSslForSmtpFinishedEvent" - "\"\034\n\032UseSslForImapFinishedEvent\"\032\n\030Change" - "PortsFinishedEvent\"\307\001\n\rKeychainEvent\022C\n\026" - "changeKeychainFinished\030\001 \001(\0132!.grpc.Chan" - "geKeychainFinishedEventH\000\0221\n\rhasNoKeycha" - "in\030\002 \001(\0132\030.grpc.HasNoKeychainEventH\000\0225\n\017" - "rebuildKeychain\030\003 \001(\0132\032.grpc.RebuildKeyc" - "hainEventH\000B\007\n\005event\"\035\n\033ChangeKeychainFi" - "nishedEvent\"\024\n\022HasNoKeychainEvent\"\026\n\024Reb" - "uildKeychainEvent\"\207\002\n\tMailEvent\022J\n\034noAct" - "iveKeyForRecipientEvent\030\001 \001(\0132\".grpc.NoA" - "ctiveKeyForRecipientEventH\000\0223\n\016addressCh" - "anged\030\002 \001(\0132\031.grpc.AddressChangedEventH\000" - "\022\?\n\024addressChangedLogout\030\003 \001(\0132\037.grpc.Ad" - "dressChangedLogoutEventH\000\022/\n\014apiCertIssu" - "e\030\006 \001(\0132\027.grpc.ApiCertIssueEventH\000B\007\n\005ev" - "ent\"-\n\034NoActiveKeyForRecipientEvent\022\r\n\005e" - "mail\030\001 \001(\t\"&\n\023AddressChangedEvent\022\017\n\007add" - "ress\030\001 \001(\t\",\n\031AddressChangedLogoutEvent\022" - "\017\n\007address\030\001 \001(\t\"\023\n\021ApiCertIssueEvent\"\303\001" - "\n\tUserEvent\022E\n\027toggleSplitModeFinished\030\001" - " \001(\0132\".grpc.ToggleSplitModeFinishedEvent" - "H\000\0227\n\020userDisconnected\030\002 \001(\0132\033.grpc.User" - "DisconnectedEventH\000\022-\n\013userChanged\030\003 \001(\013" - "2\026.grpc.UserChangedEventH\000B\007\n\005event\".\n\034T" - "oggleSplitModeFinishedEvent\022\016\n\006userID\030\001 " - "\001(\t\")\n\025UserDisconnectedEvent\022\020\n\010username" - "\030\001 \001(\t\"\"\n\020UserChangedEvent\022\016\n\006userID\030\001 \001" - "(\t*q\n\010LogLevel\022\r\n\tLOG_PANIC\020\000\022\r\n\tLOG_FAT" - "AL\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_DEBUG\020\005\022\r\n\tLOG_TRACE\020\006*\242\001" - "\n\016LoginErrorType\022\033\n\027USERNAME_PASSWORD_ER" - "ROR\020\000\022\r\n\tFREE_USER\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\017UpdateErrorType\022\027\n\023UPDATE_MANUAL_E" - "RROR\020\000\022\026\n\022UPDATE_FORCE_ERROR\020\001\022\027\n\023UPDATE" - "_SILENT_ERROR\020\002*W\n\016CacheErrorType\022\033\n\027CAC" - "HE_UNAVAILABLE_ERROR\020\000\022\031\n\025CACHE_CANT_MOV" - "E_ERROR\020\001\022\r\n\tDISK_FULL\020\002*A\n\025MailSettings" - "ErrorType\022\023\n\017IMAP_PORT_ISSUE\020\000\022\023\n\017SMTP_P" - "ORT_ISSUE\020\0012\250 \n\006Bridge\022I\n\013CheckTokens\022\034." - "google.protobuf.StringValue\032\034.google.pro" - "tobuf.StringValue\022\?\n\013AddLogEntry\022\030.grpc." - "AddLogEntryRequest\032\026.google.protobuf.Emp" - "ty\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.google.protobuf.Empty\032\026.goog" - "le.protobuf.Empty\022C\n\rShowOnStartup\022\026.goo" - "gle.protobuf.Empty\032\032.google.protobuf.Boo" - "lValue\022F\n\020ShowSplashScreen\022\026.google.prot" - "obuf.Empty\032\032.google.protobuf.BoolValue\022E" - "\n\017IsFirstGuiStart\022\026.google.protobuf.Empt" - "y\032\032.google.protobuf.BoolValue\022F\n\020SetIsAu" - "tostartOn\022\032.google.protobuf.BoolValue\032\026." - "google.protobuf.Empty\022C\n\rIsAutostartOn\022\026" - ".google.protobuf.Empty\032\032.google.protobuf" - ".BoolValue\022F\n\020SetIsBetaEnabled\022\032.google." - "protobuf.BoolValue\032\026.google.protobuf.Emp" - "ty\022C\n\rIsBetaEnabled\022\026.google.protobuf.Em" - "pty\032\032.google.protobuf.BoolValue\022I\n\023SetIs" - "AllMailVisible\022\032.google.protobuf.BoolVal" - "ue\032\026.google.protobuf.Empty\022F\n\020IsAllMailV" - "isible\022\026.google.protobuf.Empty\032\032.google." - "protobuf.BoolValue\022<\n\004GoOs\022\026.google.prot" - "obuf.Empty\032\034.google.protobuf.StringValue" - "\022>\n\014TriggerReset\022\026.google.protobuf.Empty" - "\032\026.google.protobuf.Empty\022\?\n\007Version\022\026.go" - "ogle.protobuf.Empty\032\034.google.protobuf.St" - "ringValue\022@\n\010LogsPath\022\026.google.protobuf." - "Empty\032\034.google.protobuf.StringValue\022C\n\013L" - "icensePath\022\026.google.protobuf.Empty\032\034.goo" - "gle.protobuf.StringValue\022L\n\024ReleaseNotes" - "PageLink\022\026.google.protobuf.Empty\032\034.googl" - "e.protobuf.StringValue\022N\n\026DependencyLice" - "nsesLink\022\026.google.protobuf.Empty\032\034.googl" - "e.protobuf.StringValue\022G\n\017LandingPageLin" - "k\022\026.google.protobuf.Empty\032\034.google.proto" - "buf.StringValue\022J\n\022SetColorSchemeName\022\034." - "google.protobuf.StringValue\032\026.google.pro" - "tobuf.Empty\022G\n\017ColorSchemeName\022\026.google." - "protobuf.Empty\032\034.google.protobuf.StringV" - "alue\022J\n\022CurrentEmailClient\022\026.google.prot" - "obuf.Empty\032\034.google.protobuf.StringValue" - "\022;\n\tReportBug\022\026.grpc.ReportBugRequest\032\026." - "google.protobuf.Empty\022E\n\rForceLauncher\022\034" - ".google.protobuf.StringValue\032\026.google.pr" - "otobuf.Empty\022I\n\021SetMainExecutable\022\034.goog" - "le.protobuf.StringValue\032\026.google.protobu" - "f.Empty\0223\n\005Login\022\022.grpc.LoginRequest\032\026.g" - "oogle.protobuf.Empty\0226\n\010Login2FA\022\022.grpc." - "LoginRequest\032\026.google.protobuf.Empty\022=\n\017" - "Login2Passwords\022\022.grpc.LoginRequest\032\026.go" - "ogle.protobuf.Empty\022=\n\nLoginAbort\022\027.grpc" - ".LoginAbortRequest\032\026.google.protobuf.Emp" - "ty\022=\n\013CheckUpdate\022\026.google.protobuf.Empt" - "y\032\026.google.protobuf.Empty\022\?\n\rInstallUpda" - "te\022\026.google.protobuf.Empty\032\026.google.prot" - "obuf.Empty\022L\n\026SetIsAutomaticUpdateOn\022\032.g" + "LoginAbortRequest\022\020\n\010username\030\001 \001(\t\"8\n\022C" + "hangePortsRequest\022\020\n\010imapPort\030\001 \001(\005\022\020\n\010s" + "mtpPort\030\002 \001(\005\"/\n\032AvailableKeychainsRespo" + "nse\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\010loggedIn\030\004 \001(\010\022\021\n\tsplitMode\030\005 \001(\010\022\026" + "\n\016setupGuideSeen\030\006 \001(\010\022\021\n\tusedBytes\030\007 \001(" + "\003\022\022\n\ntotalBytes\030\010 \001(\003\022\020\n\010password\030\t \001(\014\022" + "\021\n\taddresses\030\n \003(\t\"6\n\024UserSplitModeReque" + "st\022\016\n\006userID\030\001 \001(\t\022\016\n\006active\030\002 \001(\010\"-\n\020Us" + "erListResponse\022\031\n\005users\030\001 \003(\0132\n.grpc.Use" + "r\"<\n\031ConfigureAppleMailRequest\022\016\n\006userID" + "\030\001 \001(\t\022\017\n\007address\030\002 \001(\t\",\n\022EventStreamRe" + "quest\022\026\n\016ClientPlatform\030\001 \001(\t\"\300\002\n\013Stream" + "Event\022\035\n\003app\030\001 \001(\0132\016.grpc.AppEventH\000\022!\n\005" + "login\030\002 \001(\0132\020.grpc.LoginEventH\000\022#\n\006updat" + "e\030\003 \001(\0132\021.grpc.UpdateEventH\000\022%\n\005cache\030\004 " + "\001(\0132\024.grpc.DiskCacheEventH\000\022/\n\014mailSetti" + "ngs\030\005 \001(\0132\027.grpc.MailSettingsEventH\000\022\'\n\010" + "keychain\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.grpc.UserEventH\000B\007\n\005event\"\240\003\n\010App" + "Event\0223\n\016internetStatus\030\001 \001(\0132\031.grpc.Int" + "ernetStatusEventH\000\022E\n\027toggleAutostartFin" + "ished\030\002 \001(\0132\".grpc.ToggleAutostartFinish" + "edEventH\000\0221\n\rresetFinished\030\003 \001(\0132\030.grpc." + "ResetFinishedEventH\000\0229\n\021reportBugFinishe" + "d\030\004 \001(\0132\034.grpc.ReportBugFinishedEventH\000\022" + "7\n\020reportBugSuccess\030\005 \001(\0132\033.grpc.ReportB" + "ugSuccessEventH\000\0223\n\016reportBugError\030\006 \001(\013" + "2\031.grpc.ReportBugErrorEventH\000\0223\n\016showMai" + "nWindow\030\007 \001(\0132\031.grpc.ShowMainWindowEvent" + "H\000B\007\n\005event\"(\n\023InternetStatusEvent\022\021\n\tco" + "nnected\030\001 \001(\010\"\036\n\034ToggleAutostartFinished" + "Event\"\024\n\022ResetFinishedEvent\"\030\n\026ReportBug" + "FinishedEvent\"\027\n\025ReportBugSuccessEvent\"\025" + "\n\023ReportBugErrorEvent\"\025\n\023ShowMainWindowE" + "vent\"\235\002\n\nLoginEvent\022&\n\005error\030\001 \001(\0132\025.grp" + "c.LoginErrorEventH\000\0224\n\014tfaRequested\030\002 \001(" + "\0132\034.grpc.LoginTfaRequestedEventH\000\022E\n\024two" + "PasswordRequested\030\003 \001(\0132%.grpc.LoginTwoP" + "asswordsRequestedEventH\000\022,\n\010finished\030\004 \001" + "(\0132\030.grpc.LoginFinishedEventH\000\0223\n\017alread" + "yLoggedIn\030\005 \001(\0132\030.grpc.LoginFinishedEven" + "tH\000B\007\n\005event\"F\n\017LoginErrorEvent\022\"\n\004type\030" + "\001 \001(\0162\024.grpc.LoginErrorType\022\017\n\007message\030\002" + " \001(\t\"*\n\026LoginTfaRequestedEvent\022\020\n\010userna" + "me\030\001 \001(\t\"!\n\037LoginTwoPasswordsRequestedEv" + "ent\"$\n\022LoginFinishedEvent\022\016\n\006userID\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\023manua" + "lRestartNeeded\030\003 \001(\0132$.grpc.UpdateManual" + "RestartNeededEventH\000\022\'\n\005force\030\004 \001(\0132\026.gr" + "pc.UpdateForceEventH\000\022>\n\023silentRestartNe" + "eded\030\005 \001(\0132\037.grpc.UpdateSilentRestartNee" + "dedH\000\0226\n\017isLatestVersion\030\006 \001(\0132\033.grpc.Up" + "dateIsLatestVersionH\000\0222\n\rcheckFinished\030\007" + " \001(\0132\031.grpc.UpdateCheckFinishedH\000\0224\n\016ver" + "sionChanged\030\010 \001(\0132\032.grpc.UpdateVersionCh" + "angedH\000B\007\n\005event\"7\n\020UpdateErrorEvent\022#\n\004" + "type\030\001 \001(\0162\025.grpc.UpdateErrorType\")\n\026Upd" + "ateManualReadyEvent\022\017\n\007version\030\001 \001(\t\" \n\036" + "UpdateManualRestartNeededEvent\"#\n\020Update" + "ForceEvent\022\017\n\007version\030\001 \001(\t\"\033\n\031UpdateSil" + "entRestartNeeded\"\027\n\025UpdateIsLatestVersio" + "n\"\025\n\023UpdateCheckFinished\"\026\n\024UpdateVersio" + "nChanged\"\303\001\n\016DiskCacheEvent\022*\n\005error\030\001 \001" + "(\0132\031.grpc.DiskCacheErrorEventH\000\0226\n\013pathC" + "hanged\030\002 \001(\0132\037.grpc.DiskCachePathChanged" + "EventH\000\022D\n\022pathChangeFinished\030\003 \001(\0132&.gr" + "pc.DiskCachePathChangeFinishedEventH\000B\007\n" + "\005event\"=\n\023DiskCacheErrorEvent\022&\n\004type\030\001 " + "\001(\0162\030.grpc.DiskCacheErrorType\")\n\031DiskCac" + "hePathChangedEvent\022\014\n\004path\030\001 \001(\t\"\"\n Disk" + "CachePathChangeFinishedEvent\"\220\002\n\021MailSet" + "tingsEvent\022-\n\005error\030\001 \001(\0132\034.grpc.MailSet" + "tingsErrorEventH\000\022A\n\025useSslForSmtpFinish" + "ed\030\002 \001(\0132 .grpc.UseSslForSmtpFinishedEve" + "ntH\000\022=\n\023changePortsFinished\030\003 \001(\0132\036.grpc" + ".ChangePortsFinishedEventH\000\022A\n\025useSslFor" + "ImapFinished\030\004 \001(\0132 .grpc.UseSslForImapF" + "inishedEventH\000B\007\n\005event\"C\n\026MailSettingsE" + "rrorEvent\022)\n\004type\030\001 \001(\0162\033.grpc.MailSetti" + "ngsErrorType\"\034\n\032UseSslForSmtpFinishedEve" + "nt\"\034\n\032UseSslForImapFinishedEvent\"\032\n\030Chan" + "gePortsFinishedEvent\"\307\001\n\rKeychainEvent\022C" + "\n\026changeKeychainFinished\030\001 \001(\0132!.grpc.Ch" + "angeKeychainFinishedEventH\000\0221\n\rhasNoKeyc" + "hain\030\002 \001(\0132\030.grpc.HasNoKeychainEventH\000\0225" + "\n\017rebuildKeychain\030\003 \001(\0132\032.grpc.RebuildKe" + "ychainEventH\000B\007\n\005event\"\035\n\033ChangeKeychain" + "FinishedEvent\"\024\n\022HasNoKeychainEvent\"\026\n\024R" + "ebuildKeychainEvent\"\207\002\n\tMailEvent\022J\n\034noA" + "ctiveKeyForRecipientEvent\030\001 \001(\0132\".grpc.N" + "oActiveKeyForRecipientEventH\000\0223\n\016address" + "Changed\030\002 \001(\0132\031.grpc.AddressChangedEvent" + "H\000\022\?\n\024addressChangedLogout\030\003 \001(\0132\037.grpc." + "AddressChangedLogoutEventH\000\022/\n\014apiCertIs" + "sue\030\006 \001(\0132\027.grpc.ApiCertIssueEventH\000B\007\n\005" + "event\"-\n\034NoActiveKeyForRecipientEvent\022\r\n" + "\005email\030\001 \001(\t\"&\n\023AddressChangedEvent\022\017\n\007a" + "ddress\030\001 \001(\t\",\n\031AddressChangedLogoutEven" + "t\022\017\n\007address\030\001 \001(\t\"\023\n\021ApiCertIssueEvent\"" + "\303\001\n\tUserEvent\022E\n\027toggleSplitModeFinished" + "\030\001 \001(\0132\".grpc.ToggleSplitModeFinishedEve" + "ntH\000\0227\n\020userDisconnected\030\002 \001(\0132\033.grpc.Us" + "erDisconnectedEventH\000\022-\n\013userChanged\030\003 \001" + "(\0132\026.grpc.UserChangedEventH\000B\007\n\005event\".\n" + "\034ToggleSplitModeFinishedEvent\022\016\n\006userID\030" + "\001 \001(\t\")\n\025UserDisconnectedEvent\022\020\n\010userna" + "me\030\001 \001(\t\"\"\n\020UserChangedEvent\022\016\n\006userID\030\001" + " \001(\t*q\n\010LogLevel\022\r\n\tLOG_PANIC\020\000\022\r\n\tLOG_F" + "ATAL\020\001\022\r\n\tLOG_ERROR\020\002\022\014\n\010LOG_WARN\020\003\022\014\n\010L" + "OG_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_PASSWORD_" + "ERROR\020\000\022\r\n\tFREE_USER\020\001\022\024\n\020CONNECTION_ERR" + "OR\020\002\022\r\n\tTFA_ERROR\020\003\022\r\n\tTFA_ABORT\020\004\022\027\n\023TW" + "O_PASSWORDS_ERROR\020\005\022\027\n\023TWO_PASSWORDS_ABO" + "RT\020\006*[\n\017UpdateErrorType\022\027\n\023UPDATE_MANUAL" + "_ERROR\020\000\022\026\n\022UPDATE_FORCE_ERROR\020\001\022\027\n\023UPDA" + "TE_SILENT_ERROR\020\002*k\n\022DiskCacheErrorType\022" + " \n\034DISK_CACHE_UNAVAILABLE_ERROR\020\000\022\036\n\032CAN" + "T_MOVE_DISK_CACHE_ERROR\020\001\022\023\n\017DISK_FULL_E" + "RROR\020\002*A\n\025MailSettingsErrorType\022\023\n\017IMAP_" + "PORT_ISSUE\020\000\022\023\n\017SMTP_PORT_ISSUE\020\0012\247 \n\006Br" + "idge\022I\n\013CheckTokens\022\034.google.protobuf.St" + "ringValue\032\034.google.protobuf.StringValue\022" + "\?\n\013AddLogEntry\022\030.grpc.AddLogEntryRequest" + "\032\026.google.protobuf.Empty\022:\n\010GuiReady\022\026.g" + "oogle.protobuf.Empty\032\026.google.protobuf.E" + "mpty\0226\n\004Quit\022\026.google.protobuf.Empty\032\026.g" + "oogle.protobuf.Empty\0229\n\007Restart\022\026.google" + ".protobuf.Empty\032\026.google.protobuf.Empty\022" + "C\n\rShowOnStartup\022\026.google.protobuf.Empty" + "\032\032.google.protobuf.BoolValue\022F\n\020ShowSpla" + "shScreen\022\026.google.protobuf.Empty\032\032.googl" + "e.protobuf.BoolValue\022E\n\017IsFirstGuiStart\022" + "\026.google.protobuf.Empty\032\032.google.protobu" + "f.BoolValue\022F\n\020SetIsAutostartOn\022\032.google" + ".protobuf.BoolValue\032\026.google.protobuf.Em" + "pty\022C\n\rIsAutostartOn\022\026.google.protobuf.E" + "mpty\032\032.google.protobuf.BoolValue\022F\n\020SetI" + "sBetaEnabled\022\032.google.protobuf.BoolValue" + "\032\026.google.protobuf.Empty\022C\n\rIsBetaEnable" + "d\022\026.google.protobuf.Empty\032\032.google.proto" + "buf.BoolValue\022I\n\023SetIsAllMailVisible\022\032.g" "oogle.protobuf.BoolValue\032\026.google.protob" - "uf.Empty\022I\n\023IsAutomaticUpdateOn\022\026.google" - ".protobuf.Empty\032\032.google.protobuf.BoolVa" - "lue\022E\n\rDiskCachePath\022\026.google.protobuf.E" - "mpty\032\034.google.protobuf.StringValue\022I\n\020Ch" - "angeLocalCache\022\035.grpc.ChangeLocalCacheRe" - "quest\032\026.google.protobuf.Empty\022E\n\017SetIsDo" - "HEnabled\022\032.google.protobuf.BoolValue\032\026.g" - "oogle.protobuf.Empty\022B\n\014IsDoHEnabled\022\026.g" - "oogle.protobuf.Empty\032\032.google.protobuf.B" - "oolValue\022F\n\020SetUseSslForSmtp\022\032.google.pr" - "otobuf.BoolValue\032\026.google.protobuf.Empty" - "\022C\n\rUseSslForSmtp\022\026.google.protobuf.Empt" + "uf.Empty\022F\n\020IsAllMailVisible\022\026.google.pr" + "otobuf.Empty\032\032.google.protobuf.BoolValue" + "\022<\n\004GoOs\022\026.google.protobuf.Empty\032\034.googl" + "e.protobuf.StringValue\022>\n\014TriggerReset\022\026" + ".google.protobuf.Empty\032\026.google.protobuf" + ".Empty\022\?\n\007Version\022\026.google.protobuf.Empt" + "y\032\034.google.protobuf.StringValue\022@\n\010LogsP" + "ath\022\026.google.protobuf.Empty\032\034.google.pro" + "tobuf.StringValue\022C\n\013LicensePath\022\026.googl" + "e.protobuf.Empty\032\034.google.protobuf.Strin" + "gValue\022L\n\024ReleaseNotesPageLink\022\026.google." + "protobuf.Empty\032\034.google.protobuf.StringV" + "alue\022N\n\026DependencyLicensesLink\022\026.google." + "protobuf.Empty\032\034.google.protobuf.StringV" + "alue\022G\n\017LandingPageLink\022\026.google.protobu" + "f.Empty\032\034.google.protobuf.StringValue\022J\n" + "\022SetColorSchemeName\022\034.google.protobuf.St" + "ringValue\032\026.google.protobuf.Empty\022G\n\017Col" + "orSchemeName\022\026.google.protobuf.Empty\032\034.g" + "oogle.protobuf.StringValue\022J\n\022CurrentEma" + "ilClient\022\026.google.protobuf.Empty\032\034.googl" + "e.protobuf.StringValue\022;\n\tReportBug\022\026.gr" + "pc.ReportBugRequest\032\026.google.protobuf.Em" + "pty\022E\n\rForceLauncher\022\034.google.protobuf.S" + "tringValue\032\026.google.protobuf.Empty\022I\n\021Se" + "tMainExecutable\022\034.google.protobuf.String" + "Value\032\026.google.protobuf.Empty\0223\n\005Login\022\022" + ".grpc.LoginRequest\032\026.google.protobuf.Emp" + "ty\0226\n\010Login2FA\022\022.grpc.LoginRequest\032\026.goo" + "gle.protobuf.Empty\022=\n\017Login2Passwords\022\022." + "grpc.LoginRequest\032\026.google.protobuf.Empt" + "y\022=\n\nLoginAbort\022\027.grpc.LoginAbortRequest" + "\032\026.google.protobuf.Empty\022=\n\013CheckUpdate\022" + "\026.google.protobuf.Empty\032\026.google.protobu" + "f.Empty\022\?\n\rInstallUpdate\022\026.google.protob" + "uf.Empty\032\026.google.protobuf.Empty\022L\n\026SetI" + "sAutomaticUpdateOn\022\032.google.protobuf.Boo" + "lValue\032\026.google.protobuf.Empty\022I\n\023IsAuto" + "maticUpdateOn\022\026.google.protobuf.Empty\032\032." + "google.protobuf.BoolValue\022E\n\rDiskCachePa" + "th\022\026.google.protobuf.Empty\032\034.google.prot" + "obuf.StringValue\022H\n\020SetDiskCachePath\022\034.g" + "oogle.protobuf.StringValue\032\026.google.prot" + "obuf.Empty\022E\n\017SetIsDoHEnabled\022\032.google.p" + "rotobuf.BoolValue\032\026.google.protobuf.Empt" + "y\022B\n\014IsDoHEnabled\022\026.google.protobuf.Empt" "y\032\032.google.protobuf.BoolValue\022F\n\020SetUseS" - "slForImap\022\032.google.protobuf.BoolValue\032\026." - "google.protobuf.Empty\022C\n\rUseSslForImap\022\026" + "slForSmtp\022\032.google.protobuf.BoolValue\032\026." + "google.protobuf.Empty\022C\n\rUseSslForSmtp\022\026" ".google.protobuf.Empty\032\032.google.protobuf" - ".BoolValue\022@\n\010Hostname\022\026.google.protobuf" - ".Empty\032\034.google.protobuf.StringValue\022\?\n\010" - "ImapPort\022\026.google.protobuf.Empty\032\033.googl" - "e.protobuf.Int32Value\022\?\n\010SmtpPort\022\026.goog" - "le.protobuf.Empty\032\033.google.protobuf.Int3" - "2Value\022\?\n\013ChangePorts\022\030.grpc.ChangePorts" - "Request\032\026.google.protobuf.Empty\022E\n\nIsPor" - "tFree\022\033.google.protobuf.Int32Value\032\032.goo" - "gle.protobuf.BoolValue\022N\n\022AvailableKeych" - "ains\022\026.google.protobuf.Empty\032 .grpc.Avai" - "lableKeychainsResponse\022J\n\022SetCurrentKeyc" - "hain\022\034.google.protobuf.StringValue\032\026.goo" - "gle.protobuf.Empty\022G\n\017CurrentKeychain\022\026." - "google.protobuf.Empty\032\034.google.protobuf." - "StringValue\022=\n\013GetUserList\022\026.google.prot" - "obuf.Empty\032\026.grpc.UserListResponse\0223\n\007Ge" - "tUser\022\034.google.protobuf.StringValue\032\n.gr" - "pc.User\022F\n\020SetUserSplitMode\022\032.grpc.UserS" - "plitModeRequest\032\026.google.protobuf.Empty\022" - "B\n\nLogoutUser\022\034.google.protobuf.StringVa" - "lue\032\026.google.protobuf.Empty\022B\n\nRemoveUse" - "r\022\034.google.protobuf.StringValue\032\026.google" - ".protobuf.Empty\022Q\n\026ConfigureUserAppleMai" - "l\022\037.grpc.ConfigureAppleMailRequest\032\026.goo" - "gle.protobuf.Empty\022\?\n\016RunEventStream\022\030.g" - "rpc.EventStreamRequest\032\021.grpc.StreamEven" - "t0\001\022A\n\017StopEventStream\022\026.google.protobuf" - ".Empty\032\026.google.protobuf.EmptyB6Z4github" - ".com/ProtonMail/proton-bridge/v2/interna" - "l/grpcb\006proto3" + ".BoolValue\022F\n\020SetUseSslForImap\022\032.google." + "protobuf.BoolValue\032\026.google.protobuf.Emp" + "ty\022C\n\rUseSslForImap\022\026.google.protobuf.Em" + "pty\032\032.google.protobuf.BoolValue\022@\n\010Hostn" + "ame\022\026.google.protobuf.Empty\032\034.google.pro" + "tobuf.StringValue\022\?\n\010ImapPort\022\026.google.p" + "rotobuf.Empty\032\033.google.protobuf.Int32Val" + "ue\022\?\n\010SmtpPort\022\026.google.protobuf.Empty\032\033" + ".google.protobuf.Int32Value\022\?\n\013ChangePor" + "ts\022\030.grpc.ChangePortsRequest\032\026.google.pr" + "otobuf.Empty\022E\n\nIsPortFree\022\033.google.prot" + "obuf.Int32Value\032\032.google.protobuf.BoolVa" + "lue\022N\n\022AvailableKeychains\022\026.google.proto" + "buf.Empty\032 .grpc.AvailableKeychainsRespo" + "nse\022J\n\022SetCurrentKeychain\022\034.google.proto" + "buf.StringValue\032\026.google.protobuf.Empty\022" + "G\n\017CurrentKeychain\022\026.google.protobuf.Emp" + "ty\032\034.google.protobuf.StringValue\022=\n\013GetU" + "serList\022\026.google.protobuf.Empty\032\026.grpc.U" + "serListResponse\0223\n\007GetUser\022\034.google.prot" + "obuf.StringValue\032\n.grpc.User\022F\n\020SetUserS" + "plitMode\022\032.grpc.UserSplitModeRequest\032\026.g" + "oogle.protobuf.Empty\022B\n\nLogoutUser\022\034.goo" + "gle.protobuf.StringValue\032\026.google.protob" + "uf.Empty\022B\n\nRemoveUser\022\034.google.protobuf" + ".StringValue\032\026.google.protobuf.Empty\022Q\n\026" + "ConfigureUserAppleMail\022\037.grpc.ConfigureA" + "ppleMailRequest\032\026.google.protobuf.Empty\022" + "\?\n\016RunEventStream\022\030.grpc.EventStreamRequ" + "est\032\021.grpc.StreamEvent0\001\022A\n\017StopEventStr" + "eam\022\026.google.protobuf.Empty\032\026.google.pro" + "tobuf.EmptyB6Z4github.com/ProtonMail/pro" + "ton-bridge/v2/internal/grpcb\006proto3" ; static const ::_pbi::DescriptorTable* const descriptor_table_bridge_2eproto_deps[2] = { &::descriptor_table_google_2fprotobuf_2fempty_2eproto, @@ -1599,9 +1550,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, 9734, descriptor_table_protodef_bridge_2eproto, + false, false, 9595, 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, 56, 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, @@ -1666,11 +1617,11 @@ bool UpdateErrorType_IsValid(int value) { } } -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CacheErrorType_descriptor() { +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* DiskCacheErrorType_descriptor() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_bridge_2eproto); return file_level_enum_descriptors_bridge_2eproto[3]; } -bool CacheErrorType_IsValid(int value) { +bool DiskCacheErrorType_IsValid(int value) { switch (value) { case 0: case 1: @@ -2862,209 +2813,6 @@ void LoginAbortRequest::InternalSwap(LoginAbortRequest* other) { // =================================================================== -class ChangeLocalCacheRequest::_Internal { - public: -}; - -ChangeLocalCacheRequest::ChangeLocalCacheRequest(::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.ChangeLocalCacheRequest) -} -ChangeLocalCacheRequest::ChangeLocalCacheRequest(const ChangeLocalCacheRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ChangeLocalCacheRequest* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.diskcachepath_){} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.diskcachepath_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.diskcachepath_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_diskcachepath().empty()) { - _this->_impl_.diskcachepath_.Set(from._internal_diskcachepath(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:grpc.ChangeLocalCacheRequest) -} - -inline void ChangeLocalCacheRequest::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.diskcachepath_){} - , /*decltype(_impl_._cached_size_)*/{} - }; - _impl_.diskcachepath_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.diskcachepath_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -ChangeLocalCacheRequest::~ChangeLocalCacheRequest() { - // @@protoc_insertion_point(destructor:grpc.ChangeLocalCacheRequest) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ChangeLocalCacheRequest::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.diskcachepath_.Destroy(); -} - -void ChangeLocalCacheRequest::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ChangeLocalCacheRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:grpc.ChangeLocalCacheRequest) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.diskcachepath_.ClearToEmpty(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ChangeLocalCacheRequest::_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) { - // string diskCachePath = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_diskcachepath(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "grpc.ChangeLocalCacheRequest.diskCachePath")); - } 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* ChangeLocalCacheRequest::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:grpc.ChangeLocalCacheRequest) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // string diskCachePath = 2; - if (!this->_internal_diskcachepath().empty()) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( - this->_internal_diskcachepath().data(), static_cast(this->_internal_diskcachepath().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "grpc.ChangeLocalCacheRequest.diskCachePath"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_diskcachepath(), 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.ChangeLocalCacheRequest) - return target; -} - -size_t ChangeLocalCacheRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:grpc.ChangeLocalCacheRequest) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string diskCachePath = 2; - if (!this->_internal_diskcachepath().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_diskcachepath()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ChangeLocalCacheRequest::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ChangeLocalCacheRequest::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ChangeLocalCacheRequest::GetClassData() const { return &_class_data_; } - - -void ChangeLocalCacheRequest::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.ChangeLocalCacheRequest) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_diskcachepath().empty()) { - _this->_internal_set_diskcachepath(from._internal_diskcachepath()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ChangeLocalCacheRequest::CopyFrom(const ChangeLocalCacheRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:grpc.ChangeLocalCacheRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ChangeLocalCacheRequest::IsInitialized() const { - return true; -} - -void ChangeLocalCacheRequest::InternalSwap(ChangeLocalCacheRequest* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.diskcachepath_, lhs_arena, - &other->_impl_.diskcachepath_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ChangeLocalCacheRequest::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[4]); -} - -// =================================================================== - class ChangePortsRequest::_Internal { public: }; @@ -3271,7 +3019,7 @@ void ChangePortsRequest::InternalSwap(ChangePortsRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ChangePortsRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[5]); + file_level_metadata_bridge_2eproto[4]); } // =================================================================== @@ -3461,7 +3209,7 @@ void AvailableKeychainsResponse::InternalSwap(AvailableKeychainsResponse* other) ::PROTOBUF_NAMESPACE_ID::Metadata AvailableKeychainsResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[6]); + file_level_metadata_bridge_2eproto[5]); } // =================================================================== @@ -3980,7 +3728,7 @@ void User::InternalSwap(User* other) { ::PROTOBUF_NAMESPACE_ID::Metadata User::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[7]); + file_level_metadata_bridge_2eproto[6]); } // =================================================================== @@ -4210,7 +3958,7 @@ void UserSplitModeRequest::InternalSwap(UserSplitModeRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UserSplitModeRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[8]); + file_level_metadata_bridge_2eproto[7]); } // =================================================================== @@ -4395,7 +4143,7 @@ void UserListResponse::InternalSwap(UserListResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UserListResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[9]); + file_level_metadata_bridge_2eproto[8]); } // =================================================================== @@ -4648,7 +4396,7 @@ void ConfigureAppleMailRequest::InternalSwap(ConfigureAppleMailRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ConfigureAppleMailRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[10]); + file_level_metadata_bridge_2eproto[9]); } // =================================================================== @@ -4851,7 +4599,7 @@ void EventStreamRequest::InternalSwap(EventStreamRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata EventStreamRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[11]); + file_level_metadata_bridge_2eproto[10]); } // =================================================================== @@ -4861,7 +4609,7 @@ class StreamEvent::_Internal { static const ::grpc::AppEvent& app(const StreamEvent* msg); static const ::grpc::LoginEvent& login(const StreamEvent* msg); static const ::grpc::UpdateEvent& update(const StreamEvent* msg); - static const ::grpc::CacheEvent& cache(const StreamEvent* msg); + static const ::grpc::DiskCacheEvent& cache(const StreamEvent* msg); static const ::grpc::MailSettingsEvent& mailsettings(const StreamEvent* msg); static const ::grpc::KeychainEvent& keychain(const StreamEvent* msg); static const ::grpc::MailEvent& mail(const StreamEvent* msg); @@ -4880,7 +4628,7 @@ const ::grpc::UpdateEvent& StreamEvent::_Internal::update(const StreamEvent* msg) { return *msg->_impl_.event_.update_; } -const ::grpc::CacheEvent& +const ::grpc::DiskCacheEvent& StreamEvent::_Internal::cache(const StreamEvent* msg) { return *msg->_impl_.event_.cache_; } @@ -4945,7 +4693,7 @@ void StreamEvent::set_allocated_update(::grpc::UpdateEvent* update) { } // @@protoc_insertion_point(field_set_allocated:grpc.StreamEvent.update) } -void StreamEvent::set_allocated_cache(::grpc::CacheEvent* cache) { +void StreamEvent::set_allocated_cache(::grpc::DiskCacheEvent* cache) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); clear_event(); if (cache) { @@ -5053,7 +4801,7 @@ StreamEvent::StreamEvent(const StreamEvent& from) break; } case kCache: { - _this->_internal_mutable_cache()->::grpc::CacheEvent::MergeFrom( + _this->_internal_mutable_cache()->::grpc::DiskCacheEvent::MergeFrom( from._internal_cache()); break; } @@ -5215,7 +4963,7 @@ const char* StreamEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* c } else goto handle_unusual; continue; - // .grpc.CacheEvent cache = 4; + // .grpc.DiskCacheEvent cache = 4; case 4: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { ptr = ctx->ParseMessage(_internal_mutable_cache(), ptr); @@ -5305,7 +5053,7 @@ uint8_t* StreamEvent::_InternalSerialize( _Internal::update(this).GetCachedSize(), target, stream); } - // .grpc.CacheEvent cache = 4; + // .grpc.DiskCacheEvent cache = 4; if (_internal_has_cache()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage(4, _Internal::cache(this), @@ -5378,7 +5126,7 @@ size_t StreamEvent::ByteSizeLong() const { *_impl_.event_.update_); break; } - // .grpc.CacheEvent cache = 4; + // .grpc.DiskCacheEvent cache = 4; case kCache: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( @@ -5452,7 +5200,7 @@ void StreamEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PR break; } case kCache: { - _this->_internal_mutable_cache()->::grpc::CacheEvent::MergeFrom( + _this->_internal_mutable_cache()->::grpc::DiskCacheEvent::MergeFrom( from._internal_cache()); break; } @@ -5504,7 +5252,7 @@ void StreamEvent::InternalSwap(StreamEvent* other) { ::PROTOBUF_NAMESPACE_ID::Metadata StreamEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[12]); + file_level_metadata_bridge_2eproto[11]); } // =================================================================== @@ -6099,7 +5847,7 @@ void AppEvent::InternalSwap(AppEvent* other) { ::PROTOBUF_NAMESPACE_ID::Metadata AppEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[13]); + file_level_metadata_bridge_2eproto[12]); } // =================================================================== @@ -6277,7 +6025,7 @@ void InternetStatusEvent::InternalSwap(InternetStatusEvent* other) { ::PROTOBUF_NAMESPACE_ID::Metadata InternetStatusEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[14]); + file_level_metadata_bridge_2eproto[13]); } // =================================================================== @@ -6317,7 +6065,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ToggleAutostartFinishedEvent:: ::PROTOBUF_NAMESPACE_ID::Metadata ToggleAutostartFinishedEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[15]); + file_level_metadata_bridge_2eproto[14]); } // =================================================================== @@ -6357,7 +6105,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ResetFinishedEvent::GetClassDa ::PROTOBUF_NAMESPACE_ID::Metadata ResetFinishedEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[16]); + file_level_metadata_bridge_2eproto[15]); } // =================================================================== @@ -6397,7 +6145,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ReportBugFinishedEvent::GetCla ::PROTOBUF_NAMESPACE_ID::Metadata ReportBugFinishedEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[17]); + file_level_metadata_bridge_2eproto[16]); } // =================================================================== @@ -6437,7 +6185,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ReportBugSuccessEvent::GetClas ::PROTOBUF_NAMESPACE_ID::Metadata ReportBugSuccessEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[18]); + file_level_metadata_bridge_2eproto[17]); } // =================================================================== @@ -6477,7 +6225,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ReportBugErrorEvent::GetClassD ::PROTOBUF_NAMESPACE_ID::Metadata ReportBugErrorEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[19]); + file_level_metadata_bridge_2eproto[18]); } // =================================================================== @@ -6517,7 +6265,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ShowMainWindowEvent::GetClassD ::PROTOBUF_NAMESPACE_ID::Metadata ShowMainWindowEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[20]); + file_level_metadata_bridge_2eproto[19]); } // =================================================================== @@ -6996,7 +6744,7 @@ void LoginEvent::InternalSwap(LoginEvent* other) { ::PROTOBUF_NAMESPACE_ID::Metadata LoginEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[21]); + file_level_metadata_bridge_2eproto[20]); } // =================================================================== @@ -7229,7 +6977,7 @@ void LoginErrorEvent::InternalSwap(LoginErrorEvent* other) { ::PROTOBUF_NAMESPACE_ID::Metadata LoginErrorEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[22]); + file_level_metadata_bridge_2eproto[21]); } // =================================================================== @@ -7432,7 +7180,7 @@ void LoginTfaRequestedEvent::InternalSwap(LoginTfaRequestedEvent* other) { ::PROTOBUF_NAMESPACE_ID::Metadata LoginTfaRequestedEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[23]); + file_level_metadata_bridge_2eproto[22]); } // =================================================================== @@ -7472,7 +7220,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*LoginTwoPasswordsRequestedEven ::PROTOBUF_NAMESPACE_ID::Metadata LoginTwoPasswordsRequestedEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[24]); + file_level_metadata_bridge_2eproto[23]); } // =================================================================== @@ -7675,7 +7423,7 @@ void LoginFinishedEvent::InternalSwap(LoginFinishedEvent* other) { ::PROTOBUF_NAMESPACE_ID::Metadata LoginFinishedEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[25]); + file_level_metadata_bridge_2eproto[24]); } // =================================================================== @@ -8328,7 +8076,7 @@ void UpdateEvent::InternalSwap(UpdateEvent* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UpdateEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[26]); + file_level_metadata_bridge_2eproto[25]); } // =================================================================== @@ -8509,7 +8257,7 @@ void UpdateErrorEvent::InternalSwap(UpdateErrorEvent* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UpdateErrorEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[27]); + file_level_metadata_bridge_2eproto[26]); } // =================================================================== @@ -8712,7 +8460,7 @@ void UpdateManualReadyEvent::InternalSwap(UpdateManualReadyEvent* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UpdateManualReadyEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[28]); + file_level_metadata_bridge_2eproto[27]); } // =================================================================== @@ -8752,7 +8500,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateManualRestartNeededEvent ::PROTOBUF_NAMESPACE_ID::Metadata UpdateManualRestartNeededEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[29]); + file_level_metadata_bridge_2eproto[28]); } // =================================================================== @@ -8955,7 +8703,7 @@ void UpdateForceEvent::InternalSwap(UpdateForceEvent* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UpdateForceEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[30]); + file_level_metadata_bridge_2eproto[29]); } // =================================================================== @@ -8995,7 +8743,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateSilentRestartNeeded::Get ::PROTOBUF_NAMESPACE_ID::Metadata UpdateSilentRestartNeeded::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[31]); + file_level_metadata_bridge_2eproto[30]); } // =================================================================== @@ -9035,7 +8783,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateIsLatestVersion::GetClas ::PROTOBUF_NAMESPACE_ID::Metadata UpdateIsLatestVersion::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[32]); + file_level_metadata_bridge_2eproto[31]); } // =================================================================== @@ -9075,7 +8823,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateCheckFinished::GetClassD ::PROTOBUF_NAMESPACE_ID::Metadata UpdateCheckFinished::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[33]); + file_level_metadata_bridge_2eproto[32]); } // =================================================================== @@ -9115,36 +8863,31 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateVersionChanged::GetClass ::PROTOBUF_NAMESPACE_ID::Metadata UpdateVersionChanged::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[34]); + file_level_metadata_bridge_2eproto[33]); } // =================================================================== -class CacheEvent::_Internal { +class DiskCacheEvent::_Internal { public: - 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::DiskCachePathChanged& diskcachepathchanged(const CacheEvent* msg); + static const ::grpc::DiskCacheErrorEvent& error(const DiskCacheEvent* msg); + static const ::grpc::DiskCachePathChangedEvent& pathchanged(const DiskCacheEvent* msg); + static const ::grpc::DiskCachePathChangeFinishedEvent& pathchangefinished(const DiskCacheEvent* msg); }; -const ::grpc::CacheErrorEvent& -CacheEvent::_Internal::error(const CacheEvent* msg) { +const ::grpc::DiskCacheErrorEvent& +DiskCacheEvent::_Internal::error(const DiskCacheEvent* msg) { return *msg->_impl_.event_.error_; } -const ::grpc::CacheLocationChangeSuccessEvent& -CacheEvent::_Internal::locationchangedsuccess(const CacheEvent* msg) { - return *msg->_impl_.event_.locationchangedsuccess_; +const ::grpc::DiskCachePathChangedEvent& +DiskCacheEvent::_Internal::pathchanged(const DiskCacheEvent* msg) { + return *msg->_impl_.event_.pathchanged_; } -const ::grpc::ChangeLocalCacheFinishedEvent& -CacheEvent::_Internal::changelocalcachefinished(const CacheEvent* msg) { - return *msg->_impl_.event_.changelocalcachefinished_; +const ::grpc::DiskCachePathChangeFinishedEvent& +DiskCacheEvent::_Internal::pathchangefinished(const DiskCacheEvent* msg) { + return *msg->_impl_.event_.pathchangefinished_; } -const ::grpc::DiskCachePathChanged& -CacheEvent::_Internal::diskcachepathchanged(const CacheEvent* msg) { - return *msg->_impl_.event_.diskcachepathchanged_; -} -void CacheEvent::set_allocated_error(::grpc::CacheErrorEvent* error) { +void DiskCacheEvent::set_allocated_error(::grpc::DiskCacheErrorEvent* error) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); clear_event(); if (error) { @@ -9157,62 +8900,47 @@ void CacheEvent::set_allocated_error(::grpc::CacheErrorEvent* error) { set_has_error(); _impl_.event_.error_ = error; } - // @@protoc_insertion_point(field_set_allocated:grpc.CacheEvent.error) + // @@protoc_insertion_point(field_set_allocated:grpc.DiskCacheEvent.error) } -void CacheEvent::set_allocated_locationchangedsuccess(::grpc::CacheLocationChangeSuccessEvent* locationchangedsuccess) { +void DiskCacheEvent::set_allocated_pathchanged(::grpc::DiskCachePathChangedEvent* pathchanged) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); clear_event(); - if (locationchangedsuccess) { + if (pathchanged) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(locationchangedsuccess); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(pathchanged); if (message_arena != submessage_arena) { - locationchangedsuccess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, locationchangedsuccess, submessage_arena); + pathchanged = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, pathchanged, submessage_arena); } - set_has_locationchangedsuccess(); - _impl_.event_.locationchangedsuccess_ = locationchangedsuccess; + set_has_pathchanged(); + _impl_.event_.pathchanged_ = pathchanged; } - // @@protoc_insertion_point(field_set_allocated:grpc.CacheEvent.locationChangedSuccess) + // @@protoc_insertion_point(field_set_allocated:grpc.DiskCacheEvent.pathChanged) } -void CacheEvent::set_allocated_changelocalcachefinished(::grpc::ChangeLocalCacheFinishedEvent* changelocalcachefinished) { +void DiskCacheEvent::set_allocated_pathchangefinished(::grpc::DiskCachePathChangeFinishedEvent* pathchangefinished) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); clear_event(); - if (changelocalcachefinished) { + if (pathchangefinished) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(changelocalcachefinished); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(pathchangefinished); if (message_arena != submessage_arena) { - changelocalcachefinished = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, changelocalcachefinished, submessage_arena); + pathchangefinished = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, pathchangefinished, submessage_arena); } - set_has_changelocalcachefinished(); - _impl_.event_.changelocalcachefinished_ = changelocalcachefinished; + set_has_pathchangefinished(); + _impl_.event_.pathchangefinished_ = pathchangefinished; } - // @@protoc_insertion_point(field_set_allocated:grpc.CacheEvent.changeLocalCacheFinished) + // @@protoc_insertion_point(field_set_allocated:grpc.DiskCacheEvent.pathChangeFinished) } -void CacheEvent::set_allocated_diskcachepathchanged(::grpc::DiskCachePathChanged* diskcachepathchanged) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_event(); - if (diskcachepathchanged) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(diskcachepathchanged); - if (message_arena != submessage_arena) { - diskcachepathchanged = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, diskcachepathchanged, submessage_arena); - } - set_has_diskcachepathchanged(); - _impl_.event_.diskcachepathchanged_ = diskcachepathchanged; - } - // @@protoc_insertion_point(field_set_allocated:grpc.CacheEvent.diskCachePathChanged) -} -CacheEvent::CacheEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, +DiskCacheEvent::DiskCacheEvent(::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.CacheEvent) + // @@protoc_insertion_point(arena_constructor:grpc.DiskCacheEvent) } -CacheEvent::CacheEvent(const CacheEvent& from) +DiskCacheEvent::DiskCacheEvent(const DiskCacheEvent& from) : ::PROTOBUF_NAMESPACE_ID::Message() { - CacheEvent* const _this = this; (void)_this; + DiskCacheEvent* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_.event_){} , /*decltype(_impl_._cached_size_)*/{} @@ -9222,33 +8950,28 @@ CacheEvent::CacheEvent(const CacheEvent& from) clear_has_event(); switch (from.event_case()) { case kError: { - _this->_internal_mutable_error()->::grpc::CacheErrorEvent::MergeFrom( + _this->_internal_mutable_error()->::grpc::DiskCacheErrorEvent::MergeFrom( from._internal_error()); break; } - case kLocationChangedSuccess: { - _this->_internal_mutable_locationchangedsuccess()->::grpc::CacheLocationChangeSuccessEvent::MergeFrom( - from._internal_locationchangedsuccess()); + case kPathChanged: { + _this->_internal_mutable_pathchanged()->::grpc::DiskCachePathChangedEvent::MergeFrom( + from._internal_pathchanged()); break; } - case kChangeLocalCacheFinished: { - _this->_internal_mutable_changelocalcachefinished()->::grpc::ChangeLocalCacheFinishedEvent::MergeFrom( - from._internal_changelocalcachefinished()); - break; - } - case kDiskCachePathChanged: { - _this->_internal_mutable_diskcachepathchanged()->::grpc::DiskCachePathChanged::MergeFrom( - from._internal_diskcachepathchanged()); + case kPathChangeFinished: { + _this->_internal_mutable_pathchangefinished()->::grpc::DiskCachePathChangeFinishedEvent::MergeFrom( + from._internal_pathchangefinished()); break; } case EVENT_NOT_SET: { break; } } - // @@protoc_insertion_point(copy_constructor:grpc.CacheEvent) + // @@protoc_insertion_point(copy_constructor:grpc.DiskCacheEvent) } -inline void CacheEvent::SharedCtor( +inline void DiskCacheEvent::SharedCtor( ::_pb::Arena* arena, bool is_message_owned) { (void)arena; (void)is_message_owned; @@ -9260,8 +8983,8 @@ inline void CacheEvent::SharedCtor( clear_has_event(); } -CacheEvent::~CacheEvent() { - // @@protoc_insertion_point(destructor:grpc.CacheEvent) +DiskCacheEvent::~DiskCacheEvent() { + // @@protoc_insertion_point(destructor:grpc.DiskCacheEvent) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -9269,19 +8992,19 @@ CacheEvent::~CacheEvent() { SharedDtor(); } -inline void CacheEvent::SharedDtor() { +inline void DiskCacheEvent::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (has_event()) { clear_event(); } } -void CacheEvent::SetCachedSize(int size) const { +void DiskCacheEvent::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void CacheEvent::clear_event() { -// @@protoc_insertion_point(one_of_clear_start:grpc.CacheEvent) +void DiskCacheEvent::clear_event() { +// @@protoc_insertion_point(one_of_clear_start:grpc.DiskCacheEvent) switch (event_case()) { case kError: { if (GetArenaForAllocation() == nullptr) { @@ -9289,21 +9012,15 @@ void CacheEvent::clear_event() { } break; } - case kLocationChangedSuccess: { + case kPathChanged: { if (GetArenaForAllocation() == nullptr) { - delete _impl_.event_.locationchangedsuccess_; + delete _impl_.event_.pathchanged_; } break; } - case kChangeLocalCacheFinished: { + case kPathChangeFinished: { if (GetArenaForAllocation() == nullptr) { - delete _impl_.event_.changelocalcachefinished_; - } - break; - } - case kDiskCachePathChanged: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.event_.diskcachepathchanged_; + delete _impl_.event_.pathchangefinished_; } break; } @@ -9315,8 +9032,8 @@ void CacheEvent::clear_event() { } -void CacheEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:grpc.CacheEvent) +void DiskCacheEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:grpc.DiskCacheEvent) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -9325,13 +9042,13 @@ void CacheEvent::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* CacheEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* DiskCacheEvent::_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) { - // .grpc.CacheErrorEvent error = 1; + // .grpc.DiskCacheErrorEvent error = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { ptr = ctx->ParseMessage(_internal_mutable_error(), ptr); @@ -9339,26 +9056,18 @@ const char* CacheEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ct } else goto handle_unusual; continue; - // .grpc.CacheLocationChangeSuccessEvent locationChangedSuccess = 2; + // .grpc.DiskCachePathChangedEvent pathChanged = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_locationchangedsuccess(), ptr); + ptr = ctx->ParseMessage(_internal_mutable_pathchanged(), ptr); CHK_(ptr); } else goto handle_unusual; continue; - // .grpc.ChangeLocalCacheFinishedEvent changeLocalCacheFinished = 3; + // .grpc.DiskCachePathChangeFinishedEvent pathChangeFinished = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_changelocalcachefinished(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .grpc.DiskCachePathChanged diskCachePathChanged = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_diskcachepathchanged(), ptr); + ptr = ctx->ParseMessage(_internal_mutable_pathchangefinished(), ptr); CHK_(ptr); } else goto handle_unusual; @@ -9386,50 +9095,43 @@ failure: #undef CHK_ } -uint8_t* CacheEvent::_InternalSerialize( +uint8_t* DiskCacheEvent::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:grpc.CacheEvent) + // @@protoc_insertion_point(serialize_to_array_start:grpc.DiskCacheEvent) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .grpc.CacheErrorEvent error = 1; + // .grpc.DiskCacheErrorEvent error = 1; if (_internal_has_error()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage(1, _Internal::error(this), _Internal::error(this).GetCachedSize(), target, stream); } - // .grpc.CacheLocationChangeSuccessEvent locationChangedSuccess = 2; - if (_internal_has_locationchangedsuccess()) { + // .grpc.DiskCachePathChangedEvent pathChanged = 2; + if (_internal_has_pathchanged()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::locationchangedsuccess(this), - _Internal::locationchangedsuccess(this).GetCachedSize(), target, stream); + InternalWriteMessage(2, _Internal::pathchanged(this), + _Internal::pathchanged(this).GetCachedSize(), target, stream); } - // .grpc.ChangeLocalCacheFinishedEvent changeLocalCacheFinished = 3; - if (_internal_has_changelocalcachefinished()) { + // .grpc.DiskCachePathChangeFinishedEvent pathChangeFinished = 3; + if (_internal_has_pathchangefinished()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::changelocalcachefinished(this), - _Internal::changelocalcachefinished(this).GetCachedSize(), target, stream); - } - - // .grpc.DiskCachePathChanged diskCachePathChanged = 5; - if (_internal_has_diskcachepathchanged()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::diskcachepathchanged(this), - _Internal::diskcachepathchanged(this).GetCachedSize(), target, stream); + InternalWriteMessage(3, _Internal::pathchangefinished(this), + _Internal::pathchangefinished(this).GetCachedSize(), target, stream); } 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.CacheEvent) + // @@protoc_insertion_point(serialize_to_array_end:grpc.DiskCacheEvent) return target; } -size_t CacheEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:grpc.CacheEvent) +size_t DiskCacheEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:grpc.DiskCacheEvent) size_t total_size = 0; uint32_t cached_has_bits = 0; @@ -9437,32 +9139,25 @@ size_t CacheEvent::ByteSizeLong() const { (void) cached_has_bits; switch (event_case()) { - // .grpc.CacheErrorEvent error = 1; + // .grpc.DiskCacheErrorEvent error = 1; case kError: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( *_impl_.event_.error_); break; } - // .grpc.CacheLocationChangeSuccessEvent locationChangedSuccess = 2; - case kLocationChangedSuccess: { + // .grpc.DiskCachePathChangedEvent pathChanged = 2; + case kPathChanged: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.event_.locationchangedsuccess_); + *_impl_.event_.pathchanged_); break; } - // .grpc.ChangeLocalCacheFinishedEvent changeLocalCacheFinished = 3; - case kChangeLocalCacheFinished: { + // .grpc.DiskCachePathChangeFinishedEvent pathChangeFinished = 3; + case kPathChangeFinished: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.event_.changelocalcachefinished_); - break; - } - // .grpc.DiskCachePathChanged diskCachePathChanged = 5; - case kDiskCachePathChanged: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.event_.diskcachepathchanged_); + *_impl_.event_.pathchangefinished_); break; } case EVENT_NOT_SET: { @@ -9472,40 +9167,35 @@ size_t CacheEvent::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CacheEvent::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DiskCacheEvent::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CacheEvent::MergeImpl + DiskCacheEvent::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CacheEvent::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DiskCacheEvent::GetClassData() const { return &_class_data_; } -void CacheEvent::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.CacheEvent) +void DiskCacheEvent::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.DiskCacheEvent) GOOGLE_DCHECK_NE(&from, _this); uint32_t cached_has_bits = 0; (void) cached_has_bits; switch (from.event_case()) { case kError: { - _this->_internal_mutable_error()->::grpc::CacheErrorEvent::MergeFrom( + _this->_internal_mutable_error()->::grpc::DiskCacheErrorEvent::MergeFrom( from._internal_error()); break; } - case kLocationChangedSuccess: { - _this->_internal_mutable_locationchangedsuccess()->::grpc::CacheLocationChangeSuccessEvent::MergeFrom( - from._internal_locationchangedsuccess()); + case kPathChanged: { + _this->_internal_mutable_pathchanged()->::grpc::DiskCachePathChangedEvent::MergeFrom( + from._internal_pathchanged()); break; } - case kChangeLocalCacheFinished: { - _this->_internal_mutable_changelocalcachefinished()->::grpc::ChangeLocalCacheFinishedEvent::MergeFrom( - from._internal_changelocalcachefinished()); - break; - } - case kDiskCachePathChanged: { - _this->_internal_mutable_diskcachepathchanged()->::grpc::DiskCachePathChanged::MergeFrom( - from._internal_diskcachepathchanged()); + case kPathChangeFinished: { + _this->_internal_mutable_pathchangefinished()->::grpc::DiskCachePathChangeFinishedEvent::MergeFrom( + from._internal_pathchangefinished()); break; } case EVENT_NOT_SET: { @@ -9515,55 +9205,55 @@ void CacheEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PRO _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void CacheEvent::CopyFrom(const CacheEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:grpc.CacheEvent) +void DiskCacheEvent::CopyFrom(const DiskCacheEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:grpc.DiskCacheEvent) if (&from == this) return; Clear(); MergeFrom(from); } -bool CacheEvent::IsInitialized() const { +bool DiskCacheEvent::IsInitialized() const { return true; } -void CacheEvent::InternalSwap(CacheEvent* other) { +void DiskCacheEvent::InternalSwap(DiskCacheEvent* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_.event_, other->_impl_.event_); swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); } -::PROTOBUF_NAMESPACE_ID::Metadata CacheEvent::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata DiskCacheEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[35]); + file_level_metadata_bridge_2eproto[34]); } // =================================================================== -class CacheErrorEvent::_Internal { +class DiskCacheErrorEvent::_Internal { public: }; -CacheErrorEvent::CacheErrorEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, +DiskCacheErrorEvent::DiskCacheErrorEvent(::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.CacheErrorEvent) + // @@protoc_insertion_point(arena_constructor:grpc.DiskCacheErrorEvent) } -CacheErrorEvent::CacheErrorEvent(const CacheErrorEvent& from) +DiskCacheErrorEvent::DiskCacheErrorEvent(const DiskCacheErrorEvent& from) : ::PROTOBUF_NAMESPACE_ID::Message() { - CacheErrorEvent* const _this = this; (void)_this; + DiskCacheErrorEvent* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_.type_){} , /*decltype(_impl_._cached_size_)*/{}}; _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); _this->_impl_.type_ = from._impl_.type_; - // @@protoc_insertion_point(copy_constructor:grpc.CacheErrorEvent) + // @@protoc_insertion_point(copy_constructor:grpc.DiskCacheErrorEvent) } -inline void CacheErrorEvent::SharedCtor( +inline void DiskCacheErrorEvent::SharedCtor( ::_pb::Arena* arena, bool is_message_owned) { (void)arena; (void)is_message_owned; @@ -9573,8 +9263,8 @@ inline void CacheErrorEvent::SharedCtor( }; } -CacheErrorEvent::~CacheErrorEvent() { - // @@protoc_insertion_point(destructor:grpc.CacheErrorEvent) +DiskCacheErrorEvent::~DiskCacheErrorEvent() { + // @@protoc_insertion_point(destructor:grpc.DiskCacheErrorEvent) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -9582,16 +9272,16 @@ CacheErrorEvent::~CacheErrorEvent() { SharedDtor(); } -inline void CacheErrorEvent::SharedDtor() { +inline void DiskCacheErrorEvent::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } -void CacheErrorEvent::SetCachedSize(int size) const { +void DiskCacheErrorEvent::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void CacheErrorEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:grpc.CacheErrorEvent) +void DiskCacheErrorEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:grpc.DiskCacheErrorEvent) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -9600,18 +9290,18 @@ void CacheErrorEvent::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* CacheErrorEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* DiskCacheErrorEvent::_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) { - // .grpc.CacheErrorType type = 1; + // .grpc.DiskCacheErrorType type = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); - _internal_set_type(static_cast<::grpc::CacheErrorType>(val)); + _internal_set_type(static_cast<::grpc::DiskCacheErrorType>(val)); } else goto handle_unusual; continue; @@ -9638,13 +9328,13 @@ failure: #undef CHK_ } -uint8_t* CacheErrorEvent::_InternalSerialize( +uint8_t* DiskCacheErrorEvent::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:grpc.CacheErrorEvent) + // @@protoc_insertion_point(serialize_to_array_start:grpc.DiskCacheErrorEvent) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .grpc.CacheErrorType type = 1; + // .grpc.DiskCacheErrorType type = 1; if (this->_internal_type() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteEnumToArray( @@ -9655,19 +9345,19 @@ uint8_t* CacheErrorEvent::_InternalSerialize( 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.CacheErrorEvent) + // @@protoc_insertion_point(serialize_to_array_end:grpc.DiskCacheErrorEvent) return target; } -size_t CacheErrorEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:grpc.CacheErrorEvent) +size_t DiskCacheErrorEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:grpc.DiskCacheErrorEvent) size_t total_size = 0; uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // .grpc.CacheErrorType type = 1; + // .grpc.DiskCacheErrorType type = 1; if (this->_internal_type() != 0) { total_size += 1 + ::_pbi::WireFormatLite::EnumSize(this->_internal_type()); @@ -9676,17 +9366,17 @@ size_t CacheErrorEvent::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CacheErrorEvent::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DiskCacheErrorEvent::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CacheErrorEvent::MergeImpl + DiskCacheErrorEvent::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CacheErrorEvent::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DiskCacheErrorEvent::GetClassData() const { return &_class_data_; } -void CacheErrorEvent::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.CacheErrorEvent) +void DiskCacheErrorEvent::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.DiskCacheErrorEvent) GOOGLE_DCHECK_NE(&from, _this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -9697,262 +9387,44 @@ void CacheErrorEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void CacheErrorEvent::CopyFrom(const CacheErrorEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:grpc.CacheErrorEvent) +void DiskCacheErrorEvent::CopyFrom(const DiskCacheErrorEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:grpc.DiskCacheErrorEvent) if (&from == this) return; Clear(); MergeFrom(from); } -bool CacheErrorEvent::IsInitialized() const { +bool DiskCacheErrorEvent::IsInitialized() const { return true; } -void CacheErrorEvent::InternalSwap(CacheErrorEvent* other) { +void DiskCacheErrorEvent::InternalSwap(DiskCacheErrorEvent* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_.type_, other->_impl_.type_); } -::PROTOBUF_NAMESPACE_ID::Metadata CacheErrorEvent::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata DiskCacheErrorEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[36]); + file_level_metadata_bridge_2eproto[35]); } // =================================================================== -class CacheLocationChangeSuccessEvent::_Internal { +class DiskCachePathChangedEvent::_Internal { public: }; -CacheLocationChangeSuccessEvent::CacheLocationChangeSuccessEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:grpc.CacheLocationChangeSuccessEvent) -} -CacheLocationChangeSuccessEvent::CacheLocationChangeSuccessEvent(const CacheLocationChangeSuccessEvent& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CacheLocationChangeSuccessEvent* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:grpc.CacheLocationChangeSuccessEvent) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CacheLocationChangeSuccessEvent::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CacheLocationChangeSuccessEvent::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CacheLocationChangeSuccessEvent::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[37]); -} - -// =================================================================== - -class ChangeLocalCacheFinishedEvent::_Internal { - public: -}; - -ChangeLocalCacheFinishedEvent::ChangeLocalCacheFinishedEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, +DiskCachePathChangedEvent::DiskCachePathChangedEvent(::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.ChangeLocalCacheFinishedEvent) + // @@protoc_insertion_point(arena_constructor:grpc.DiskCachePathChangedEvent) } -ChangeLocalCacheFinishedEvent::ChangeLocalCacheFinishedEvent(const ChangeLocalCacheFinishedEvent& from) +DiskCachePathChangedEvent::DiskCachePathChangedEvent(const DiskCachePathChangedEvent& from) : ::PROTOBUF_NAMESPACE_ID::Message() { - ChangeLocalCacheFinishedEvent* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.willrestart_){} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.willrestart_ = from._impl_.willrestart_; - // @@protoc_insertion_point(copy_constructor:grpc.ChangeLocalCacheFinishedEvent) -} - -inline void ChangeLocalCacheFinishedEvent::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.willrestart_){false} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -ChangeLocalCacheFinishedEvent::~ChangeLocalCacheFinishedEvent() { - // @@protoc_insertion_point(destructor:grpc.ChangeLocalCacheFinishedEvent) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ChangeLocalCacheFinishedEvent::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void ChangeLocalCacheFinishedEvent::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ChangeLocalCacheFinishedEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:grpc.ChangeLocalCacheFinishedEvent) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.willrestart_ = false; - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ChangeLocalCacheFinishedEvent::_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 willRestart = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _impl_.willrestart_ = ::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* ChangeLocalCacheFinishedEvent::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:grpc.ChangeLocalCacheFinishedEvent) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // bool willRestart = 1; - if (this->_internal_willrestart() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_willrestart(), 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.ChangeLocalCacheFinishedEvent) - return target; -} - -size_t ChangeLocalCacheFinishedEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:grpc.ChangeLocalCacheFinishedEvent) - 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 willRestart = 1; - if (this->_internal_willrestart() != 0) { - total_size += 1 + 1; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ChangeLocalCacheFinishedEvent::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ChangeLocalCacheFinishedEvent::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ChangeLocalCacheFinishedEvent::GetClassData() const { return &_class_data_; } - - -void ChangeLocalCacheFinishedEvent::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.ChangeLocalCacheFinishedEvent) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_willrestart() != 0) { - _this->_internal_set_willrestart(from._internal_willrestart()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ChangeLocalCacheFinishedEvent::CopyFrom(const ChangeLocalCacheFinishedEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:grpc.ChangeLocalCacheFinishedEvent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ChangeLocalCacheFinishedEvent::IsInitialized() const { - return true; -} - -void ChangeLocalCacheFinishedEvent::InternalSwap(ChangeLocalCacheFinishedEvent* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.willrestart_, other->_impl_.willrestart_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ChangeLocalCacheFinishedEvent::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[38]); -} - -// =================================================================== - -class DiskCachePathChanged::_Internal { - public: -}; - -DiskCachePathChanged::DiskCachePathChanged(::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.DiskCachePathChanged) -} -DiskCachePathChanged::DiskCachePathChanged(const DiskCachePathChanged& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - DiskCachePathChanged* const _this = this; (void)_this; + DiskCachePathChangedEvent* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_.path_){} , /*decltype(_impl_._cached_size_)*/{}}; @@ -9966,10 +9438,10 @@ DiskCachePathChanged::DiskCachePathChanged(const DiskCachePathChanged& from) _this->_impl_.path_.Set(from._internal_path(), _this->GetArenaForAllocation()); } - // @@protoc_insertion_point(copy_constructor:grpc.DiskCachePathChanged) + // @@protoc_insertion_point(copy_constructor:grpc.DiskCachePathChangedEvent) } -inline void DiskCachePathChanged::SharedCtor( +inline void DiskCachePathChangedEvent::SharedCtor( ::_pb::Arena* arena, bool is_message_owned) { (void)arena; (void)is_message_owned; @@ -9983,8 +9455,8 @@ inline void DiskCachePathChanged::SharedCtor( #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -DiskCachePathChanged::~DiskCachePathChanged() { - // @@protoc_insertion_point(destructor:grpc.DiskCachePathChanged) +DiskCachePathChangedEvent::~DiskCachePathChangedEvent() { + // @@protoc_insertion_point(destructor:grpc.DiskCachePathChangedEvent) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -9992,17 +9464,17 @@ DiskCachePathChanged::~DiskCachePathChanged() { SharedDtor(); } -inline void DiskCachePathChanged::SharedDtor() { +inline void DiskCachePathChangedEvent::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); _impl_.path_.Destroy(); } -void DiskCachePathChanged::SetCachedSize(int size) const { +void DiskCachePathChangedEvent::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void DiskCachePathChanged::Clear() { -// @@protoc_insertion_point(message_clear_start:grpc.DiskCachePathChanged) +void DiskCachePathChangedEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:grpc.DiskCachePathChangedEvent) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -10011,7 +9483,7 @@ void DiskCachePathChanged::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* DiskCachePathChanged::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* DiskCachePathChangedEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; @@ -10023,7 +9495,7 @@ const char* DiskCachePathChanged::_InternalParse(const char* ptr, ::_pbi::ParseC auto str = _internal_mutable_path(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "grpc.DiskCachePathChanged.path")); + CHK_(::_pbi::VerifyUTF8(str, "grpc.DiskCachePathChangedEvent.path")); } else goto handle_unusual; continue; @@ -10050,9 +9522,9 @@ failure: #undef CHK_ } -uint8_t* DiskCachePathChanged::_InternalSerialize( +uint8_t* DiskCachePathChangedEvent::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:grpc.DiskCachePathChanged) + // @@protoc_insertion_point(serialize_to_array_start:grpc.DiskCachePathChangedEvent) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -10061,7 +9533,7 @@ uint8_t* DiskCachePathChanged::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_path().data(), static_cast(this->_internal_path().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "grpc.DiskCachePathChanged.path"); + "grpc.DiskCachePathChangedEvent.path"); target = stream->WriteStringMaybeAliased( 1, this->_internal_path(), target); } @@ -10070,12 +9542,12 @@ uint8_t* DiskCachePathChanged::_InternalSerialize( 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.DiskCachePathChanged) + // @@protoc_insertion_point(serialize_to_array_end:grpc.DiskCachePathChangedEvent) return target; } -size_t DiskCachePathChanged::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:grpc.DiskCachePathChanged) +size_t DiskCachePathChangedEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:grpc.DiskCachePathChangedEvent) size_t total_size = 0; uint32_t cached_has_bits = 0; @@ -10092,17 +9564,17 @@ size_t DiskCachePathChanged::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DiskCachePathChanged::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DiskCachePathChangedEvent::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - DiskCachePathChanged::MergeImpl + DiskCachePathChangedEvent::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DiskCachePathChanged::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DiskCachePathChangedEvent::GetClassData() const { return &_class_data_; } -void DiskCachePathChanged::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.DiskCachePathChanged) +void DiskCachePathChangedEvent::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.DiskCachePathChangedEvent) GOOGLE_DCHECK_NE(&from, _this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -10113,18 +9585,18 @@ void DiskCachePathChanged::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, c _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void DiskCachePathChanged::CopyFrom(const DiskCachePathChanged& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:grpc.DiskCachePathChanged) +void DiskCachePathChangedEvent::CopyFrom(const DiskCachePathChangedEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:grpc.DiskCachePathChangedEvent) if (&from == this) return; Clear(); MergeFrom(from); } -bool DiskCachePathChanged::IsInitialized() const { +bool DiskCachePathChangedEvent::IsInitialized() const { return true; } -void DiskCachePathChanged::InternalSwap(DiskCachePathChanged* other) { +void DiskCachePathChangedEvent::InternalSwap(DiskCachePathChangedEvent* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); @@ -10135,10 +9607,50 @@ void DiskCachePathChanged::InternalSwap(DiskCachePathChanged* other) { ); } -::PROTOBUF_NAMESPACE_ID::Metadata DiskCachePathChanged::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata DiskCachePathChangedEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, - file_level_metadata_bridge_2eproto[39]); + file_level_metadata_bridge_2eproto[36]); +} + +// =================================================================== + +class DiskCachePathChangeFinishedEvent::_Internal { + public: +}; + +DiskCachePathChangeFinishedEvent::DiskCachePathChangeFinishedEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:grpc.DiskCachePathChangeFinishedEvent) +} +DiskCachePathChangeFinishedEvent::DiskCachePathChangeFinishedEvent(const DiskCachePathChangeFinishedEvent& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + DiskCachePathChangeFinishedEvent* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:grpc.DiskCachePathChangeFinishedEvent) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DiskCachePathChangeFinishedEvent::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DiskCachePathChangeFinishedEvent::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata DiskCachePathChangeFinishedEvent::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, + file_level_metadata_bridge_2eproto[37]); } // =================================================================== @@ -10559,7 +10071,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[40]); + file_level_metadata_bridge_2eproto[38]); } // =================================================================== @@ -10740,7 +10252,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[41]); + file_level_metadata_bridge_2eproto[39]); } // =================================================================== @@ -10780,7 +10292,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[42]); + file_level_metadata_bridge_2eproto[40]); } // =================================================================== @@ -10820,7 +10332,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UseSslForImapFinishedEvent::Ge ::PROTOBUF_NAMESPACE_ID::Metadata UseSslForImapFinishedEvent::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[41]); } // =================================================================== @@ -10860,7 +10372,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[42]); } // =================================================================== @@ -11223,7 +10735,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[43]); } // =================================================================== @@ -11263,7 +10775,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[44]); } // =================================================================== @@ -11303,7 +10815,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[45]); } // =================================================================== @@ -11343,7 +10855,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[46]); } // =================================================================== @@ -11764,7 +11276,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[47]); } // =================================================================== @@ -11967,7 +11479,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[48]); } // =================================================================== @@ -12170,7 +11682,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[49]); } // =================================================================== @@ -12373,7 +11885,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[50]); } // =================================================================== @@ -12413,7 +11925,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[51]); } // =================================================================== @@ -12776,7 +12288,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[52]); } // =================================================================== @@ -12979,7 +12491,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[53]); } // =================================================================== @@ -13182,7 +12694,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[54]); } // =================================================================== @@ -13385,7 +12897,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[55]); } // @@protoc_insertion_point(namespace_scope) @@ -13407,10 +12919,6 @@ template<> PROTOBUF_NOINLINE ::grpc::LoginAbortRequest* Arena::CreateMaybeMessage< ::grpc::LoginAbortRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::grpc::LoginAbortRequest >(arena); } -template<> PROTOBUF_NOINLINE ::grpc::ChangeLocalCacheRequest* -Arena::CreateMaybeMessage< ::grpc::ChangeLocalCacheRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::grpc::ChangeLocalCacheRequest >(arena); -} template<> PROTOBUF_NOINLINE ::grpc::ChangePortsRequest* Arena::CreateMaybeMessage< ::grpc::ChangePortsRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::grpc::ChangePortsRequest >(arena); @@ -13531,25 +13039,21 @@ template<> PROTOBUF_NOINLINE ::grpc::UpdateVersionChanged* Arena::CreateMaybeMessage< ::grpc::UpdateVersionChanged >(Arena* arena) { return Arena::CreateMessageInternal< ::grpc::UpdateVersionChanged >(arena); } -template<> PROTOBUF_NOINLINE ::grpc::CacheEvent* -Arena::CreateMaybeMessage< ::grpc::CacheEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::grpc::CacheEvent >(arena); +template<> PROTOBUF_NOINLINE ::grpc::DiskCacheEvent* +Arena::CreateMaybeMessage< ::grpc::DiskCacheEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::grpc::DiskCacheEvent >(arena); } -template<> PROTOBUF_NOINLINE ::grpc::CacheErrorEvent* -Arena::CreateMaybeMessage< ::grpc::CacheErrorEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::grpc::CacheErrorEvent >(arena); +template<> PROTOBUF_NOINLINE ::grpc::DiskCacheErrorEvent* +Arena::CreateMaybeMessage< ::grpc::DiskCacheErrorEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::grpc::DiskCacheErrorEvent >(arena); } -template<> PROTOBUF_NOINLINE ::grpc::CacheLocationChangeSuccessEvent* -Arena::CreateMaybeMessage< ::grpc::CacheLocationChangeSuccessEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::grpc::CacheLocationChangeSuccessEvent >(arena); +template<> PROTOBUF_NOINLINE ::grpc::DiskCachePathChangedEvent* +Arena::CreateMaybeMessage< ::grpc::DiskCachePathChangedEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::grpc::DiskCachePathChangedEvent >(arena); } -template<> PROTOBUF_NOINLINE ::grpc::ChangeLocalCacheFinishedEvent* -Arena::CreateMaybeMessage< ::grpc::ChangeLocalCacheFinishedEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::grpc::ChangeLocalCacheFinishedEvent >(arena); -} -template<> PROTOBUF_NOINLINE ::grpc::DiskCachePathChanged* -Arena::CreateMaybeMessage< ::grpc::DiskCachePathChanged >(Arena* arena) { - return Arena::CreateMessageInternal< ::grpc::DiskCachePathChanged >(arena); +template<> PROTOBUF_NOINLINE ::grpc::DiskCachePathChangeFinishedEvent* +Arena::CreateMaybeMessage< ::grpc::DiskCachePathChangeFinishedEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::grpc::DiskCachePathChangeFinishedEvent >(arena); } template<> PROTOBUF_NOINLINE ::grpc::MailSettingsEvent* Arena::CreateMaybeMessage< ::grpc::MailSettingsEvent >(Arena* 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 3d741d4b..e774847e 100644 --- a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/bridge.pb.h +++ b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/bridge.pb.h @@ -67,24 +67,9 @@ extern AppEventDefaultTypeInternal _AppEvent_default_instance_; class AvailableKeychainsResponse; struct AvailableKeychainsResponseDefaultTypeInternal; extern AvailableKeychainsResponseDefaultTypeInternal _AvailableKeychainsResponse_default_instance_; -class CacheErrorEvent; -struct CacheErrorEventDefaultTypeInternal; -extern CacheErrorEventDefaultTypeInternal _CacheErrorEvent_default_instance_; -class CacheEvent; -struct CacheEventDefaultTypeInternal; -extern CacheEventDefaultTypeInternal _CacheEvent_default_instance_; -class CacheLocationChangeSuccessEvent; -struct CacheLocationChangeSuccessEventDefaultTypeInternal; -extern CacheLocationChangeSuccessEventDefaultTypeInternal _CacheLocationChangeSuccessEvent_default_instance_; class ChangeKeychainFinishedEvent; struct ChangeKeychainFinishedEventDefaultTypeInternal; extern ChangeKeychainFinishedEventDefaultTypeInternal _ChangeKeychainFinishedEvent_default_instance_; -class ChangeLocalCacheFinishedEvent; -struct ChangeLocalCacheFinishedEventDefaultTypeInternal; -extern ChangeLocalCacheFinishedEventDefaultTypeInternal _ChangeLocalCacheFinishedEvent_default_instance_; -class ChangeLocalCacheRequest; -struct ChangeLocalCacheRequestDefaultTypeInternal; -extern ChangeLocalCacheRequestDefaultTypeInternal _ChangeLocalCacheRequest_default_instance_; class ChangePortsFinishedEvent; struct ChangePortsFinishedEventDefaultTypeInternal; extern ChangePortsFinishedEventDefaultTypeInternal _ChangePortsFinishedEvent_default_instance_; @@ -94,9 +79,18 @@ extern ChangePortsRequestDefaultTypeInternal _ChangePortsRequest_default_instanc class ConfigureAppleMailRequest; struct ConfigureAppleMailRequestDefaultTypeInternal; extern ConfigureAppleMailRequestDefaultTypeInternal _ConfigureAppleMailRequest_default_instance_; -class DiskCachePathChanged; -struct DiskCachePathChangedDefaultTypeInternal; -extern DiskCachePathChangedDefaultTypeInternal _DiskCachePathChanged_default_instance_; +class DiskCacheErrorEvent; +struct DiskCacheErrorEventDefaultTypeInternal; +extern DiskCacheErrorEventDefaultTypeInternal _DiskCacheErrorEvent_default_instance_; +class DiskCacheEvent; +struct DiskCacheEventDefaultTypeInternal; +extern DiskCacheEventDefaultTypeInternal _DiskCacheEvent_default_instance_; +class DiskCachePathChangeFinishedEvent; +struct DiskCachePathChangeFinishedEventDefaultTypeInternal; +extern DiskCachePathChangeFinishedEventDefaultTypeInternal _DiskCachePathChangeFinishedEvent_default_instance_; +class DiskCachePathChangedEvent; +struct DiskCachePathChangedEventDefaultTypeInternal; +extern DiskCachePathChangedEventDefaultTypeInternal _DiskCachePathChangedEvent_default_instance_; class EventStreamRequest; struct EventStreamRequestDefaultTypeInternal; extern EventStreamRequestDefaultTypeInternal _EventStreamRequest_default_instance_; @@ -231,16 +225,14 @@ template<> ::grpc::AddressChangedLogoutEvent* Arena::CreateMaybeMessage<::grpc:: template<> ::grpc::ApiCertIssueEvent* Arena::CreateMaybeMessage<::grpc::ApiCertIssueEvent>(Arena*); template<> ::grpc::AppEvent* Arena::CreateMaybeMessage<::grpc::AppEvent>(Arena*); template<> ::grpc::AvailableKeychainsResponse* Arena::CreateMaybeMessage<::grpc::AvailableKeychainsResponse>(Arena*); -template<> ::grpc::CacheErrorEvent* Arena::CreateMaybeMessage<::grpc::CacheErrorEvent>(Arena*); -template<> ::grpc::CacheEvent* Arena::CreateMaybeMessage<::grpc::CacheEvent>(Arena*); -template<> ::grpc::CacheLocationChangeSuccessEvent* Arena::CreateMaybeMessage<::grpc::CacheLocationChangeSuccessEvent>(Arena*); template<> ::grpc::ChangeKeychainFinishedEvent* Arena::CreateMaybeMessage<::grpc::ChangeKeychainFinishedEvent>(Arena*); -template<> ::grpc::ChangeLocalCacheFinishedEvent* Arena::CreateMaybeMessage<::grpc::ChangeLocalCacheFinishedEvent>(Arena*); -template<> ::grpc::ChangeLocalCacheRequest* Arena::CreateMaybeMessage<::grpc::ChangeLocalCacheRequest>(Arena*); template<> ::grpc::ChangePortsFinishedEvent* Arena::CreateMaybeMessage<::grpc::ChangePortsFinishedEvent>(Arena*); template<> ::grpc::ChangePortsRequest* Arena::CreateMaybeMessage<::grpc::ChangePortsRequest>(Arena*); template<> ::grpc::ConfigureAppleMailRequest* Arena::CreateMaybeMessage<::grpc::ConfigureAppleMailRequest>(Arena*); -template<> ::grpc::DiskCachePathChanged* Arena::CreateMaybeMessage<::grpc::DiskCachePathChanged>(Arena*); +template<> ::grpc::DiskCacheErrorEvent* Arena::CreateMaybeMessage<::grpc::DiskCacheErrorEvent>(Arena*); +template<> ::grpc::DiskCacheEvent* Arena::CreateMaybeMessage<::grpc::DiskCacheEvent>(Arena*); +template<> ::grpc::DiskCachePathChangeFinishedEvent* Arena::CreateMaybeMessage<::grpc::DiskCachePathChangeFinishedEvent>(Arena*); +template<> ::grpc::DiskCachePathChangedEvent* Arena::CreateMaybeMessage<::grpc::DiskCachePathChangedEvent>(Arena*); template<> ::grpc::EventStreamRequest* Arena::CreateMaybeMessage<::grpc::EventStreamRequest>(Arena*); template<> ::grpc::HasNoKeychainEvent* Arena::CreateMaybeMessage<::grpc::HasNoKeychainEvent>(Arena*); template<> ::grpc::InternetStatusEvent* Arena::CreateMaybeMessage<::grpc::InternetStatusEvent>(Arena*); @@ -372,31 +364,31 @@ inline bool UpdateErrorType_Parse( return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( UpdateErrorType_descriptor(), name, value); } -enum CacheErrorType : int { - CACHE_UNAVAILABLE_ERROR = 0, - CACHE_CANT_MOVE_ERROR = 1, - DISK_FULL = 2, - CacheErrorType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), - CacheErrorType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() +enum DiskCacheErrorType : int { + DISK_CACHE_UNAVAILABLE_ERROR = 0, + CANT_MOVE_DISK_CACHE_ERROR = 1, + DISK_FULL_ERROR = 2, + DiskCacheErrorType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), + DiskCacheErrorType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() }; -bool CacheErrorType_IsValid(int value); -constexpr CacheErrorType CacheErrorType_MIN = CACHE_UNAVAILABLE_ERROR; -constexpr CacheErrorType CacheErrorType_MAX = DISK_FULL; -constexpr int CacheErrorType_ARRAYSIZE = CacheErrorType_MAX + 1; +bool DiskCacheErrorType_IsValid(int value); +constexpr DiskCacheErrorType DiskCacheErrorType_MIN = DISK_CACHE_UNAVAILABLE_ERROR; +constexpr DiskCacheErrorType DiskCacheErrorType_MAX = DISK_FULL_ERROR; +constexpr int DiskCacheErrorType_ARRAYSIZE = DiskCacheErrorType_MAX + 1; -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CacheErrorType_descriptor(); +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* DiskCacheErrorType_descriptor(); template -inline const std::string& CacheErrorType_Name(T enum_t_value) { - static_assert(::std::is_same::value || +inline const std::string& DiskCacheErrorType_Name(T enum_t_value) { + static_assert(::std::is_same::value || ::std::is_integral::value, - "Incorrect type passed to function CacheErrorType_Name."); + "Incorrect type passed to function DiskCacheErrorType_Name."); return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - CacheErrorType_descriptor(), enum_t_value); + DiskCacheErrorType_descriptor(), enum_t_value); } -inline bool CacheErrorType_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CacheErrorType* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - CacheErrorType_descriptor(), name, value); +inline bool DiskCacheErrorType_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DiskCacheErrorType* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + DiskCacheErrorType_descriptor(), name, value); } enum MailSettingsErrorType : int { IMAP_PORT_ISSUE = 0, @@ -1155,159 +1147,6 @@ class LoginAbortRequest final : }; // ------------------------------------------------------------------- -class ChangeLocalCacheRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:grpc.ChangeLocalCacheRequest) */ { - public: - inline ChangeLocalCacheRequest() : ChangeLocalCacheRequest(nullptr) {} - ~ChangeLocalCacheRequest() override; - explicit PROTOBUF_CONSTEXPR ChangeLocalCacheRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ChangeLocalCacheRequest(const ChangeLocalCacheRequest& from); - ChangeLocalCacheRequest(ChangeLocalCacheRequest&& from) noexcept - : ChangeLocalCacheRequest() { - *this = ::std::move(from); - } - - inline ChangeLocalCacheRequest& operator=(const ChangeLocalCacheRequest& from) { - CopyFrom(from); - return *this; - } - inline ChangeLocalCacheRequest& operator=(ChangeLocalCacheRequest&& 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 ChangeLocalCacheRequest& default_instance() { - return *internal_default_instance(); - } - static inline const ChangeLocalCacheRequest* internal_default_instance() { - return reinterpret_cast( - &_ChangeLocalCacheRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(ChangeLocalCacheRequest& a, ChangeLocalCacheRequest& b) { - a.Swap(&b); - } - inline void Swap(ChangeLocalCacheRequest* 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(ChangeLocalCacheRequest* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ChangeLocalCacheRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ChangeLocalCacheRequest& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ChangeLocalCacheRequest& from) { - ChangeLocalCacheRequest::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(ChangeLocalCacheRequest* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "grpc.ChangeLocalCacheRequest"; - } - protected: - explicit ChangeLocalCacheRequest(::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 { - kDiskCachePathFieldNumber = 2, - }; - // string diskCachePath = 2; - void clear_diskcachepath(); - const std::string& diskcachepath() const; - template - void set_diskcachepath(ArgT0&& arg0, ArgT... args); - std::string* mutable_diskcachepath(); - PROTOBUF_NODISCARD std::string* release_diskcachepath(); - void set_allocated_diskcachepath(std::string* diskcachepath); - private: - const std::string& _internal_diskcachepath() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_diskcachepath(const std::string& value); - std::string* _internal_mutable_diskcachepath(); - public: - - // @@protoc_insertion_point(class_scope:grpc.ChangeLocalCacheRequest) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr diskcachepath_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_bridge_2eproto; -}; -// ------------------------------------------------------------------- - class ChangePortsRequest final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:grpc.ChangePortsRequest) */ { public: @@ -1356,7 +1195,7 @@ class ChangePortsRequest final : &_ChangePortsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 5; + 4; friend void swap(ChangePortsRequest& a, ChangePortsRequest& b) { a.Swap(&b); @@ -1515,7 +1354,7 @@ class AvailableKeychainsResponse final : &_AvailableKeychainsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 6; + 5; friend void swap(AvailableKeychainsResponse& a, AvailableKeychainsResponse& b) { a.Swap(&b); @@ -1678,7 +1517,7 @@ class User final : &_User_default_instance_); } static constexpr int kIndexInFileMessages = - 7; + 6; friend void swap(User& a, User& b) { a.Swap(&b); @@ -1960,7 +1799,7 @@ class UserSplitModeRequest final : &_UserSplitModeRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 8; + 7; friend void swap(UserSplitModeRequest& a, UserSplitModeRequest& b) { a.Swap(&b); @@ -2124,7 +1963,7 @@ class UserListResponse final : &_UserListResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 9; + 8; friend void swap(UserListResponse& a, UserListResponse& b) { a.Swap(&b); @@ -2281,7 +2120,7 @@ class ConfigureAppleMailRequest final : &_ConfigureAppleMailRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 10; + 9; friend void swap(ConfigureAppleMailRequest& a, ConfigureAppleMailRequest& b) { a.Swap(&b); @@ -2450,7 +2289,7 @@ class EventStreamRequest final : &_EventStreamRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 11; + 10; friend void swap(EventStreamRequest& a, EventStreamRequest& b) { a.Swap(&b); @@ -2615,7 +2454,7 @@ class StreamEvent final : &_StreamEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 12; + 11; friend void swap(StreamEvent& a, StreamEvent& b) { a.Swap(&b); @@ -2751,23 +2590,23 @@ class StreamEvent final : ::grpc::UpdateEvent* update); ::grpc::UpdateEvent* unsafe_arena_release_update(); - // .grpc.CacheEvent cache = 4; + // .grpc.DiskCacheEvent cache = 4; bool has_cache() const; private: bool _internal_has_cache() const; public: void clear_cache(); - const ::grpc::CacheEvent& cache() const; - PROTOBUF_NODISCARD ::grpc::CacheEvent* release_cache(); - ::grpc::CacheEvent* mutable_cache(); - void set_allocated_cache(::grpc::CacheEvent* cache); + const ::grpc::DiskCacheEvent& cache() const; + PROTOBUF_NODISCARD ::grpc::DiskCacheEvent* release_cache(); + ::grpc::DiskCacheEvent* mutable_cache(); + void set_allocated_cache(::grpc::DiskCacheEvent* cache); private: - const ::grpc::CacheEvent& _internal_cache() const; - ::grpc::CacheEvent* _internal_mutable_cache(); + const ::grpc::DiskCacheEvent& _internal_cache() const; + ::grpc::DiskCacheEvent* _internal_mutable_cache(); public: void unsafe_arena_set_allocated_cache( - ::grpc::CacheEvent* cache); - ::grpc::CacheEvent* unsafe_arena_release_cache(); + ::grpc::DiskCacheEvent* cache); + ::grpc::DiskCacheEvent* unsafe_arena_release_cache(); // .grpc.MailSettingsEvent mailSettings = 5; bool has_mailsettings() const; @@ -2868,7 +2707,7 @@ class StreamEvent final : ::grpc::AppEvent* app_; ::grpc::LoginEvent* login_; ::grpc::UpdateEvent* update_; - ::grpc::CacheEvent* cache_; + ::grpc::DiskCacheEvent* cache_; ::grpc::MailSettingsEvent* mailsettings_; ::grpc::KeychainEvent* keychain_; ::grpc::MailEvent* mail_; @@ -2942,7 +2781,7 @@ class AppEvent final : &_AppEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 13; + 12; friend void swap(AppEvent& a, AppEvent& b) { a.Swap(&b); @@ -3237,7 +3076,7 @@ class InternetStatusEvent final : &_InternetStatusEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 14; + 13; friend void swap(InternetStatusEvent& a, InternetStatusEvent& b) { a.Swap(&b); @@ -3384,7 +3223,7 @@ class ToggleAutostartFinishedEvent final : &_ToggleAutostartFinishedEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 15; + 14; friend void swap(ToggleAutostartFinishedEvent& a, ToggleAutostartFinishedEvent& b) { a.Swap(&b); @@ -3502,7 +3341,7 @@ class ResetFinishedEvent final : &_ResetFinishedEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 16; + 15; friend void swap(ResetFinishedEvent& a, ResetFinishedEvent& b) { a.Swap(&b); @@ -3620,7 +3459,7 @@ class ReportBugFinishedEvent final : &_ReportBugFinishedEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 17; + 16; friend void swap(ReportBugFinishedEvent& a, ReportBugFinishedEvent& b) { a.Swap(&b); @@ -3738,7 +3577,7 @@ class ReportBugSuccessEvent final : &_ReportBugSuccessEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 18; + 17; friend void swap(ReportBugSuccessEvent& a, ReportBugSuccessEvent& b) { a.Swap(&b); @@ -3856,7 +3695,7 @@ class ReportBugErrorEvent final : &_ReportBugErrorEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 19; + 18; friend void swap(ReportBugErrorEvent& a, ReportBugErrorEvent& b) { a.Swap(&b); @@ -3974,7 +3813,7 @@ class ShowMainWindowEvent final : &_ShowMainWindowEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 20; + 19; friend void swap(ShowMainWindowEvent& a, ShowMainWindowEvent& b) { a.Swap(&b); @@ -4102,7 +3941,7 @@ class LoginEvent final : &_LoginEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 21; + 20; friend void swap(LoginEvent& a, LoginEvent& b) { a.Swap(&b); @@ -4355,7 +4194,7 @@ class LoginErrorEvent final : &_LoginErrorEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 22; + 21; friend void swap(LoginErrorEvent& a, LoginErrorEvent& b) { a.Swap(&b); @@ -4519,7 +4358,7 @@ class LoginTfaRequestedEvent final : &_LoginTfaRequestedEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 23; + 22; friend void swap(LoginTfaRequestedEvent& a, LoginTfaRequestedEvent& b) { a.Swap(&b); @@ -4671,7 +4510,7 @@ class LoginTwoPasswordsRequestedEvent final : &_LoginTwoPasswordsRequestedEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 24; + 23; friend void swap(LoginTwoPasswordsRequestedEvent& a, LoginTwoPasswordsRequestedEvent& b) { a.Swap(&b); @@ -4790,7 +4629,7 @@ class LoginFinishedEvent final : &_LoginFinishedEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 25; + 24; friend void swap(LoginFinishedEvent& a, LoginFinishedEvent& b) { a.Swap(&b); @@ -4955,7 +4794,7 @@ class UpdateEvent final : &_UpdateEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 26; + 25; friend void swap(UpdateEvent& a, UpdateEvent& b) { a.Swap(&b); @@ -5271,7 +5110,7 @@ class UpdateErrorEvent final : &_UpdateErrorEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 27; + 26; friend void swap(UpdateErrorEvent& a, UpdateErrorEvent& b) { a.Swap(&b); @@ -5419,7 +5258,7 @@ class UpdateManualReadyEvent final : &_UpdateManualReadyEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 28; + 27; friend void swap(UpdateManualReadyEvent& a, UpdateManualReadyEvent& b) { a.Swap(&b); @@ -5571,7 +5410,7 @@ class UpdateManualRestartNeededEvent final : &_UpdateManualRestartNeededEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 29; + 28; friend void swap(UpdateManualRestartNeededEvent& a, UpdateManualRestartNeededEvent& b) { a.Swap(&b); @@ -5690,7 +5529,7 @@ class UpdateForceEvent final : &_UpdateForceEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 30; + 29; friend void swap(UpdateForceEvent& a, UpdateForceEvent& b) { a.Swap(&b); @@ -5842,7 +5681,7 @@ class UpdateSilentRestartNeeded final : &_UpdateSilentRestartNeeded_default_instance_); } static constexpr int kIndexInFileMessages = - 31; + 30; friend void swap(UpdateSilentRestartNeeded& a, UpdateSilentRestartNeeded& b) { a.Swap(&b); @@ -5960,7 +5799,7 @@ class UpdateIsLatestVersion final : &_UpdateIsLatestVersion_default_instance_); } static constexpr int kIndexInFileMessages = - 32; + 31; friend void swap(UpdateIsLatestVersion& a, UpdateIsLatestVersion& b) { a.Swap(&b); @@ -6078,7 +5917,7 @@ class UpdateCheckFinished final : &_UpdateCheckFinished_default_instance_); } static constexpr int kIndexInFileMessages = - 33; + 32; friend void swap(UpdateCheckFinished& a, UpdateCheckFinished& b) { a.Swap(&b); @@ -6196,7 +6035,7 @@ class UpdateVersionChanged final : &_UpdateVersionChanged_default_instance_); } static constexpr int kIndexInFileMessages = - 34; + 33; friend void swap(UpdateVersionChanged& a, UpdateVersionChanged& b) { a.Swap(&b); @@ -6267,24 +6106,24 @@ class UpdateVersionChanged final : }; // ------------------------------------------------------------------- -class CacheEvent final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:grpc.CacheEvent) */ { +class DiskCacheEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:grpc.DiskCacheEvent) */ { public: - inline CacheEvent() : CacheEvent(nullptr) {} - ~CacheEvent() override; - explicit PROTOBUF_CONSTEXPR CacheEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline DiskCacheEvent() : DiskCacheEvent(nullptr) {} + ~DiskCacheEvent() override; + explicit PROTOBUF_CONSTEXPR DiskCacheEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - CacheEvent(const CacheEvent& from); - CacheEvent(CacheEvent&& from) noexcept - : CacheEvent() { + DiskCacheEvent(const DiskCacheEvent& from); + DiskCacheEvent(DiskCacheEvent&& from) noexcept + : DiskCacheEvent() { *this = ::std::move(from); } - inline CacheEvent& operator=(const CacheEvent& from) { + inline DiskCacheEvent& operator=(const DiskCacheEvent& from) { CopyFrom(from); return *this; } - inline CacheEvent& operator=(CacheEvent&& from) noexcept { + inline DiskCacheEvent& operator=(DiskCacheEvent&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -6307,28 +6146,27 @@ class CacheEvent final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const CacheEvent& default_instance() { + static const DiskCacheEvent& default_instance() { return *internal_default_instance(); } enum EventCase { kError = 1, - kLocationChangedSuccess = 2, - kChangeLocalCacheFinished = 3, - kDiskCachePathChanged = 5, + kPathChanged = 2, + kPathChangeFinished = 3, EVENT_NOT_SET = 0, }; - static inline const CacheEvent* internal_default_instance() { - return reinterpret_cast( - &_CacheEvent_default_instance_); + static inline const DiskCacheEvent* internal_default_instance() { + return reinterpret_cast( + &_DiskCacheEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 35; + 34; - friend void swap(CacheEvent& a, CacheEvent& b) { + friend void swap(DiskCacheEvent& a, DiskCacheEvent& b) { a.Swap(&b); } - inline void Swap(CacheEvent* other) { + inline void Swap(DiskCacheEvent* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -6341,7 +6179,7 @@ class CacheEvent final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(CacheEvent* other) { + void UnsafeArenaSwap(DiskCacheEvent* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -6349,14 +6187,14 @@ class CacheEvent final : // implements Message ---------------------------------------------- - CacheEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + DiskCacheEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CacheEvent& from); + void CopyFrom(const DiskCacheEvent& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CacheEvent& from) { - CacheEvent::MergeImpl(*this, from); + void MergeFrom( const DiskCacheEvent& from) { + DiskCacheEvent::MergeImpl(*this, from); } private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); @@ -6374,15 +6212,15 @@ class CacheEvent final : void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(CacheEvent* other); + void InternalSwap(DiskCacheEvent* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "grpc.CacheEvent"; + return "grpc.DiskCacheEvent"; } protected: - explicit CacheEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit DiskCacheEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -6397,91 +6235,71 @@ class CacheEvent final : enum : int { kErrorFieldNumber = 1, - kLocationChangedSuccessFieldNumber = 2, - kChangeLocalCacheFinishedFieldNumber = 3, - kDiskCachePathChangedFieldNumber = 5, + kPathChangedFieldNumber = 2, + kPathChangeFinishedFieldNumber = 3, }; - // .grpc.CacheErrorEvent error = 1; + // .grpc.DiskCacheErrorEvent error = 1; bool has_error() const; private: bool _internal_has_error() const; public: void clear_error(); - const ::grpc::CacheErrorEvent& error() const; - PROTOBUF_NODISCARD ::grpc::CacheErrorEvent* release_error(); - ::grpc::CacheErrorEvent* mutable_error(); - void set_allocated_error(::grpc::CacheErrorEvent* error); + const ::grpc::DiskCacheErrorEvent& error() const; + PROTOBUF_NODISCARD ::grpc::DiskCacheErrorEvent* release_error(); + ::grpc::DiskCacheErrorEvent* mutable_error(); + void set_allocated_error(::grpc::DiskCacheErrorEvent* error); private: - const ::grpc::CacheErrorEvent& _internal_error() const; - ::grpc::CacheErrorEvent* _internal_mutable_error(); + const ::grpc::DiskCacheErrorEvent& _internal_error() const; + ::grpc::DiskCacheErrorEvent* _internal_mutable_error(); public: void unsafe_arena_set_allocated_error( - ::grpc::CacheErrorEvent* error); - ::grpc::CacheErrorEvent* unsafe_arena_release_error(); + ::grpc::DiskCacheErrorEvent* error); + ::grpc::DiskCacheErrorEvent* unsafe_arena_release_error(); - // .grpc.CacheLocationChangeSuccessEvent locationChangedSuccess = 2; - bool has_locationchangedsuccess() const; + // .grpc.DiskCachePathChangedEvent pathChanged = 2; + bool has_pathchanged() const; private: - bool _internal_has_locationchangedsuccess() const; + bool _internal_has_pathchanged() const; public: - void clear_locationchangedsuccess(); - const ::grpc::CacheLocationChangeSuccessEvent& locationchangedsuccess() const; - PROTOBUF_NODISCARD ::grpc::CacheLocationChangeSuccessEvent* release_locationchangedsuccess(); - ::grpc::CacheLocationChangeSuccessEvent* mutable_locationchangedsuccess(); - void set_allocated_locationchangedsuccess(::grpc::CacheLocationChangeSuccessEvent* locationchangedsuccess); + void clear_pathchanged(); + const ::grpc::DiskCachePathChangedEvent& pathchanged() const; + PROTOBUF_NODISCARD ::grpc::DiskCachePathChangedEvent* release_pathchanged(); + ::grpc::DiskCachePathChangedEvent* mutable_pathchanged(); + void set_allocated_pathchanged(::grpc::DiskCachePathChangedEvent* pathchanged); private: - const ::grpc::CacheLocationChangeSuccessEvent& _internal_locationchangedsuccess() const; - ::grpc::CacheLocationChangeSuccessEvent* _internal_mutable_locationchangedsuccess(); + const ::grpc::DiskCachePathChangedEvent& _internal_pathchanged() const; + ::grpc::DiskCachePathChangedEvent* _internal_mutable_pathchanged(); public: - void unsafe_arena_set_allocated_locationchangedsuccess( - ::grpc::CacheLocationChangeSuccessEvent* locationchangedsuccess); - ::grpc::CacheLocationChangeSuccessEvent* unsafe_arena_release_locationchangedsuccess(); + void unsafe_arena_set_allocated_pathchanged( + ::grpc::DiskCachePathChangedEvent* pathchanged); + ::grpc::DiskCachePathChangedEvent* unsafe_arena_release_pathchanged(); - // .grpc.ChangeLocalCacheFinishedEvent changeLocalCacheFinished = 3; - bool has_changelocalcachefinished() const; + // .grpc.DiskCachePathChangeFinishedEvent pathChangeFinished = 3; + bool has_pathchangefinished() const; private: - bool _internal_has_changelocalcachefinished() const; + bool _internal_has_pathchangefinished() const; public: - void clear_changelocalcachefinished(); - const ::grpc::ChangeLocalCacheFinishedEvent& changelocalcachefinished() const; - PROTOBUF_NODISCARD ::grpc::ChangeLocalCacheFinishedEvent* release_changelocalcachefinished(); - ::grpc::ChangeLocalCacheFinishedEvent* mutable_changelocalcachefinished(); - void set_allocated_changelocalcachefinished(::grpc::ChangeLocalCacheFinishedEvent* changelocalcachefinished); + void clear_pathchangefinished(); + const ::grpc::DiskCachePathChangeFinishedEvent& pathchangefinished() const; + PROTOBUF_NODISCARD ::grpc::DiskCachePathChangeFinishedEvent* release_pathchangefinished(); + ::grpc::DiskCachePathChangeFinishedEvent* mutable_pathchangefinished(); + void set_allocated_pathchangefinished(::grpc::DiskCachePathChangeFinishedEvent* pathchangefinished); private: - const ::grpc::ChangeLocalCacheFinishedEvent& _internal_changelocalcachefinished() const; - ::grpc::ChangeLocalCacheFinishedEvent* _internal_mutable_changelocalcachefinished(); + const ::grpc::DiskCachePathChangeFinishedEvent& _internal_pathchangefinished() const; + ::grpc::DiskCachePathChangeFinishedEvent* _internal_mutable_pathchangefinished(); public: - void unsafe_arena_set_allocated_changelocalcachefinished( - ::grpc::ChangeLocalCacheFinishedEvent* changelocalcachefinished); - ::grpc::ChangeLocalCacheFinishedEvent* unsafe_arena_release_changelocalcachefinished(); - - // .grpc.DiskCachePathChanged diskCachePathChanged = 5; - bool has_diskcachepathchanged() const; - private: - bool _internal_has_diskcachepathchanged() const; - public: - void clear_diskcachepathchanged(); - const ::grpc::DiskCachePathChanged& diskcachepathchanged() const; - PROTOBUF_NODISCARD ::grpc::DiskCachePathChanged* release_diskcachepathchanged(); - ::grpc::DiskCachePathChanged* mutable_diskcachepathchanged(); - void set_allocated_diskcachepathchanged(::grpc::DiskCachePathChanged* diskcachepathchanged); - private: - const ::grpc::DiskCachePathChanged& _internal_diskcachepathchanged() const; - ::grpc::DiskCachePathChanged* _internal_mutable_diskcachepathchanged(); - public: - void unsafe_arena_set_allocated_diskcachepathchanged( - ::grpc::DiskCachePathChanged* diskcachepathchanged); - ::grpc::DiskCachePathChanged* unsafe_arena_release_diskcachepathchanged(); + void unsafe_arena_set_allocated_pathchangefinished( + ::grpc::DiskCachePathChangeFinishedEvent* pathchangefinished); + ::grpc::DiskCachePathChangeFinishedEvent* unsafe_arena_release_pathchangefinished(); void clear_event(); EventCase event_case() const; - // @@protoc_insertion_point(class_scope:grpc.CacheEvent) + // @@protoc_insertion_point(class_scope:grpc.DiskCacheEvent) private: class _Internal; void set_has_error(); - void set_has_locationchangedsuccess(); - void set_has_changelocalcachefinished(); - void set_has_diskcachepathchanged(); + void set_has_pathchanged(); + void set_has_pathchangefinished(); inline bool has_event() const; inline void clear_has_event(); @@ -6493,10 +6311,9 @@ class CacheEvent final : union EventUnion { constexpr EventUnion() : _constinit_{} {} ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; - ::grpc::CacheErrorEvent* error_; - ::grpc::CacheLocationChangeSuccessEvent* locationchangedsuccess_; - ::grpc::ChangeLocalCacheFinishedEvent* changelocalcachefinished_; - ::grpc::DiskCachePathChanged* diskcachepathchanged_; + ::grpc::DiskCacheErrorEvent* error_; + ::grpc::DiskCachePathChangedEvent* pathchanged_; + ::grpc::DiskCachePathChangeFinishedEvent* pathchangefinished_; } event_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; uint32_t _oneof_case_[1]; @@ -6507,24 +6324,24 @@ class CacheEvent final : }; // ------------------------------------------------------------------- -class CacheErrorEvent final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:grpc.CacheErrorEvent) */ { +class DiskCacheErrorEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:grpc.DiskCacheErrorEvent) */ { public: - inline CacheErrorEvent() : CacheErrorEvent(nullptr) {} - ~CacheErrorEvent() override; - explicit PROTOBUF_CONSTEXPR CacheErrorEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline DiskCacheErrorEvent() : DiskCacheErrorEvent(nullptr) {} + ~DiskCacheErrorEvent() override; + explicit PROTOBUF_CONSTEXPR DiskCacheErrorEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - CacheErrorEvent(const CacheErrorEvent& from); - CacheErrorEvent(CacheErrorEvent&& from) noexcept - : CacheErrorEvent() { + DiskCacheErrorEvent(const DiskCacheErrorEvent& from); + DiskCacheErrorEvent(DiskCacheErrorEvent&& from) noexcept + : DiskCacheErrorEvent() { *this = ::std::move(from); } - inline CacheErrorEvent& operator=(const CacheErrorEvent& from) { + inline DiskCacheErrorEvent& operator=(const DiskCacheErrorEvent& from) { CopyFrom(from); return *this; } - inline CacheErrorEvent& operator=(CacheErrorEvent&& from) noexcept { + inline DiskCacheErrorEvent& operator=(DiskCacheErrorEvent&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -6547,20 +6364,20 @@ class CacheErrorEvent final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const CacheErrorEvent& default_instance() { + static const DiskCacheErrorEvent& default_instance() { return *internal_default_instance(); } - static inline const CacheErrorEvent* internal_default_instance() { - return reinterpret_cast( - &_CacheErrorEvent_default_instance_); + static inline const DiskCacheErrorEvent* internal_default_instance() { + return reinterpret_cast( + &_DiskCacheErrorEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 36; + 35; - friend void swap(CacheErrorEvent& a, CacheErrorEvent& b) { + friend void swap(DiskCacheErrorEvent& a, DiskCacheErrorEvent& b) { a.Swap(&b); } - inline void Swap(CacheErrorEvent* other) { + inline void Swap(DiskCacheErrorEvent* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -6573,7 +6390,7 @@ class CacheErrorEvent final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(CacheErrorEvent* other) { + void UnsafeArenaSwap(DiskCacheErrorEvent* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -6581,14 +6398,14 @@ class CacheErrorEvent final : // implements Message ---------------------------------------------- - CacheErrorEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + DiskCacheErrorEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CacheErrorEvent& from); + void CopyFrom(const DiskCacheErrorEvent& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CacheErrorEvent& from) { - CacheErrorEvent::MergeImpl(*this, from); + void MergeFrom( const DiskCacheErrorEvent& from) { + DiskCacheErrorEvent::MergeImpl(*this, from); } private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); @@ -6606,15 +6423,15 @@ class CacheErrorEvent final : void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(CacheErrorEvent* other); + void InternalSwap(DiskCacheErrorEvent* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "grpc.CacheErrorEvent"; + return "grpc.DiskCacheErrorEvent"; } protected: - explicit CacheErrorEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit DiskCacheErrorEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -6630,16 +6447,16 @@ class CacheErrorEvent final : enum : int { kTypeFieldNumber = 1, }; - // .grpc.CacheErrorType type = 1; + // .grpc.DiskCacheErrorType type = 1; void clear_type(); - ::grpc::CacheErrorType type() const; - void set_type(::grpc::CacheErrorType value); + ::grpc::DiskCacheErrorType type() const; + void set_type(::grpc::DiskCacheErrorType value); private: - ::grpc::CacheErrorType _internal_type() const; - void _internal_set_type(::grpc::CacheErrorType value); + ::grpc::DiskCacheErrorType _internal_type() const; + void _internal_set_type(::grpc::DiskCacheErrorType value); public: - // @@protoc_insertion_point(class_scope:grpc.CacheErrorEvent) + // @@protoc_insertion_point(class_scope:grpc.DiskCacheErrorEvent) private: class _Internal; @@ -6655,23 +6472,24 @@ class CacheErrorEvent final : }; // ------------------------------------------------------------------- -class CacheLocationChangeSuccessEvent final : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:grpc.CacheLocationChangeSuccessEvent) */ { +class DiskCachePathChangedEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:grpc.DiskCachePathChangedEvent) */ { public: - inline CacheLocationChangeSuccessEvent() : CacheLocationChangeSuccessEvent(nullptr) {} - explicit PROTOBUF_CONSTEXPR CacheLocationChangeSuccessEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline DiskCachePathChangedEvent() : DiskCachePathChangedEvent(nullptr) {} + ~DiskCachePathChangedEvent() override; + explicit PROTOBUF_CONSTEXPR DiskCachePathChangedEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - CacheLocationChangeSuccessEvent(const CacheLocationChangeSuccessEvent& from); - CacheLocationChangeSuccessEvent(CacheLocationChangeSuccessEvent&& from) noexcept - : CacheLocationChangeSuccessEvent() { + DiskCachePathChangedEvent(const DiskCachePathChangedEvent& from); + DiskCachePathChangedEvent(DiskCachePathChangedEvent&& from) noexcept + : DiskCachePathChangedEvent() { *this = ::std::move(from); } - inline CacheLocationChangeSuccessEvent& operator=(const CacheLocationChangeSuccessEvent& from) { + inline DiskCachePathChangedEvent& operator=(const DiskCachePathChangedEvent& from) { CopyFrom(from); return *this; } - inline CacheLocationChangeSuccessEvent& operator=(CacheLocationChangeSuccessEvent&& from) noexcept { + inline DiskCachePathChangedEvent& operator=(DiskCachePathChangedEvent&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -6694,20 +6512,20 @@ class CacheLocationChangeSuccessEvent final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const CacheLocationChangeSuccessEvent& default_instance() { + static const DiskCachePathChangedEvent& default_instance() { return *internal_default_instance(); } - static inline const CacheLocationChangeSuccessEvent* internal_default_instance() { - return reinterpret_cast( - &_CacheLocationChangeSuccessEvent_default_instance_); + static inline const DiskCachePathChangedEvent* internal_default_instance() { + return reinterpret_cast( + &_DiskCachePathChangedEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 37; + 36; - friend void swap(CacheLocationChangeSuccessEvent& a, CacheLocationChangeSuccessEvent& b) { + friend void swap(DiskCachePathChangedEvent& a, DiskCachePathChangedEvent& b) { a.Swap(&b); } - inline void Swap(CacheLocationChangeSuccessEvent* other) { + inline void Swap(DiskCachePathChangedEvent* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -6720,7 +6538,7 @@ class CacheLocationChangeSuccessEvent final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(CacheLocationChangeSuccessEvent* other) { + void UnsafeArenaSwap(DiskCachePathChangedEvent* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -6728,133 +6546,14 @@ class CacheLocationChangeSuccessEvent final : // implements Message ---------------------------------------------- - CacheLocationChangeSuccessEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CacheLocationChangeSuccessEvent& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CacheLocationChangeSuccessEvent& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "grpc.CacheLocationChangeSuccessEvent"; - } - protected: - explicit CacheLocationChangeSuccessEvent(::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 ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:grpc.CacheLocationChangeSuccessEvent) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_bridge_2eproto; -}; -// ------------------------------------------------------------------- - -class ChangeLocalCacheFinishedEvent final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:grpc.ChangeLocalCacheFinishedEvent) */ { - public: - inline ChangeLocalCacheFinishedEvent() : ChangeLocalCacheFinishedEvent(nullptr) {} - ~ChangeLocalCacheFinishedEvent() override; - explicit PROTOBUF_CONSTEXPR ChangeLocalCacheFinishedEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ChangeLocalCacheFinishedEvent(const ChangeLocalCacheFinishedEvent& from); - ChangeLocalCacheFinishedEvent(ChangeLocalCacheFinishedEvent&& from) noexcept - : ChangeLocalCacheFinishedEvent() { - *this = ::std::move(from); - } - - inline ChangeLocalCacheFinishedEvent& operator=(const ChangeLocalCacheFinishedEvent& from) { - CopyFrom(from); - return *this; - } - inline ChangeLocalCacheFinishedEvent& operator=(ChangeLocalCacheFinishedEvent&& 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 ChangeLocalCacheFinishedEvent& default_instance() { - return *internal_default_instance(); - } - static inline const ChangeLocalCacheFinishedEvent* internal_default_instance() { - return reinterpret_cast( - &_ChangeLocalCacheFinishedEvent_default_instance_); - } - static constexpr int kIndexInFileMessages = - 38; - - friend void swap(ChangeLocalCacheFinishedEvent& a, ChangeLocalCacheFinishedEvent& b) { - a.Swap(&b); - } - inline void Swap(ChangeLocalCacheFinishedEvent* 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(ChangeLocalCacheFinishedEvent* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ChangeLocalCacheFinishedEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + DiskCachePathChangedEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ChangeLocalCacheFinishedEvent& from); + void CopyFrom(const DiskCachePathChangedEvent& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ChangeLocalCacheFinishedEvent& from) { - ChangeLocalCacheFinishedEvent::MergeImpl(*this, from); + void MergeFrom( const DiskCachePathChangedEvent& from) { + DiskCachePathChangedEvent::MergeImpl(*this, from); } private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); @@ -6872,163 +6571,15 @@ class ChangeLocalCacheFinishedEvent final : void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(ChangeLocalCacheFinishedEvent* other); + void InternalSwap(DiskCachePathChangedEvent* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "grpc.ChangeLocalCacheFinishedEvent"; + return "grpc.DiskCachePathChangedEvent"; } protected: - explicit ChangeLocalCacheFinishedEvent(::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 { - kWillRestartFieldNumber = 1, - }; - // bool willRestart = 1; - void clear_willrestart(); - bool willrestart() const; - void set_willrestart(bool value); - private: - bool _internal_willrestart() const; - void _internal_set_willrestart(bool value); - public: - - // @@protoc_insertion_point(class_scope:grpc.ChangeLocalCacheFinishedEvent) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - bool willrestart_; - 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: - inline DiskCachePathChanged() : DiskCachePathChanged(nullptr) {} - ~DiskCachePathChanged() override; - explicit PROTOBUF_CONSTEXPR DiskCachePathChanged(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - DiskCachePathChanged(const DiskCachePathChanged& from); - DiskCachePathChanged(DiskCachePathChanged&& from) noexcept - : DiskCachePathChanged() { - *this = ::std::move(from); - } - - inline DiskCachePathChanged& operator=(const DiskCachePathChanged& from) { - CopyFrom(from); - return *this; - } - inline DiskCachePathChanged& operator=(DiskCachePathChanged&& 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 DiskCachePathChanged& default_instance() { - return *internal_default_instance(); - } - static inline const DiskCachePathChanged* internal_default_instance() { - return reinterpret_cast( - &_DiskCachePathChanged_default_instance_); - } - static constexpr int kIndexInFileMessages = - 39; - - friend void swap(DiskCachePathChanged& a, DiskCachePathChanged& b) { - a.Swap(&b); - } - inline void Swap(DiskCachePathChanged* 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(DiskCachePathChanged* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - DiskCachePathChanged* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const DiskCachePathChanged& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const DiskCachePathChanged& from) { - DiskCachePathChanged::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(DiskCachePathChanged* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "grpc.DiskCachePathChanged"; - } - protected: - explicit DiskCachePathChanged(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit DiskCachePathChangedEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -7058,7 +6609,7 @@ class DiskCachePathChanged final : std::string* _internal_mutable_path(); public: - // @@protoc_insertion_point(class_scope:grpc.DiskCachePathChanged) + // @@protoc_insertion_point(class_scope:grpc.DiskCachePathChangedEvent) private: class _Internal; @@ -7074,6 +6625,124 @@ class DiskCachePathChanged final : }; // ------------------------------------------------------------------- +class DiskCachePathChangeFinishedEvent final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:grpc.DiskCachePathChangeFinishedEvent) */ { + public: + inline DiskCachePathChangeFinishedEvent() : DiskCachePathChangeFinishedEvent(nullptr) {} + explicit PROTOBUF_CONSTEXPR DiskCachePathChangeFinishedEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + DiskCachePathChangeFinishedEvent(const DiskCachePathChangeFinishedEvent& from); + DiskCachePathChangeFinishedEvent(DiskCachePathChangeFinishedEvent&& from) noexcept + : DiskCachePathChangeFinishedEvent() { + *this = ::std::move(from); + } + + inline DiskCachePathChangeFinishedEvent& operator=(const DiskCachePathChangeFinishedEvent& from) { + CopyFrom(from); + return *this; + } + inline DiskCachePathChangeFinishedEvent& operator=(DiskCachePathChangeFinishedEvent&& 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 DiskCachePathChangeFinishedEvent& default_instance() { + return *internal_default_instance(); + } + static inline const DiskCachePathChangeFinishedEvent* internal_default_instance() { + return reinterpret_cast( + &_DiskCachePathChangeFinishedEvent_default_instance_); + } + static constexpr int kIndexInFileMessages = + 37; + + friend void swap(DiskCachePathChangeFinishedEvent& a, DiskCachePathChangeFinishedEvent& b) { + a.Swap(&b); + } + inline void Swap(DiskCachePathChangeFinishedEvent* 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(DiskCachePathChangeFinishedEvent* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + DiskCachePathChangeFinishedEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const DiskCachePathChangeFinishedEvent& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const DiskCachePathChangeFinishedEvent& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + public: + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "grpc.DiskCachePathChangeFinishedEvent"; + } + protected: + explicit DiskCachePathChangeFinishedEvent(::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 ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:grpc.DiskCachePathChangeFinishedEvent) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_bridge_2eproto; +}; +// ------------------------------------------------------------------- + class MailSettingsEvent final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:grpc.MailSettingsEvent) */ { public: @@ -7130,7 +6799,7 @@ class MailSettingsEvent final : &_MailSettingsEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 40; + 38; friend void swap(MailSettingsEvent& a, MailSettingsEvent& b) { a.Swap(&b); @@ -7362,7 +7031,7 @@ class MailSettingsErrorEvent final : &_MailSettingsErrorEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 41; + 39; friend void swap(MailSettingsErrorEvent& a, MailSettingsErrorEvent& b) { a.Swap(&b); @@ -7509,7 +7178,7 @@ class UseSslForSmtpFinishedEvent final : &_UseSslForSmtpFinishedEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 42; + 40; friend void swap(UseSslForSmtpFinishedEvent& a, UseSslForSmtpFinishedEvent& b) { a.Swap(&b); @@ -7627,7 +7296,7 @@ class UseSslForImapFinishedEvent final : &_UseSslForImapFinishedEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 43; + 41; friend void swap(UseSslForImapFinishedEvent& a, UseSslForImapFinishedEvent& b) { a.Swap(&b); @@ -7745,7 +7414,7 @@ class ChangePortsFinishedEvent final : &_ChangePortsFinishedEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 44; + 42; friend void swap(ChangePortsFinishedEvent& a, ChangePortsFinishedEvent& b) { a.Swap(&b); @@ -7871,7 +7540,7 @@ class KeychainEvent final : &_KeychainEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 45; + 43; friend void swap(KeychainEvent& a, KeychainEvent& b) { a.Swap(&b); @@ -8081,7 +7750,7 @@ class ChangeKeychainFinishedEvent final : &_ChangeKeychainFinishedEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 46; + 44; friend void swap(ChangeKeychainFinishedEvent& a, ChangeKeychainFinishedEvent& b) { a.Swap(&b); @@ -8199,7 +7868,7 @@ class HasNoKeychainEvent final : &_HasNoKeychainEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 47; + 45; friend void swap(HasNoKeychainEvent& a, HasNoKeychainEvent& b) { a.Swap(&b); @@ -8317,7 +7986,7 @@ class RebuildKeychainEvent final : &_RebuildKeychainEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 48; + 46; friend void swap(RebuildKeychainEvent& a, RebuildKeychainEvent& b) { a.Swap(&b); @@ -8444,7 +8113,7 @@ class MailEvent final : &_MailEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 49; + 47; friend void swap(MailEvent& a, MailEvent& b) { a.Swap(&b); @@ -8676,7 +8345,7 @@ class NoActiveKeyForRecipientEvent final : &_NoActiveKeyForRecipientEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 50; + 48; friend void swap(NoActiveKeyForRecipientEvent& a, NoActiveKeyForRecipientEvent& b) { a.Swap(&b); @@ -8829,7 +8498,7 @@ class AddressChangedEvent final : &_AddressChangedEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 51; + 49; friend void swap(AddressChangedEvent& a, AddressChangedEvent& b) { a.Swap(&b); @@ -8982,7 +8651,7 @@ class AddressChangedLogoutEvent final : &_AddressChangedLogoutEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 52; + 50; friend void swap(AddressChangedLogoutEvent& a, AddressChangedLogoutEvent& b) { a.Swap(&b); @@ -9134,7 +8803,7 @@ class ApiCertIssueEvent final : &_ApiCertIssueEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 53; + 51; friend void swap(ApiCertIssueEvent& a, ApiCertIssueEvent& b) { a.Swap(&b); @@ -9260,7 +8929,7 @@ class UserEvent final : &_UserEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 54; + 52; friend void swap(UserEvent& a, UserEvent& b) { a.Swap(&b); @@ -9471,7 +9140,7 @@ class ToggleSplitModeFinishedEvent final : &_ToggleSplitModeFinishedEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 55; + 53; friend void swap(ToggleSplitModeFinishedEvent& a, ToggleSplitModeFinishedEvent& b) { a.Swap(&b); @@ -9624,7 +9293,7 @@ class UserDisconnectedEvent final : &_UserDisconnectedEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 56; + 54; friend void swap(UserDisconnectedEvent& a, UserDisconnectedEvent& b) { a.Swap(&b); @@ -9777,7 +9446,7 @@ class UserChangedEvent final : &_UserChangedEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 57; + 55; friend void swap(UserChangedEvent& a, UserChangedEvent& b) { a.Swap(&b); @@ -10445,60 +10114,6 @@ inline void LoginAbortRequest::set_allocated_username(std::string* username) { // ------------------------------------------------------------------- -// ChangeLocalCacheRequest - -// string diskCachePath = 2; -inline void ChangeLocalCacheRequest::clear_diskcachepath() { - _impl_.diskcachepath_.ClearToEmpty(); -} -inline const std::string& ChangeLocalCacheRequest::diskcachepath() const { - // @@protoc_insertion_point(field_get:grpc.ChangeLocalCacheRequest.diskCachePath) - return _internal_diskcachepath(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ChangeLocalCacheRequest::set_diskcachepath(ArgT0&& arg0, ArgT... args) { - - _impl_.diskcachepath_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:grpc.ChangeLocalCacheRequest.diskCachePath) -} -inline std::string* ChangeLocalCacheRequest::mutable_diskcachepath() { - std::string* _s = _internal_mutable_diskcachepath(); - // @@protoc_insertion_point(field_mutable:grpc.ChangeLocalCacheRequest.diskCachePath) - return _s; -} -inline const std::string& ChangeLocalCacheRequest::_internal_diskcachepath() const { - return _impl_.diskcachepath_.Get(); -} -inline void ChangeLocalCacheRequest::_internal_set_diskcachepath(const std::string& value) { - - _impl_.diskcachepath_.Set(value, GetArenaForAllocation()); -} -inline std::string* ChangeLocalCacheRequest::_internal_mutable_diskcachepath() { - - return _impl_.diskcachepath_.Mutable(GetArenaForAllocation()); -} -inline std::string* ChangeLocalCacheRequest::release_diskcachepath() { - // @@protoc_insertion_point(field_release:grpc.ChangeLocalCacheRequest.diskCachePath) - return _impl_.diskcachepath_.Release(); -} -inline void ChangeLocalCacheRequest::set_allocated_diskcachepath(std::string* diskcachepath) { - if (diskcachepath != nullptr) { - - } else { - - } - _impl_.diskcachepath_.SetAllocated(diskcachepath, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.diskcachepath_.IsDefault()) { - _impl_.diskcachepath_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:grpc.ChangeLocalCacheRequest.diskCachePath) -} - -// ------------------------------------------------------------------- - // ChangePortsRequest // int32 imapPort = 1; @@ -11501,7 +11116,7 @@ inline ::grpc::UpdateEvent* StreamEvent::mutable_update() { return _msg; } -// .grpc.CacheEvent cache = 4; +// .grpc.DiskCacheEvent cache = 4; inline bool StreamEvent::_internal_has_cache() const { return event_case() == kCache; } @@ -11519,11 +11134,11 @@ inline void StreamEvent::clear_cache() { clear_has_event(); } } -inline ::grpc::CacheEvent* StreamEvent::release_cache() { +inline ::grpc::DiskCacheEvent* StreamEvent::release_cache() { // @@protoc_insertion_point(field_release:grpc.StreamEvent.cache) if (_internal_has_cache()) { clear_has_event(); - ::grpc::CacheEvent* temp = _impl_.event_.cache_; + ::grpc::DiskCacheEvent* temp = _impl_.event_.cache_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } @@ -11533,27 +11148,27 @@ inline ::grpc::CacheEvent* StreamEvent::release_cache() { return nullptr; } } -inline const ::grpc::CacheEvent& StreamEvent::_internal_cache() const { +inline const ::grpc::DiskCacheEvent& StreamEvent::_internal_cache() const { return _internal_has_cache() ? *_impl_.event_.cache_ - : reinterpret_cast< ::grpc::CacheEvent&>(::grpc::_CacheEvent_default_instance_); + : reinterpret_cast< ::grpc::DiskCacheEvent&>(::grpc::_DiskCacheEvent_default_instance_); } -inline const ::grpc::CacheEvent& StreamEvent::cache() const { +inline const ::grpc::DiskCacheEvent& StreamEvent::cache() const { // @@protoc_insertion_point(field_get:grpc.StreamEvent.cache) return _internal_cache(); } -inline ::grpc::CacheEvent* StreamEvent::unsafe_arena_release_cache() { +inline ::grpc::DiskCacheEvent* StreamEvent::unsafe_arena_release_cache() { // @@protoc_insertion_point(field_unsafe_arena_release:grpc.StreamEvent.cache) if (_internal_has_cache()) { clear_has_event(); - ::grpc::CacheEvent* temp = _impl_.event_.cache_; + ::grpc::DiskCacheEvent* temp = _impl_.event_.cache_; _impl_.event_.cache_ = nullptr; return temp; } else { return nullptr; } } -inline void StreamEvent::unsafe_arena_set_allocated_cache(::grpc::CacheEvent* cache) { +inline void StreamEvent::unsafe_arena_set_allocated_cache(::grpc::DiskCacheEvent* cache) { clear_event(); if (cache) { set_has_cache(); @@ -11561,16 +11176,16 @@ inline void StreamEvent::unsafe_arena_set_allocated_cache(::grpc::CacheEvent* ca } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.StreamEvent.cache) } -inline ::grpc::CacheEvent* StreamEvent::_internal_mutable_cache() { +inline ::grpc::DiskCacheEvent* StreamEvent::_internal_mutable_cache() { if (!_internal_has_cache()) { clear_event(); set_has_cache(); - _impl_.event_.cache_ = CreateMaybeMessage< ::grpc::CacheEvent >(GetArenaForAllocation()); + _impl_.event_.cache_ = CreateMaybeMessage< ::grpc::DiskCacheEvent >(GetArenaForAllocation()); } return _impl_.event_.cache_; } -inline ::grpc::CacheEvent* StreamEvent::mutable_cache() { - ::grpc::CacheEvent* _msg = _internal_mutable_cache(); +inline ::grpc::DiskCacheEvent* StreamEvent::mutable_cache() { + ::grpc::DiskCacheEvent* _msg = _internal_mutable_cache(); // @@protoc_insertion_point(field_mutable:grpc.StreamEvent.cache) return _msg; } @@ -13787,19 +13402,19 @@ inline void UpdateForceEvent::set_allocated_version(std::string* version) { // ------------------------------------------------------------------- -// CacheEvent +// DiskCacheEvent -// .grpc.CacheErrorEvent error = 1; -inline bool CacheEvent::_internal_has_error() const { +// .grpc.DiskCacheErrorEvent error = 1; +inline bool DiskCacheEvent::_internal_has_error() const { return event_case() == kError; } -inline bool CacheEvent::has_error() const { +inline bool DiskCacheEvent::has_error() const { return _internal_has_error(); } -inline void CacheEvent::set_has_error() { +inline void DiskCacheEvent::set_has_error() { _impl_._oneof_case_[0] = kError; } -inline void CacheEvent::clear_error() { +inline void DiskCacheEvent::clear_error() { if (_internal_has_error()) { if (GetArenaForAllocation() == nullptr) { delete _impl_.event_.error_; @@ -13807,11 +13422,11 @@ inline void CacheEvent::clear_error() { clear_has_event(); } } -inline ::grpc::CacheErrorEvent* CacheEvent::release_error() { - // @@protoc_insertion_point(field_release:grpc.CacheEvent.error) +inline ::grpc::DiskCacheErrorEvent* DiskCacheEvent::release_error() { + // @@protoc_insertion_point(field_release:grpc.DiskCacheEvent.error) if (_internal_has_error()) { clear_has_event(); - ::grpc::CacheErrorEvent* temp = _impl_.event_.error_; + ::grpc::DiskCacheErrorEvent* temp = _impl_.event_.error_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } @@ -13821,371 +13436,269 @@ inline ::grpc::CacheErrorEvent* CacheEvent::release_error() { return nullptr; } } -inline const ::grpc::CacheErrorEvent& CacheEvent::_internal_error() const { +inline const ::grpc::DiskCacheErrorEvent& DiskCacheEvent::_internal_error() const { return _internal_has_error() ? *_impl_.event_.error_ - : reinterpret_cast< ::grpc::CacheErrorEvent&>(::grpc::_CacheErrorEvent_default_instance_); + : reinterpret_cast< ::grpc::DiskCacheErrorEvent&>(::grpc::_DiskCacheErrorEvent_default_instance_); } -inline const ::grpc::CacheErrorEvent& CacheEvent::error() const { - // @@protoc_insertion_point(field_get:grpc.CacheEvent.error) +inline const ::grpc::DiskCacheErrorEvent& DiskCacheEvent::error() const { + // @@protoc_insertion_point(field_get:grpc.DiskCacheEvent.error) return _internal_error(); } -inline ::grpc::CacheErrorEvent* CacheEvent::unsafe_arena_release_error() { - // @@protoc_insertion_point(field_unsafe_arena_release:grpc.CacheEvent.error) +inline ::grpc::DiskCacheErrorEvent* DiskCacheEvent::unsafe_arena_release_error() { + // @@protoc_insertion_point(field_unsafe_arena_release:grpc.DiskCacheEvent.error) if (_internal_has_error()) { clear_has_event(); - ::grpc::CacheErrorEvent* temp = _impl_.event_.error_; + ::grpc::DiskCacheErrorEvent* temp = _impl_.event_.error_; _impl_.event_.error_ = nullptr; return temp; } else { return nullptr; } } -inline void CacheEvent::unsafe_arena_set_allocated_error(::grpc::CacheErrorEvent* error) { +inline void DiskCacheEvent::unsafe_arena_set_allocated_error(::grpc::DiskCacheErrorEvent* error) { clear_event(); if (error) { set_has_error(); _impl_.event_.error_ = error; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.CacheEvent.error) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.DiskCacheEvent.error) } -inline ::grpc::CacheErrorEvent* CacheEvent::_internal_mutable_error() { +inline ::grpc::DiskCacheErrorEvent* DiskCacheEvent::_internal_mutable_error() { if (!_internal_has_error()) { clear_event(); set_has_error(); - _impl_.event_.error_ = CreateMaybeMessage< ::grpc::CacheErrorEvent >(GetArenaForAllocation()); + _impl_.event_.error_ = CreateMaybeMessage< ::grpc::DiskCacheErrorEvent >(GetArenaForAllocation()); } return _impl_.event_.error_; } -inline ::grpc::CacheErrorEvent* CacheEvent::mutable_error() { - ::grpc::CacheErrorEvent* _msg = _internal_mutable_error(); - // @@protoc_insertion_point(field_mutable:grpc.CacheEvent.error) +inline ::grpc::DiskCacheErrorEvent* DiskCacheEvent::mutable_error() { + ::grpc::DiskCacheErrorEvent* _msg = _internal_mutable_error(); + // @@protoc_insertion_point(field_mutable:grpc.DiskCacheEvent.error) return _msg; } -// .grpc.CacheLocationChangeSuccessEvent locationChangedSuccess = 2; -inline bool CacheEvent::_internal_has_locationchangedsuccess() const { - return event_case() == kLocationChangedSuccess; +// .grpc.DiskCachePathChangedEvent pathChanged = 2; +inline bool DiskCacheEvent::_internal_has_pathchanged() const { + return event_case() == kPathChanged; } -inline bool CacheEvent::has_locationchangedsuccess() const { - return _internal_has_locationchangedsuccess(); +inline bool DiskCacheEvent::has_pathchanged() const { + return _internal_has_pathchanged(); } -inline void CacheEvent::set_has_locationchangedsuccess() { - _impl_._oneof_case_[0] = kLocationChangedSuccess; +inline void DiskCacheEvent::set_has_pathchanged() { + _impl_._oneof_case_[0] = kPathChanged; } -inline void CacheEvent::clear_locationchangedsuccess() { - if (_internal_has_locationchangedsuccess()) { +inline void DiskCacheEvent::clear_pathchanged() { + if (_internal_has_pathchanged()) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.event_.locationchangedsuccess_; + delete _impl_.event_.pathchanged_; } clear_has_event(); } } -inline ::grpc::CacheLocationChangeSuccessEvent* CacheEvent::release_locationchangedsuccess() { - // @@protoc_insertion_point(field_release:grpc.CacheEvent.locationChangedSuccess) - if (_internal_has_locationchangedsuccess()) { +inline ::grpc::DiskCachePathChangedEvent* DiskCacheEvent::release_pathchanged() { + // @@protoc_insertion_point(field_release:grpc.DiskCacheEvent.pathChanged) + if (_internal_has_pathchanged()) { clear_has_event(); - ::grpc::CacheLocationChangeSuccessEvent* temp = _impl_.event_.locationchangedsuccess_; + ::grpc::DiskCachePathChangedEvent* temp = _impl_.event_.pathchanged_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.event_.locationchangedsuccess_ = nullptr; + _impl_.event_.pathchanged_ = nullptr; return temp; } else { return nullptr; } } -inline const ::grpc::CacheLocationChangeSuccessEvent& CacheEvent::_internal_locationchangedsuccess() const { - return _internal_has_locationchangedsuccess() - ? *_impl_.event_.locationchangedsuccess_ - : reinterpret_cast< ::grpc::CacheLocationChangeSuccessEvent&>(::grpc::_CacheLocationChangeSuccessEvent_default_instance_); +inline const ::grpc::DiskCachePathChangedEvent& DiskCacheEvent::_internal_pathchanged() const { + return _internal_has_pathchanged() + ? *_impl_.event_.pathchanged_ + : reinterpret_cast< ::grpc::DiskCachePathChangedEvent&>(::grpc::_DiskCachePathChangedEvent_default_instance_); } -inline const ::grpc::CacheLocationChangeSuccessEvent& CacheEvent::locationchangedsuccess() const { - // @@protoc_insertion_point(field_get:grpc.CacheEvent.locationChangedSuccess) - return _internal_locationchangedsuccess(); +inline const ::grpc::DiskCachePathChangedEvent& DiskCacheEvent::pathchanged() const { + // @@protoc_insertion_point(field_get:grpc.DiskCacheEvent.pathChanged) + return _internal_pathchanged(); } -inline ::grpc::CacheLocationChangeSuccessEvent* CacheEvent::unsafe_arena_release_locationchangedsuccess() { - // @@protoc_insertion_point(field_unsafe_arena_release:grpc.CacheEvent.locationChangedSuccess) - if (_internal_has_locationchangedsuccess()) { +inline ::grpc::DiskCachePathChangedEvent* DiskCacheEvent::unsafe_arena_release_pathchanged() { + // @@protoc_insertion_point(field_unsafe_arena_release:grpc.DiskCacheEvent.pathChanged) + if (_internal_has_pathchanged()) { clear_has_event(); - ::grpc::CacheLocationChangeSuccessEvent* temp = _impl_.event_.locationchangedsuccess_; - _impl_.event_.locationchangedsuccess_ = nullptr; + ::grpc::DiskCachePathChangedEvent* temp = _impl_.event_.pathchanged_; + _impl_.event_.pathchanged_ = nullptr; return temp; } else { return nullptr; } } -inline void CacheEvent::unsafe_arena_set_allocated_locationchangedsuccess(::grpc::CacheLocationChangeSuccessEvent* locationchangedsuccess) { +inline void DiskCacheEvent::unsafe_arena_set_allocated_pathchanged(::grpc::DiskCachePathChangedEvent* pathchanged) { clear_event(); - if (locationchangedsuccess) { - set_has_locationchangedsuccess(); - _impl_.event_.locationchangedsuccess_ = locationchangedsuccess; + if (pathchanged) { + set_has_pathchanged(); + _impl_.event_.pathchanged_ = pathchanged; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.CacheEvent.locationChangedSuccess) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.DiskCacheEvent.pathChanged) } -inline ::grpc::CacheLocationChangeSuccessEvent* CacheEvent::_internal_mutable_locationchangedsuccess() { - if (!_internal_has_locationchangedsuccess()) { +inline ::grpc::DiskCachePathChangedEvent* DiskCacheEvent::_internal_mutable_pathchanged() { + if (!_internal_has_pathchanged()) { clear_event(); - set_has_locationchangedsuccess(); - _impl_.event_.locationchangedsuccess_ = CreateMaybeMessage< ::grpc::CacheLocationChangeSuccessEvent >(GetArenaForAllocation()); + set_has_pathchanged(); + _impl_.event_.pathchanged_ = CreateMaybeMessage< ::grpc::DiskCachePathChangedEvent >(GetArenaForAllocation()); } - return _impl_.event_.locationchangedsuccess_; + return _impl_.event_.pathchanged_; } -inline ::grpc::CacheLocationChangeSuccessEvent* CacheEvent::mutable_locationchangedsuccess() { - ::grpc::CacheLocationChangeSuccessEvent* _msg = _internal_mutable_locationchangedsuccess(); - // @@protoc_insertion_point(field_mutable:grpc.CacheEvent.locationChangedSuccess) +inline ::grpc::DiskCachePathChangedEvent* DiskCacheEvent::mutable_pathchanged() { + ::grpc::DiskCachePathChangedEvent* _msg = _internal_mutable_pathchanged(); + // @@protoc_insertion_point(field_mutable:grpc.DiskCacheEvent.pathChanged) return _msg; } -// .grpc.ChangeLocalCacheFinishedEvent changeLocalCacheFinished = 3; -inline bool CacheEvent::_internal_has_changelocalcachefinished() const { - return event_case() == kChangeLocalCacheFinished; +// .grpc.DiskCachePathChangeFinishedEvent pathChangeFinished = 3; +inline bool DiskCacheEvent::_internal_has_pathchangefinished() const { + return event_case() == kPathChangeFinished; } -inline bool CacheEvent::has_changelocalcachefinished() const { - return _internal_has_changelocalcachefinished(); +inline bool DiskCacheEvent::has_pathchangefinished() const { + return _internal_has_pathchangefinished(); } -inline void CacheEvent::set_has_changelocalcachefinished() { - _impl_._oneof_case_[0] = kChangeLocalCacheFinished; +inline void DiskCacheEvent::set_has_pathchangefinished() { + _impl_._oneof_case_[0] = kPathChangeFinished; } -inline void CacheEvent::clear_changelocalcachefinished() { - if (_internal_has_changelocalcachefinished()) { +inline void DiskCacheEvent::clear_pathchangefinished() { + if (_internal_has_pathchangefinished()) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.event_.changelocalcachefinished_; + delete _impl_.event_.pathchangefinished_; } clear_has_event(); } } -inline ::grpc::ChangeLocalCacheFinishedEvent* CacheEvent::release_changelocalcachefinished() { - // @@protoc_insertion_point(field_release:grpc.CacheEvent.changeLocalCacheFinished) - if (_internal_has_changelocalcachefinished()) { +inline ::grpc::DiskCachePathChangeFinishedEvent* DiskCacheEvent::release_pathchangefinished() { + // @@protoc_insertion_point(field_release:grpc.DiskCacheEvent.pathChangeFinished) + if (_internal_has_pathchangefinished()) { clear_has_event(); - ::grpc::ChangeLocalCacheFinishedEvent* temp = _impl_.event_.changelocalcachefinished_; + ::grpc::DiskCachePathChangeFinishedEvent* temp = _impl_.event_.pathchangefinished_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.event_.changelocalcachefinished_ = nullptr; + _impl_.event_.pathchangefinished_ = nullptr; return temp; } else { return nullptr; } } -inline const ::grpc::ChangeLocalCacheFinishedEvent& CacheEvent::_internal_changelocalcachefinished() const { - return _internal_has_changelocalcachefinished() - ? *_impl_.event_.changelocalcachefinished_ - : reinterpret_cast< ::grpc::ChangeLocalCacheFinishedEvent&>(::grpc::_ChangeLocalCacheFinishedEvent_default_instance_); +inline const ::grpc::DiskCachePathChangeFinishedEvent& DiskCacheEvent::_internal_pathchangefinished() const { + return _internal_has_pathchangefinished() + ? *_impl_.event_.pathchangefinished_ + : reinterpret_cast< ::grpc::DiskCachePathChangeFinishedEvent&>(::grpc::_DiskCachePathChangeFinishedEvent_default_instance_); } -inline const ::grpc::ChangeLocalCacheFinishedEvent& CacheEvent::changelocalcachefinished() const { - // @@protoc_insertion_point(field_get:grpc.CacheEvent.changeLocalCacheFinished) - return _internal_changelocalcachefinished(); +inline const ::grpc::DiskCachePathChangeFinishedEvent& DiskCacheEvent::pathchangefinished() const { + // @@protoc_insertion_point(field_get:grpc.DiskCacheEvent.pathChangeFinished) + return _internal_pathchangefinished(); } -inline ::grpc::ChangeLocalCacheFinishedEvent* CacheEvent::unsafe_arena_release_changelocalcachefinished() { - // @@protoc_insertion_point(field_unsafe_arena_release:grpc.CacheEvent.changeLocalCacheFinished) - if (_internal_has_changelocalcachefinished()) { +inline ::grpc::DiskCachePathChangeFinishedEvent* DiskCacheEvent::unsafe_arena_release_pathchangefinished() { + // @@protoc_insertion_point(field_unsafe_arena_release:grpc.DiskCacheEvent.pathChangeFinished) + if (_internal_has_pathchangefinished()) { clear_has_event(); - ::grpc::ChangeLocalCacheFinishedEvent* temp = _impl_.event_.changelocalcachefinished_; - _impl_.event_.changelocalcachefinished_ = nullptr; + ::grpc::DiskCachePathChangeFinishedEvent* temp = _impl_.event_.pathchangefinished_; + _impl_.event_.pathchangefinished_ = nullptr; return temp; } else { return nullptr; } } -inline void CacheEvent::unsafe_arena_set_allocated_changelocalcachefinished(::grpc::ChangeLocalCacheFinishedEvent* changelocalcachefinished) { +inline void DiskCacheEvent::unsafe_arena_set_allocated_pathchangefinished(::grpc::DiskCachePathChangeFinishedEvent* pathchangefinished) { clear_event(); - if (changelocalcachefinished) { - set_has_changelocalcachefinished(); - _impl_.event_.changelocalcachefinished_ = changelocalcachefinished; + if (pathchangefinished) { + set_has_pathchangefinished(); + _impl_.event_.pathchangefinished_ = pathchangefinished; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.CacheEvent.changeLocalCacheFinished) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.DiskCacheEvent.pathChangeFinished) } -inline ::grpc::ChangeLocalCacheFinishedEvent* CacheEvent::_internal_mutable_changelocalcachefinished() { - if (!_internal_has_changelocalcachefinished()) { +inline ::grpc::DiskCachePathChangeFinishedEvent* DiskCacheEvent::_internal_mutable_pathchangefinished() { + if (!_internal_has_pathchangefinished()) { clear_event(); - set_has_changelocalcachefinished(); - _impl_.event_.changelocalcachefinished_ = CreateMaybeMessage< ::grpc::ChangeLocalCacheFinishedEvent >(GetArenaForAllocation()); + set_has_pathchangefinished(); + _impl_.event_.pathchangefinished_ = CreateMaybeMessage< ::grpc::DiskCachePathChangeFinishedEvent >(GetArenaForAllocation()); } - return _impl_.event_.changelocalcachefinished_; + return _impl_.event_.pathchangefinished_; } -inline ::grpc::ChangeLocalCacheFinishedEvent* CacheEvent::mutable_changelocalcachefinished() { - ::grpc::ChangeLocalCacheFinishedEvent* _msg = _internal_mutable_changelocalcachefinished(); - // @@protoc_insertion_point(field_mutable:grpc.CacheEvent.changeLocalCacheFinished) +inline ::grpc::DiskCachePathChangeFinishedEvent* DiskCacheEvent::mutable_pathchangefinished() { + ::grpc::DiskCachePathChangeFinishedEvent* _msg = _internal_mutable_pathchangefinished(); + // @@protoc_insertion_point(field_mutable:grpc.DiskCacheEvent.pathChangeFinished) return _msg; } -// .grpc.DiskCachePathChanged diskCachePathChanged = 5; -inline bool CacheEvent::_internal_has_diskcachepathchanged() const { - return event_case() == kDiskCachePathChanged; -} -inline bool CacheEvent::has_diskcachepathchanged() const { - return _internal_has_diskcachepathchanged(); -} -inline void CacheEvent::set_has_diskcachepathchanged() { - _impl_._oneof_case_[0] = kDiskCachePathChanged; -} -inline void CacheEvent::clear_diskcachepathchanged() { - if (_internal_has_diskcachepathchanged()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.event_.diskcachepathchanged_; - } - clear_has_event(); - } -} -inline ::grpc::DiskCachePathChanged* CacheEvent::release_diskcachepathchanged() { - // @@protoc_insertion_point(field_release:grpc.CacheEvent.diskCachePathChanged) - if (_internal_has_diskcachepathchanged()) { - clear_has_event(); - ::grpc::DiskCachePathChanged* temp = _impl_.event_.diskcachepathchanged_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.event_.diskcachepathchanged_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::grpc::DiskCachePathChanged& CacheEvent::_internal_diskcachepathchanged() const { - return _internal_has_diskcachepathchanged() - ? *_impl_.event_.diskcachepathchanged_ - : reinterpret_cast< ::grpc::DiskCachePathChanged&>(::grpc::_DiskCachePathChanged_default_instance_); -} -inline const ::grpc::DiskCachePathChanged& CacheEvent::diskcachepathchanged() const { - // @@protoc_insertion_point(field_get:grpc.CacheEvent.diskCachePathChanged) - return _internal_diskcachepathchanged(); -} -inline ::grpc::DiskCachePathChanged* CacheEvent::unsafe_arena_release_diskcachepathchanged() { - // @@protoc_insertion_point(field_unsafe_arena_release:grpc.CacheEvent.diskCachePathChanged) - if (_internal_has_diskcachepathchanged()) { - clear_has_event(); - ::grpc::DiskCachePathChanged* temp = _impl_.event_.diskcachepathchanged_; - _impl_.event_.diskcachepathchanged_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void CacheEvent::unsafe_arena_set_allocated_diskcachepathchanged(::grpc::DiskCachePathChanged* diskcachepathchanged) { - clear_event(); - if (diskcachepathchanged) { - set_has_diskcachepathchanged(); - _impl_.event_.diskcachepathchanged_ = diskcachepathchanged; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.CacheEvent.diskCachePathChanged) -} -inline ::grpc::DiskCachePathChanged* CacheEvent::_internal_mutable_diskcachepathchanged() { - if (!_internal_has_diskcachepathchanged()) { - clear_event(); - set_has_diskcachepathchanged(); - _impl_.event_.diskcachepathchanged_ = CreateMaybeMessage< ::grpc::DiskCachePathChanged >(GetArenaForAllocation()); - } - return _impl_.event_.diskcachepathchanged_; -} -inline ::grpc::DiskCachePathChanged* CacheEvent::mutable_diskcachepathchanged() { - ::grpc::DiskCachePathChanged* _msg = _internal_mutable_diskcachepathchanged(); - // @@protoc_insertion_point(field_mutable:grpc.CacheEvent.diskCachePathChanged) - return _msg; -} - -inline bool CacheEvent::has_event() const { +inline bool DiskCacheEvent::has_event() const { return event_case() != EVENT_NOT_SET; } -inline void CacheEvent::clear_has_event() { +inline void DiskCacheEvent::clear_has_event() { _impl_._oneof_case_[0] = EVENT_NOT_SET; } -inline CacheEvent::EventCase CacheEvent::event_case() const { - return CacheEvent::EventCase(_impl_._oneof_case_[0]); +inline DiskCacheEvent::EventCase DiskCacheEvent::event_case() const { + return DiskCacheEvent::EventCase(_impl_._oneof_case_[0]); } // ------------------------------------------------------------------- -// CacheErrorEvent +// DiskCacheErrorEvent -// .grpc.CacheErrorType type = 1; -inline void CacheErrorEvent::clear_type() { +// .grpc.DiskCacheErrorType type = 1; +inline void DiskCacheErrorEvent::clear_type() { _impl_.type_ = 0; } -inline ::grpc::CacheErrorType CacheErrorEvent::_internal_type() const { - return static_cast< ::grpc::CacheErrorType >(_impl_.type_); +inline ::grpc::DiskCacheErrorType DiskCacheErrorEvent::_internal_type() const { + return static_cast< ::grpc::DiskCacheErrorType >(_impl_.type_); } -inline ::grpc::CacheErrorType CacheErrorEvent::type() const { - // @@protoc_insertion_point(field_get:grpc.CacheErrorEvent.type) +inline ::grpc::DiskCacheErrorType DiskCacheErrorEvent::type() const { + // @@protoc_insertion_point(field_get:grpc.DiskCacheErrorEvent.type) return _internal_type(); } -inline void CacheErrorEvent::_internal_set_type(::grpc::CacheErrorType value) { +inline void DiskCacheErrorEvent::_internal_set_type(::grpc::DiskCacheErrorType value) { _impl_.type_ = value; } -inline void CacheErrorEvent::set_type(::grpc::CacheErrorType value) { +inline void DiskCacheErrorEvent::set_type(::grpc::DiskCacheErrorType value) { _internal_set_type(value); - // @@protoc_insertion_point(field_set:grpc.CacheErrorEvent.type) + // @@protoc_insertion_point(field_set:grpc.DiskCacheErrorEvent.type) } // ------------------------------------------------------------------- -// CacheLocationChangeSuccessEvent - -// ------------------------------------------------------------------- - -// ChangeLocalCacheFinishedEvent - -// bool willRestart = 1; -inline void ChangeLocalCacheFinishedEvent::clear_willrestart() { - _impl_.willrestart_ = false; -} -inline bool ChangeLocalCacheFinishedEvent::_internal_willrestart() const { - return _impl_.willrestart_; -} -inline bool ChangeLocalCacheFinishedEvent::willrestart() const { - // @@protoc_insertion_point(field_get:grpc.ChangeLocalCacheFinishedEvent.willRestart) - return _internal_willrestart(); -} -inline void ChangeLocalCacheFinishedEvent::_internal_set_willrestart(bool value) { - - _impl_.willrestart_ = value; -} -inline void ChangeLocalCacheFinishedEvent::set_willrestart(bool value) { - _internal_set_willrestart(value); - // @@protoc_insertion_point(field_set:grpc.ChangeLocalCacheFinishedEvent.willRestart) -} - -// ------------------------------------------------------------------- - -// DiskCachePathChanged +// DiskCachePathChangedEvent // string path = 1; -inline void DiskCachePathChanged::clear_path() { +inline void DiskCachePathChangedEvent::clear_path() { _impl_.path_.ClearToEmpty(); } -inline const std::string& DiskCachePathChanged::path() const { - // @@protoc_insertion_point(field_get:grpc.DiskCachePathChanged.path) +inline const std::string& DiskCachePathChangedEvent::path() const { + // @@protoc_insertion_point(field_get:grpc.DiskCachePathChangedEvent.path) return _internal_path(); } template inline PROTOBUF_ALWAYS_INLINE -void DiskCachePathChanged::set_path(ArgT0&& arg0, ArgT... args) { +void DiskCachePathChangedEvent::set_path(ArgT0&& arg0, ArgT... args) { _impl_.path_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:grpc.DiskCachePathChanged.path) + // @@protoc_insertion_point(field_set:grpc.DiskCachePathChangedEvent.path) } -inline std::string* DiskCachePathChanged::mutable_path() { +inline std::string* DiskCachePathChangedEvent::mutable_path() { std::string* _s = _internal_mutable_path(); - // @@protoc_insertion_point(field_mutable:grpc.DiskCachePathChanged.path) + // @@protoc_insertion_point(field_mutable:grpc.DiskCachePathChangedEvent.path) return _s; } -inline const std::string& DiskCachePathChanged::_internal_path() const { +inline const std::string& DiskCachePathChangedEvent::_internal_path() const { return _impl_.path_.Get(); } -inline void DiskCachePathChanged::_internal_set_path(const std::string& value) { +inline void DiskCachePathChangedEvent::_internal_set_path(const std::string& value) { _impl_.path_.Set(value, GetArenaForAllocation()); } -inline std::string* DiskCachePathChanged::_internal_mutable_path() { +inline std::string* DiskCachePathChangedEvent::_internal_mutable_path() { return _impl_.path_.Mutable(GetArenaForAllocation()); } -inline std::string* DiskCachePathChanged::release_path() { - // @@protoc_insertion_point(field_release:grpc.DiskCachePathChanged.path) +inline std::string* DiskCachePathChangedEvent::release_path() { + // @@protoc_insertion_point(field_release:grpc.DiskCachePathChangedEvent.path) return _impl_.path_.Release(); } -inline void DiskCachePathChanged::set_allocated_path(std::string* path) { +inline void DiskCachePathChangedEvent::set_allocated_path(std::string* path) { if (path != nullptr) { } else { @@ -14197,11 +13710,15 @@ inline void DiskCachePathChanged::set_allocated_path(std::string* path) { _impl_.path_.Set("", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:grpc.DiskCachePathChanged.path) + // @@protoc_insertion_point(field_set_allocated:grpc.DiskCachePathChangedEvent.path) } // ------------------------------------------------------------------- +// DiskCachePathChangeFinishedEvent + +// ------------------------------------------------------------------- + // MailSettingsEvent // .grpc.MailSettingsErrorEvent error = 1; @@ -15777,10 +15294,6 @@ inline void UserChangedEvent::set_allocated_userid(std::string* userid) { // ------------------------------------------------------------------- -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - // @@protoc_insertion_point(namespace_scope) @@ -15803,10 +15316,10 @@ template <> inline const EnumDescriptor* GetEnumDescriptor< ::grpc::UpdateErrorType>() { return ::grpc::UpdateErrorType_descriptor(); } -template <> struct is_proto_enum< ::grpc::CacheErrorType> : ::std::true_type {}; +template <> struct is_proto_enum< ::grpc::DiskCacheErrorType> : ::std::true_type {}; template <> -inline const EnumDescriptor* GetEnumDescriptor< ::grpc::CacheErrorType>() { - return ::grpc::CacheErrorType_descriptor(); +inline const EnumDescriptor* GetEnumDescriptor< ::grpc::DiskCacheErrorType>() { + return ::grpc::DiskCacheErrorType_descriptor(); } template <> struct is_proto_enum< ::grpc::MailSettingsErrorType> : ::std::true_type {}; template <> diff --git a/internal/frontend/grpc/bridge.pb.go b/internal/frontend/grpc/bridge.pb.go index 8aea0d23..59143cb5 100644 --- a/internal/frontend/grpc/bridge.pb.go +++ b/internal/frontend/grpc/bridge.pb.go @@ -17,8 +17,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 -// protoc v3.19.4 +// protoc-gen-go v1.28.0 +// protoc v3.21.3 // source: bridge.proto package grpc @@ -40,9 +40,9 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -// ********************************************************** +//********************************************************** // Log related message -// ********************************************************** +//********************************************************** // Note: the enum values are prefixed with 'LOG_' to avoid a clash in C++ on Windows with the ERROR macro defined in wingdi.h type LogLevel int32 @@ -215,52 +215,52 @@ func (UpdateErrorType) EnumDescriptor() ([]byte, []int) { return file_bridge_proto_rawDescGZIP(), []int{2} } -type CacheErrorType int32 +type DiskCacheErrorType int32 const ( - CacheErrorType_CACHE_UNAVAILABLE_ERROR CacheErrorType = 0 - CacheErrorType_CACHE_CANT_MOVE_ERROR CacheErrorType = 1 - CacheErrorType_DISK_FULL CacheErrorType = 2 + DiskCacheErrorType_DISK_CACHE_UNAVAILABLE_ERROR DiskCacheErrorType = 0 + DiskCacheErrorType_CANT_MOVE_DISK_CACHE_ERROR DiskCacheErrorType = 1 + DiskCacheErrorType_DISK_FULL_ERROR DiskCacheErrorType = 2 ) -// Enum value maps for CacheErrorType. +// Enum value maps for DiskCacheErrorType. var ( - CacheErrorType_name = map[int32]string{ - 0: "CACHE_UNAVAILABLE_ERROR", - 1: "CACHE_CANT_MOVE_ERROR", - 2: "DISK_FULL", + DiskCacheErrorType_name = map[int32]string{ + 0: "DISK_CACHE_UNAVAILABLE_ERROR", + 1: "CANT_MOVE_DISK_CACHE_ERROR", + 2: "DISK_FULL_ERROR", } - CacheErrorType_value = map[string]int32{ - "CACHE_UNAVAILABLE_ERROR": 0, - "CACHE_CANT_MOVE_ERROR": 1, - "DISK_FULL": 2, + DiskCacheErrorType_value = map[string]int32{ + "DISK_CACHE_UNAVAILABLE_ERROR": 0, + "CANT_MOVE_DISK_CACHE_ERROR": 1, + "DISK_FULL_ERROR": 2, } ) -func (x CacheErrorType) Enum() *CacheErrorType { - p := new(CacheErrorType) +func (x DiskCacheErrorType) Enum() *DiskCacheErrorType { + p := new(DiskCacheErrorType) *p = x return p } -func (x CacheErrorType) String() string { +func (x DiskCacheErrorType) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (CacheErrorType) Descriptor() protoreflect.EnumDescriptor { +func (DiskCacheErrorType) Descriptor() protoreflect.EnumDescriptor { return file_bridge_proto_enumTypes[3].Descriptor() } -func (CacheErrorType) Type() protoreflect.EnumType { +func (DiskCacheErrorType) Type() protoreflect.EnumType { return &file_bridge_proto_enumTypes[3] } -func (x CacheErrorType) Number() protoreflect.EnumNumber { +func (x DiskCacheErrorType) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } -// Deprecated: Use CacheErrorType.Descriptor instead. -func (CacheErrorType) EnumDescriptor() ([]byte, []int) { +// Deprecated: Use DiskCacheErrorType.Descriptor instead. +func (DiskCacheErrorType) EnumDescriptor() ([]byte, []int) { return file_bridge_proto_rawDescGZIP(), []int{3} } @@ -373,11 +373,9 @@ func (x *AddLogEntryRequest) GetMessage() string { return "" } -// ********************************************************** -// -// Bug reporting related messages. -// -// ********************************************************** +//********************************************************** +// Bug reporting related messages. +//********************************************************** type ReportBugRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -567,59 +565,9 @@ func (x *LoginAbortRequest) GetUsername() string { return "" } -// ********************************************************** -// Cache on disk related message -// ********************************************************** -type ChangeLocalCacheRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DiskCachePath string `protobuf:"bytes,2,opt,name=diskCachePath,proto3" json:"diskCachePath,omitempty"` -} - -func (x *ChangeLocalCacheRequest) Reset() { - *x = ChangeLocalCacheRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChangeLocalCacheRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChangeLocalCacheRequest) ProtoMessage() {} - -func (x *ChangeLocalCacheRequest) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChangeLocalCacheRequest.ProtoReflect.Descriptor instead. -func (*ChangeLocalCacheRequest) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{4} -} - -func (x *ChangeLocalCacheRequest) GetDiskCachePath() string { - if x != nil { - return x.DiskCachePath - } - return "" -} - -// ********************************************************** +//********************************************************** // Port related message -// ********************************************************** +//********************************************************** type ChangePortsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -632,7 +580,7 @@ type ChangePortsRequest struct { func (x *ChangePortsRequest) Reset() { *x = ChangePortsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[5] + mi := &file_bridge_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -645,7 +593,7 @@ func (x *ChangePortsRequest) String() string { func (*ChangePortsRequest) ProtoMessage() {} func (x *ChangePortsRequest) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[5] + mi := &file_bridge_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -658,7 +606,7 @@ func (x *ChangePortsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ChangePortsRequest.ProtoReflect.Descriptor instead. func (*ChangePortsRequest) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{5} + return file_bridge_proto_rawDescGZIP(), []int{4} } func (x *ChangePortsRequest) GetImapPort() int32 { @@ -675,9 +623,9 @@ func (x *ChangePortsRequest) GetSmtpPort() int32 { return 0 } -// ********************************************************** +//********************************************************** // Keychain related message -// ********************************************************** +//********************************************************** type AvailableKeychainsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -689,7 +637,7 @@ type AvailableKeychainsResponse struct { func (x *AvailableKeychainsResponse) Reset() { *x = AvailableKeychainsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[6] + mi := &file_bridge_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -702,7 +650,7 @@ func (x *AvailableKeychainsResponse) String() string { func (*AvailableKeychainsResponse) ProtoMessage() {} func (x *AvailableKeychainsResponse) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[6] + mi := &file_bridge_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -715,7 +663,7 @@ func (x *AvailableKeychainsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use AvailableKeychainsResponse.ProtoReflect.Descriptor instead. func (*AvailableKeychainsResponse) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{6} + return file_bridge_proto_rawDescGZIP(), []int{5} } func (x *AvailableKeychainsResponse) GetKeychains() []string { @@ -725,9 +673,9 @@ func (x *AvailableKeychainsResponse) GetKeychains() []string { return nil } -// ********************************************************** +//********************************************************** // Cache on disk related messages -// ********************************************************** +//********************************************************** type User struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -748,7 +696,7 @@ type User struct { func (x *User) Reset() { *x = User{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[7] + mi := &file_bridge_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -761,7 +709,7 @@ func (x *User) String() string { func (*User) ProtoMessage() {} func (x *User) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[7] + mi := &file_bridge_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -774,7 +722,7 @@ func (x *User) ProtoReflect() protoreflect.Message { // Deprecated: Use User.ProtoReflect.Descriptor instead. func (*User) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{7} + return file_bridge_proto_rawDescGZIP(), []int{6} } func (x *User) GetId() string { @@ -859,7 +807,7 @@ type UserSplitModeRequest struct { func (x *UserSplitModeRequest) Reset() { *x = UserSplitModeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[8] + mi := &file_bridge_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -872,7 +820,7 @@ func (x *UserSplitModeRequest) String() string { func (*UserSplitModeRequest) ProtoMessage() {} func (x *UserSplitModeRequest) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[8] + mi := &file_bridge_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -885,7 +833,7 @@ func (x *UserSplitModeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UserSplitModeRequest.ProtoReflect.Descriptor instead. func (*UserSplitModeRequest) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{8} + return file_bridge_proto_rawDescGZIP(), []int{7} } func (x *UserSplitModeRequest) GetUserID() string { @@ -913,7 +861,7 @@ type UserListResponse struct { func (x *UserListResponse) Reset() { *x = UserListResponse{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[9] + mi := &file_bridge_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -926,7 +874,7 @@ func (x *UserListResponse) String() string { func (*UserListResponse) ProtoMessage() {} func (x *UserListResponse) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[9] + mi := &file_bridge_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -939,7 +887,7 @@ func (x *UserListResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UserListResponse.ProtoReflect.Descriptor instead. func (*UserListResponse) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{9} + return file_bridge_proto_rawDescGZIP(), []int{8} } func (x *UserListResponse) GetUsers() []*User { @@ -961,7 +909,7 @@ type ConfigureAppleMailRequest struct { func (x *ConfigureAppleMailRequest) Reset() { *x = ConfigureAppleMailRequest{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[10] + mi := &file_bridge_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -974,7 +922,7 @@ func (x *ConfigureAppleMailRequest) String() string { func (*ConfigureAppleMailRequest) ProtoMessage() {} func (x *ConfigureAppleMailRequest) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[10] + mi := &file_bridge_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -987,7 +935,7 @@ func (x *ConfigureAppleMailRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ConfigureAppleMailRequest.ProtoReflect.Descriptor instead. func (*ConfigureAppleMailRequest) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{10} + return file_bridge_proto_rawDescGZIP(), []int{9} } func (x *ConfigureAppleMailRequest) GetUserID() string { @@ -1015,7 +963,7 @@ type EventStreamRequest struct { func (x *EventStreamRequest) Reset() { *x = EventStreamRequest{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[11] + mi := &file_bridge_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1028,7 +976,7 @@ func (x *EventStreamRequest) String() string { func (*EventStreamRequest) ProtoMessage() {} func (x *EventStreamRequest) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[11] + mi := &file_bridge_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1041,7 +989,7 @@ func (x *EventStreamRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use EventStreamRequest.ProtoReflect.Descriptor instead. func (*EventStreamRequest) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{11} + return file_bridge_proto_rawDescGZIP(), []int{10} } func (x *EventStreamRequest) GetClientPlatform() string { @@ -1057,7 +1005,6 @@ type StreamEvent struct { unknownFields protoimpl.UnknownFields // Types that are assignable to Event: - // // *StreamEvent_App // *StreamEvent_Login // *StreamEvent_Update @@ -1072,7 +1019,7 @@ type StreamEvent struct { func (x *StreamEvent) Reset() { *x = StreamEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[12] + mi := &file_bridge_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1085,7 +1032,7 @@ func (x *StreamEvent) String() string { func (*StreamEvent) ProtoMessage() {} func (x *StreamEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[12] + mi := &file_bridge_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1098,7 +1045,7 @@ func (x *StreamEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use StreamEvent.ProtoReflect.Descriptor instead. func (*StreamEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{12} + return file_bridge_proto_rawDescGZIP(), []int{11} } func (m *StreamEvent) GetEvent() isStreamEvent_Event { @@ -1129,7 +1076,7 @@ func (x *StreamEvent) GetUpdate() *UpdateEvent { return nil } -func (x *StreamEvent) GetCache() *CacheEvent { +func (x *StreamEvent) GetCache() *DiskCacheEvent { if x, ok := x.GetEvent().(*StreamEvent_Cache); ok { return x.Cache } @@ -1181,7 +1128,7 @@ type StreamEvent_Update struct { } type StreamEvent_Cache struct { - Cache *CacheEvent `protobuf:"bytes,4,opt,name=cache,proto3,oneof"` + Cache *DiskCacheEvent `protobuf:"bytes,4,opt,name=cache,proto3,oneof"` } type StreamEvent_MailSettings struct { @@ -1216,16 +1163,15 @@ func (*StreamEvent_Mail) isStreamEvent_Event() {} func (*StreamEvent_User) isStreamEvent_Event() {} -// ********************************************************** +//********************************************************** // App related events -// ********************************************************** +//********************************************************** type AppEvent struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Types that are assignable to Event: - // // *AppEvent_InternetStatus // *AppEvent_ToggleAutostartFinished // *AppEvent_ResetFinished @@ -1239,7 +1185,7 @@ type AppEvent struct { func (x *AppEvent) Reset() { *x = AppEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[13] + mi := &file_bridge_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1252,7 +1198,7 @@ func (x *AppEvent) String() string { func (*AppEvent) ProtoMessage() {} func (x *AppEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[13] + mi := &file_bridge_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1265,7 +1211,7 @@ func (x *AppEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use AppEvent.ProtoReflect.Descriptor instead. func (*AppEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{13} + return file_bridge_proto_rawDescGZIP(), []int{12} } func (m *AppEvent) GetEvent() isAppEvent_Event { @@ -1381,7 +1327,7 @@ type InternetStatusEvent struct { func (x *InternetStatusEvent) Reset() { *x = InternetStatusEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[14] + mi := &file_bridge_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1394,7 +1340,7 @@ func (x *InternetStatusEvent) String() string { func (*InternetStatusEvent) ProtoMessage() {} func (x *InternetStatusEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[14] + mi := &file_bridge_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1407,7 +1353,7 @@ func (x *InternetStatusEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use InternetStatusEvent.ProtoReflect.Descriptor instead. func (*InternetStatusEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{14} + return file_bridge_proto_rawDescGZIP(), []int{13} } func (x *InternetStatusEvent) GetConnected() bool { @@ -1426,7 +1372,7 @@ type ToggleAutostartFinishedEvent struct { func (x *ToggleAutostartFinishedEvent) Reset() { *x = ToggleAutostartFinishedEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[15] + mi := &file_bridge_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1439,7 +1385,7 @@ func (x *ToggleAutostartFinishedEvent) String() string { func (*ToggleAutostartFinishedEvent) ProtoMessage() {} func (x *ToggleAutostartFinishedEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[15] + mi := &file_bridge_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1452,7 +1398,7 @@ func (x *ToggleAutostartFinishedEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use ToggleAutostartFinishedEvent.ProtoReflect.Descriptor instead. func (*ToggleAutostartFinishedEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{15} + return file_bridge_proto_rawDescGZIP(), []int{14} } type ResetFinishedEvent struct { @@ -1464,7 +1410,7 @@ type ResetFinishedEvent struct { func (x *ResetFinishedEvent) Reset() { *x = ResetFinishedEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[16] + mi := &file_bridge_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1477,7 +1423,7 @@ func (x *ResetFinishedEvent) String() string { func (*ResetFinishedEvent) ProtoMessage() {} func (x *ResetFinishedEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[16] + mi := &file_bridge_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1490,7 +1436,7 @@ func (x *ResetFinishedEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use ResetFinishedEvent.ProtoReflect.Descriptor instead. func (*ResetFinishedEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{16} + return file_bridge_proto_rawDescGZIP(), []int{15} } type ReportBugFinishedEvent struct { @@ -1502,7 +1448,7 @@ type ReportBugFinishedEvent struct { func (x *ReportBugFinishedEvent) Reset() { *x = ReportBugFinishedEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[17] + mi := &file_bridge_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1515,7 +1461,7 @@ func (x *ReportBugFinishedEvent) String() string { func (*ReportBugFinishedEvent) ProtoMessage() {} func (x *ReportBugFinishedEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[17] + mi := &file_bridge_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1528,7 +1474,7 @@ func (x *ReportBugFinishedEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use ReportBugFinishedEvent.ProtoReflect.Descriptor instead. func (*ReportBugFinishedEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{17} + return file_bridge_proto_rawDescGZIP(), []int{16} } type ReportBugSuccessEvent struct { @@ -1540,7 +1486,7 @@ type ReportBugSuccessEvent struct { func (x *ReportBugSuccessEvent) Reset() { *x = ReportBugSuccessEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[18] + mi := &file_bridge_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1553,7 +1499,7 @@ func (x *ReportBugSuccessEvent) String() string { func (*ReportBugSuccessEvent) ProtoMessage() {} func (x *ReportBugSuccessEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[18] + mi := &file_bridge_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1566,7 +1512,7 @@ func (x *ReportBugSuccessEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use ReportBugSuccessEvent.ProtoReflect.Descriptor instead. func (*ReportBugSuccessEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{18} + return file_bridge_proto_rawDescGZIP(), []int{17} } type ReportBugErrorEvent struct { @@ -1578,7 +1524,7 @@ type ReportBugErrorEvent struct { func (x *ReportBugErrorEvent) Reset() { *x = ReportBugErrorEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[19] + mi := &file_bridge_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1591,7 +1537,7 @@ func (x *ReportBugErrorEvent) String() string { func (*ReportBugErrorEvent) ProtoMessage() {} func (x *ReportBugErrorEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[19] + mi := &file_bridge_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1604,7 +1550,7 @@ func (x *ReportBugErrorEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use ReportBugErrorEvent.ProtoReflect.Descriptor instead. func (*ReportBugErrorEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{19} + return file_bridge_proto_rawDescGZIP(), []int{18} } type ShowMainWindowEvent struct { @@ -1616,7 +1562,7 @@ type ShowMainWindowEvent struct { func (x *ShowMainWindowEvent) Reset() { *x = ShowMainWindowEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[20] + mi := &file_bridge_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1629,7 +1575,7 @@ func (x *ShowMainWindowEvent) String() string { func (*ShowMainWindowEvent) ProtoMessage() {} func (x *ShowMainWindowEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[20] + mi := &file_bridge_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1642,19 +1588,18 @@ func (x *ShowMainWindowEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use ShowMainWindowEvent.ProtoReflect.Descriptor instead. func (*ShowMainWindowEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{20} + return file_bridge_proto_rawDescGZIP(), []int{19} } -// ********************************************************** +//********************************************************** // Login related events -// ********************************************************** +//********************************************************** type LoginEvent struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Types that are assignable to Event: - // // *LoginEvent_Error // *LoginEvent_TfaRequested // *LoginEvent_TwoPasswordRequested @@ -1666,7 +1611,7 @@ type LoginEvent struct { func (x *LoginEvent) Reset() { *x = LoginEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[21] + mi := &file_bridge_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1679,7 +1624,7 @@ func (x *LoginEvent) String() string { func (*LoginEvent) ProtoMessage() {} func (x *LoginEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[21] + mi := &file_bridge_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1692,7 +1637,7 @@ func (x *LoginEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use LoginEvent.ProtoReflect.Descriptor instead. func (*LoginEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{21} + return file_bridge_proto_rawDescGZIP(), []int{20} } func (m *LoginEvent) GetEvent() isLoginEvent_Event { @@ -1783,7 +1728,7 @@ type LoginErrorEvent struct { func (x *LoginErrorEvent) Reset() { *x = LoginErrorEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[22] + mi := &file_bridge_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1796,7 +1741,7 @@ func (x *LoginErrorEvent) String() string { func (*LoginErrorEvent) ProtoMessage() {} func (x *LoginErrorEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[22] + mi := &file_bridge_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1809,7 +1754,7 @@ func (x *LoginErrorEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use LoginErrorEvent.ProtoReflect.Descriptor instead. func (*LoginErrorEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{22} + return file_bridge_proto_rawDescGZIP(), []int{21} } func (x *LoginErrorEvent) GetType() LoginErrorType { @@ -1837,7 +1782,7 @@ type LoginTfaRequestedEvent struct { func (x *LoginTfaRequestedEvent) Reset() { *x = LoginTfaRequestedEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[23] + mi := &file_bridge_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1850,7 +1795,7 @@ func (x *LoginTfaRequestedEvent) String() string { func (*LoginTfaRequestedEvent) ProtoMessage() {} func (x *LoginTfaRequestedEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[23] + mi := &file_bridge_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1863,7 +1808,7 @@ func (x *LoginTfaRequestedEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use LoginTfaRequestedEvent.ProtoReflect.Descriptor instead. func (*LoginTfaRequestedEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{23} + return file_bridge_proto_rawDescGZIP(), []int{22} } func (x *LoginTfaRequestedEvent) GetUsername() string { @@ -1882,7 +1827,7 @@ type LoginTwoPasswordsRequestedEvent struct { func (x *LoginTwoPasswordsRequestedEvent) Reset() { *x = LoginTwoPasswordsRequestedEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[24] + mi := &file_bridge_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1895,7 +1840,7 @@ func (x *LoginTwoPasswordsRequestedEvent) String() string { func (*LoginTwoPasswordsRequestedEvent) ProtoMessage() {} func (x *LoginTwoPasswordsRequestedEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[24] + mi := &file_bridge_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1908,7 +1853,7 @@ func (x *LoginTwoPasswordsRequestedEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use LoginTwoPasswordsRequestedEvent.ProtoReflect.Descriptor instead. func (*LoginTwoPasswordsRequestedEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{24} + return file_bridge_proto_rawDescGZIP(), []int{23} } type LoginFinishedEvent struct { @@ -1922,7 +1867,7 @@ type LoginFinishedEvent struct { func (x *LoginFinishedEvent) Reset() { *x = LoginFinishedEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[25] + mi := &file_bridge_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1935,7 +1880,7 @@ func (x *LoginFinishedEvent) String() string { func (*LoginFinishedEvent) ProtoMessage() {} func (x *LoginFinishedEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[25] + mi := &file_bridge_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1948,7 +1893,7 @@ func (x *LoginFinishedEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use LoginFinishedEvent.ProtoReflect.Descriptor instead. func (*LoginFinishedEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{25} + return file_bridge_proto_rawDescGZIP(), []int{24} } func (x *LoginFinishedEvent) GetUserID() string { @@ -1958,16 +1903,15 @@ func (x *LoginFinishedEvent) GetUserID() string { return "" } -// ********************************************************** +//********************************************************** // Update related events -// ********************************************************** +//********************************************************** type UpdateEvent struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Types that are assignable to Event: - // // *UpdateEvent_Error // *UpdateEvent_ManualReady // *UpdateEvent_ManualRestartNeeded @@ -1982,7 +1926,7 @@ type UpdateEvent struct { func (x *UpdateEvent) Reset() { *x = UpdateEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[26] + mi := &file_bridge_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1995,7 +1939,7 @@ func (x *UpdateEvent) String() string { func (*UpdateEvent) ProtoMessage() {} func (x *UpdateEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[26] + mi := &file_bridge_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2008,7 +1952,7 @@ func (x *UpdateEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateEvent.ProtoReflect.Descriptor instead. func (*UpdateEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{26} + return file_bridge_proto_rawDescGZIP(), []int{25} } func (m *UpdateEvent) GetEvent() isUpdateEvent_Event { @@ -2137,7 +2081,7 @@ type UpdateErrorEvent struct { func (x *UpdateErrorEvent) Reset() { *x = UpdateErrorEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[27] + mi := &file_bridge_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2150,7 +2094,7 @@ func (x *UpdateErrorEvent) String() string { func (*UpdateErrorEvent) ProtoMessage() {} func (x *UpdateErrorEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[27] + mi := &file_bridge_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2163,7 +2107,7 @@ func (x *UpdateErrorEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateErrorEvent.ProtoReflect.Descriptor instead. func (*UpdateErrorEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{27} + return file_bridge_proto_rawDescGZIP(), []int{26} } func (x *UpdateErrorEvent) GetType() UpdateErrorType { @@ -2184,7 +2128,7 @@ type UpdateManualReadyEvent struct { func (x *UpdateManualReadyEvent) Reset() { *x = UpdateManualReadyEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[28] + mi := &file_bridge_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2197,7 +2141,7 @@ func (x *UpdateManualReadyEvent) String() string { func (*UpdateManualReadyEvent) ProtoMessage() {} func (x *UpdateManualReadyEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[28] + mi := &file_bridge_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2210,7 +2154,7 @@ func (x *UpdateManualReadyEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateManualReadyEvent.ProtoReflect.Descriptor instead. func (*UpdateManualReadyEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{28} + return file_bridge_proto_rawDescGZIP(), []int{27} } func (x *UpdateManualReadyEvent) GetVersion() string { @@ -2229,7 +2173,7 @@ type UpdateManualRestartNeededEvent struct { func (x *UpdateManualRestartNeededEvent) Reset() { *x = UpdateManualRestartNeededEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[29] + mi := &file_bridge_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2242,7 +2186,7 @@ func (x *UpdateManualRestartNeededEvent) String() string { func (*UpdateManualRestartNeededEvent) ProtoMessage() {} func (x *UpdateManualRestartNeededEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[29] + mi := &file_bridge_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2255,7 +2199,7 @@ func (x *UpdateManualRestartNeededEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateManualRestartNeededEvent.ProtoReflect.Descriptor instead. func (*UpdateManualRestartNeededEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{29} + return file_bridge_proto_rawDescGZIP(), []int{28} } type UpdateForceEvent struct { @@ -2269,7 +2213,7 @@ type UpdateForceEvent struct { func (x *UpdateForceEvent) Reset() { *x = UpdateForceEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[30] + mi := &file_bridge_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2282,7 +2226,7 @@ func (x *UpdateForceEvent) String() string { func (*UpdateForceEvent) ProtoMessage() {} func (x *UpdateForceEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[30] + mi := &file_bridge_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2295,7 +2239,7 @@ func (x *UpdateForceEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateForceEvent.ProtoReflect.Descriptor instead. func (*UpdateForceEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{30} + return file_bridge_proto_rawDescGZIP(), []int{29} } func (x *UpdateForceEvent) GetVersion() string { @@ -2314,7 +2258,7 @@ type UpdateSilentRestartNeeded struct { func (x *UpdateSilentRestartNeeded) Reset() { *x = UpdateSilentRestartNeeded{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[31] + mi := &file_bridge_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2327,7 +2271,7 @@ func (x *UpdateSilentRestartNeeded) String() string { func (*UpdateSilentRestartNeeded) ProtoMessage() {} func (x *UpdateSilentRestartNeeded) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[31] + mi := &file_bridge_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2340,7 +2284,7 @@ func (x *UpdateSilentRestartNeeded) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateSilentRestartNeeded.ProtoReflect.Descriptor instead. func (*UpdateSilentRestartNeeded) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{31} + return file_bridge_proto_rawDescGZIP(), []int{30} } type UpdateIsLatestVersion struct { @@ -2352,7 +2296,7 @@ type UpdateIsLatestVersion struct { func (x *UpdateIsLatestVersion) Reset() { *x = UpdateIsLatestVersion{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[32] + mi := &file_bridge_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2365,7 +2309,7 @@ func (x *UpdateIsLatestVersion) String() string { func (*UpdateIsLatestVersion) ProtoMessage() {} func (x *UpdateIsLatestVersion) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[32] + mi := &file_bridge_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2378,7 +2322,7 @@ func (x *UpdateIsLatestVersion) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateIsLatestVersion.ProtoReflect.Descriptor instead. func (*UpdateIsLatestVersion) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{32} + return file_bridge_proto_rawDescGZIP(), []int{31} } type UpdateCheckFinished struct { @@ -2390,7 +2334,7 @@ type UpdateCheckFinished struct { func (x *UpdateCheckFinished) Reset() { *x = UpdateCheckFinished{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[33] + mi := &file_bridge_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2403,7 +2347,7 @@ func (x *UpdateCheckFinished) String() string { func (*UpdateCheckFinished) ProtoMessage() {} func (x *UpdateCheckFinished) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[33] + mi := &file_bridge_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2416,7 +2360,7 @@ func (x *UpdateCheckFinished) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateCheckFinished.ProtoReflect.Descriptor instead. func (*UpdateCheckFinished) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{33} + return file_bridge_proto_rawDescGZIP(), []int{32} } type UpdateVersionChanged struct { @@ -2428,7 +2372,7 @@ type UpdateVersionChanged struct { func (x *UpdateVersionChanged) Reset() { *x = UpdateVersionChanged{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[34] + mi := &file_bridge_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2441,7 +2385,7 @@ func (x *UpdateVersionChanged) String() string { func (*UpdateVersionChanged) ProtoMessage() {} func (x *UpdateVersionChanged) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[34] + mi := &file_bridge_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2454,28 +2398,116 @@ func (x *UpdateVersionChanged) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateVersionChanged.ProtoReflect.Descriptor instead. func (*UpdateVersionChanged) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{34} + return file_bridge_proto_rawDescGZIP(), []int{33} } -// ********************************************************** +//********************************************************** // Cache on disk related events -// ********************************************************** -type CacheEvent struct { +//********************************************************** +type DiskCacheEvent struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Types that are assignable to Event: - // - // *CacheEvent_Error - // *CacheEvent_LocationChangedSuccess - // *CacheEvent_ChangeLocalCacheFinished - // *CacheEvent_DiskCachePathChanged - Event isCacheEvent_Event `protobuf_oneof:"event"` + // *DiskCacheEvent_Error + // *DiskCacheEvent_PathChanged + // *DiskCacheEvent_PathChangeFinished + Event isDiskCacheEvent_Event `protobuf_oneof:"event"` } -func (x *CacheEvent) Reset() { - *x = CacheEvent{} +func (x *DiskCacheEvent) Reset() { + *x = DiskCacheEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_bridge_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DiskCacheEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DiskCacheEvent) ProtoMessage() {} + +func (x *DiskCacheEvent) ProtoReflect() protoreflect.Message { + mi := &file_bridge_proto_msgTypes[34] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DiskCacheEvent.ProtoReflect.Descriptor instead. +func (*DiskCacheEvent) Descriptor() ([]byte, []int) { + return file_bridge_proto_rawDescGZIP(), []int{34} +} + +func (m *DiskCacheEvent) GetEvent() isDiskCacheEvent_Event { + if m != nil { + return m.Event + } + return nil +} + +func (x *DiskCacheEvent) GetError() *DiskCacheErrorEvent { + if x, ok := x.GetEvent().(*DiskCacheEvent_Error); ok { + return x.Error + } + return nil +} + +func (x *DiskCacheEvent) GetPathChanged() *DiskCachePathChangedEvent { + if x, ok := x.GetEvent().(*DiskCacheEvent_PathChanged); ok { + return x.PathChanged + } + return nil +} + +func (x *DiskCacheEvent) GetPathChangeFinished() *DiskCachePathChangeFinishedEvent { + if x, ok := x.GetEvent().(*DiskCacheEvent_PathChangeFinished); ok { + return x.PathChangeFinished + } + return nil +} + +type isDiskCacheEvent_Event interface { + isDiskCacheEvent_Event() +} + +type DiskCacheEvent_Error struct { + Error *DiskCacheErrorEvent `protobuf:"bytes,1,opt,name=error,proto3,oneof"` +} + +type DiskCacheEvent_PathChanged struct { + PathChanged *DiskCachePathChangedEvent `protobuf:"bytes,2,opt,name=pathChanged,proto3,oneof"` +} + +type DiskCacheEvent_PathChangeFinished struct { + PathChangeFinished *DiskCachePathChangeFinishedEvent `protobuf:"bytes,3,opt,name=pathChangeFinished,proto3,oneof"` +} + +func (*DiskCacheEvent_Error) isDiskCacheEvent_Event() {} + +func (*DiskCacheEvent_PathChanged) isDiskCacheEvent_Event() {} + +func (*DiskCacheEvent_PathChangeFinished) isDiskCacheEvent_Event() {} + +type DiskCacheErrorEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type DiskCacheErrorType `protobuf:"varint,1,opt,name=type,proto3,enum=grpc.DiskCacheErrorType" json:"type,omitempty"` +} + +func (x *DiskCacheErrorEvent) Reset() { + *x = DiskCacheErrorEvent{} if protoimpl.UnsafeEnabled { mi := &file_bridge_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2483,13 +2515,13 @@ func (x *CacheEvent) Reset() { } } -func (x *CacheEvent) String() string { +func (x *DiskCacheErrorEvent) String() string { return protoimpl.X.MessageStringOf(x) } -func (*CacheEvent) ProtoMessage() {} +func (*DiskCacheErrorEvent) ProtoMessage() {} -func (x *CacheEvent) ProtoReflect() protoreflect.Message { +func (x *DiskCacheErrorEvent) ProtoReflect() protoreflect.Message { mi := &file_bridge_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2501,84 +2533,28 @@ func (x *CacheEvent) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use CacheEvent.ProtoReflect.Descriptor instead. -func (*CacheEvent) Descriptor() ([]byte, []int) { +// Deprecated: Use DiskCacheErrorEvent.ProtoReflect.Descriptor instead. +func (*DiskCacheErrorEvent) Descriptor() ([]byte, []int) { return file_bridge_proto_rawDescGZIP(), []int{35} } -func (m *CacheEvent) GetEvent() isCacheEvent_Event { - if m != nil { - return m.Event +func (x *DiskCacheErrorEvent) GetType() DiskCacheErrorType { + if x != nil { + return x.Type } - return nil + return DiskCacheErrorType_DISK_CACHE_UNAVAILABLE_ERROR } -func (x *CacheEvent) GetError() *CacheErrorEvent { - if x, ok := x.GetEvent().(*CacheEvent_Error); ok { - return x.Error - } - return nil -} - -func (x *CacheEvent) GetLocationChangedSuccess() *CacheLocationChangeSuccessEvent { - if x, ok := x.GetEvent().(*CacheEvent_LocationChangedSuccess); ok { - return x.LocationChangedSuccess - } - return nil -} - -func (x *CacheEvent) GetChangeLocalCacheFinished() *ChangeLocalCacheFinishedEvent { - if x, ok := x.GetEvent().(*CacheEvent_ChangeLocalCacheFinished); ok { - return x.ChangeLocalCacheFinished - } - return nil -} - -func (x *CacheEvent) GetDiskCachePathChanged() *DiskCachePathChanged { - if x, ok := x.GetEvent().(*CacheEvent_DiskCachePathChanged); ok { - return x.DiskCachePathChanged - } - return nil -} - -type isCacheEvent_Event interface { - isCacheEvent_Event() -} - -type CacheEvent_Error struct { - Error *CacheErrorEvent `protobuf:"bytes,1,opt,name=error,proto3,oneof"` -} - -type CacheEvent_LocationChangedSuccess struct { - LocationChangedSuccess *CacheLocationChangeSuccessEvent `protobuf:"bytes,2,opt,name=locationChangedSuccess,proto3,oneof"` -} - -type CacheEvent_ChangeLocalCacheFinished struct { - ChangeLocalCacheFinished *ChangeLocalCacheFinishedEvent `protobuf:"bytes,3,opt,name=changeLocalCacheFinished,proto3,oneof"` -} - -type CacheEvent_DiskCachePathChanged struct { - DiskCachePathChanged *DiskCachePathChanged `protobuf:"bytes,5,opt,name=diskCachePathChanged,proto3,oneof"` -} - -func (*CacheEvent_Error) isCacheEvent_Event() {} - -func (*CacheEvent_LocationChangedSuccess) isCacheEvent_Event() {} - -func (*CacheEvent_ChangeLocalCacheFinished) isCacheEvent_Event() {} - -func (*CacheEvent_DiskCachePathChanged) isCacheEvent_Event() {} - -type CacheErrorEvent struct { +type DiskCachePathChangedEvent struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Type CacheErrorType `protobuf:"varint,1,opt,name=type,proto3,enum=grpc.CacheErrorType" json:"type,omitempty"` + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` } -func (x *CacheErrorEvent) Reset() { - *x = CacheErrorEvent{} +func (x *DiskCachePathChangedEvent) Reset() { + *x = DiskCachePathChangedEvent{} if protoimpl.UnsafeEnabled { mi := &file_bridge_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2586,13 +2562,13 @@ func (x *CacheErrorEvent) Reset() { } } -func (x *CacheErrorEvent) String() string { +func (x *DiskCachePathChangedEvent) String() string { return protoimpl.X.MessageStringOf(x) } -func (*CacheErrorEvent) ProtoMessage() {} +func (*DiskCachePathChangedEvent) ProtoMessage() {} -func (x *CacheErrorEvent) ProtoReflect() protoreflect.Message { +func (x *DiskCachePathChangedEvent) ProtoReflect() protoreflect.Message { mi := &file_bridge_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2604,26 +2580,26 @@ func (x *CacheErrorEvent) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use CacheErrorEvent.ProtoReflect.Descriptor instead. -func (*CacheErrorEvent) Descriptor() ([]byte, []int) { +// Deprecated: Use DiskCachePathChangedEvent.ProtoReflect.Descriptor instead. +func (*DiskCachePathChangedEvent) Descriptor() ([]byte, []int) { return file_bridge_proto_rawDescGZIP(), []int{36} } -func (x *CacheErrorEvent) GetType() CacheErrorType { +func (x *DiskCachePathChangedEvent) GetPath() string { if x != nil { - return x.Type + return x.Path } - return CacheErrorType_CACHE_UNAVAILABLE_ERROR + return "" } -type CacheLocationChangeSuccessEvent struct { +type DiskCachePathChangeFinishedEvent struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *CacheLocationChangeSuccessEvent) Reset() { - *x = CacheLocationChangeSuccessEvent{} +func (x *DiskCachePathChangeFinishedEvent) Reset() { + *x = DiskCachePathChangeFinishedEvent{} if protoimpl.UnsafeEnabled { mi := &file_bridge_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2631,13 +2607,13 @@ func (x *CacheLocationChangeSuccessEvent) Reset() { } } -func (x *CacheLocationChangeSuccessEvent) String() string { +func (x *DiskCachePathChangeFinishedEvent) String() string { return protoimpl.X.MessageStringOf(x) } -func (*CacheLocationChangeSuccessEvent) ProtoMessage() {} +func (*DiskCachePathChangeFinishedEvent) ProtoMessage() {} -func (x *CacheLocationChangeSuccessEvent) ProtoReflect() protoreflect.Message { +func (x *DiskCachePathChangeFinishedEvent) ProtoReflect() protoreflect.Message { mi := &file_bridge_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2649,115 +2625,20 @@ func (x *CacheLocationChangeSuccessEvent) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use CacheLocationChangeSuccessEvent.ProtoReflect.Descriptor instead. -func (*CacheLocationChangeSuccessEvent) Descriptor() ([]byte, []int) { +// Deprecated: Use DiskCachePathChangeFinishedEvent.ProtoReflect.Descriptor instead. +func (*DiskCachePathChangeFinishedEvent) Descriptor() ([]byte, []int) { return file_bridge_proto_rawDescGZIP(), []int{37} } -type ChangeLocalCacheFinishedEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - WillRestart bool `protobuf:"varint,1,opt,name=willRestart,proto3" json:"willRestart,omitempty"` -} - -func (x *ChangeLocalCacheFinishedEvent) Reset() { - *x = ChangeLocalCacheFinishedEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChangeLocalCacheFinishedEvent) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChangeLocalCacheFinishedEvent) ProtoMessage() {} - -func (x *ChangeLocalCacheFinishedEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChangeLocalCacheFinishedEvent.ProtoReflect.Descriptor instead. -func (*ChangeLocalCacheFinishedEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{38} -} - -func (x *ChangeLocalCacheFinishedEvent) GetWillRestart() bool { - if x != nil { - return x.WillRestart - } - return false -} - -type DiskCachePathChanged struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` -} - -func (x *DiskCachePathChanged) Reset() { - *x = DiskCachePathChanged{} - if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DiskCachePathChanged) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DiskCachePathChanged) ProtoMessage() {} - -func (x *DiskCachePathChanged) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DiskCachePathChanged.ProtoReflect.Descriptor instead. -func (*DiskCachePathChanged) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{39} -} - -func (x *DiskCachePathChanged) GetPath() string { - if x != nil { - return x.Path - } - return "" -} - -// ********************************************************** +//********************************************************** // Mail settings related events -// ********************************************************** +//********************************************************** type MailSettingsEvent struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Types that are assignable to Event: - // // *MailSettingsEvent_Error // *MailSettingsEvent_UseSslForSmtpFinished // *MailSettingsEvent_ChangePortsFinished @@ -2768,7 +2649,7 @@ type MailSettingsEvent struct { func (x *MailSettingsEvent) Reset() { *x = MailSettingsEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[40] + mi := &file_bridge_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2781,7 +2662,7 @@ func (x *MailSettingsEvent) String() string { func (*MailSettingsEvent) ProtoMessage() {} func (x *MailSettingsEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[40] + mi := &file_bridge_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2794,7 +2675,7 @@ func (x *MailSettingsEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use MailSettingsEvent.ProtoReflect.Descriptor instead. func (*MailSettingsEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{40} + return file_bridge_proto_rawDescGZIP(), []int{38} } func (m *MailSettingsEvent) GetEvent() isMailSettingsEvent_Event { @@ -2871,7 +2752,7 @@ type MailSettingsErrorEvent struct { func (x *MailSettingsErrorEvent) Reset() { *x = MailSettingsErrorEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[41] + mi := &file_bridge_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2884,7 +2765,7 @@ func (x *MailSettingsErrorEvent) String() string { func (*MailSettingsErrorEvent) ProtoMessage() {} func (x *MailSettingsErrorEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[41] + mi := &file_bridge_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2897,7 +2778,7 @@ func (x *MailSettingsErrorEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use MailSettingsErrorEvent.ProtoReflect.Descriptor instead. func (*MailSettingsErrorEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{41} + return file_bridge_proto_rawDescGZIP(), []int{39} } func (x *MailSettingsErrorEvent) GetType() MailSettingsErrorType { @@ -2916,7 +2797,7 @@ type UseSslForSmtpFinishedEvent struct { func (x *UseSslForSmtpFinishedEvent) Reset() { *x = UseSslForSmtpFinishedEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[42] + mi := &file_bridge_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2929,7 +2810,7 @@ func (x *UseSslForSmtpFinishedEvent) String() string { func (*UseSslForSmtpFinishedEvent) ProtoMessage() {} func (x *UseSslForSmtpFinishedEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[42] + mi := &file_bridge_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2942,7 +2823,7 @@ func (x *UseSslForSmtpFinishedEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use UseSslForSmtpFinishedEvent.ProtoReflect.Descriptor instead. func (*UseSslForSmtpFinishedEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{42} + return file_bridge_proto_rawDescGZIP(), []int{40} } type UseSslForImapFinishedEvent struct { @@ -2954,7 +2835,7 @@ type UseSslForImapFinishedEvent struct { func (x *UseSslForImapFinishedEvent) Reset() { *x = UseSslForImapFinishedEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[43] + mi := &file_bridge_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2967,7 +2848,7 @@ func (x *UseSslForImapFinishedEvent) String() string { func (*UseSslForImapFinishedEvent) ProtoMessage() {} func (x *UseSslForImapFinishedEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[43] + mi := &file_bridge_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2980,7 +2861,7 @@ func (x *UseSslForImapFinishedEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use UseSslForImapFinishedEvent.ProtoReflect.Descriptor instead. func (*UseSslForImapFinishedEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{43} + return file_bridge_proto_rawDescGZIP(), []int{41} } type ChangePortsFinishedEvent struct { @@ -2992,7 +2873,7 @@ type ChangePortsFinishedEvent struct { func (x *ChangePortsFinishedEvent) Reset() { *x = ChangePortsFinishedEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[44] + mi := &file_bridge_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3005,7 +2886,7 @@ func (x *ChangePortsFinishedEvent) String() string { func (*ChangePortsFinishedEvent) ProtoMessage() {} func (x *ChangePortsFinishedEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[44] + mi := &file_bridge_proto_msgTypes[42] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3018,19 +2899,18 @@ func (x *ChangePortsFinishedEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use ChangePortsFinishedEvent.ProtoReflect.Descriptor instead. func (*ChangePortsFinishedEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{44} + return file_bridge_proto_rawDescGZIP(), []int{42} } -// ********************************************************** +//********************************************************** // keychain related events -// ********************************************************** +//********************************************************** type KeychainEvent struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Types that are assignable to Event: - // // *KeychainEvent_ChangeKeychainFinished // *KeychainEvent_HasNoKeychain // *KeychainEvent_RebuildKeychain @@ -3040,7 +2920,7 @@ type KeychainEvent struct { func (x *KeychainEvent) Reset() { *x = KeychainEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[45] + mi := &file_bridge_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3053,7 +2933,7 @@ func (x *KeychainEvent) String() string { func (*KeychainEvent) ProtoMessage() {} func (x *KeychainEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[45] + mi := &file_bridge_proto_msgTypes[43] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3066,7 +2946,7 @@ func (x *KeychainEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use KeychainEvent.ProtoReflect.Descriptor instead. func (*KeychainEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{45} + return file_bridge_proto_rawDescGZIP(), []int{43} } func (m *KeychainEvent) GetEvent() isKeychainEvent_Event { @@ -3128,7 +3008,7 @@ type ChangeKeychainFinishedEvent struct { func (x *ChangeKeychainFinishedEvent) Reset() { *x = ChangeKeychainFinishedEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[46] + mi := &file_bridge_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3141,7 +3021,7 @@ func (x *ChangeKeychainFinishedEvent) String() string { func (*ChangeKeychainFinishedEvent) ProtoMessage() {} func (x *ChangeKeychainFinishedEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[46] + mi := &file_bridge_proto_msgTypes[44] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3154,7 +3034,7 @@ func (x *ChangeKeychainFinishedEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use ChangeKeychainFinishedEvent.ProtoReflect.Descriptor instead. func (*ChangeKeychainFinishedEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{46} + return file_bridge_proto_rawDescGZIP(), []int{44} } type HasNoKeychainEvent struct { @@ -3166,7 +3046,7 @@ type HasNoKeychainEvent struct { func (x *HasNoKeychainEvent) Reset() { *x = HasNoKeychainEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[47] + mi := &file_bridge_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3179,7 +3059,7 @@ func (x *HasNoKeychainEvent) String() string { func (*HasNoKeychainEvent) ProtoMessage() {} func (x *HasNoKeychainEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[47] + mi := &file_bridge_proto_msgTypes[45] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3192,7 +3072,7 @@ func (x *HasNoKeychainEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use HasNoKeychainEvent.ProtoReflect.Descriptor instead. func (*HasNoKeychainEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{47} + return file_bridge_proto_rawDescGZIP(), []int{45} } type RebuildKeychainEvent struct { @@ -3204,7 +3084,7 @@ type RebuildKeychainEvent struct { func (x *RebuildKeychainEvent) Reset() { *x = RebuildKeychainEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[48] + mi := &file_bridge_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3217,7 +3097,7 @@ func (x *RebuildKeychainEvent) String() string { func (*RebuildKeychainEvent) ProtoMessage() {} func (x *RebuildKeychainEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[48] + mi := &file_bridge_proto_msgTypes[46] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3230,19 +3110,18 @@ func (x *RebuildKeychainEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use RebuildKeychainEvent.ProtoReflect.Descriptor instead. func (*RebuildKeychainEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{48} + return file_bridge_proto_rawDescGZIP(), []int{46} } -// ********************************************************** +//********************************************************** // Mail related events -// ********************************************************** +//********************************************************** type MailEvent struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Types that are assignable to Event: - // // *MailEvent_NoActiveKeyForRecipientEvent // *MailEvent_AddressChanged // *MailEvent_AddressChangedLogout @@ -3253,7 +3132,7 @@ type MailEvent struct { func (x *MailEvent) Reset() { *x = MailEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[49] + mi := &file_bridge_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3266,7 +3145,7 @@ func (x *MailEvent) String() string { func (*MailEvent) ProtoMessage() {} func (x *MailEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[49] + mi := &file_bridge_proto_msgTypes[47] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3279,7 +3158,7 @@ func (x *MailEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use MailEvent.ProtoReflect.Descriptor instead. func (*MailEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{49} + return file_bridge_proto_rawDescGZIP(), []int{47} } func (m *MailEvent) GetEvent() isMailEvent_Event { @@ -3356,7 +3235,7 @@ type NoActiveKeyForRecipientEvent struct { func (x *NoActiveKeyForRecipientEvent) Reset() { *x = NoActiveKeyForRecipientEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[50] + mi := &file_bridge_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3369,7 +3248,7 @@ func (x *NoActiveKeyForRecipientEvent) String() string { func (*NoActiveKeyForRecipientEvent) ProtoMessage() {} func (x *NoActiveKeyForRecipientEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[50] + mi := &file_bridge_proto_msgTypes[48] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3382,7 +3261,7 @@ func (x *NoActiveKeyForRecipientEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use NoActiveKeyForRecipientEvent.ProtoReflect.Descriptor instead. func (*NoActiveKeyForRecipientEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{50} + return file_bridge_proto_rawDescGZIP(), []int{48} } func (x *NoActiveKeyForRecipientEvent) GetEmail() string { @@ -3403,7 +3282,7 @@ type AddressChangedEvent struct { func (x *AddressChangedEvent) Reset() { *x = AddressChangedEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[51] + mi := &file_bridge_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3416,7 +3295,7 @@ func (x *AddressChangedEvent) String() string { func (*AddressChangedEvent) ProtoMessage() {} func (x *AddressChangedEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[51] + mi := &file_bridge_proto_msgTypes[49] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3429,7 +3308,7 @@ func (x *AddressChangedEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use AddressChangedEvent.ProtoReflect.Descriptor instead. func (*AddressChangedEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{51} + return file_bridge_proto_rawDescGZIP(), []int{49} } func (x *AddressChangedEvent) GetAddress() string { @@ -3450,7 +3329,7 @@ type AddressChangedLogoutEvent struct { func (x *AddressChangedLogoutEvent) Reset() { *x = AddressChangedLogoutEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[52] + mi := &file_bridge_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3463,7 +3342,7 @@ func (x *AddressChangedLogoutEvent) String() string { func (*AddressChangedLogoutEvent) ProtoMessage() {} func (x *AddressChangedLogoutEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[52] + mi := &file_bridge_proto_msgTypes[50] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3476,7 +3355,7 @@ func (x *AddressChangedLogoutEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use AddressChangedLogoutEvent.ProtoReflect.Descriptor instead. func (*AddressChangedLogoutEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{52} + return file_bridge_proto_rawDescGZIP(), []int{50} } func (x *AddressChangedLogoutEvent) GetAddress() string { @@ -3495,7 +3374,7 @@ type ApiCertIssueEvent struct { func (x *ApiCertIssueEvent) Reset() { *x = ApiCertIssueEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[53] + mi := &file_bridge_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3508,7 +3387,7 @@ func (x *ApiCertIssueEvent) String() string { func (*ApiCertIssueEvent) ProtoMessage() {} func (x *ApiCertIssueEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[53] + mi := &file_bridge_proto_msgTypes[51] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3521,7 +3400,7 @@ func (x *ApiCertIssueEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use ApiCertIssueEvent.ProtoReflect.Descriptor instead. func (*ApiCertIssueEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{53} + return file_bridge_proto_rawDescGZIP(), []int{51} } type UserEvent struct { @@ -3530,7 +3409,6 @@ type UserEvent struct { unknownFields protoimpl.UnknownFields // Types that are assignable to Event: - // // *UserEvent_ToggleSplitModeFinished // *UserEvent_UserDisconnected // *UserEvent_UserChanged @@ -3540,7 +3418,7 @@ type UserEvent struct { func (x *UserEvent) Reset() { *x = UserEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[54] + mi := &file_bridge_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3553,7 +3431,7 @@ func (x *UserEvent) String() string { func (*UserEvent) ProtoMessage() {} func (x *UserEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[54] + mi := &file_bridge_proto_msgTypes[52] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3566,7 +3444,7 @@ func (x *UserEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use UserEvent.ProtoReflect.Descriptor instead. func (*UserEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{54} + return file_bridge_proto_rawDescGZIP(), []int{52} } func (m *UserEvent) GetEvent() isUserEvent_Event { @@ -3630,7 +3508,7 @@ type ToggleSplitModeFinishedEvent struct { func (x *ToggleSplitModeFinishedEvent) Reset() { *x = ToggleSplitModeFinishedEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[55] + mi := &file_bridge_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3643,7 +3521,7 @@ func (x *ToggleSplitModeFinishedEvent) String() string { func (*ToggleSplitModeFinishedEvent) ProtoMessage() {} func (x *ToggleSplitModeFinishedEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[55] + mi := &file_bridge_proto_msgTypes[53] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3656,7 +3534,7 @@ func (x *ToggleSplitModeFinishedEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use ToggleSplitModeFinishedEvent.ProtoReflect.Descriptor instead. func (*ToggleSplitModeFinishedEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{55} + return file_bridge_proto_rawDescGZIP(), []int{53} } func (x *ToggleSplitModeFinishedEvent) GetUserID() string { @@ -3677,7 +3555,7 @@ type UserDisconnectedEvent struct { func (x *UserDisconnectedEvent) Reset() { *x = UserDisconnectedEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[56] + mi := &file_bridge_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3690,7 +3568,7 @@ func (x *UserDisconnectedEvent) String() string { func (*UserDisconnectedEvent) ProtoMessage() {} func (x *UserDisconnectedEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[56] + mi := &file_bridge_proto_msgTypes[54] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3703,7 +3581,7 @@ func (x *UserDisconnectedEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use UserDisconnectedEvent.ProtoReflect.Descriptor instead. func (*UserDisconnectedEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{56} + return file_bridge_proto_rawDescGZIP(), []int{54} } func (x *UserDisconnectedEvent) GetUsername() string { @@ -3724,7 +3602,7 @@ type UserChangedEvent struct { func (x *UserChangedEvent) Reset() { *x = UserChangedEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[57] + mi := &file_bridge_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3737,7 +3615,7 @@ func (x *UserChangedEvent) String() string { func (*UserChangedEvent) ProtoMessage() {} func (x *UserChangedEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[57] + mi := &file_bridge_proto_msgTypes[55] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3750,7 +3628,7 @@ func (x *UserChangedEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use UserChangedEvent.ProtoReflect.Descriptor instead. func (*UserChangedEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{57} + return file_bridge_proto_rawDescGZIP(), []int{55} } func (x *UserChangedEvent) GetUserID() string { @@ -3795,658 +3673,645 @@ var file_bridge_proto_rawDesc = []byte{ 0x77, 0x6f, 0x72, 0x64, 0x22, 0x2f, 0x0a, 0x11, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x41, 0x62, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, - 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3f, 0x0a, 0x17, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, - 0x6f, 0x63, 0x61, 0x6c, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x69, 0x73, 0x6b, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x61, 0x74, - 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x6b, 0x43, 0x61, 0x63, - 0x68, 0x65, 0x50, 0x61, 0x74, 0x68, 0x22, 0x4c, 0x0a, 0x12, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x50, 0x6f, 0x72, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, - 0x69, 0x6d, 0x61, 0x70, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, - 0x69, 0x6d, 0x61, 0x70, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x6d, 0x74, 0x70, - 0x50, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x73, 0x6d, 0x74, 0x70, - 0x50, 0x6f, 0x72, 0x74, 0x22, 0x3a, 0x0a, 0x1a, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, - 0x65, 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x73, - 0x22, 0xac, 0x02, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, - 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, - 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, - 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, - 0x72, 0x54, 0x65, 0x78, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x67, 0x67, 0x65, 0x64, 0x49, - 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6c, 0x6f, 0x67, 0x67, 0x65, 0x64, 0x49, - 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12, - 0x26, 0x0a, 0x0e, 0x73, 0x65, 0x74, 0x75, 0x70, 0x47, 0x75, 0x69, 0x64, 0x65, 0x53, 0x65, 0x65, - 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x73, 0x65, 0x74, 0x75, 0x70, 0x47, 0x75, - 0x69, 0x64, 0x65, 0x53, 0x65, 0x65, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x64, 0x42, - 0x79, 0x74, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x73, 0x65, 0x64, - 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x42, 0x79, - 0x74, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, - 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, - 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, - 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x0a, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x22, - 0x46, 0x0a, 0x14, 0x55, 0x73, 0x65, 0x72, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x4d, 0x6f, 0x64, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, - 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, - 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x22, 0x34, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x72, 0x4c, - 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x05, 0x75, - 0x73, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x67, 0x72, 0x70, - 0x63, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x22, 0x4d, 0x0a, - 0x19, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x65, 0x4d, - 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, - 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, - 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x3c, 0x0a, 0x12, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x50, 0x6c, 0x61, 0x74, - 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x43, 0x6c, 0x69, 0x65, - 0x6e, 0x74, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x22, 0xfb, 0x02, 0x0a, 0x0b, 0x53, - 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x03, 0x61, 0x70, - 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x41, - 0x70, 0x70, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x03, 0x61, 0x70, 0x70, 0x12, 0x28, - 0x0a, 0x05, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, - 0x67, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, - 0x00, 0x52, 0x05, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x2b, 0x0a, 0x06, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x06, 0x75, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x61, 0x63, 0x68, - 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x12, - 0x3d, 0x0a, 0x0c, 0x6d, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x61, 0x69, - 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, - 0x52, 0x0c, 0x6d, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x31, - 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x13, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, - 0x6e, 0x12, 0x25, 0x0a, 0x04, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x0f, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x61, 0x69, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, - 0x48, 0x00, 0x52, 0x04, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, - 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x73, - 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x42, - 0x07, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x9d, 0x04, 0x0a, 0x08, 0x41, 0x70, 0x70, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x43, 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, - 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, - 0x67, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x53, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x69, 0x6e, 0x74, 0x65, - 0x72, 0x6e, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x5e, 0x0a, 0x17, 0x74, 0x6f, - 0x67, 0x67, 0x6c, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x46, 0x69, 0x6e, - 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x72, - 0x70, 0x63, 0x2e, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x74, 0x61, - 0x72, 0x74, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, - 0x00, 0x52, 0x17, 0x74, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x74, 0x61, - 0x72, 0x74, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x40, 0x0a, 0x0d, 0x72, 0x65, - 0x73, 0x65, 0x74, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, 0x46, 0x69, - 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0d, 0x72, - 0x65, 0x73, 0x65, 0x74, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x4c, 0x0a, 0x11, - 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x75, 0x67, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, - 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x52, - 0x65, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x75, 0x67, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x11, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x42, - 0x75, 0x67, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x49, 0x0a, 0x10, 0x72, 0x65, - 0x70, 0x6f, 0x72, 0x74, 0x42, 0x75, 0x67, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x70, 0x6f, - 0x72, 0x74, 0x42, 0x75, 0x67, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x48, 0x00, 0x52, 0x10, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x75, 0x67, 0x53, 0x75, - 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x43, 0x0a, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x42, - 0x75, 0x67, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, - 0x67, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x75, 0x67, 0x45, 0x72, - 0x72, 0x6f, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, - 0x72, 0x74, 0x42, 0x75, 0x67, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x43, 0x0a, 0x0e, 0x73, 0x68, - 0x6f, 0x77, 0x4d, 0x61, 0x69, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x4d, 0x61, - 0x69, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, - 0x0e, 0x73, 0x68, 0x6f, 0x77, 0x4d, 0x61, 0x69, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x42, - 0x07, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x33, 0x0a, 0x13, 0x49, 0x6e, 0x74, 0x65, - 0x72, 0x6e, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, - 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x22, 0x1e, 0x0a, - 0x1c, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x74, 0x61, 0x72, 0x74, - 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x14, 0x0a, - 0x12, 0x52, 0x65, 0x73, 0x65, 0x74, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x22, 0x18, 0x0a, 0x16, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x75, 0x67, - 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x17, 0x0a, - 0x15, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x75, 0x67, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, - 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x15, 0x0a, 0x13, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, - 0x42, 0x75, 0x67, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x15, 0x0a, - 0x13, 0x53, 0x68, 0x6f, 0x77, 0x4d, 0x61, 0x69, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x22, 0xe3, 0x02, 0x0a, 0x0a, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x12, 0x2d, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x45, - 0x72, 0x72, 0x6f, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, - 0x6f, 0x72, 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x66, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, - 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x54, 0x66, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, - 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0c, 0x74, 0x66, 0x61, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x5b, 0x0a, 0x14, 0x74, 0x77, 0x6f, 0x50, 0x61, 0x73, - 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x6f, 0x67, 0x69, - 0x6e, 0x54, 0x77, 0x6f, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x14, 0x74, - 0x77, 0x6f, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x08, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x6f, 0x67, - 0x69, 0x6e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, - 0x00, 0x52, 0x08, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x44, 0x0a, 0x0f, 0x61, - 0x6c, 0x72, 0x65, 0x61, 0x64, 0x79, 0x4c, 0x6f, 0x67, 0x67, 0x65, 0x64, 0x49, 0x6e, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x6f, 0x67, 0x69, - 0x6e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, - 0x52, 0x0f, 0x61, 0x6c, 0x72, 0x65, 0x61, 0x64, 0x79, 0x4c, 0x6f, 0x67, 0x67, 0x65, 0x64, 0x49, - 0x6e, 0x42, 0x07, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x55, 0x0a, 0x0f, 0x4c, 0x6f, - 0x67, 0x69, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x0a, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x67, 0x72, - 0x70, 0x63, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x22, 0x34, 0x0a, 0x16, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x54, 0x66, 0x61, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x75, - 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, - 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x21, 0x0a, 0x1f, 0x4c, 0x6f, 0x67, 0x69, 0x6e, - 0x54, 0x77, 0x6f, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x2c, 0x0a, 0x12, 0x4c, 0x6f, - 0x67, 0x69, 0x6e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, - 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x22, 0xb9, 0x04, 0x0a, 0x0b, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, - 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x40, 0x0a, 0x0b, 0x6d, 0x61, 0x6e, 0x75, - 0x61, 0x6c, 0x52, 0x65, 0x61, 0x64, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, - 0x67, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x6e, 0x75, 0x61, - 0x6c, 0x52, 0x65, 0x61, 0x64, 0x79, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x6d, - 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, 0x58, 0x0a, 0x13, 0x6d, 0x61, - 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x65, 0x65, 0x64, 0x65, - 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x74, 0x61, - 0x72, 0x74, 0x4e, 0x65, 0x65, 0x64, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, + 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x4c, 0x0a, 0x12, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, + 0x6f, 0x72, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x69, + 0x6d, 0x61, 0x70, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x69, + 0x6d, 0x61, 0x70, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x6d, 0x74, 0x70, 0x50, + 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x73, 0x6d, 0x74, 0x70, 0x50, + 0x6f, 0x72, 0x74, 0x22, 0x3a, 0x0a, 0x1a, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, + 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x73, 0x22, + 0xac, 0x02, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x54, 0x65, + 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x54, 0x65, 0x78, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x67, 0x67, 0x65, 0x64, 0x49, 0x6e, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6c, 0x6f, 0x67, 0x67, 0x65, 0x64, 0x49, 0x6e, + 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x09, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x26, + 0x0a, 0x0e, 0x73, 0x65, 0x74, 0x75, 0x70, 0x47, 0x75, 0x69, 0x64, 0x65, 0x53, 0x65, 0x65, 0x6e, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x73, 0x65, 0x74, 0x75, 0x70, 0x47, 0x75, 0x69, + 0x64, 0x65, 0x53, 0x65, 0x65, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x64, 0x42, 0x79, + 0x74, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x73, 0x65, 0x64, 0x42, + 0x79, 0x74, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x42, 0x79, 0x74, + 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x42, + 0x79, 0x74, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, + 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x0a, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x22, 0x46, + 0x0a, 0x14, 0x55, 0x73, 0x65, 0x72, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x16, + 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, + 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x22, 0x34, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, + 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x05, 0x75, 0x73, + 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x67, 0x72, 0x70, 0x63, + 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x22, 0x4d, 0x0a, 0x19, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x65, 0x4d, 0x61, + 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, + 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, + 0x44, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x3c, 0x0a, 0x12, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x50, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x43, 0x6c, 0x69, 0x65, 0x6e, + 0x74, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x22, 0xff, 0x02, 0x0a, 0x0b, 0x53, 0x74, + 0x72, 0x65, 0x61, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x03, 0x61, 0x70, 0x70, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x70, + 0x70, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x03, 0x61, 0x70, 0x70, 0x12, 0x28, 0x0a, + 0x05, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x67, + 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, + 0x52, 0x05, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x2b, 0x0a, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x06, 0x75, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x12, 0x2c, 0x0a, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x43, + 0x61, 0x63, 0x68, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x05, 0x63, 0x61, 0x63, + 0x68, 0x65, 0x12, 0x3d, 0x0a, 0x0c, 0x6d, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, + 0x4d, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x48, 0x00, 0x52, 0x0c, 0x6d, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, + 0x73, 0x12, 0x31, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x4b, 0x65, 0x79, 0x63, 0x68, + 0x61, 0x69, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x63, + 0x68, 0x61, 0x69, 0x6e, 0x12, 0x25, 0x0a, 0x04, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x61, 0x69, 0x6c, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x04, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x25, 0x0a, 0x04, 0x75, + 0x73, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x72, 0x70, 0x63, + 0x2e, 0x55, 0x73, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x04, 0x75, 0x73, + 0x65, 0x72, 0x42, 0x07, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x9d, 0x04, 0x0a, 0x08, + 0x41, 0x70, 0x70, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x43, 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x6e, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x69, + 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x5e, 0x0a, + 0x17, 0x74, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, + 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x41, 0x75, 0x74, 0x6f, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x48, 0x00, 0x52, 0x17, 0x74, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x41, 0x75, 0x74, 0x6f, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x40, 0x0a, + 0x0d, 0x72, 0x65, 0x73, 0x65, 0x74, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x73, 0x65, + 0x74, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, + 0x52, 0x0d, 0x72, 0x65, 0x73, 0x65, 0x74, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, + 0x4c, 0x0a, 0x11, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x75, 0x67, 0x46, 0x69, 0x6e, 0x69, + 0x73, 0x68, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x72, 0x70, + 0x63, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x75, 0x67, 0x46, 0x69, 0x6e, 0x69, 0x73, + 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x11, 0x72, 0x65, 0x70, 0x6f, + 0x72, 0x74, 0x42, 0x75, 0x67, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x49, 0x0a, + 0x10, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x75, 0x67, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x52, + 0x65, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x75, 0x67, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x10, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x75, + 0x67, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x43, 0x0a, 0x0e, 0x72, 0x65, 0x70, 0x6f, + 0x72, 0x74, 0x42, 0x75, 0x67, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x75, + 0x67, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x72, + 0x65, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x75, 0x67, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x43, 0x0a, + 0x0e, 0x73, 0x68, 0x6f, 0x77, 0x4d, 0x61, 0x69, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x68, 0x6f, + 0x77, 0x4d, 0x61, 0x69, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x48, 0x00, 0x52, 0x0e, 0x73, 0x68, 0x6f, 0x77, 0x4d, 0x61, 0x69, 0x6e, 0x57, 0x69, 0x6e, 0x64, + 0x6f, 0x77, 0x42, 0x07, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x33, 0x0a, 0x13, 0x49, + 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, + 0x22, 0x1e, 0x0a, 0x1c, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x22, 0x14, 0x0a, 0x12, 0x52, 0x65, 0x73, 0x65, 0x74, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, + 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x18, 0x0a, 0x16, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, + 0x42, 0x75, 0x67, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x22, 0x17, 0x0a, 0x15, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x75, 0x67, 0x53, 0x75, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x15, 0x0a, 0x13, 0x52, 0x65, 0x70, + 0x6f, 0x72, 0x74, 0x42, 0x75, 0x67, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x22, 0x15, 0x0a, 0x13, 0x53, 0x68, 0x6f, 0x77, 0x4d, 0x61, 0x69, 0x6e, 0x57, 0x69, 0x6e, 0x64, + 0x6f, 0x77, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0xe3, 0x02, 0x0a, 0x0a, 0x4c, 0x6f, 0x67, 0x69, + 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x2d, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x6f, 0x67, + 0x69, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x05, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x66, 0x61, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x72, + 0x70, 0x63, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x54, 0x66, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0c, 0x74, 0x66, 0x61, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x5b, 0x0a, 0x14, 0x74, 0x77, 0x6f, + 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x4c, + 0x6f, 0x67, 0x69, 0x6e, 0x54, 0x77, 0x6f, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, + 0x52, 0x14, 0x74, 0x77, 0x6f, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x08, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, + 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, + 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x48, 0x00, 0x52, 0x08, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x44, + 0x0a, 0x0f, 0x61, 0x6c, 0x72, 0x65, 0x61, 0x64, 0x79, 0x4c, 0x6f, 0x67, 0x67, 0x65, 0x64, 0x49, + 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x4c, + 0x6f, 0x67, 0x69, 0x6e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x48, 0x00, 0x52, 0x0f, 0x61, 0x6c, 0x72, 0x65, 0x61, 0x64, 0x79, 0x4c, 0x6f, 0x67, 0x67, + 0x65, 0x64, 0x49, 0x6e, 0x42, 0x07, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x55, 0x0a, + 0x0f, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x12, 0x28, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, + 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x22, 0x34, 0x0a, 0x16, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x54, 0x66, 0x61, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1a, + 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x21, 0x0a, 0x1f, 0x4c, 0x6f, + 0x67, 0x69, 0x6e, 0x54, 0x77, 0x6f, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x2c, 0x0a, + 0x12, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x22, 0xb9, 0x04, 0x0a, 0x0b, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x05, 0x65, + 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x70, + 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x40, 0x0a, 0x0b, 0x6d, + 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x61, 0x64, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, + 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x61, 0x64, 0x79, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, + 0x52, 0x0b, 0x6d, 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, 0x58, 0x0a, 0x13, 0x6d, 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x65, - 0x65, 0x64, 0x65, 0x64, 0x12, 0x2e, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x05, 0x66, - 0x6f, 0x72, 0x63, 0x65, 0x12, 0x53, 0x0a, 0x13, 0x73, 0x69, 0x6c, 0x65, 0x6e, 0x74, 0x52, 0x65, - 0x73, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x65, 0x65, 0x64, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, - 0x69, 0x6c, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x65, 0x65, 0x64, - 0x65, 0x64, 0x48, 0x00, 0x52, 0x13, 0x73, 0x69, 0x6c, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x74, - 0x61, 0x72, 0x74, 0x4e, 0x65, 0x65, 0x64, 0x65, 0x64, 0x12, 0x47, 0x0a, 0x0f, 0x69, 0x73, 0x4c, - 0x61, 0x74, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x49, 0x73, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x48, - 0x00, 0x52, 0x0f, 0x69, 0x73, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x0d, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x46, 0x69, 0x6e, 0x69, 0x73, - 0x68, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x70, 0x63, - 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x46, 0x69, 0x6e, 0x69, - 0x73, 0x68, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0d, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x46, 0x69, 0x6e, - 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x44, 0x0a, 0x0e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, - 0x67, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0e, 0x76, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x65, - 0x76, 0x65, 0x6e, 0x74, 0x22, 0x3d, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x72, - 0x72, 0x6f, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x22, 0x32, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x6e, - 0x75, 0x61, 0x6c, 0x52, 0x65, 0x61, 0x64, 0x79, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, - 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x20, 0x0a, 0x1e, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x4d, 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x65, - 0x65, 0x64, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x2c, 0x0a, 0x10, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, - 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x1b, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x53, 0x69, 0x6c, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x65, - 0x65, 0x64, 0x65, 0x64, 0x22, 0x17, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x73, - 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x15, 0x0a, - 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x46, 0x69, 0x6e, 0x69, - 0x73, 0x68, 0x65, 0x64, 0x22, 0x16, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x22, 0xda, 0x02, 0x0a, - 0x0a, 0x43, 0x61, 0x63, 0x68, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x2d, 0x0a, 0x05, 0x65, - 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x70, - 0x63, 0x2e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x5f, 0x0a, 0x16, 0x6c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x53, 0x75, 0x63, - 0x63, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x72, 0x70, - 0x63, 0x2e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x48, 0x00, 0x52, 0x16, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, - 0x6e, 0x67, 0x65, 0x64, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x61, 0x0a, 0x18, 0x63, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x43, 0x61, 0x63, 0x68, 0x65, 0x46, - 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, - 0x67, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x6c, - 0x43, 0x61, 0x63, 0x68, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x48, 0x00, 0x52, 0x18, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x6f, 0x63, 0x61, - 0x6c, 0x43, 0x61, 0x63, 0x68, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x50, - 0x0a, 0x14, 0x64, 0x69, 0x73, 0x6b, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x61, 0x74, 0x68, 0x43, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, - 0x72, 0x70, 0x63, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x61, 0x74, - 0x68, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x48, 0x00, 0x52, 0x14, 0x64, 0x69, 0x73, 0x6b, - 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x61, 0x74, 0x68, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, - 0x42, 0x07, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x3b, 0x0a, 0x0f, 0x43, 0x61, 0x63, - 0x68, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x70, - 0x63, 0x2e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x21, 0x0a, 0x1f, 0x43, 0x61, 0x63, 0x68, 0x65, 0x4c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x75, 0x63, - 0x63, 0x65, 0x73, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x41, 0x0a, 0x1d, 0x43, 0x68, 0x61, - 0x6e, 0x67, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x43, 0x61, 0x63, 0x68, 0x65, 0x46, 0x69, 0x6e, - 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x77, 0x69, - 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x0b, 0x77, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x22, 0x2a, 0x0a, 0x14, - 0x44, 0x69, 0x73, 0x6b, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x61, 0x74, 0x68, 0x43, 0x68, 0x61, - 0x6e, 0x67, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0xda, 0x02, 0x0a, 0x11, 0x4d, 0x61, 0x69, - 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x34, - 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, - 0x67, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, - 0x73, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x05, 0x65, - 0x72, 0x72, 0x6f, 0x72, 0x12, 0x58, 0x0a, 0x15, 0x75, 0x73, 0x65, 0x53, 0x73, 0x6c, 0x46, 0x6f, - 0x72, 0x53, 0x6d, 0x74, 0x70, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x73, 0x65, 0x53, 0x73, - 0x6c, 0x46, 0x6f, 0x72, 0x53, 0x6d, 0x74, 0x70, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x15, 0x75, 0x73, 0x65, 0x53, 0x73, 0x6c, 0x46, - 0x6f, 0x72, 0x53, 0x6d, 0x74, 0x70, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x52, - 0x0a, 0x13, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x73, 0x46, 0x69, 0x6e, - 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, - 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x73, 0x46, 0x69, - 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x13, 0x63, + 0x65, 0x64, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x70, + 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x65, 0x65, 0x64, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x48, 0x00, 0x52, 0x13, 0x6d, 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x4e, 0x65, 0x65, 0x64, 0x65, 0x64, 0x12, 0x2e, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, + 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x53, 0x0a, 0x13, 0x73, 0x69, 0x6c, 0x65, 0x6e, + 0x74, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x65, 0x65, 0x64, 0x65, 0x64, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x53, 0x69, 0x6c, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4e, + 0x65, 0x65, 0x64, 0x65, 0x64, 0x48, 0x00, 0x52, 0x13, 0x73, 0x69, 0x6c, 0x65, 0x6e, 0x74, 0x52, + 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x65, 0x65, 0x64, 0x65, 0x64, 0x12, 0x47, 0x0a, 0x0f, + 0x69, 0x73, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x49, 0x73, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0f, 0x69, 0x73, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x0d, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x46, 0x69, + 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, + 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x46, + 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0d, 0x63, 0x68, 0x65, 0x63, 0x6b, + 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x44, 0x0a, 0x0e, 0x76, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0e, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x42, 0x07, + 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x3d, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x04, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x70, 0x63, + 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x32, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x4d, 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x61, 0x64, 0x79, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x20, 0x0a, 0x1e, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x4e, 0x65, 0x65, 0x64, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x2c, 0x0a, 0x10, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x1b, 0x0a, 0x19, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x53, 0x69, 0x6c, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x4e, 0x65, 0x65, 0x64, 0x65, 0x64, 0x22, 0x17, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x49, 0x73, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x22, 0x15, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x46, + 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x22, 0x16, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x22, + 0xeb, 0x01, 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x6b, 0x43, 0x61, 0x63, 0x68, 0x65, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x12, 0x31, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x43, 0x61, 0x63, + 0x68, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x05, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x43, 0x0a, 0x0b, 0x70, 0x61, 0x74, 0x68, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x70, + 0x63, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x61, 0x74, 0x68, 0x43, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x70, + 0x61, 0x74, 0x68, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x12, 0x58, 0x0a, 0x12, 0x70, 0x61, + 0x74, 0x68, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x69, + 0x73, 0x6b, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x61, 0x74, 0x68, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, + 0x52, 0x12, 0x70, 0x61, 0x74, 0x68, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x46, 0x69, 0x6e, 0x69, + 0x73, 0x68, 0x65, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x43, 0x0a, + 0x13, 0x44, 0x69, 0x73, 0x6b, 0x43, 0x61, 0x63, 0x68, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x43, 0x61, + 0x63, 0x68, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x22, 0x2f, 0x0a, 0x19, 0x44, 0x69, 0x73, 0x6b, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, + 0x61, 0x74, 0x68, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, + 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, + 0x61, 0x74, 0x68, 0x22, 0x22, 0x0a, 0x20, 0x44, 0x69, 0x73, 0x6b, 0x43, 0x61, 0x63, 0x68, 0x65, + 0x50, 0x61, 0x74, 0x68, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, + 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0xda, 0x02, 0x0a, 0x11, 0x4d, 0x61, 0x69, 0x6c, + 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x34, 0x0a, + 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, + 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, + 0x45, 0x72, 0x72, 0x6f, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, + 0x72, 0x6f, 0x72, 0x12, 0x58, 0x0a, 0x15, 0x75, 0x73, 0x65, 0x53, 0x73, 0x6c, 0x46, 0x6f, 0x72, + 0x53, 0x6d, 0x74, 0x70, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x73, 0x65, 0x53, 0x73, 0x6c, + 0x46, 0x6f, 0x72, 0x53, 0x6d, 0x74, 0x70, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x15, 0x75, 0x73, 0x65, 0x53, 0x73, 0x6c, 0x46, 0x6f, + 0x72, 0x53, 0x6d, 0x74, 0x70, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x52, 0x0a, + 0x13, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x73, 0x46, 0x69, 0x6e, 0x69, + 0x73, 0x68, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x70, + 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x73, 0x46, 0x69, 0x6e, + 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x13, 0x63, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x73, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, + 0x64, 0x12, 0x58, 0x0a, 0x15, 0x75, 0x73, 0x65, 0x53, 0x73, 0x6c, 0x46, 0x6f, 0x72, 0x49, 0x6d, + 0x61, 0x70, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x20, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x73, 0x65, 0x53, 0x73, 0x6c, 0x46, 0x6f, + 0x72, 0x49, 0x6d, 0x61, 0x70, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x48, 0x00, 0x52, 0x15, 0x75, 0x73, 0x65, 0x53, 0x73, 0x6c, 0x46, 0x6f, 0x72, 0x49, + 0x6d, 0x61, 0x70, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x65, + 0x76, 0x65, 0x6e, 0x74, 0x22, 0x49, 0x0a, 0x16, 0x4d, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x74, 0x74, + 0x69, 0x6e, 0x67, 0x73, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x2f, + 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x67, + 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, + 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, + 0x1c, 0x0a, 0x1a, 0x55, 0x73, 0x65, 0x53, 0x73, 0x6c, 0x46, 0x6f, 0x72, 0x53, 0x6d, 0x74, 0x70, + 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x1c, 0x0a, + 0x1a, 0x55, 0x73, 0x65, 0x53, 0x73, 0x6c, 0x46, 0x6f, 0x72, 0x49, 0x6d, 0x61, 0x70, 0x46, 0x69, + 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x1a, 0x0a, 0x18, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x73, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, - 0x65, 0x64, 0x12, 0x58, 0x0a, 0x15, 0x75, 0x73, 0x65, 0x53, 0x73, 0x6c, 0x46, 0x6f, 0x72, 0x49, - 0x6d, 0x61, 0x70, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x73, 0x65, 0x53, 0x73, 0x6c, 0x46, - 0x6f, 0x72, 0x49, 0x6d, 0x61, 0x70, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x15, 0x75, 0x73, 0x65, 0x53, 0x73, 0x6c, 0x46, 0x6f, 0x72, - 0x49, 0x6d, 0x61, 0x70, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x42, 0x07, 0x0a, 0x05, - 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x49, 0x0a, 0x16, 0x4d, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x74, - 0x74, 0x69, 0x6e, 0x67, 0x73, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, - 0x2f, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, - 0x67, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, - 0x73, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x22, 0x1c, 0x0a, 0x1a, 0x55, 0x73, 0x65, 0x53, 0x73, 0x6c, 0x46, 0x6f, 0x72, 0x53, 0x6d, 0x74, - 0x70, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x1c, - 0x0a, 0x1a, 0x55, 0x73, 0x65, 0x53, 0x73, 0x6c, 0x46, 0x6f, 0x72, 0x49, 0x6d, 0x61, 0x70, 0x46, - 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x1a, 0x0a, 0x18, - 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x73, 0x46, 0x69, 0x6e, 0x69, 0x73, - 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0xff, 0x01, 0x0a, 0x0d, 0x4b, 0x65, 0x79, - 0x63, 0x68, 0x61, 0x69, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x5b, 0x0a, 0x16, 0x63, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x46, 0x69, 0x6e, 0x69, - 0x73, 0x68, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x70, - 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, - 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, - 0x16, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x46, - 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x40, 0x0a, 0x0d, 0x68, 0x61, 0x73, 0x4e, 0x6f, - 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, - 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x48, 0x61, 0x73, 0x4e, 0x6f, 0x4b, 0x65, 0x79, 0x63, 0x68, - 0x61, 0x69, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0d, 0x68, 0x61, 0x73, 0x4e, - 0x6f, 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x12, 0x46, 0x0a, 0x0f, 0x72, 0x65, 0x62, - 0x75, 0x69, 0x6c, 0x64, 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, - 0x64, 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, - 0x52, 0x0f, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, - 0x6e, 0x42, 0x07, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x1d, 0x0a, 0x1b, 0x43, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x46, 0x69, 0x6e, 0x69, - 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x14, 0x0a, 0x12, 0x48, 0x61, 0x73, - 0x4e, 0x6f, 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, - 0x16, 0x0a, 0x14, 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, - 0x69, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0xd9, 0x02, 0x0a, 0x09, 0x4d, 0x61, 0x69, 0x6c, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x68, 0x0a, 0x1c, 0x6e, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x76, - 0x65, 0x4b, 0x65, 0x79, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x72, - 0x70, 0x63, 0x2e, 0x4e, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x4b, 0x65, 0x79, 0x46, 0x6f, - 0x72, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, - 0x00, 0x52, 0x1c, 0x6e, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x4b, 0x65, 0x79, 0x46, 0x6f, - 0x72, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, - 0x43, 0x0a, 0x0e, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x43, 0x68, 0x61, - 0x6e, 0x67, 0x65, 0x64, 0x12, 0x55, 0x0a, 0x14, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x43, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x14, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x43, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x12, 0x3d, 0x0a, 0x0c, 0x61, - 0x70, 0x69, 0x43, 0x65, 0x72, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x70, 0x69, 0x43, 0x65, 0x72, 0x74, - 0x49, 0x73, 0x73, 0x75, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0c, 0x61, 0x70, - 0x69, 0x43, 0x65, 0x72, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x65, 0x76, - 0x65, 0x6e, 0x74, 0x22, 0x34, 0x0a, 0x1c, 0x4e, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x4b, - 0x65, 0x79, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22, 0x2f, 0x0a, 0x13, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, - 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x35, 0x0a, 0x19, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4c, 0x6f, 0x67, 0x6f, - 0x75, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x22, 0x13, 0x0a, 0x11, 0x41, 0x70, 0x69, 0x43, 0x65, 0x72, 0x74, 0x49, 0x73, 0x73, 0x75, - 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0xfb, 0x01, 0x0a, 0x09, 0x55, 0x73, 0x65, 0x72, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x12, 0x5e, 0x0a, 0x17, 0x74, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x53, 0x70, - 0x6c, 0x69, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x6f, 0x67, - 0x67, 0x6c, 0x65, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x46, 0x69, 0x6e, 0x69, - 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x17, 0x74, 0x6f, 0x67, - 0x67, 0x6c, 0x65, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x46, 0x69, 0x6e, 0x69, - 0x73, 0x68, 0x65, 0x64, 0x12, 0x49, 0x0a, 0x10, 0x75, 0x73, 0x65, 0x72, 0x44, 0x69, 0x73, 0x63, - 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, - 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, - 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x10, 0x75, - 0x73, 0x65, 0x72, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x12, - 0x3a, 0x0a, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x73, 0x65, 0x72, - 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0b, - 0x75, 0x73, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x65, - 0x76, 0x65, 0x6e, 0x74, 0x22, 0x36, 0x0a, 0x1c, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x53, 0x70, - 0x6c, 0x69, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, + 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0xff, 0x01, 0x0a, 0x0d, 0x4b, 0x65, 0x79, 0x63, + 0x68, 0x61, 0x69, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x5b, 0x0a, 0x16, 0x63, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x46, 0x69, 0x6e, 0x69, 0x73, + 0x68, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x70, 0x63, + 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x46, + 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x16, + 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x46, 0x69, + 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x40, 0x0a, 0x0d, 0x68, 0x61, 0x73, 0x4e, 0x6f, 0x4b, + 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, + 0x67, 0x72, 0x70, 0x63, 0x2e, 0x48, 0x61, 0x73, 0x4e, 0x6f, 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, + 0x69, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0d, 0x68, 0x61, 0x73, 0x4e, 0x6f, + 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x12, 0x46, 0x0a, 0x0f, 0x72, 0x65, 0x62, 0x75, + 0x69, 0x6c, 0x64, 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, + 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, + 0x0f, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, + 0x42, 0x07, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x1d, 0x0a, 0x1b, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x46, 0x69, 0x6e, 0x69, 0x73, + 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x14, 0x0a, 0x12, 0x48, 0x61, 0x73, 0x4e, + 0x6f, 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x16, + 0x0a, 0x14, 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, + 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0xd9, 0x02, 0x0a, 0x09, 0x4d, 0x61, 0x69, 0x6c, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x12, 0x68, 0x0a, 0x1c, 0x6e, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x4b, 0x65, 0x79, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x72, 0x70, + 0x63, 0x2e, 0x4e, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x4b, 0x65, 0x79, 0x46, 0x6f, 0x72, + 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, + 0x52, 0x1c, 0x6e, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x4b, 0x65, 0x79, 0x46, 0x6f, 0x72, + 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x43, + 0x0a, 0x0e, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x48, 0x00, 0x52, 0x0e, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x64, 0x12, 0x55, 0x0a, 0x14, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x48, 0x00, 0x52, 0x14, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x64, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x12, 0x3d, 0x0a, 0x0c, 0x61, 0x70, + 0x69, 0x43, 0x65, 0x72, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x70, 0x69, 0x43, 0x65, 0x72, 0x74, 0x49, + 0x73, 0x73, 0x75, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0c, 0x61, 0x70, 0x69, + 0x43, 0x65, 0x72, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x22, 0x34, 0x0a, 0x1c, 0x4e, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x4b, 0x65, + 0x79, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22, 0x2f, 0x0a, 0x13, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, + 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x35, 0x0a, 0x19, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4c, 0x6f, 0x67, 0x6f, 0x75, + 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x22, 0x13, 0x0a, 0x11, 0x41, 0x70, 0x69, 0x43, 0x65, 0x72, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0xfb, 0x01, 0x0a, 0x09, 0x55, 0x73, 0x65, 0x72, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x12, 0x5e, 0x0a, 0x17, 0x74, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x53, 0x70, 0x6c, + 0x69, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x6f, 0x67, 0x67, + 0x6c, 0x65, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, + 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x17, 0x74, 0x6f, 0x67, 0x67, + 0x6c, 0x65, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, + 0x68, 0x65, 0x64, 0x12, 0x49, 0x0a, 0x10, 0x75, 0x73, 0x65, 0x72, 0x44, 0x69, 0x73, 0x63, 0x6f, + 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x67, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, + 0x65, 0x63, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x10, 0x75, 0x73, + 0x65, 0x72, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x12, 0x3a, + 0x0a, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x75, + 0x73, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x22, 0x36, 0x0a, 0x1c, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x53, 0x70, 0x6c, + 0x69, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x22, 0x33, 0x0a, 0x15, 0x55, + 0x73, 0x65, 0x72, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, + 0x22, 0x2a, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x22, 0x33, 0x0a, 0x15, - 0x55, 0x73, 0x65, 0x72, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, - 0x65, 0x22, 0x2a, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x2a, 0x71, 0x0a, - 0x08, 0x4c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x0d, 0x0a, 0x09, 0x4c, 0x4f, 0x47, - 0x5f, 0x50, 0x41, 0x4e, 0x49, 0x43, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x4c, 0x4f, 0x47, 0x5f, - 0x46, 0x41, 0x54, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x4c, 0x4f, 0x47, 0x5f, 0x45, - 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x4c, 0x4f, 0x47, 0x5f, 0x57, 0x41, - 0x52, 0x4e, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x4c, 0x4f, 0x47, 0x5f, 0x49, 0x4e, 0x46, 0x4f, - 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x4c, 0x4f, 0x47, 0x5f, 0x44, 0x45, 0x42, 0x55, 0x47, 0x10, - 0x05, 0x12, 0x0d, 0x0a, 0x09, 0x4c, 0x4f, 0x47, 0x5f, 0x54, 0x52, 0x41, 0x43, 0x45, 0x10, 0x06, - 0x2a, 0xa2, 0x01, 0x0a, 0x0e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x55, 0x53, 0x45, 0x52, 0x4e, 0x41, 0x4d, 0x45, 0x5f, - 0x50, 0x41, 0x53, 0x53, 0x57, 0x4f, 0x52, 0x44, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x00, - 0x12, 0x0d, 0x0a, 0x09, 0x46, 0x52, 0x45, 0x45, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x10, 0x01, 0x12, - 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x52, - 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x46, 0x41, 0x5f, 0x45, 0x52, 0x52, - 0x4f, 0x52, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x46, 0x41, 0x5f, 0x41, 0x42, 0x4f, 0x52, - 0x54, 0x10, 0x04, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x57, 0x4f, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x57, - 0x4f, 0x52, 0x44, 0x53, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x05, 0x12, 0x17, 0x0a, 0x13, - 0x54, 0x57, 0x4f, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x57, 0x4f, 0x52, 0x44, 0x53, 0x5f, 0x41, 0x42, - 0x4f, 0x52, 0x54, 0x10, 0x06, 0x2a, 0x5b, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, - 0x72, 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x55, 0x50, 0x44, 0x41, - 0x54, 0x45, 0x5f, 0x4d, 0x41, 0x4e, 0x55, 0x41, 0x4c, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, - 0x00, 0x12, 0x16, 0x0a, 0x12, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x4f, 0x52, 0x43, - 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x55, 0x50, 0x44, - 0x41, 0x54, 0x45, 0x5f, 0x53, 0x49, 0x4c, 0x45, 0x4e, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, - 0x10, 0x02, 0x2a, 0x57, 0x0a, 0x0e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x43, 0x41, 0x43, 0x48, 0x45, 0x5f, 0x55, 0x4e, - 0x41, 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, - 0x00, 0x12, 0x19, 0x0a, 0x15, 0x43, 0x41, 0x43, 0x48, 0x45, 0x5f, 0x43, 0x41, 0x4e, 0x54, 0x5f, - 0x4d, 0x4f, 0x56, 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, - 0x44, 0x49, 0x53, 0x4b, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x02, 0x2a, 0x41, 0x0a, 0x15, 0x4d, - 0x61, 0x69, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x45, 0x72, 0x72, 0x6f, 0x72, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x49, 0x4d, 0x41, 0x50, 0x5f, 0x50, 0x4f, 0x52, - 0x54, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x4d, 0x54, - 0x50, 0x5f, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x10, 0x01, 0x32, 0xa8, - 0x20, 0x0a, 0x06, 0x42, 0x72, 0x69, 0x64, 0x67, 0x65, 0x12, 0x49, 0x0a, 0x0b, 0x43, 0x68, 0x65, - 0x63, 0x6b, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, - 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3f, 0x0a, 0x0b, 0x41, 0x64, 0x64, 0x4c, 0x6f, 0x67, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x12, 0x18, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x64, 0x64, 0x4c, 0x6f, - 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x3a, 0x0a, 0x08, 0x47, 0x75, 0x69, 0x52, 0x65, 0x61, 0x64, - 0x79, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, - 0x79, 0x12, 0x36, 0x0a, 0x04, 0x51, 0x75, 0x69, 0x74, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, - 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x39, 0x0a, 0x07, 0x52, 0x65, 0x73, - 0x74, 0x61, 0x72, 0x74, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x2a, 0x71, 0x0a, 0x08, + 0x4c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x0d, 0x0a, 0x09, 0x4c, 0x4f, 0x47, 0x5f, + 0x50, 0x41, 0x4e, 0x49, 0x43, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x4c, 0x4f, 0x47, 0x5f, 0x46, + 0x41, 0x54, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x4c, 0x4f, 0x47, 0x5f, 0x45, 0x52, + 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x4c, 0x4f, 0x47, 0x5f, 0x57, 0x41, 0x52, + 0x4e, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x4c, 0x4f, 0x47, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x10, + 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x4c, 0x4f, 0x47, 0x5f, 0x44, 0x45, 0x42, 0x55, 0x47, 0x10, 0x05, + 0x12, 0x0d, 0x0a, 0x09, 0x4c, 0x4f, 0x47, 0x5f, 0x54, 0x52, 0x41, 0x43, 0x45, 0x10, 0x06, 0x2a, + 0xa2, 0x01, 0x0a, 0x0e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x55, 0x53, 0x45, 0x52, 0x4e, 0x41, 0x4d, 0x45, 0x5f, 0x50, + 0x41, 0x53, 0x53, 0x57, 0x4f, 0x52, 0x44, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x00, 0x12, + 0x0d, 0x0a, 0x09, 0x46, 0x52, 0x45, 0x45, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x10, 0x01, 0x12, 0x14, + 0x0a, 0x10, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x52, 0x52, + 0x4f, 0x52, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x46, 0x41, 0x5f, 0x45, 0x52, 0x52, 0x4f, + 0x52, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x46, 0x41, 0x5f, 0x41, 0x42, 0x4f, 0x52, 0x54, + 0x10, 0x04, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x57, 0x4f, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x57, 0x4f, + 0x52, 0x44, 0x53, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x05, 0x12, 0x17, 0x0a, 0x13, 0x54, + 0x57, 0x4f, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x57, 0x4f, 0x52, 0x44, 0x53, 0x5f, 0x41, 0x42, 0x4f, + 0x52, 0x54, 0x10, 0x06, 0x2a, 0x5b, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x72, + 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x55, 0x50, 0x44, 0x41, 0x54, + 0x45, 0x5f, 0x4d, 0x41, 0x4e, 0x55, 0x41, 0x4c, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x00, + 0x12, 0x16, 0x0a, 0x12, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x4f, 0x52, 0x43, 0x45, + 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x55, 0x50, 0x44, 0x41, + 0x54, 0x45, 0x5f, 0x53, 0x49, 0x4c, 0x45, 0x4e, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, + 0x02, 0x2a, 0x6b, 0x0a, 0x12, 0x44, 0x69, 0x73, 0x6b, 0x43, 0x61, 0x63, 0x68, 0x65, 0x45, 0x72, + 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x1c, 0x44, 0x49, 0x53, 0x4b, 0x5f, + 0x43, 0x41, 0x43, 0x48, 0x45, 0x5f, 0x55, 0x4e, 0x41, 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, 0x4c, + 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x00, 0x12, 0x1e, 0x0a, 0x1a, 0x43, 0x41, 0x4e, + 0x54, 0x5f, 0x4d, 0x4f, 0x56, 0x45, 0x5f, 0x44, 0x49, 0x53, 0x4b, 0x5f, 0x43, 0x41, 0x43, 0x48, + 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x44, 0x49, 0x53, + 0x4b, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x2a, 0x41, + 0x0a, 0x15, 0x4d, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x45, 0x72, + 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x49, 0x4d, 0x41, 0x50, 0x5f, + 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, + 0x53, 0x4d, 0x54, 0x50, 0x5f, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x10, + 0x01, 0x32, 0xa7, 0x20, 0x0a, 0x06, 0x42, 0x72, 0x69, 0x64, 0x67, 0x65, 0x12, 0x49, 0x0a, 0x0b, + 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x12, 0x1c, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, + 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, + 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3f, 0x0a, 0x0b, 0x41, 0x64, 0x64, 0x4c, 0x6f, + 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x18, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x64, + 0x64, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x3a, 0x0a, 0x08, 0x47, 0x75, 0x69, 0x52, + 0x65, 0x61, 0x64, 0x79, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, - 0x6d, 0x70, 0x74, 0x79, 0x12, 0x43, 0x0a, 0x0d, 0x53, 0x68, 0x6f, 0x77, 0x4f, 0x6e, 0x53, 0x74, - 0x61, 0x72, 0x74, 0x75, 0x70, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1a, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x46, 0x0a, 0x10, 0x53, 0x68, 0x6f, - 0x77, 0x53, 0x70, 0x6c, 0x61, 0x73, 0x68, 0x53, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x12, 0x16, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x12, 0x45, 0x0a, 0x0f, 0x49, 0x73, 0x46, 0x69, 0x72, 0x73, 0x74, 0x47, 0x75, 0x69, 0x53, - 0x74, 0x61, 0x72, 0x74, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6d, 0x70, 0x74, 0x79, 0x12, 0x36, 0x0a, 0x04, 0x51, 0x75, 0x69, 0x74, 0x12, 0x16, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, + 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x39, 0x0a, 0x07, + 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, + 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x43, 0x0a, 0x0d, 0x53, 0x68, 0x6f, 0x77, 0x4f, + 0x6e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x75, 0x70, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, + 0x1a, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x46, 0x0a, 0x10, + 0x53, 0x68, 0x6f, 0x77, 0x53, 0x70, 0x6c, 0x61, 0x73, 0x68, 0x53, 0x63, 0x72, 0x65, 0x65, 0x6e, + 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x12, 0x45, 0x0a, 0x0f, 0x49, 0x73, 0x46, 0x69, 0x72, 0x73, 0x74, 0x47, + 0x75, 0x69, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, + 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x46, 0x0a, 0x10, 0x53, + 0x65, 0x74, 0x49, 0x73, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4f, 0x6e, 0x12, + 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x16, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, + 0x70, 0x74, 0x79, 0x12, 0x43, 0x0a, 0x0d, 0x49, 0x73, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x4f, 0x6e, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x46, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x49, - 0x73, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4f, 0x6e, 0x12, 0x1a, 0x2e, 0x67, + 0x73, 0x42, 0x65, 0x74, 0x61, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, - 0x12, 0x43, 0x0a, 0x0d, 0x49, 0x73, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4f, - 0x6e, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x43, 0x0a, 0x0d, 0x49, 0x73, 0x42, 0x65, 0x74, 0x61, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x64, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x46, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x49, 0x73, 0x42, 0x65, - 0x74, 0x61, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x43, 0x0a, - 0x0d, 0x49, 0x73, 0x42, 0x65, 0x74, 0x61, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x16, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x12, 0x49, 0x0a, 0x13, 0x53, 0x65, 0x74, 0x49, 0x73, 0x41, 0x6c, 0x6c, 0x4d, 0x61, - 0x69, 0x6c, 0x56, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x46, 0x0a, - 0x10, 0x49, 0x73, 0x41, 0x6c, 0x6c, 0x4d, 0x61, 0x69, 0x6c, 0x56, 0x69, 0x73, 0x69, 0x62, 0x6c, - 0x65, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3c, 0x0a, 0x04, 0x47, 0x6f, 0x4f, 0x73, 0x12, 0x16, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x12, 0x3e, 0x0a, 0x0c, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 0x65, - 0x73, 0x65, 0x74, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, - 0x70, 0x74, 0x79, 0x12, 0x3f, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x12, 0x40, 0x0a, 0x08, 0x4c, 0x6f, 0x67, 0x73, 0x50, 0x61, 0x74, 0x68, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x49, 0x0a, 0x13, 0x53, 0x65, 0x74, 0x49, 0x73, 0x41, 0x6c, + 0x6c, 0x4d, 0x61, 0x69, 0x6c, 0x56, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x1a, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, + 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, + 0x12, 0x46, 0x0a, 0x10, 0x49, 0x73, 0x41, 0x6c, 0x6c, 0x4d, 0x61, 0x69, 0x6c, 0x56, 0x69, 0x73, + 0x69, 0x62, 0x6c, 0x65, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1a, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, + 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3c, 0x0a, 0x04, 0x47, 0x6f, 0x4f, 0x73, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, - 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x43, 0x0a, 0x0b, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, - 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1c, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x4c, 0x0a, 0x14, 0x52, - 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x50, 0x61, 0x67, 0x65, 0x4c, - 0x69, 0x6e, 0x6b, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, - 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x4e, 0x0a, 0x16, 0x44, 0x65, 0x70, - 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x73, 0x4c, - 0x69, 0x6e, 0x6b, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, - 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x47, 0x0a, 0x0f, 0x4c, 0x61, 0x6e, - 0x64, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x16, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, - 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x12, 0x4a, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x53, 0x63, - 0x68, 0x65, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, - 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x47, - 0x0a, 0x0f, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3e, 0x0a, 0x0c, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, + 0x72, 0x52, 0x65, 0x73, 0x65, 0x74, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x3f, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, - 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x4a, 0x0a, 0x12, 0x43, 0x75, 0x72, 0x72, 0x65, - 0x6e, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x12, 0x3b, 0x0a, 0x09, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x75, 0x67, - 0x12, 0x16, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x75, - 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x40, 0x0a, 0x08, 0x4c, 0x6f, 0x67, 0x73, 0x50, + 0x61, 0x74, 0x68, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, + 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x43, 0x0a, 0x0b, 0x4c, 0x69, 0x63, + 0x65, 0x6e, 0x73, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, - 0x12, 0x45, 0x0a, 0x0d, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x65, - 0x72, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, + 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x4c, + 0x0a, 0x14, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x50, 0x61, + 0x67, 0x65, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1c, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x4e, 0x0a, 0x16, + 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, + 0x65, 0x73, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1c, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x47, 0x0a, 0x0f, + 0x4c, 0x61, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x49, 0x0a, 0x11, 0x53, 0x65, 0x74, 0x4d, 0x61, - 0x69, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1c, 0x2e, 0x67, + 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x4a, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x6f, + 0x72, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, + 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, + 0x79, 0x12, 0x47, 0x0a, 0x0f, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, - 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, - 0x74, 0x79, 0x12, 0x33, 0x0a, 0x05, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x12, 0x2e, 0x67, 0x72, - 0x70, 0x63, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x36, 0x0a, 0x08, 0x4c, 0x6f, 0x67, 0x69, 0x6e, - 0x32, 0x46, 0x41, 0x12, 0x12, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, - 0x3d, 0x0a, 0x0f, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x32, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, - 0x64, 0x73, 0x12, 0x12, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x3d, - 0x0a, 0x0a, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x41, 0x62, 0x6f, 0x72, 0x74, 0x12, 0x17, 0x2e, 0x67, - 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x41, 0x62, 0x6f, 0x72, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x3d, 0x0a, - 0x0b, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x16, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, - 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x3f, 0x0a, 0x0d, - 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x16, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x4c, 0x0a, - 0x16, 0x53, 0x65, 0x74, 0x49, 0x73, 0x41, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x12, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x49, 0x0a, 0x13, 0x49, - 0x73, 0x41, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x4f, 0x6e, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, - 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x45, 0x0a, 0x0d, 0x44, 0x69, 0x73, 0x6b, 0x43, 0x61, - 0x63, 0x68, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, - 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x49, 0x0a, - 0x10, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x43, 0x61, 0x63, 0x68, - 0x65, 0x12, 0x1d, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, - 0x6f, 0x63, 0x61, 0x6c, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x45, 0x0a, 0x0f, 0x53, 0x65, 0x74, 0x49, - 0x73, 0x44, 0x6f, 0x48, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1a, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, - 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, - 0x42, 0x0a, 0x0c, 0x49, 0x73, 0x44, 0x6f, 0x48, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, - 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x12, 0x46, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x53, 0x73, 0x6c, - 0x46, 0x6f, 0x72, 0x53, 0x6d, 0x74, 0x70, 0x12, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x43, 0x0a, 0x0d, 0x55, - 0x73, 0x65, 0x53, 0x73, 0x6c, 0x46, 0x6f, 0x72, 0x53, 0x6d, 0x74, 0x70, 0x12, 0x16, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, - 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x12, 0x46, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x53, 0x73, 0x6c, 0x46, 0x6f, 0x72, - 0x49, 0x6d, 0x61, 0x70, 0x12, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x43, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x53, - 0x73, 0x6c, 0x46, 0x6f, 0x72, 0x49, 0x6d, 0x61, 0x70, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, - 0x79, 0x1a, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x40, 0x0a, - 0x08, 0x48, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, - 0x79, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, - 0x3f, 0x0a, 0x08, 0x49, 0x6d, 0x61, 0x70, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x16, 0x2e, 0x67, 0x6f, + 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x4a, 0x0a, 0x12, 0x43, 0x75, + 0x72, 0x72, 0x65, 0x6e, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, + 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, + 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3b, 0x0a, 0x09, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, + 0x42, 0x75, 0x67, 0x12, 0x16, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, + 0x74, 0x42, 0x75, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, - 0x70, 0x74, 0x79, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x12, 0x3f, 0x0a, 0x08, 0x53, 0x6d, 0x74, 0x70, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x16, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, - 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x12, 0x3f, 0x0a, 0x0b, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x73, - 0x12, 0x18, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x6f, - 0x72, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, - 0x74, 0x79, 0x12, 0x45, 0x0a, 0x0a, 0x49, 0x73, 0x50, 0x6f, 0x72, 0x74, 0x46, 0x72, 0x65, 0x65, - 0x12, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x1a, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x4e, 0x0a, 0x12, 0x41, 0x76, 0x61, - 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x73, 0x12, - 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x20, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x41, - 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x12, 0x53, 0x65, 0x74, - 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x12, + 0x70, 0x74, 0x79, 0x12, 0x45, 0x0a, 0x0d, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x4c, 0x61, 0x75, 0x6e, + 0x63, 0x68, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x49, 0x0a, 0x11, 0x53, 0x65, + 0x74, 0x4d, 0x61, 0x69, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x47, 0x0a, 0x0f, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, - 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, - 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3d, - 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x73, 0x65, - 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, - 0x07, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, - 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x0a, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x73, - 0x65, 0x72, 0x12, 0x46, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x53, 0x70, 0x6c, - 0x69, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x73, - 0x65, 0x72, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x33, 0x0a, 0x05, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x12, + 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x42, 0x0a, 0x0a, 0x4c, 0x6f, - 0x67, 0x6f, 0x75, 0x74, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, - 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x42, - 0x0a, 0x0a, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, - 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x36, 0x0a, 0x08, 0x4c, 0x6f, + 0x67, 0x69, 0x6e, 0x32, 0x46, 0x41, 0x12, 0x12, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x6f, + 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, - 0x74, 0x79, 0x12, 0x51, 0x0a, 0x16, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x55, - 0x73, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x65, 0x4d, 0x61, 0x69, 0x6c, 0x12, 0x1f, 0x2e, 0x67, - 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x41, 0x70, 0x70, - 0x6c, 0x65, 0x4d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x3f, 0x0a, 0x0e, 0x52, 0x75, 0x6e, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x18, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x11, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x30, 0x01, 0x12, 0x41, 0x0a, 0x0f, 0x53, 0x74, 0x6f, 0x70, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x74, 0x79, 0x12, 0x3d, 0x0a, 0x0f, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x32, 0x50, 0x61, 0x73, 0x73, + 0x77, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x12, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x6f, 0x67, + 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, - 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x36, 0x5a, 0x34, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x6e, 0x4d, 0x61, - 0x69, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x6e, 0x2d, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, - 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x67, 0x72, 0x70, - 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x79, 0x12, 0x3d, 0x0a, 0x0a, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x41, 0x62, 0x6f, 0x72, 0x74, 0x12, + 0x17, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x41, 0x62, 0x6f, 0x72, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, + 0x12, 0x3d, 0x0a, 0x0b, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, + 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, + 0x3f, 0x0a, 0x0d, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, + 0x12, 0x4c, 0x0a, 0x16, 0x53, 0x65, 0x74, 0x49, 0x73, 0x41, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, + 0x69, 0x63, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x12, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, + 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x49, + 0x0a, 0x13, 0x49, 0x73, 0x41, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1a, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x45, 0x0a, 0x0d, 0x44, 0x69, 0x73, + 0x6b, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, + 0x74, 0x79, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x12, 0x48, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x43, 0x61, 0x63, 0x68, 0x65, + 0x50, 0x61, 0x74, 0x68, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x45, 0x0a, 0x0f, 0x53, 0x65, + 0x74, 0x49, 0x73, 0x44, 0x6f, 0x48, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1a, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, + 0x79, 0x12, 0x42, 0x0a, 0x0c, 0x49, 0x73, 0x44, 0x6f, 0x48, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x64, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x46, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x53, + 0x73, 0x6c, 0x46, 0x6f, 0x72, 0x53, 0x6d, 0x74, 0x70, 0x12, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x43, 0x0a, + 0x0d, 0x55, 0x73, 0x65, 0x53, 0x73, 0x6c, 0x46, 0x6f, 0x72, 0x53, 0x6d, 0x74, 0x70, 0x12, 0x16, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x12, 0x46, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x53, 0x73, 0x6c, 0x46, + 0x6f, 0x72, 0x49, 0x6d, 0x61, 0x70, 0x12, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x43, 0x0a, 0x0d, 0x55, 0x73, + 0x65, 0x53, 0x73, 0x6c, 0x46, 0x6f, 0x72, 0x49, 0x6d, 0x61, 0x70, 0x12, 0x16, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, + 0x70, 0x74, 0x79, 0x1a, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, + 0x40, 0x0a, 0x08, 0x48, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, + 0x70, 0x74, 0x79, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x12, 0x3f, 0x0a, 0x08, 0x49, 0x6d, 0x61, 0x70, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x16, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x12, 0x3f, 0x0a, 0x08, 0x53, 0x6d, 0x74, 0x70, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x16, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x12, 0x3f, 0x0a, 0x0b, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x6f, 0x72, + 0x74, 0x73, 0x12, 0x18, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x50, 0x6f, 0x72, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, + 0x6d, 0x70, 0x74, 0x79, 0x12, 0x45, 0x0a, 0x0a, 0x49, 0x73, 0x50, 0x6f, 0x72, 0x74, 0x46, 0x72, + 0x65, 0x65, 0x12, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, + 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x4e, 0x0a, 0x12, 0x41, + 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, + 0x73, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x20, 0x2e, 0x67, 0x72, 0x70, 0x63, + 0x2e, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, + 0x69, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x12, 0x53, + 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, + 0x6e, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, + 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x47, 0x0a, 0x0f, 0x43, 0x75, 0x72, 0x72, 0x65, + 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, + 0x74, 0x79, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x12, 0x3d, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x55, + 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x33, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, + 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x0a, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, + 0x55, 0x73, 0x65, 0x72, 0x12, 0x46, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x53, + 0x70, 0x6c, 0x69, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, + 0x55, 0x73, 0x65, 0x72, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x42, 0x0a, 0x0a, + 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, + 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, + 0x12, 0x42, 0x0a, 0x0a, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1c, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x16, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, + 0x6d, 0x70, 0x74, 0x79, 0x12, 0x51, 0x0a, 0x16, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, + 0x65, 0x55, 0x73, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x65, 0x4d, 0x61, 0x69, 0x6c, 0x12, 0x1f, + 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x41, + 0x70, 0x70, 0x6c, 0x65, 0x4d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x3f, 0x0a, 0x0e, 0x52, 0x75, 0x6e, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x18, 0x2e, 0x67, 0x72, 0x70, 0x63, + 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x30, 0x01, 0x12, 0x41, 0x0a, 0x0f, 0x53, 0x74, 0x6f, 0x70, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x16, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, + 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x36, 0x5a, 0x34, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x6e, + 0x4d, 0x61, 0x69, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x6e, 0x2d, 0x62, 0x72, 0x69, 0x64, + 0x67, 0x65, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x67, + 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -4462,254 +4327,251 @@ func file_bridge_proto_rawDescGZIP() []byte { } var file_bridge_proto_enumTypes = make([]protoimpl.EnumInfo, 5) -var file_bridge_proto_msgTypes = make([]protoimpl.MessageInfo, 58) +var file_bridge_proto_msgTypes = make([]protoimpl.MessageInfo, 56) var file_bridge_proto_goTypes = []interface{}{ - (LogLevel)(0), // 0: grpc.LogLevel - (LoginErrorType)(0), // 1: grpc.LoginErrorType - (UpdateErrorType)(0), // 2: grpc.UpdateErrorType - (CacheErrorType)(0), // 3: grpc.CacheErrorType - (MailSettingsErrorType)(0), // 4: grpc.MailSettingsErrorType - (*AddLogEntryRequest)(nil), // 5: grpc.AddLogEntryRequest - (*ReportBugRequest)(nil), // 6: grpc.ReportBugRequest - (*LoginRequest)(nil), // 7: grpc.LoginRequest - (*LoginAbortRequest)(nil), // 8: grpc.LoginAbortRequest - (*ChangeLocalCacheRequest)(nil), // 9: grpc.ChangeLocalCacheRequest - (*ChangePortsRequest)(nil), // 10: grpc.ChangePortsRequest - (*AvailableKeychainsResponse)(nil), // 11: grpc.AvailableKeychainsResponse - (*User)(nil), // 12: grpc.User - (*UserSplitModeRequest)(nil), // 13: grpc.UserSplitModeRequest - (*UserListResponse)(nil), // 14: grpc.UserListResponse - (*ConfigureAppleMailRequest)(nil), // 15: grpc.ConfigureAppleMailRequest - (*EventStreamRequest)(nil), // 16: grpc.EventStreamRequest - (*StreamEvent)(nil), // 17: grpc.StreamEvent - (*AppEvent)(nil), // 18: grpc.AppEvent - (*InternetStatusEvent)(nil), // 19: grpc.InternetStatusEvent - (*ToggleAutostartFinishedEvent)(nil), // 20: grpc.ToggleAutostartFinishedEvent - (*ResetFinishedEvent)(nil), // 21: grpc.ResetFinishedEvent - (*ReportBugFinishedEvent)(nil), // 22: grpc.ReportBugFinishedEvent - (*ReportBugSuccessEvent)(nil), // 23: grpc.ReportBugSuccessEvent - (*ReportBugErrorEvent)(nil), // 24: grpc.ReportBugErrorEvent - (*ShowMainWindowEvent)(nil), // 25: grpc.ShowMainWindowEvent - (*LoginEvent)(nil), // 26: grpc.LoginEvent - (*LoginErrorEvent)(nil), // 27: grpc.LoginErrorEvent - (*LoginTfaRequestedEvent)(nil), // 28: grpc.LoginTfaRequestedEvent - (*LoginTwoPasswordsRequestedEvent)(nil), // 29: grpc.LoginTwoPasswordsRequestedEvent - (*LoginFinishedEvent)(nil), // 30: grpc.LoginFinishedEvent - (*UpdateEvent)(nil), // 31: grpc.UpdateEvent - (*UpdateErrorEvent)(nil), // 32: grpc.UpdateErrorEvent - (*UpdateManualReadyEvent)(nil), // 33: grpc.UpdateManualReadyEvent - (*UpdateManualRestartNeededEvent)(nil), // 34: grpc.UpdateManualRestartNeededEvent - (*UpdateForceEvent)(nil), // 35: grpc.UpdateForceEvent - (*UpdateSilentRestartNeeded)(nil), // 36: grpc.UpdateSilentRestartNeeded - (*UpdateIsLatestVersion)(nil), // 37: grpc.UpdateIsLatestVersion - (*UpdateCheckFinished)(nil), // 38: grpc.UpdateCheckFinished - (*UpdateVersionChanged)(nil), // 39: grpc.UpdateVersionChanged - (*CacheEvent)(nil), // 40: grpc.CacheEvent - (*CacheErrorEvent)(nil), // 41: grpc.CacheErrorEvent - (*CacheLocationChangeSuccessEvent)(nil), // 42: grpc.CacheLocationChangeSuccessEvent - (*ChangeLocalCacheFinishedEvent)(nil), // 43: grpc.ChangeLocalCacheFinishedEvent - (*DiskCachePathChanged)(nil), // 44: grpc.DiskCachePathChanged - (*MailSettingsEvent)(nil), // 45: grpc.MailSettingsEvent - (*MailSettingsErrorEvent)(nil), // 46: grpc.MailSettingsErrorEvent - (*UseSslForSmtpFinishedEvent)(nil), // 47: grpc.UseSslForSmtpFinishedEvent - (*UseSslForImapFinishedEvent)(nil), // 48: grpc.UseSslForImapFinishedEvent - (*ChangePortsFinishedEvent)(nil), // 49: grpc.ChangePortsFinishedEvent - (*KeychainEvent)(nil), // 50: grpc.KeychainEvent - (*ChangeKeychainFinishedEvent)(nil), // 51: grpc.ChangeKeychainFinishedEvent - (*HasNoKeychainEvent)(nil), // 52: grpc.HasNoKeychainEvent - (*RebuildKeychainEvent)(nil), // 53: grpc.RebuildKeychainEvent - (*MailEvent)(nil), // 54: grpc.MailEvent - (*NoActiveKeyForRecipientEvent)(nil), // 55: grpc.NoActiveKeyForRecipientEvent - (*AddressChangedEvent)(nil), // 56: grpc.AddressChangedEvent - (*AddressChangedLogoutEvent)(nil), // 57: grpc.AddressChangedLogoutEvent - (*ApiCertIssueEvent)(nil), // 58: grpc.ApiCertIssueEvent - (*UserEvent)(nil), // 59: grpc.UserEvent - (*ToggleSplitModeFinishedEvent)(nil), // 60: grpc.ToggleSplitModeFinishedEvent - (*UserDisconnectedEvent)(nil), // 61: grpc.UserDisconnectedEvent - (*UserChangedEvent)(nil), // 62: grpc.UserChangedEvent - (*wrapperspb.StringValue)(nil), // 63: google.protobuf.StringValue - (*emptypb.Empty)(nil), // 64: google.protobuf.Empty - (*wrapperspb.BoolValue)(nil), // 65: google.protobuf.BoolValue - (*wrapperspb.Int32Value)(nil), // 66: google.protobuf.Int32Value + (LogLevel)(0), // 0: grpc.LogLevel + (LoginErrorType)(0), // 1: grpc.LoginErrorType + (UpdateErrorType)(0), // 2: grpc.UpdateErrorType + (DiskCacheErrorType)(0), // 3: grpc.DiskCacheErrorType + (MailSettingsErrorType)(0), // 4: grpc.MailSettingsErrorType + (*AddLogEntryRequest)(nil), // 5: grpc.AddLogEntryRequest + (*ReportBugRequest)(nil), // 6: grpc.ReportBugRequest + (*LoginRequest)(nil), // 7: grpc.LoginRequest + (*LoginAbortRequest)(nil), // 8: grpc.LoginAbortRequest + (*ChangePortsRequest)(nil), // 9: grpc.ChangePortsRequest + (*AvailableKeychainsResponse)(nil), // 10: grpc.AvailableKeychainsResponse + (*User)(nil), // 11: grpc.User + (*UserSplitModeRequest)(nil), // 12: grpc.UserSplitModeRequest + (*UserListResponse)(nil), // 13: grpc.UserListResponse + (*ConfigureAppleMailRequest)(nil), // 14: grpc.ConfigureAppleMailRequest + (*EventStreamRequest)(nil), // 15: grpc.EventStreamRequest + (*StreamEvent)(nil), // 16: grpc.StreamEvent + (*AppEvent)(nil), // 17: grpc.AppEvent + (*InternetStatusEvent)(nil), // 18: grpc.InternetStatusEvent + (*ToggleAutostartFinishedEvent)(nil), // 19: grpc.ToggleAutostartFinishedEvent + (*ResetFinishedEvent)(nil), // 20: grpc.ResetFinishedEvent + (*ReportBugFinishedEvent)(nil), // 21: grpc.ReportBugFinishedEvent + (*ReportBugSuccessEvent)(nil), // 22: grpc.ReportBugSuccessEvent + (*ReportBugErrorEvent)(nil), // 23: grpc.ReportBugErrorEvent + (*ShowMainWindowEvent)(nil), // 24: grpc.ShowMainWindowEvent + (*LoginEvent)(nil), // 25: grpc.LoginEvent + (*LoginErrorEvent)(nil), // 26: grpc.LoginErrorEvent + (*LoginTfaRequestedEvent)(nil), // 27: grpc.LoginTfaRequestedEvent + (*LoginTwoPasswordsRequestedEvent)(nil), // 28: grpc.LoginTwoPasswordsRequestedEvent + (*LoginFinishedEvent)(nil), // 29: grpc.LoginFinishedEvent + (*UpdateEvent)(nil), // 30: grpc.UpdateEvent + (*UpdateErrorEvent)(nil), // 31: grpc.UpdateErrorEvent + (*UpdateManualReadyEvent)(nil), // 32: grpc.UpdateManualReadyEvent + (*UpdateManualRestartNeededEvent)(nil), // 33: grpc.UpdateManualRestartNeededEvent + (*UpdateForceEvent)(nil), // 34: grpc.UpdateForceEvent + (*UpdateSilentRestartNeeded)(nil), // 35: grpc.UpdateSilentRestartNeeded + (*UpdateIsLatestVersion)(nil), // 36: grpc.UpdateIsLatestVersion + (*UpdateCheckFinished)(nil), // 37: grpc.UpdateCheckFinished + (*UpdateVersionChanged)(nil), // 38: grpc.UpdateVersionChanged + (*DiskCacheEvent)(nil), // 39: grpc.DiskCacheEvent + (*DiskCacheErrorEvent)(nil), // 40: grpc.DiskCacheErrorEvent + (*DiskCachePathChangedEvent)(nil), // 41: grpc.DiskCachePathChangedEvent + (*DiskCachePathChangeFinishedEvent)(nil), // 42: grpc.DiskCachePathChangeFinishedEvent + (*MailSettingsEvent)(nil), // 43: grpc.MailSettingsEvent + (*MailSettingsErrorEvent)(nil), // 44: grpc.MailSettingsErrorEvent + (*UseSslForSmtpFinishedEvent)(nil), // 45: grpc.UseSslForSmtpFinishedEvent + (*UseSslForImapFinishedEvent)(nil), // 46: grpc.UseSslForImapFinishedEvent + (*ChangePortsFinishedEvent)(nil), // 47: grpc.ChangePortsFinishedEvent + (*KeychainEvent)(nil), // 48: grpc.KeychainEvent + (*ChangeKeychainFinishedEvent)(nil), // 49: grpc.ChangeKeychainFinishedEvent + (*HasNoKeychainEvent)(nil), // 50: grpc.HasNoKeychainEvent + (*RebuildKeychainEvent)(nil), // 51: grpc.RebuildKeychainEvent + (*MailEvent)(nil), // 52: grpc.MailEvent + (*NoActiveKeyForRecipientEvent)(nil), // 53: grpc.NoActiveKeyForRecipientEvent + (*AddressChangedEvent)(nil), // 54: grpc.AddressChangedEvent + (*AddressChangedLogoutEvent)(nil), // 55: grpc.AddressChangedLogoutEvent + (*ApiCertIssueEvent)(nil), // 56: grpc.ApiCertIssueEvent + (*UserEvent)(nil), // 57: grpc.UserEvent + (*ToggleSplitModeFinishedEvent)(nil), // 58: grpc.ToggleSplitModeFinishedEvent + (*UserDisconnectedEvent)(nil), // 59: grpc.UserDisconnectedEvent + (*UserChangedEvent)(nil), // 60: grpc.UserChangedEvent + (*wrapperspb.StringValue)(nil), // 61: google.protobuf.StringValue + (*emptypb.Empty)(nil), // 62: google.protobuf.Empty + (*wrapperspb.BoolValue)(nil), // 63: google.protobuf.BoolValue + (*wrapperspb.Int32Value)(nil), // 64: google.protobuf.Int32Value } var file_bridge_proto_depIdxs = []int32{ 0, // 0: grpc.AddLogEntryRequest.level:type_name -> grpc.LogLevel - 12, // 1: grpc.UserListResponse.users:type_name -> grpc.User - 18, // 2: grpc.StreamEvent.app:type_name -> grpc.AppEvent - 26, // 3: grpc.StreamEvent.login:type_name -> grpc.LoginEvent - 31, // 4: grpc.StreamEvent.update:type_name -> grpc.UpdateEvent - 40, // 5: grpc.StreamEvent.cache:type_name -> grpc.CacheEvent - 45, // 6: grpc.StreamEvent.mailSettings:type_name -> grpc.MailSettingsEvent - 50, // 7: grpc.StreamEvent.keychain:type_name -> grpc.KeychainEvent - 54, // 8: grpc.StreamEvent.mail:type_name -> grpc.MailEvent - 59, // 9: grpc.StreamEvent.user:type_name -> grpc.UserEvent - 19, // 10: grpc.AppEvent.internetStatus:type_name -> grpc.InternetStatusEvent - 20, // 11: grpc.AppEvent.toggleAutostartFinished:type_name -> grpc.ToggleAutostartFinishedEvent - 21, // 12: grpc.AppEvent.resetFinished:type_name -> grpc.ResetFinishedEvent - 22, // 13: grpc.AppEvent.reportBugFinished:type_name -> grpc.ReportBugFinishedEvent - 23, // 14: grpc.AppEvent.reportBugSuccess:type_name -> grpc.ReportBugSuccessEvent - 24, // 15: grpc.AppEvent.reportBugError:type_name -> grpc.ReportBugErrorEvent - 25, // 16: grpc.AppEvent.showMainWindow:type_name -> grpc.ShowMainWindowEvent - 27, // 17: grpc.LoginEvent.error:type_name -> grpc.LoginErrorEvent - 28, // 18: grpc.LoginEvent.tfaRequested:type_name -> grpc.LoginTfaRequestedEvent - 29, // 19: grpc.LoginEvent.twoPasswordRequested:type_name -> grpc.LoginTwoPasswordsRequestedEvent - 30, // 20: grpc.LoginEvent.finished:type_name -> grpc.LoginFinishedEvent - 30, // 21: grpc.LoginEvent.alreadyLoggedIn:type_name -> grpc.LoginFinishedEvent + 11, // 1: grpc.UserListResponse.users:type_name -> grpc.User + 17, // 2: grpc.StreamEvent.app:type_name -> grpc.AppEvent + 25, // 3: grpc.StreamEvent.login:type_name -> grpc.LoginEvent + 30, // 4: grpc.StreamEvent.update:type_name -> grpc.UpdateEvent + 39, // 5: grpc.StreamEvent.cache:type_name -> grpc.DiskCacheEvent + 43, // 6: grpc.StreamEvent.mailSettings:type_name -> grpc.MailSettingsEvent + 48, // 7: grpc.StreamEvent.keychain:type_name -> grpc.KeychainEvent + 52, // 8: grpc.StreamEvent.mail:type_name -> grpc.MailEvent + 57, // 9: grpc.StreamEvent.user:type_name -> grpc.UserEvent + 18, // 10: grpc.AppEvent.internetStatus:type_name -> grpc.InternetStatusEvent + 19, // 11: grpc.AppEvent.toggleAutostartFinished:type_name -> grpc.ToggleAutostartFinishedEvent + 20, // 12: grpc.AppEvent.resetFinished:type_name -> grpc.ResetFinishedEvent + 21, // 13: grpc.AppEvent.reportBugFinished:type_name -> grpc.ReportBugFinishedEvent + 22, // 14: grpc.AppEvent.reportBugSuccess:type_name -> grpc.ReportBugSuccessEvent + 23, // 15: grpc.AppEvent.reportBugError:type_name -> grpc.ReportBugErrorEvent + 24, // 16: grpc.AppEvent.showMainWindow:type_name -> grpc.ShowMainWindowEvent + 26, // 17: grpc.LoginEvent.error:type_name -> grpc.LoginErrorEvent + 27, // 18: grpc.LoginEvent.tfaRequested:type_name -> grpc.LoginTfaRequestedEvent + 28, // 19: grpc.LoginEvent.twoPasswordRequested:type_name -> grpc.LoginTwoPasswordsRequestedEvent + 29, // 20: grpc.LoginEvent.finished:type_name -> grpc.LoginFinishedEvent + 29, // 21: grpc.LoginEvent.alreadyLoggedIn:type_name -> grpc.LoginFinishedEvent 1, // 22: grpc.LoginErrorEvent.type:type_name -> grpc.LoginErrorType - 32, // 23: grpc.UpdateEvent.error:type_name -> grpc.UpdateErrorEvent - 33, // 24: grpc.UpdateEvent.manualReady:type_name -> grpc.UpdateManualReadyEvent - 34, // 25: grpc.UpdateEvent.manualRestartNeeded:type_name -> grpc.UpdateManualRestartNeededEvent - 35, // 26: grpc.UpdateEvent.force:type_name -> grpc.UpdateForceEvent - 36, // 27: grpc.UpdateEvent.silentRestartNeeded:type_name -> grpc.UpdateSilentRestartNeeded - 37, // 28: grpc.UpdateEvent.isLatestVersion:type_name -> grpc.UpdateIsLatestVersion - 38, // 29: grpc.UpdateEvent.checkFinished:type_name -> grpc.UpdateCheckFinished - 39, // 30: grpc.UpdateEvent.versionChanged:type_name -> grpc.UpdateVersionChanged + 31, // 23: grpc.UpdateEvent.error:type_name -> grpc.UpdateErrorEvent + 32, // 24: grpc.UpdateEvent.manualReady:type_name -> grpc.UpdateManualReadyEvent + 33, // 25: grpc.UpdateEvent.manualRestartNeeded:type_name -> grpc.UpdateManualRestartNeededEvent + 34, // 26: grpc.UpdateEvent.force:type_name -> grpc.UpdateForceEvent + 35, // 27: grpc.UpdateEvent.silentRestartNeeded:type_name -> grpc.UpdateSilentRestartNeeded + 36, // 28: grpc.UpdateEvent.isLatestVersion:type_name -> grpc.UpdateIsLatestVersion + 37, // 29: grpc.UpdateEvent.checkFinished:type_name -> grpc.UpdateCheckFinished + 38, // 30: grpc.UpdateEvent.versionChanged:type_name -> grpc.UpdateVersionChanged 2, // 31: grpc.UpdateErrorEvent.type:type_name -> grpc.UpdateErrorType - 41, // 32: grpc.CacheEvent.error:type_name -> grpc.CacheErrorEvent - 42, // 33: grpc.CacheEvent.locationChangedSuccess:type_name -> grpc.CacheLocationChangeSuccessEvent - 43, // 34: grpc.CacheEvent.changeLocalCacheFinished:type_name -> grpc.ChangeLocalCacheFinishedEvent - 44, // 35: grpc.CacheEvent.diskCachePathChanged:type_name -> grpc.DiskCachePathChanged - 3, // 36: grpc.CacheErrorEvent.type:type_name -> grpc.CacheErrorType - 46, // 37: grpc.MailSettingsEvent.error:type_name -> grpc.MailSettingsErrorEvent - 47, // 38: grpc.MailSettingsEvent.useSslForSmtpFinished:type_name -> grpc.UseSslForSmtpFinishedEvent - 49, // 39: grpc.MailSettingsEvent.changePortsFinished:type_name -> grpc.ChangePortsFinishedEvent - 48, // 40: grpc.MailSettingsEvent.useSslForImapFinished:type_name -> grpc.UseSslForImapFinishedEvent - 4, // 41: grpc.MailSettingsErrorEvent.type:type_name -> grpc.MailSettingsErrorType - 51, // 42: grpc.KeychainEvent.changeKeychainFinished:type_name -> grpc.ChangeKeychainFinishedEvent - 52, // 43: grpc.KeychainEvent.hasNoKeychain:type_name -> grpc.HasNoKeychainEvent - 53, // 44: grpc.KeychainEvent.rebuildKeychain:type_name -> grpc.RebuildKeychainEvent - 55, // 45: grpc.MailEvent.noActiveKeyForRecipientEvent:type_name -> grpc.NoActiveKeyForRecipientEvent - 56, // 46: grpc.MailEvent.addressChanged:type_name -> grpc.AddressChangedEvent - 57, // 47: grpc.MailEvent.addressChangedLogout:type_name -> grpc.AddressChangedLogoutEvent - 58, // 48: grpc.MailEvent.apiCertIssue:type_name -> grpc.ApiCertIssueEvent - 60, // 49: grpc.UserEvent.toggleSplitModeFinished:type_name -> grpc.ToggleSplitModeFinishedEvent - 61, // 50: grpc.UserEvent.userDisconnected:type_name -> grpc.UserDisconnectedEvent - 62, // 51: grpc.UserEvent.userChanged:type_name -> grpc.UserChangedEvent - 63, // 52: grpc.Bridge.CheckTokens:input_type -> google.protobuf.StringValue - 5, // 53: grpc.Bridge.AddLogEntry:input_type -> grpc.AddLogEntryRequest - 64, // 54: grpc.Bridge.GuiReady:input_type -> google.protobuf.Empty - 64, // 55: grpc.Bridge.Quit:input_type -> google.protobuf.Empty - 64, // 56: grpc.Bridge.Restart:input_type -> google.protobuf.Empty - 64, // 57: grpc.Bridge.ShowOnStartup:input_type -> google.protobuf.Empty - 64, // 58: grpc.Bridge.ShowSplashScreen:input_type -> google.protobuf.Empty - 64, // 59: grpc.Bridge.IsFirstGuiStart:input_type -> google.protobuf.Empty - 65, // 60: grpc.Bridge.SetIsAutostartOn:input_type -> google.protobuf.BoolValue - 64, // 61: grpc.Bridge.IsAutostartOn:input_type -> google.protobuf.Empty - 65, // 62: grpc.Bridge.SetIsBetaEnabled:input_type -> google.protobuf.BoolValue - 64, // 63: grpc.Bridge.IsBetaEnabled:input_type -> google.protobuf.Empty - 65, // 64: grpc.Bridge.SetIsAllMailVisible:input_type -> google.protobuf.BoolValue - 64, // 65: grpc.Bridge.IsAllMailVisible:input_type -> google.protobuf.Empty - 64, // 66: grpc.Bridge.GoOs:input_type -> google.protobuf.Empty - 64, // 67: grpc.Bridge.TriggerReset:input_type -> google.protobuf.Empty - 64, // 68: grpc.Bridge.Version:input_type -> google.protobuf.Empty - 64, // 69: grpc.Bridge.LogsPath:input_type -> google.protobuf.Empty - 64, // 70: grpc.Bridge.LicensePath:input_type -> google.protobuf.Empty - 64, // 71: grpc.Bridge.ReleaseNotesPageLink:input_type -> google.protobuf.Empty - 64, // 72: grpc.Bridge.DependencyLicensesLink:input_type -> google.protobuf.Empty - 64, // 73: grpc.Bridge.LandingPageLink:input_type -> google.protobuf.Empty - 63, // 74: grpc.Bridge.SetColorSchemeName:input_type -> google.protobuf.StringValue - 64, // 75: grpc.Bridge.ColorSchemeName:input_type -> google.protobuf.Empty - 64, // 76: grpc.Bridge.CurrentEmailClient:input_type -> google.protobuf.Empty - 6, // 77: grpc.Bridge.ReportBug:input_type -> grpc.ReportBugRequest - 63, // 78: grpc.Bridge.ForceLauncher:input_type -> google.protobuf.StringValue - 63, // 79: grpc.Bridge.SetMainExecutable:input_type -> google.protobuf.StringValue - 7, // 80: grpc.Bridge.Login:input_type -> grpc.LoginRequest - 7, // 81: grpc.Bridge.Login2FA:input_type -> grpc.LoginRequest - 7, // 82: grpc.Bridge.Login2Passwords:input_type -> grpc.LoginRequest - 8, // 83: grpc.Bridge.LoginAbort:input_type -> grpc.LoginAbortRequest - 64, // 84: grpc.Bridge.CheckUpdate:input_type -> google.protobuf.Empty - 64, // 85: grpc.Bridge.InstallUpdate:input_type -> google.protobuf.Empty - 65, // 86: grpc.Bridge.SetIsAutomaticUpdateOn:input_type -> google.protobuf.BoolValue - 64, // 87: grpc.Bridge.IsAutomaticUpdateOn:input_type -> google.protobuf.Empty - 64, // 88: grpc.Bridge.DiskCachePath:input_type -> google.protobuf.Empty - 9, // 89: grpc.Bridge.ChangeLocalCache:input_type -> grpc.ChangeLocalCacheRequest - 65, // 90: grpc.Bridge.SetIsDoHEnabled:input_type -> google.protobuf.BoolValue - 64, // 91: grpc.Bridge.IsDoHEnabled:input_type -> google.protobuf.Empty - 65, // 92: grpc.Bridge.SetUseSslForSmtp:input_type -> google.protobuf.BoolValue - 64, // 93: grpc.Bridge.UseSslForSmtp:input_type -> google.protobuf.Empty - 65, // 94: grpc.Bridge.SetUseSslForImap:input_type -> google.protobuf.BoolValue - 64, // 95: grpc.Bridge.UseSslForImap:input_type -> google.protobuf.Empty - 64, // 96: grpc.Bridge.Hostname:input_type -> google.protobuf.Empty - 64, // 97: grpc.Bridge.ImapPort:input_type -> google.protobuf.Empty - 64, // 98: grpc.Bridge.SmtpPort:input_type -> google.protobuf.Empty - 10, // 99: grpc.Bridge.ChangePorts:input_type -> grpc.ChangePortsRequest - 66, // 100: grpc.Bridge.IsPortFree:input_type -> google.protobuf.Int32Value - 64, // 101: grpc.Bridge.AvailableKeychains:input_type -> google.protobuf.Empty - 63, // 102: grpc.Bridge.SetCurrentKeychain:input_type -> google.protobuf.StringValue - 64, // 103: grpc.Bridge.CurrentKeychain:input_type -> google.protobuf.Empty - 64, // 104: grpc.Bridge.GetUserList:input_type -> google.protobuf.Empty - 63, // 105: grpc.Bridge.GetUser:input_type -> google.protobuf.StringValue - 13, // 106: grpc.Bridge.SetUserSplitMode:input_type -> grpc.UserSplitModeRequest - 63, // 107: grpc.Bridge.LogoutUser:input_type -> google.protobuf.StringValue - 63, // 108: grpc.Bridge.RemoveUser:input_type -> google.protobuf.StringValue - 15, // 109: grpc.Bridge.ConfigureUserAppleMail:input_type -> grpc.ConfigureAppleMailRequest - 16, // 110: grpc.Bridge.RunEventStream:input_type -> grpc.EventStreamRequest - 64, // 111: grpc.Bridge.StopEventStream:input_type -> google.protobuf.Empty - 63, // 112: grpc.Bridge.CheckTokens:output_type -> google.protobuf.StringValue - 64, // 113: grpc.Bridge.AddLogEntry:output_type -> google.protobuf.Empty - 64, // 114: grpc.Bridge.GuiReady:output_type -> google.protobuf.Empty - 64, // 115: grpc.Bridge.Quit:output_type -> google.protobuf.Empty - 64, // 116: grpc.Bridge.Restart:output_type -> google.protobuf.Empty - 65, // 117: grpc.Bridge.ShowOnStartup:output_type -> google.protobuf.BoolValue - 65, // 118: grpc.Bridge.ShowSplashScreen:output_type -> google.protobuf.BoolValue - 65, // 119: grpc.Bridge.IsFirstGuiStart:output_type -> google.protobuf.BoolValue - 64, // 120: grpc.Bridge.SetIsAutostartOn:output_type -> google.protobuf.Empty - 65, // 121: grpc.Bridge.IsAutostartOn:output_type -> google.protobuf.BoolValue - 64, // 122: grpc.Bridge.SetIsBetaEnabled:output_type -> google.protobuf.Empty - 65, // 123: grpc.Bridge.IsBetaEnabled:output_type -> google.protobuf.BoolValue - 64, // 124: grpc.Bridge.SetIsAllMailVisible:output_type -> google.protobuf.Empty - 65, // 125: grpc.Bridge.IsAllMailVisible:output_type -> google.protobuf.BoolValue - 63, // 126: grpc.Bridge.GoOs:output_type -> google.protobuf.StringValue - 64, // 127: grpc.Bridge.TriggerReset:output_type -> google.protobuf.Empty - 63, // 128: grpc.Bridge.Version:output_type -> google.protobuf.StringValue - 63, // 129: grpc.Bridge.LogsPath:output_type -> google.protobuf.StringValue - 63, // 130: grpc.Bridge.LicensePath:output_type -> google.protobuf.StringValue - 63, // 131: grpc.Bridge.ReleaseNotesPageLink:output_type -> google.protobuf.StringValue - 63, // 132: grpc.Bridge.DependencyLicensesLink:output_type -> google.protobuf.StringValue - 63, // 133: grpc.Bridge.LandingPageLink:output_type -> google.protobuf.StringValue - 64, // 134: grpc.Bridge.SetColorSchemeName:output_type -> google.protobuf.Empty - 63, // 135: grpc.Bridge.ColorSchemeName:output_type -> google.protobuf.StringValue - 63, // 136: grpc.Bridge.CurrentEmailClient:output_type -> google.protobuf.StringValue - 64, // 137: grpc.Bridge.ReportBug:output_type -> google.protobuf.Empty - 64, // 138: grpc.Bridge.ForceLauncher:output_type -> google.protobuf.Empty - 64, // 139: grpc.Bridge.SetMainExecutable:output_type -> google.protobuf.Empty - 64, // 140: grpc.Bridge.Login:output_type -> google.protobuf.Empty - 64, // 141: grpc.Bridge.Login2FA:output_type -> google.protobuf.Empty - 64, // 142: grpc.Bridge.Login2Passwords:output_type -> google.protobuf.Empty - 64, // 143: grpc.Bridge.LoginAbort:output_type -> google.protobuf.Empty - 64, // 144: grpc.Bridge.CheckUpdate:output_type -> google.protobuf.Empty - 64, // 145: grpc.Bridge.InstallUpdate:output_type -> google.protobuf.Empty - 64, // 146: grpc.Bridge.SetIsAutomaticUpdateOn:output_type -> google.protobuf.Empty - 65, // 147: grpc.Bridge.IsAutomaticUpdateOn:output_type -> google.protobuf.BoolValue - 63, // 148: grpc.Bridge.DiskCachePath:output_type -> google.protobuf.StringValue - 64, // 149: grpc.Bridge.ChangeLocalCache:output_type -> google.protobuf.Empty - 64, // 150: grpc.Bridge.SetIsDoHEnabled:output_type -> google.protobuf.Empty - 65, // 151: grpc.Bridge.IsDoHEnabled:output_type -> google.protobuf.BoolValue - 64, // 152: grpc.Bridge.SetUseSslForSmtp:output_type -> google.protobuf.Empty - 65, // 153: grpc.Bridge.UseSslForSmtp:output_type -> google.protobuf.BoolValue - 64, // 154: grpc.Bridge.SetUseSslForImap:output_type -> google.protobuf.Empty - 65, // 155: grpc.Bridge.UseSslForImap:output_type -> google.protobuf.BoolValue - 63, // 156: grpc.Bridge.Hostname:output_type -> google.protobuf.StringValue - 66, // 157: grpc.Bridge.ImapPort:output_type -> google.protobuf.Int32Value - 66, // 158: grpc.Bridge.SmtpPort:output_type -> google.protobuf.Int32Value - 64, // 159: grpc.Bridge.ChangePorts:output_type -> google.protobuf.Empty - 65, // 160: grpc.Bridge.IsPortFree:output_type -> google.protobuf.BoolValue - 11, // 161: grpc.Bridge.AvailableKeychains:output_type -> grpc.AvailableKeychainsResponse - 64, // 162: grpc.Bridge.SetCurrentKeychain:output_type -> google.protobuf.Empty - 63, // 163: grpc.Bridge.CurrentKeychain:output_type -> google.protobuf.StringValue - 14, // 164: grpc.Bridge.GetUserList:output_type -> grpc.UserListResponse - 12, // 165: grpc.Bridge.GetUser:output_type -> grpc.User - 64, // 166: grpc.Bridge.SetUserSplitMode:output_type -> google.protobuf.Empty - 64, // 167: grpc.Bridge.LogoutUser:output_type -> google.protobuf.Empty - 64, // 168: grpc.Bridge.RemoveUser:output_type -> google.protobuf.Empty - 64, // 169: grpc.Bridge.ConfigureUserAppleMail:output_type -> google.protobuf.Empty - 17, // 170: grpc.Bridge.RunEventStream:output_type -> grpc.StreamEvent - 64, // 171: grpc.Bridge.StopEventStream:output_type -> google.protobuf.Empty - 112, // [112:172] is the sub-list for method output_type - 52, // [52:112] is the sub-list for method input_type - 52, // [52:52] is the sub-list for extension type_name - 52, // [52:52] is the sub-list for extension extendee - 0, // [0:52] is the sub-list for field type_name + 40, // 32: grpc.DiskCacheEvent.error:type_name -> grpc.DiskCacheErrorEvent + 41, // 33: grpc.DiskCacheEvent.pathChanged:type_name -> grpc.DiskCachePathChangedEvent + 42, // 34: grpc.DiskCacheEvent.pathChangeFinished:type_name -> grpc.DiskCachePathChangeFinishedEvent + 3, // 35: grpc.DiskCacheErrorEvent.type:type_name -> grpc.DiskCacheErrorType + 44, // 36: grpc.MailSettingsEvent.error:type_name -> grpc.MailSettingsErrorEvent + 45, // 37: grpc.MailSettingsEvent.useSslForSmtpFinished:type_name -> grpc.UseSslForSmtpFinishedEvent + 47, // 38: grpc.MailSettingsEvent.changePortsFinished:type_name -> grpc.ChangePortsFinishedEvent + 46, // 39: grpc.MailSettingsEvent.useSslForImapFinished:type_name -> grpc.UseSslForImapFinishedEvent + 4, // 40: grpc.MailSettingsErrorEvent.type:type_name -> grpc.MailSettingsErrorType + 49, // 41: grpc.KeychainEvent.changeKeychainFinished:type_name -> grpc.ChangeKeychainFinishedEvent + 50, // 42: grpc.KeychainEvent.hasNoKeychain:type_name -> grpc.HasNoKeychainEvent + 51, // 43: grpc.KeychainEvent.rebuildKeychain:type_name -> grpc.RebuildKeychainEvent + 53, // 44: grpc.MailEvent.noActiveKeyForRecipientEvent:type_name -> grpc.NoActiveKeyForRecipientEvent + 54, // 45: grpc.MailEvent.addressChanged:type_name -> grpc.AddressChangedEvent + 55, // 46: grpc.MailEvent.addressChangedLogout:type_name -> grpc.AddressChangedLogoutEvent + 56, // 47: grpc.MailEvent.apiCertIssue:type_name -> grpc.ApiCertIssueEvent + 58, // 48: grpc.UserEvent.toggleSplitModeFinished:type_name -> grpc.ToggleSplitModeFinishedEvent + 59, // 49: grpc.UserEvent.userDisconnected:type_name -> grpc.UserDisconnectedEvent + 60, // 50: grpc.UserEvent.userChanged:type_name -> grpc.UserChangedEvent + 61, // 51: grpc.Bridge.CheckTokens:input_type -> google.protobuf.StringValue + 5, // 52: grpc.Bridge.AddLogEntry:input_type -> grpc.AddLogEntryRequest + 62, // 53: grpc.Bridge.GuiReady:input_type -> google.protobuf.Empty + 62, // 54: grpc.Bridge.Quit:input_type -> google.protobuf.Empty + 62, // 55: grpc.Bridge.Restart:input_type -> google.protobuf.Empty + 62, // 56: grpc.Bridge.ShowOnStartup:input_type -> google.protobuf.Empty + 62, // 57: grpc.Bridge.ShowSplashScreen:input_type -> google.protobuf.Empty + 62, // 58: grpc.Bridge.IsFirstGuiStart:input_type -> google.protobuf.Empty + 63, // 59: grpc.Bridge.SetIsAutostartOn:input_type -> google.protobuf.BoolValue + 62, // 60: grpc.Bridge.IsAutostartOn:input_type -> google.protobuf.Empty + 63, // 61: grpc.Bridge.SetIsBetaEnabled:input_type -> google.protobuf.BoolValue + 62, // 62: grpc.Bridge.IsBetaEnabled:input_type -> google.protobuf.Empty + 63, // 63: grpc.Bridge.SetIsAllMailVisible:input_type -> google.protobuf.BoolValue + 62, // 64: grpc.Bridge.IsAllMailVisible:input_type -> google.protobuf.Empty + 62, // 65: grpc.Bridge.GoOs:input_type -> google.protobuf.Empty + 62, // 66: grpc.Bridge.TriggerReset:input_type -> google.protobuf.Empty + 62, // 67: grpc.Bridge.Version:input_type -> google.protobuf.Empty + 62, // 68: grpc.Bridge.LogsPath:input_type -> google.protobuf.Empty + 62, // 69: grpc.Bridge.LicensePath:input_type -> google.protobuf.Empty + 62, // 70: grpc.Bridge.ReleaseNotesPageLink:input_type -> google.protobuf.Empty + 62, // 71: grpc.Bridge.DependencyLicensesLink:input_type -> google.protobuf.Empty + 62, // 72: grpc.Bridge.LandingPageLink:input_type -> google.protobuf.Empty + 61, // 73: grpc.Bridge.SetColorSchemeName:input_type -> google.protobuf.StringValue + 62, // 74: grpc.Bridge.ColorSchemeName:input_type -> google.protobuf.Empty + 62, // 75: grpc.Bridge.CurrentEmailClient:input_type -> google.protobuf.Empty + 6, // 76: grpc.Bridge.ReportBug:input_type -> grpc.ReportBugRequest + 61, // 77: grpc.Bridge.ForceLauncher:input_type -> google.protobuf.StringValue + 61, // 78: grpc.Bridge.SetMainExecutable:input_type -> google.protobuf.StringValue + 7, // 79: grpc.Bridge.Login:input_type -> grpc.LoginRequest + 7, // 80: grpc.Bridge.Login2FA:input_type -> grpc.LoginRequest + 7, // 81: grpc.Bridge.Login2Passwords:input_type -> grpc.LoginRequest + 8, // 82: grpc.Bridge.LoginAbort:input_type -> grpc.LoginAbortRequest + 62, // 83: grpc.Bridge.CheckUpdate:input_type -> google.protobuf.Empty + 62, // 84: grpc.Bridge.InstallUpdate:input_type -> google.protobuf.Empty + 63, // 85: grpc.Bridge.SetIsAutomaticUpdateOn:input_type -> google.protobuf.BoolValue + 62, // 86: grpc.Bridge.IsAutomaticUpdateOn:input_type -> google.protobuf.Empty + 62, // 87: grpc.Bridge.DiskCachePath:input_type -> google.protobuf.Empty + 61, // 88: grpc.Bridge.SetDiskCachePath:input_type -> google.protobuf.StringValue + 63, // 89: grpc.Bridge.SetIsDoHEnabled:input_type -> google.protobuf.BoolValue + 62, // 90: grpc.Bridge.IsDoHEnabled:input_type -> google.protobuf.Empty + 63, // 91: grpc.Bridge.SetUseSslForSmtp:input_type -> google.protobuf.BoolValue + 62, // 92: grpc.Bridge.UseSslForSmtp:input_type -> google.protobuf.Empty + 63, // 93: grpc.Bridge.SetUseSslForImap:input_type -> google.protobuf.BoolValue + 62, // 94: grpc.Bridge.UseSslForImap:input_type -> google.protobuf.Empty + 62, // 95: grpc.Bridge.Hostname:input_type -> google.protobuf.Empty + 62, // 96: grpc.Bridge.ImapPort:input_type -> google.protobuf.Empty + 62, // 97: grpc.Bridge.SmtpPort:input_type -> google.protobuf.Empty + 9, // 98: grpc.Bridge.ChangePorts:input_type -> grpc.ChangePortsRequest + 64, // 99: grpc.Bridge.IsPortFree:input_type -> google.protobuf.Int32Value + 62, // 100: grpc.Bridge.AvailableKeychains:input_type -> google.protobuf.Empty + 61, // 101: grpc.Bridge.SetCurrentKeychain:input_type -> google.protobuf.StringValue + 62, // 102: grpc.Bridge.CurrentKeychain:input_type -> google.protobuf.Empty + 62, // 103: grpc.Bridge.GetUserList:input_type -> google.protobuf.Empty + 61, // 104: grpc.Bridge.GetUser:input_type -> google.protobuf.StringValue + 12, // 105: grpc.Bridge.SetUserSplitMode:input_type -> grpc.UserSplitModeRequest + 61, // 106: grpc.Bridge.LogoutUser:input_type -> google.protobuf.StringValue + 61, // 107: grpc.Bridge.RemoveUser:input_type -> google.protobuf.StringValue + 14, // 108: grpc.Bridge.ConfigureUserAppleMail:input_type -> grpc.ConfigureAppleMailRequest + 15, // 109: grpc.Bridge.RunEventStream:input_type -> grpc.EventStreamRequest + 62, // 110: grpc.Bridge.StopEventStream:input_type -> google.protobuf.Empty + 61, // 111: grpc.Bridge.CheckTokens:output_type -> google.protobuf.StringValue + 62, // 112: grpc.Bridge.AddLogEntry:output_type -> google.protobuf.Empty + 62, // 113: grpc.Bridge.GuiReady:output_type -> google.protobuf.Empty + 62, // 114: grpc.Bridge.Quit:output_type -> google.protobuf.Empty + 62, // 115: grpc.Bridge.Restart:output_type -> google.protobuf.Empty + 63, // 116: grpc.Bridge.ShowOnStartup:output_type -> google.protobuf.BoolValue + 63, // 117: grpc.Bridge.ShowSplashScreen:output_type -> google.protobuf.BoolValue + 63, // 118: grpc.Bridge.IsFirstGuiStart:output_type -> google.protobuf.BoolValue + 62, // 119: grpc.Bridge.SetIsAutostartOn:output_type -> google.protobuf.Empty + 63, // 120: grpc.Bridge.IsAutostartOn:output_type -> google.protobuf.BoolValue + 62, // 121: grpc.Bridge.SetIsBetaEnabled:output_type -> google.protobuf.Empty + 63, // 122: grpc.Bridge.IsBetaEnabled:output_type -> google.protobuf.BoolValue + 62, // 123: grpc.Bridge.SetIsAllMailVisible:output_type -> google.protobuf.Empty + 63, // 124: grpc.Bridge.IsAllMailVisible:output_type -> google.protobuf.BoolValue + 61, // 125: grpc.Bridge.GoOs:output_type -> google.protobuf.StringValue + 62, // 126: grpc.Bridge.TriggerReset:output_type -> google.protobuf.Empty + 61, // 127: grpc.Bridge.Version:output_type -> google.protobuf.StringValue + 61, // 128: grpc.Bridge.LogsPath:output_type -> google.protobuf.StringValue + 61, // 129: grpc.Bridge.LicensePath:output_type -> google.protobuf.StringValue + 61, // 130: grpc.Bridge.ReleaseNotesPageLink:output_type -> google.protobuf.StringValue + 61, // 131: grpc.Bridge.DependencyLicensesLink:output_type -> google.protobuf.StringValue + 61, // 132: grpc.Bridge.LandingPageLink:output_type -> google.protobuf.StringValue + 62, // 133: grpc.Bridge.SetColorSchemeName:output_type -> google.protobuf.Empty + 61, // 134: grpc.Bridge.ColorSchemeName:output_type -> google.protobuf.StringValue + 61, // 135: grpc.Bridge.CurrentEmailClient:output_type -> google.protobuf.StringValue + 62, // 136: grpc.Bridge.ReportBug:output_type -> google.protobuf.Empty + 62, // 137: grpc.Bridge.ForceLauncher:output_type -> google.protobuf.Empty + 62, // 138: grpc.Bridge.SetMainExecutable:output_type -> google.protobuf.Empty + 62, // 139: grpc.Bridge.Login:output_type -> google.protobuf.Empty + 62, // 140: grpc.Bridge.Login2FA:output_type -> google.protobuf.Empty + 62, // 141: grpc.Bridge.Login2Passwords:output_type -> google.protobuf.Empty + 62, // 142: grpc.Bridge.LoginAbort:output_type -> google.protobuf.Empty + 62, // 143: grpc.Bridge.CheckUpdate:output_type -> google.protobuf.Empty + 62, // 144: grpc.Bridge.InstallUpdate:output_type -> google.protobuf.Empty + 62, // 145: grpc.Bridge.SetIsAutomaticUpdateOn:output_type -> google.protobuf.Empty + 63, // 146: grpc.Bridge.IsAutomaticUpdateOn:output_type -> google.protobuf.BoolValue + 61, // 147: grpc.Bridge.DiskCachePath:output_type -> google.protobuf.StringValue + 62, // 148: grpc.Bridge.SetDiskCachePath:output_type -> google.protobuf.Empty + 62, // 149: grpc.Bridge.SetIsDoHEnabled:output_type -> google.protobuf.Empty + 63, // 150: grpc.Bridge.IsDoHEnabled:output_type -> google.protobuf.BoolValue + 62, // 151: grpc.Bridge.SetUseSslForSmtp:output_type -> google.protobuf.Empty + 63, // 152: grpc.Bridge.UseSslForSmtp:output_type -> google.protobuf.BoolValue + 62, // 153: grpc.Bridge.SetUseSslForImap:output_type -> google.protobuf.Empty + 63, // 154: grpc.Bridge.UseSslForImap:output_type -> google.protobuf.BoolValue + 61, // 155: grpc.Bridge.Hostname:output_type -> google.protobuf.StringValue + 64, // 156: grpc.Bridge.ImapPort:output_type -> google.protobuf.Int32Value + 64, // 157: grpc.Bridge.SmtpPort:output_type -> google.protobuf.Int32Value + 62, // 158: grpc.Bridge.ChangePorts:output_type -> google.protobuf.Empty + 63, // 159: grpc.Bridge.IsPortFree:output_type -> google.protobuf.BoolValue + 10, // 160: grpc.Bridge.AvailableKeychains:output_type -> grpc.AvailableKeychainsResponse + 62, // 161: grpc.Bridge.SetCurrentKeychain:output_type -> google.protobuf.Empty + 61, // 162: grpc.Bridge.CurrentKeychain:output_type -> google.protobuf.StringValue + 13, // 163: grpc.Bridge.GetUserList:output_type -> grpc.UserListResponse + 11, // 164: grpc.Bridge.GetUser:output_type -> grpc.User + 62, // 165: grpc.Bridge.SetUserSplitMode:output_type -> google.protobuf.Empty + 62, // 166: grpc.Bridge.LogoutUser:output_type -> google.protobuf.Empty + 62, // 167: grpc.Bridge.RemoveUser:output_type -> google.protobuf.Empty + 62, // 168: grpc.Bridge.ConfigureUserAppleMail:output_type -> google.protobuf.Empty + 16, // 169: grpc.Bridge.RunEventStream:output_type -> grpc.StreamEvent + 62, // 170: grpc.Bridge.StopEventStream:output_type -> google.protobuf.Empty + 111, // [111:171] is the sub-list for method output_type + 51, // [51:111] is the sub-list for method input_type + 51, // [51:51] is the sub-list for extension type_name + 51, // [51:51] is the sub-list for extension extendee + 0, // [0:51] is the sub-list for field type_name } func init() { file_bridge_proto_init() } @@ -4767,18 +4629,6 @@ func file_bridge_proto_init() { } } file_bridge_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChangeLocalCacheRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_bridge_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ChangePortsRequest); i { case 0: return &v.state @@ -4790,7 +4640,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AvailableKeychainsResponse); i { case 0: return &v.state @@ -4802,7 +4652,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*User); i { case 0: return &v.state @@ -4814,7 +4664,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserSplitModeRequest); i { case 0: return &v.state @@ -4826,7 +4676,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserListResponse); i { case 0: return &v.state @@ -4838,7 +4688,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConfigureAppleMailRequest); i { case 0: return &v.state @@ -4850,7 +4700,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EventStreamRequest); i { case 0: return &v.state @@ -4862,7 +4712,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*StreamEvent); i { case 0: return &v.state @@ -4874,7 +4724,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AppEvent); i { case 0: return &v.state @@ -4886,7 +4736,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*InternetStatusEvent); i { case 0: return &v.state @@ -4898,7 +4748,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ToggleAutostartFinishedEvent); i { case 0: return &v.state @@ -4910,7 +4760,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ResetFinishedEvent); i { case 0: return &v.state @@ -4922,7 +4772,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ReportBugFinishedEvent); i { case 0: return &v.state @@ -4934,7 +4784,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ReportBugSuccessEvent); i { case 0: return &v.state @@ -4946,7 +4796,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ReportBugErrorEvent); i { case 0: return &v.state @@ -4958,7 +4808,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ShowMainWindowEvent); i { case 0: return &v.state @@ -4970,7 +4820,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LoginEvent); i { case 0: return &v.state @@ -4982,7 +4832,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LoginErrorEvent); i { case 0: return &v.state @@ -4994,7 +4844,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LoginTfaRequestedEvent); i { case 0: return &v.state @@ -5006,7 +4856,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LoginTwoPasswordsRequestedEvent); i { case 0: return &v.state @@ -5018,7 +4868,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LoginFinishedEvent); i { case 0: return &v.state @@ -5030,7 +4880,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateEvent); i { case 0: return &v.state @@ -5042,7 +4892,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateErrorEvent); i { case 0: return &v.state @@ -5054,7 +4904,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateManualReadyEvent); i { case 0: return &v.state @@ -5066,7 +4916,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateManualRestartNeededEvent); i { case 0: return &v.state @@ -5078,7 +4928,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateForceEvent); i { case 0: return &v.state @@ -5090,7 +4940,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateSilentRestartNeeded); i { case 0: return &v.state @@ -5102,7 +4952,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateIsLatestVersion); i { case 0: return &v.state @@ -5114,7 +4964,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateCheckFinished); i { case 0: return &v.state @@ -5126,7 +4976,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateVersionChanged); i { case 0: return &v.state @@ -5138,8 +4988,20 @@ func file_bridge_proto_init() { return nil } } + file_bridge_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiskCacheEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } file_bridge_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CacheEvent); i { + switch v := v.(*DiskCacheErrorEvent); i { case 0: return &v.state case 1: @@ -5151,7 +5013,7 @@ func file_bridge_proto_init() { } } file_bridge_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CacheErrorEvent); i { + switch v := v.(*DiskCachePathChangedEvent); i { case 0: return &v.state case 1: @@ -5163,7 +5025,7 @@ func file_bridge_proto_init() { } } file_bridge_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CacheLocationChangeSuccessEvent); i { + switch v := v.(*DiskCachePathChangeFinishedEvent); i { case 0: return &v.state case 1: @@ -5175,30 +5037,6 @@ func file_bridge_proto_init() { } } file_bridge_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChangeLocalCacheFinishedEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_bridge_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiskCachePathChanged); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_bridge_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MailSettingsEvent); i { case 0: return &v.state @@ -5210,7 +5048,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MailSettingsErrorEvent); i { case 0: return &v.state @@ -5222,7 +5060,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UseSslForSmtpFinishedEvent); i { case 0: return &v.state @@ -5234,7 +5072,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UseSslForImapFinishedEvent); i { case 0: return &v.state @@ -5246,7 +5084,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ChangePortsFinishedEvent); i { case 0: return &v.state @@ -5258,7 +5096,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*KeychainEvent); i { case 0: return &v.state @@ -5270,7 +5108,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ChangeKeychainFinishedEvent); i { case 0: return &v.state @@ -5282,7 +5120,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*HasNoKeychainEvent); i { case 0: return &v.state @@ -5294,7 +5132,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RebuildKeychainEvent); i { case 0: return &v.state @@ -5306,7 +5144,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MailEvent); i { case 0: return &v.state @@ -5318,7 +5156,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NoActiveKeyForRecipientEvent); i { case 0: return &v.state @@ -5330,7 +5168,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AddressChangedEvent); i { case 0: return &v.state @@ -5342,7 +5180,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AddressChangedLogoutEvent); i { case 0: return &v.state @@ -5354,7 +5192,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ApiCertIssueEvent); i { case 0: return &v.state @@ -5366,7 +5204,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserEvent); i { case 0: return &v.state @@ -5378,7 +5216,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ToggleSplitModeFinishedEvent); i { case 0: return &v.state @@ -5390,7 +5228,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserDisconnectedEvent); i { case 0: return &v.state @@ -5402,7 +5240,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserChangedEvent); i { case 0: return &v.state @@ -5415,7 +5253,7 @@ func file_bridge_proto_init() { } } } - file_bridge_proto_msgTypes[12].OneofWrappers = []interface{}{ + file_bridge_proto_msgTypes[11].OneofWrappers = []interface{}{ (*StreamEvent_App)(nil), (*StreamEvent_Login)(nil), (*StreamEvent_Update)(nil), @@ -5425,7 +5263,7 @@ func file_bridge_proto_init() { (*StreamEvent_Mail)(nil), (*StreamEvent_User)(nil), } - file_bridge_proto_msgTypes[13].OneofWrappers = []interface{}{ + file_bridge_proto_msgTypes[12].OneofWrappers = []interface{}{ (*AppEvent_InternetStatus)(nil), (*AppEvent_ToggleAutostartFinished)(nil), (*AppEvent_ResetFinished)(nil), @@ -5434,14 +5272,14 @@ func file_bridge_proto_init() { (*AppEvent_ReportBugError)(nil), (*AppEvent_ShowMainWindow)(nil), } - file_bridge_proto_msgTypes[21].OneofWrappers = []interface{}{ + file_bridge_proto_msgTypes[20].OneofWrappers = []interface{}{ (*LoginEvent_Error)(nil), (*LoginEvent_TfaRequested)(nil), (*LoginEvent_TwoPasswordRequested)(nil), (*LoginEvent_Finished)(nil), (*LoginEvent_AlreadyLoggedIn)(nil), } - file_bridge_proto_msgTypes[26].OneofWrappers = []interface{}{ + file_bridge_proto_msgTypes[25].OneofWrappers = []interface{}{ (*UpdateEvent_Error)(nil), (*UpdateEvent_ManualReady)(nil), (*UpdateEvent_ManualRestartNeeded)(nil), @@ -5451,30 +5289,29 @@ func file_bridge_proto_init() { (*UpdateEvent_CheckFinished)(nil), (*UpdateEvent_VersionChanged)(nil), } - file_bridge_proto_msgTypes[35].OneofWrappers = []interface{}{ - (*CacheEvent_Error)(nil), - (*CacheEvent_LocationChangedSuccess)(nil), - (*CacheEvent_ChangeLocalCacheFinished)(nil), - (*CacheEvent_DiskCachePathChanged)(nil), + file_bridge_proto_msgTypes[34].OneofWrappers = []interface{}{ + (*DiskCacheEvent_Error)(nil), + (*DiskCacheEvent_PathChanged)(nil), + (*DiskCacheEvent_PathChangeFinished)(nil), } - file_bridge_proto_msgTypes[40].OneofWrappers = []interface{}{ + file_bridge_proto_msgTypes[38].OneofWrappers = []interface{}{ (*MailSettingsEvent_Error)(nil), (*MailSettingsEvent_UseSslForSmtpFinished)(nil), (*MailSettingsEvent_ChangePortsFinished)(nil), (*MailSettingsEvent_UseSslForImapFinished)(nil), } - file_bridge_proto_msgTypes[45].OneofWrappers = []interface{}{ + file_bridge_proto_msgTypes[43].OneofWrappers = []interface{}{ (*KeychainEvent_ChangeKeychainFinished)(nil), (*KeychainEvent_HasNoKeychain)(nil), (*KeychainEvent_RebuildKeychain)(nil), } - file_bridge_proto_msgTypes[49].OneofWrappers = []interface{}{ + file_bridge_proto_msgTypes[47].OneofWrappers = []interface{}{ (*MailEvent_NoActiveKeyForRecipientEvent)(nil), (*MailEvent_AddressChanged)(nil), (*MailEvent_AddressChangedLogout)(nil), (*MailEvent_ApiCertIssue)(nil), } - file_bridge_proto_msgTypes[54].OneofWrappers = []interface{}{ + file_bridge_proto_msgTypes[52].OneofWrappers = []interface{}{ (*UserEvent_ToggleSplitModeFinished)(nil), (*UserEvent_UserDisconnected)(nil), (*UserEvent_UserChanged)(nil), @@ -5485,7 +5322,7 @@ func file_bridge_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_bridge_proto_rawDesc, NumEnums: 5, - NumMessages: 58, + NumMessages: 56, NumExtensions: 0, NumServices: 1, }, diff --git a/internal/frontend/grpc/bridge.proto b/internal/frontend/grpc/bridge.proto index 16ecd810..6350a7b7 100644 --- a/internal/frontend/grpc/bridge.proto +++ b/internal/frontend/grpc/bridge.proto @@ -73,7 +73,7 @@ service Bridge { // cache rpc DiskCachePath(google.protobuf.Empty) returns (google.protobuf.StringValue); - rpc ChangeLocalCache(ChangeLocalCacheRequest) returns (google.protobuf.Empty); + rpc SetDiskCachePath(google.protobuf.StringValue) returns (google.protobuf.Empty); // mail rpc SetIsDoHEnabled(google.protobuf.BoolValue) returns (google.protobuf.Empty); @@ -157,13 +157,6 @@ message LoginAbortRequest { string username = 1; } -//********************************************************** -// Cache on disk related message -//********************************************************** -message ChangeLocalCacheRequest { - string diskCachePath = 2; -} - //********************************************************** // Port related message //********************************************************** @@ -222,7 +215,7 @@ message StreamEvent { AppEvent app = 1; LoginEvent login = 2; UpdateEvent update = 3; - CacheEvent cache = 4; + DiskCacheEvent cache = 4; MailSettingsEvent mailSettings = 5; KeychainEvent keychain = 6; MailEvent mail = 7; @@ -338,38 +331,35 @@ message UpdateCheckFinished {} message UpdateVersionChanged {} + //********************************************************** // Cache on disk related events //********************************************************** -message CacheEvent { +message DiskCacheEvent { oneof event { - CacheErrorEvent error = 1; - CacheLocationChangeSuccessEvent locationChangedSuccess = 2; - ChangeLocalCacheFinishedEvent changeLocalCacheFinished = 3; - DiskCachePathChanged diskCachePathChanged = 5; + DiskCacheErrorEvent error = 1; + DiskCachePathChangedEvent pathChanged = 2; + DiskCachePathChangeFinishedEvent pathChangeFinished = 3; } } -enum CacheErrorType { - CACHE_UNAVAILABLE_ERROR = 0; - CACHE_CANT_MOVE_ERROR = 1; - DISK_FULL = 2; +enum DiskCacheErrorType { + DISK_CACHE_UNAVAILABLE_ERROR = 0; + CANT_MOVE_DISK_CACHE_ERROR = 1; + DISK_FULL_ERROR = 2; }; -message CacheErrorEvent { - CacheErrorType type = 1; +message DiskCacheErrorEvent { + DiskCacheErrorType type = 1; } -message CacheLocationChangeSuccessEvent {}; - -message ChangeLocalCacheFinishedEvent { - bool willRestart = 1; -}; - -message DiskCachePathChanged { +message DiskCachePathChangedEvent { string path = 1; } +message DiskCachePathChangeFinishedEvent {} + + //********************************************************** // Mail settings related events diff --git a/internal/frontend/grpc/bridge_grpc.pb.go b/internal/frontend/grpc/bridge_grpc.pb.go index 9fe2d4b7..3fe3173c 100644 --- a/internal/frontend/grpc/bridge_grpc.pb.go +++ b/internal/frontend/grpc/bridge_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.2.0 -// - protoc v3.19.4 +// - protoc v3.21.3 // source: bridge.proto package grpc @@ -66,7 +66,7 @@ type BridgeClient interface { IsAutomaticUpdateOn(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) // cache DiskCachePath(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.StringValue, error) - ChangeLocalCache(ctx context.Context, in *ChangeLocalCacheRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + SetDiskCachePath(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*emptypb.Empty, error) // mail SetIsDoHEnabled(ctx context.Context, in *wrapperspb.BoolValue, opts ...grpc.CallOption) (*emptypb.Empty, error) IsDoHEnabled(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) @@ -436,9 +436,9 @@ func (c *bridgeClient) DiskCachePath(ctx context.Context, in *emptypb.Empty, opt return out, nil } -func (c *bridgeClient) ChangeLocalCache(ctx context.Context, in *ChangeLocalCacheRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { +func (c *bridgeClient) SetDiskCachePath(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) - err := c.cc.Invoke(ctx, "/grpc.Bridge/ChangeLocalCache", in, out, opts...) + err := c.cc.Invoke(ctx, "/grpc.Bridge/SetDiskCachePath", in, out, opts...) if err != nil { return nil, err } @@ -711,7 +711,7 @@ type BridgeServer interface { IsAutomaticUpdateOn(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error) // cache DiskCachePath(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error) - ChangeLocalCache(context.Context, *ChangeLocalCacheRequest) (*emptypb.Empty, error) + SetDiskCachePath(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error) // mail SetIsDoHEnabled(context.Context, *wrapperspb.BoolValue) (*emptypb.Empty, error) IsDoHEnabled(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error) @@ -856,8 +856,8 @@ func (UnimplementedBridgeServer) IsAutomaticUpdateOn(context.Context, *emptypb.E func (UnimplementedBridgeServer) DiskCachePath(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error) { return nil, status.Errorf(codes.Unimplemented, "method DiskCachePath not implemented") } -func (UnimplementedBridgeServer) ChangeLocalCache(context.Context, *ChangeLocalCacheRequest) (*emptypb.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method ChangeLocalCache not implemented") +func (UnimplementedBridgeServer) SetDiskCachePath(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetDiskCachePath not implemented") } func (UnimplementedBridgeServer) SetIsDoHEnabled(context.Context, *wrapperspb.BoolValue) (*emptypb.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method SetIsDoHEnabled not implemented") @@ -1604,20 +1604,20 @@ func _Bridge_DiskCachePath_Handler(srv interface{}, ctx context.Context, dec fun return interceptor(ctx, in, info, handler) } -func _Bridge_ChangeLocalCache_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ChangeLocalCacheRequest) +func _Bridge_SetDiskCachePath_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(wrapperspb.StringValue) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(BridgeServer).ChangeLocalCache(ctx, in) + return srv.(BridgeServer).SetDiskCachePath(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/grpc.Bridge/ChangeLocalCache", + FullMethod: "/grpc.Bridge/SetDiskCachePath", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BridgeServer).ChangeLocalCache(ctx, req.(*ChangeLocalCacheRequest)) + return srv.(BridgeServer).SetDiskCachePath(ctx, req.(*wrapperspb.StringValue)) } return interceptor(ctx, in, info, handler) } @@ -2177,8 +2177,8 @@ var Bridge_ServiceDesc = grpc.ServiceDesc{ Handler: _Bridge_DiskCachePath_Handler, }, { - MethodName: "ChangeLocalCache", - Handler: _Bridge_ChangeLocalCache_Handler, + MethodName: "SetDiskCachePath", + Handler: _Bridge_SetDiskCachePath_Handler, }, { MethodName: "SetIsDoHEnabled", diff --git a/internal/frontend/grpc/event_factory.go b/internal/frontend/grpc/event_factory.go index 2e1180f1..78f89f87 100644 --- a/internal/frontend/grpc/event_factory.go +++ b/internal/frontend/grpc/event_factory.go @@ -97,22 +97,16 @@ func NewUpdateVersionChangedEvent() *StreamEvent { return updateEvent(&UpdateEvent{Event: &UpdateEvent_VersionChanged{VersionChanged: &UpdateVersionChanged{}}}) } -func NewCacheErrorEvent(err CacheErrorType) *StreamEvent { - return cacheEvent(&CacheEvent{Event: &CacheEvent_Error{Error: &CacheErrorEvent{Type: err}}}) +func NewDiskCacheErrorEvent(err DiskCacheErrorType) *StreamEvent { + return cacheEvent(&DiskCacheEvent{Event: &DiskCacheEvent_Error{Error: &DiskCacheErrorEvent{Type: err}}}) } -func NewCacheLocationChangeSuccessEvent() *StreamEvent { - return cacheEvent(&CacheEvent{Event: &CacheEvent_LocationChangedSuccess{LocationChangedSuccess: &CacheLocationChangeSuccessEvent{}}}) +func NewDiskCachePathChangedEvent(path string) *StreamEvent { + return cacheEvent(&DiskCacheEvent{Event: &DiskCacheEvent_PathChanged{PathChanged: &DiskCachePathChangedEvent{Path: path}}}) } -func NewCacheChangeLocalCacheFinishedEvent(willRestart bool) *StreamEvent { - return cacheEvent(&CacheEvent{Event: &CacheEvent_ChangeLocalCacheFinished{ - ChangeLocalCacheFinished: &ChangeLocalCacheFinishedEvent{WillRestart: willRestart}, - }}) -} - -func NewDiskCachePathChanged(path string) *StreamEvent { - return cacheEvent(&CacheEvent{Event: &CacheEvent_DiskCachePathChanged{DiskCachePathChanged: &DiskCachePathChanged{Path: path}}}) +func NewDiskCachePathChangeFinishedEvent() *StreamEvent { + return cacheEvent(&DiskCacheEvent{Event: &DiskCacheEvent_PathChangeFinished{PathChangeFinished: &DiskCachePathChangeFinishedEvent{}}}) } func NewMailSettingsErrorEvent(err MailSettingsErrorType) *StreamEvent { @@ -185,7 +179,7 @@ func updateEvent(event *UpdateEvent) *StreamEvent { return &StreamEvent{Event: &StreamEvent_Update{Update: event}} } -func cacheEvent(event *CacheEvent) *StreamEvent { +func cacheEvent(event *DiskCacheEvent) *StreamEvent { return &StreamEvent{Event: &StreamEvent_Cache{Cache: event}} } diff --git a/internal/frontend/grpc/service_methods.go b/internal/frontend/grpc/service_methods.go index 9cde33db..2b454602 100644 --- a/internal/frontend/grpc/service_methods.go +++ b/internal/frontend/grpc/service_methods.go @@ -249,7 +249,7 @@ func (s *Service) LicensePath(ctx context.Context, _ *emptypb.Empty) (*wrappersp return wrapperspb.String(s.bridge.GetLicenseFilePath()), nil } -func (s *Service) DependencyLicensesLink(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error) { +func (s *Service) DependencyLicensesLink(_ context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error) { return wrapperspb.String(s.bridge.GetDependencyLicensesLink()), nil } @@ -257,7 +257,7 @@ func (s *Service) ReleaseNotesPageLink(ctx context.Context, _ *emptypb.Empty) (* return wrapperspb.String(s.newVersionInfo.ReleaseNotesPage), nil } -func (s *Service) LandingPageLink(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error) { +func (s *Service) LandingPageLink(_ context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error) { return wrapperspb.String(s.newVersionInfo.LandingPage), nil } @@ -535,30 +535,30 @@ func (s *Service) DiskCachePath(ctx context.Context, _ *emptypb.Empty) (*wrapper return wrapperspb.String(s.bridge.GetGluonDir()), nil } -func (s *Service) ChangeLocalCache(ctx context.Context, change *ChangeLocalCacheRequest) (*emptypb.Empty, error) { - s.log.WithField("diskCachePath", change.DiskCachePath).Debug("DiskCachePath") +func (s *Service) SetDiskCachePath(ctx context.Context, newPath *wrapperspb.StringValue) (*emptypb.Empty, error) { + s.log.WithField("path", newPath.Value).Debug("setDiskCachePath") - defer func() { - _ = s.SendEvent(NewCacheChangeLocalCacheFinishedEvent(false)) - }() + go func() { + defer func() { + _ = s.SendEvent(NewDiskCachePathChangeFinishedEvent()) + }() - path := change.DiskCachePath - //goland:noinspection GoBoolExpressions - if (runtime.GOOS == "windows") && (path[0] == '/') { - path = path[1:] - } - - if path != s.bridge.GetGluonDir() { - if err := s.bridge.SetGluonDir(ctx, path); err != nil { - s.log.WithError(err).Error("The local cache location could not be changed.") - _ = s.SendEvent(NewCacheErrorEvent(CacheErrorType_CACHE_CANT_MOVE_ERROR)) - return &emptypb.Empty{}, nil + path := newPath.Value + //goland:noinspection GoBoolExpressions + if (runtime.GOOS == "windows") && (path[0] == '/') { + path = path[1:] } - _ = s.SendEvent(NewDiskCachePathChanged(s.bridge.GetGluonDir())) - } + if path != s.bridge.GetGluonDir() { + if err := s.bridge.SetGluonDir(context.Background(), path); err != nil { + s.log.WithError(err).Error("The local cache location could not be changed.") + _ = s.SendEvent(NewDiskCacheErrorEvent(DiskCacheErrorType_CANT_MOVE_DISK_CACHE_ERROR)) + return + } - _ = s.SendEvent(NewCacheLocationChangeSuccessEvent()) + _ = s.SendEvent(NewDiskCachePathChangedEvent(s.bridge.GetGluonDir())) + } + }() return &emptypb.Empty{}, nil } diff --git a/internal/frontend/grpc/service_stream.go b/internal/frontend/grpc/service_stream.go index 187e7f09..2c644817 100644 --- a/internal/frontend/grpc/service_stream.go +++ b/internal/frontend/grpc/service_stream.go @@ -75,7 +75,7 @@ func (s *Service) RunEventStream(request *EventStreamRequest, server Bridge_RunE } // StopEventStream stops the event stream. -func (s *Service) StopEventStream(ctx context.Context, _ *emptypb.Empty) (*emptypb.Empty, error) { +func (s *Service) StopEventStream(_ context.Context, _ *emptypb.Empty) (*emptypb.Empty, error) { if s.eventStreamCh == nil { return nil, status.Errorf(codes.NotFound, "The service is not streaming") } @@ -127,10 +127,10 @@ func (s *Service) StartEventTest() error { //nolint:funlen NewUpdateCheckFinishedEvent(), // cache - NewCacheErrorEvent(CacheErrorType_CACHE_UNAVAILABLE_ERROR), - NewCacheLocationChangeSuccessEvent(), - NewCacheChangeLocalCacheFinishedEvent(true), - NewDiskCachePathChanged("/dummy/path"), + + NewDiskCacheErrorEvent(DiskCacheErrorType_CANT_MOVE_DISK_CACHE_ERROR), + NewDiskCachePathChangedEvent("/dummy/path/"), + NewDiskCachePathChangeFinishedEvent(), // mail settings NewMailSettingsErrorEvent(MailSettingsErrorType_IMAP_PORT_ISSUE),