diff --git a/internal/bridge/imap.go b/internal/bridge/imap.go index e361adc6..f632d72b 100644 --- a/internal/bridge/imap.go +++ b/internal/bridge/imap.go @@ -68,8 +68,10 @@ func (bridge *Bridge) serveIMAP() error { func (bridge *Bridge) restartIMAP() error { logrus.Info("Restarting IMAP server") - if err := bridge.imapListener.Close(); err != nil { - return fmt.Errorf("failed to close IMAP listener: %w", err) + if bridge.imapListener != nil { + if err := bridge.imapListener.Close(); err != nil { + return fmt.Errorf("failed to close IMAP listener: %w", err) + } } return bridge.serveIMAP() diff --git a/internal/frontend/bridge-gui/bridge-gui/QMLBackend.cpp b/internal/frontend/bridge-gui/bridge-gui/QMLBackend.cpp index 3debbcda..2be4b6ee 100644 --- a/internal/frontend/bridge-gui/bridge-gui/QMLBackend.cpp +++ b/internal/frontend/bridge-gui/bridge-gui/QMLBackend.cpp @@ -71,7 +71,13 @@ void QMLBackend::init(GRPCConfig const &serviceConfig) app().grpc().goos(goos_); app().grpc().logsPath(logsPath_); app().grpc().licensePath(licensePath_); - + bool sslForIMAP = false, sslForSMTP = false; + int imapPort = 0, smtpPort = 0; + app().grpc().mailServerSettings(imapPort, smtpPort, sslForIMAP, sslForSMTP); + this->setIMAPPort(imapPort); + this->setSMTPPort(smtpPort); + this->setUseSSLForIMAP(sslForIMAP); + this->setUseSSLForSMTP(sslForSMTP); this->retrieveUserList(); } @@ -140,10 +146,14 @@ void QMLBackend::connectGrpcEvents() connect(client, &GRPCClient::updateVersionChanged, this, &QMLBackend::onVersionChanged); // mail settings events - connect(client, &GRPCClient::portIssueIMAP, this, &QMLBackend::portIssueIMAP); - connect(client, &GRPCClient::portIssueSMTP, this, &QMLBackend::portIssueSMTP); - connect(client, &GRPCClient::toggleUseSSLFinished, this, &QMLBackend::toggleUseSSLFinished); - connect(client, &GRPCClient::changePortFinished, this, &QMLBackend::changePortFinished); + connect(client, &GRPCClient::imapPortStartupError, this, &QMLBackend::imapPortStartupError); + connect(client, &GRPCClient::smtpPortStartupError, this, &QMLBackend::smtpPortStartupError); + connect(client, &GRPCClient::imapPortChangeError, this, &QMLBackend::imapPortChangeError); + connect(client, &GRPCClient::smtpPortChangeError, this, &QMLBackend::smtpPortChangeError); + connect(client, &GRPCClient::imapConnectionModeChangeError, this, &QMLBackend::imapConnectionModeChangeError); + connect(client, &GRPCClient::smtpConnectionModeChangeError, this, &QMLBackend::smtpConnectionModeChangeError); + connect(client, &GRPCClient::mailServerSettingsChanged, this, &QMLBackend::onMailServerSettingsChanged); + connect(client, &GRPCClient::changeMailServerSettingsFinished, this, &QMLBackend::changeMailServerSettingsFinished); // keychain events connect(client, &GRPCClient::changeKeychainFinished, this, &QMLBackend::changeKeychainFinished); @@ -320,36 +330,113 @@ void QMLBackend::setDiskCachePath(QUrl const &path) const app().grpc().setDiskCachePath(path); } -//**************************************************************************************************************************************************** -/// \param[in] makeItActive Should SSL for SMTP be enabled. -//**************************************************************************************************************************************************** -void QMLBackend::toggleUseSSLforSMTP(bool makeItActive) -{ - // if call succeed, app will restart. No need to emit a value change signal, because it will trigger a read-back via gRPC that will fail. - emit hideMainWindow(); - app().grpc().setUseSSLForSMTP(makeItActive); -} //**************************************************************************************************************************************************** -/// \param[in] makeItActive Should SSL for IMAP be enabled. +/// \return The IMAP port. //**************************************************************************************************************************************************** -void QMLBackend::toggleUseSSLforIMAP(bool makeItActive) +int QMLBackend::imapPort() const { - // if call succeed, app will restart. No need to emit a value change signal, because it will trigger a read-back via gRPC that will fail. - emit hideMainWindow(); - app().grpc().setUseSSLForIMAP(makeItActive); + return imapPort_; +} + + +//**************************************************************************************************************************************************** +/// \param[in] port The IMAP port. +//**************************************************************************************************************************************************** +void QMLBackend::setIMAPPort(int port) +{ + if (port == imapPort_) + return; + imapPort_ = port; + emit imapPortChanged(port); +} + + +//**************************************************************************************************************************************************** +/// \return The SMTP port. +//**************************************************************************************************************************************************** +int QMLBackend::smtpPort() const +{ + return smtpPort_; +} + + +//**************************************************************************************************************************************************** +/// \param[in] port The SMTP port. +//**************************************************************************************************************************************************** +void QMLBackend::setSMTPPort(int port) +{ + if (port == smtpPort_) + return; + smtpPort_ = port; + emit smtpPortChanged(port); +} + + +//**************************************************************************************************************************************************** +/// \return The value for the 'Use SSL for IMAP' property. +//**************************************************************************************************************************************************** +bool QMLBackend::useSSLForIMAP() const +{ + return useSSLForIMAP_; +} + + +//**************************************************************************************************************************************************** +/// \param[in] value The value for the 'Use SSL for IMAP' property. +//**************************************************************************************************************************************************** +void QMLBackend::setUseSSLForIMAP(bool value) +{ + if (value == useSSLForIMAP_) + return; + useSSLForIMAP_ = value; + emit useSSLForIMAPChanged(value); +} + + +//**************************************************************************************************************************************************** +/// \return The value for the 'Use SSL for SMTP' property. +//**************************************************************************************************************************************************** +bool QMLBackend::useSSLForSMTP() const +{ + return useSSLForSMTP_; +} + + +//**************************************************************************************************************************************************** +/// \param[in] value The value for the 'Use SSL for SMTP' property. +//**************************************************************************************************************************************************** +void QMLBackend::setUseSSLForSMTP(bool value) +{ + if (value == useSSLForSMTP_) + return; + useSSLForSMTP_ = value; + emit useSSLForSMTPChanged(value); } //**************************************************************************************************************************************************** /// \param[in] imapPort The IMAP port. /// \param[in] smtpPort The SMTP port. +/// \param[in] useSSLForIMAP The value for the 'Use SSL for IMAP' property +/// \param[in] useSSLForSMTP The value for the 'Use SSL for SMTP' property //**************************************************************************************************************************************************** -void QMLBackend::changePorts(int imapPort, int smtpPort) +void QMLBackend::setMailServerSettings(int imapPort, int smtpPort, bool useSSLForIMAP, bool useSSLForSMTP) { - // if call succeed, app will restart. No need to emit a value change signal, because it will trigger a read-back via gRPC that will fail. - emit hideMainWindow(); - app().grpc().changePorts(imapPort, smtpPort); + app().grpc().setMailServerSettings(imapPort, smtpPort, useSSLForIMAP, useSSLForSMTP); +} + + +//**************************************************************************************************************************************************** +/// \param[in] useSSLForIMAP The value for the 'Use SSL for IMAP' property +/// \param[in] useSSLForSMTP The value for the 'Use SSL for SMTP' property +//**************************************************************************************************************************************************** +void QMLBackend::onMailServerSettingsChanged(int imapPort, int smtpPort, bool useSSLForIMAP, bool useSSLForSMTP) +{ + this->setIMAPPort(imapPort); + this->setSMTPPort(smtpPort); + this->setUseSSLForIMAP(useSSLForIMAP); + this->setUseSSLForSMTP(useSSLForSMTP); } diff --git a/internal/frontend/bridge-gui/bridge-gui/QMLBackend.h b/internal/frontend/bridge-gui/bridge-gui/QMLBackend.h index 4dd09f9d..f8c97f58 100644 --- a/internal/frontend/bridge-gui/bridge-gui/QMLBackend.h +++ b/internal/frontend/bridge-gui/bridge-gui/QMLBackend.h @@ -69,10 +69,10 @@ public: // Qt/QML properties. Note that the NOTIFY-er signal is required even fo Q_PROPERTY(bool isAllMailVisible READ isAllMailVisible NOTIFY isAllMailVisibleChanged) // _ bool `property:"isAllMailVisible"` Q_PROPERTY(QString colorSchemeName READ colorSchemeName NOTIFY colorSchemeNameChanged) // _ string `property:"colorSchemeName"` Q_PROPERTY(QUrl diskCachePath READ diskCachePath NOTIFY diskCachePathChanged) // _ core.QUrl `property:"diskCachePath"` - Q_PROPERTY(bool useSSLforSMTP READ useSSLForSMTP NOTIFY useSSLforSMTPChanged) // _ bool `property:"useSSLforSMTP"` - Q_PROPERTY(bool useSSLforIMAP READ useSSLForIMAP NOTIFY useSSLforIMAPChanged) // _ bool `property:"useSSLforIMAP"` - Q_PROPERTY(int portIMAP READ portIMAP NOTIFY portIMAPChanged) // _ int `property:"portIMAP"` - Q_PROPERTY(int portSMTP READ portSMTP NOTIFY portSMTPChanged) // _ int `property:"portSMTP"` + Q_PROPERTY(bool useSSLForIMAP READ useSSLForIMAP WRITE setUseSSLForIMAP NOTIFY useSSLForIMAPChanged) // _ bool `property:"useSSLForSMTP"` + Q_PROPERTY(bool useSSLForSMTP READ useSSLForSMTP WRITE setUseSSLForSMTP NOTIFY useSSLForSMTPChanged) // _ bool `property:"useSSLForSMTP"` + Q_PROPERTY(int imapPort READ imapPort WRITE setIMAPPort NOTIFY imapPortChanged) + Q_PROPERTY(int smtpPort READ smtpPort WRITE setSMTPPort NOTIFY smtpPortChanged) Q_PROPERTY(bool isDoHEnabled READ isDoHEnabled NOTIFY isDoHEnabledChanged) // _ bool `property:"isDoHEnabled"` Q_PROPERTY(bool isFirstGUIStart READ isFirstGUIStart) // _ bool `property:"isFirstGUIStart"` Q_PROPERTY(bool isAutomaticUpdateOn READ isAutomaticUpdateOn NOTIFY isAutomaticUpdateOnChanged) // _ bool `property:"isAutomaticUpdateOn"` @@ -101,10 +101,14 @@ public: // Qt/QML properties. Note that the NOTIFY-er signal is required even fo bool isAllMailVisible() const { bool v; app().grpc().isAllMailVisible(v); return v; } QString colorSchemeName() const { QString name; app().grpc().colorSchemeName(name); return name; } QUrl diskCachePath() const { QUrl path; app().grpc().diskCachePath(path); return path; } - bool useSSLForSMTP() const{ bool useSSL; app().grpc().useSSLForSMTP(useSSL); return useSSL; } - bool useSSLForIMAP() const{ bool useSSL; app().grpc().useSSLForIMAP(useSSL); return useSSL; } - int portIMAP() const { int port; app().grpc().portIMAP(port); return port; } - int portSMTP() const { int port; app().grpc().portSMTP(port); return port; } + bool useSSLForIMAP() const; + void setUseSSLForIMAP(bool value); + bool useSSLForSMTP() const; + void setUseSSLForSMTP(bool value); + int imapPort() const; + void setIMAPPort(int port); + int smtpPort() const; + void setSMTPPort(int port); bool isDoHEnabled() const { bool isEnabled; app().grpc().isDoHEnabled(isEnabled); return isEnabled;} bool isFirstGUIStart() const { bool v; app().grpc().isFirstGUIStart(v); return v; }; bool isAutomaticUpdateOn() const { bool isOn = false; app().grpc().isAutomaticUpdateOn(isOn); return isOn; } @@ -119,8 +123,10 @@ signals: // Signal used by the Qt property system. Many of them are unused but r void showOnStartupChanged(bool value); void goosChanged(QString const &value); void diskCachePathChanged(QUrl const &url); - void useSSLforSMTPChanged(bool value); - void useSSLforIMAPChanged(bool value); + void imapPortChanged(int port); + void smtpPortChanged(int port); + void useSSLForSMTPChanged(bool value); + void useSSLForIMAPChanged(bool value); void isAutomaticUpdateOnChanged(bool value); void isBetaEnabledChanged(bool value); void isAllMailVisibleChanged(bool value); @@ -139,8 +145,6 @@ signals: // Signal used by the Qt property system. Many of them are unused but r void availableKeychainChanged(QStringList const &keychains); void hostnameChanged(QString const &hostname); void isAutostartOnChanged(bool value); - void portIMAPChanged(int port); - void portSMTPChanged(int port); void usersChanged(UserList* users); void dockIconVisibleChanged(bool value); @@ -154,9 +158,6 @@ public slots: // slot for signals received from QML -> To be forwarded to Bridge 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"` void loginAbort(QString const& username){ app().grpc().loginAbort(username);} // _ func(username string) `slot:"loginAbort"` - void toggleUseSSLforSMTP(bool makeItActive); // _ func(makeItActive bool) `slot:"toggleUseSSLforSMTP"` - void toggleUseSSLforIMAP(bool makeItActive); // _ func(makeItActive bool) `slot:"toggleUseSSLforIMAP"` - void changePorts(int imapPort, int smtpPort); // _ func(imapPort, smtpPort int) `slot:"changePorts"` void toggleDoH(bool active); // _ func(makeItActive bool) `slot:"toggleDoH"` void toggleAutomaticUpdate(bool makeItActive); // _ func(makeItActive bool) `slot:"toggleAutomaticUpdate"` void updateCurrentMailClient() { emit currentEmailClientChanged(currentEmailClient()); } // _ func() `slot:"updateCurrentMailClient"` @@ -172,6 +173,10 @@ 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 setMailServerSettings(int imapPort, int smtpPort, bool useSSLForIMAP, bool useSSLForSMTP); ///< Forwards to connection mode change request from QML to gRPC + +public slots: // slot for signals received from gRPC that need transformation instead of simple forwarding + void onMailServerSettingsChanged(int imapPort, int smtpPort, bool useSSLForIMAP, bool useSSLForSMTP); ///< Slot for the ConnectionModeChanged gRPC event. signals: // Signals received from the Go backend, to be forwarded to QML void toggleAutostartFinished(); // _ func() `signal:"toggleAutostartFinished"` @@ -199,10 +204,13 @@ signals: // Signals received from the Go backend, to be forwarded to QML void updateSilentError(); // _ func() `signal:"updateSilentError"` void updateIsLatestVersion(); // _ func() `signal:"updateIsLatestVersion"` void checkUpdatesFinished(); // _ func() `signal:"checkUpdatesFinished"` - void toggleUseSSLFinished(); // _ func() `signal:"toggleUseSSLFinished"` - void changePortFinished(); // _ func() `signal:"changePortFinished"` - void portIssueIMAP(); // _ func() `signal:"portIssueIMAP"` - void portIssueSMTP(); // _ func() `signal:"portIssueSMTP"` + void imapPortStartupError(); + void smtpPortStartupError(); + void imapPortChangeError(); + void smtpPortChangeError(); + void imapConnectionModeChangeError(); + void smtpConnectionModeChangeError(); + void changeMailServerSettingsFinished(); void changeKeychainFinished(); // _ func() `signal:"changeKeychainFinished"` void notifyHasNoKeychain(); // _ func() `signal:"notifyHasNoKeychain"` void notifyRebuildKeychain(); // _ func() `signal:"notifyRebuildKeychain"` @@ -231,6 +239,10 @@ private: // data members QString goos_; ///< The cached version of the GOOS variable. QUrl logsPath_; ///< The logs path. Retrieved from bridge on startup. QUrl licensePath_; ///< The license path. Retrieved from bridge on startup. + int imapPort_ { 0 }; ///< The cached value for the IMAP port. + int smtpPort_ { 0 }; ///< The cached value for the SMTP port. + bool useSSLForIMAP_ { false }; ///< The cached value for useSSLForIMAP. + bool useSSLForSMTP_ { false }; ///< The cached value for useSSLForSMTP. friend class AppController; }; diff --git a/internal/frontend/bridge-gui/bridge-gui/qml/AccountView.qml b/internal/frontend/bridge-gui/bridge-gui/qml/AccountView.qml index d4c17bdf..17572c12 100644 --- a/internal/frontend/bridge-gui/bridge-gui/qml/AccountView.qml +++ b/internal/frontend/bridge-gui/bridge-gui/qml/AccountView.qml @@ -229,20 +229,20 @@ Item { colorScheme: root.colorScheme title: qsTr("IMAP") hostname: Backend.hostname - port: Backend.portIMAP.toString() + port: Backend.imapPort.toString() username: configuration.currentAddress password: root.user ? root.user.password : "" - security : Backend.useSSLforIMAP ? "SSL" : "STARTTLS" + security : Backend.useSSLForIMAP ? "SSL" : "STARTTLS" } Configuration { colorScheme: root.colorScheme title: qsTr("SMTP") hostname : Backend.hostname - port : Backend.portSMTP.toString() + port : Backend.smtpPort.toString() username : configuration.currentAddress password : root.user ? root.user.password : "" - security : Backend.useSSLforSMTP ? "SSL" : "STARTTLS" + security : Backend.useSSLForSMTP ? "SSL" : "STARTTLS" } } } diff --git a/internal/frontend/bridge-gui/bridge-gui/qml/Bridge_test.qml b/internal/frontend/bridge-gui/bridge-gui/qml/Bridge_test.qml index a40f1f7c..1e74c4ea 100644 --- a/internal/frontend/bridge-gui/bridge-gui/qml/Bridge_test.qml +++ b/internal/frontend/bridge-gui/bridge-gui/qml/Bridge_test.qml @@ -696,7 +696,7 @@ Window { } RowLayout { Label {colorScheme: root.colorScheme; text: "SMTP using SSL:"} - Toggle {colorScheme: root.colorScheme; checked: root.useSSLforSMTP; onClicked: root.useSSLforSMTP = !root.useSSLforSMTP} + Toggle {colorScheme: root.colorScheme; checked: root.useSSLForSMTP; onClicked: root.useSSLForSMTP = !root.useSSLForSMTP} } RowLayout { Label {colorScheme: root.colorScheme; text: "Local cache:"} @@ -822,9 +822,9 @@ Window { } - property bool useSSLforSMTP: false - function toggleUseSSLforSMTP(makeItActive){ - console.debug("-> SMTP SSL", makeItActive, root.useSSLforSMTP) + property bool useSSLForSMTP: false + function toggleUseSSLForSMTP(makeItActive){ + console.debug("-> SMTP SSL", makeItActive, root.useSSLForSMTP) } signal toggleUseSSLFinished() @@ -841,8 +841,8 @@ Window { return true } signal changePortFinished() - signal portIssueIMAP() - signal portIssueSMTP() + signal imapPortStartupError() + signal smtpPortStartupError() function triggerReset() { console.debug("-> trigger reset") diff --git a/internal/frontend/bridge-gui/bridge-gui/qml/ContentWrapper.qml b/internal/frontend/bridge-gui/bridge-gui/qml/ContentWrapper.qml index b824ad91..a04f68c3 100644 --- a/internal/frontend/bridge-gui/bridge-gui/qml/ContentWrapper.qml +++ b/internal/frontend/bridge-gui/bridge-gui/qml/ContentWrapper.qml @@ -315,7 +315,7 @@ Item { PortSettings { // 4 colorScheme: root.colorScheme - + notifications: root.notifications onBack: { rightContent.showGeneralSettings() } diff --git a/internal/frontend/bridge-gui/bridge-gui/qml/IMAPSettings.qml b/internal/frontend/bridge-gui/bridge-gui/qml/IMAPSettings.qml index 46972b2c..f63596d5 100644 --- a/internal/frontend/bridge-gui/bridge-gui/qml/IMAPSettings.qml +++ b/internal/frontend/bridge-gui/bridge-gui/qml/IMAPSettings.qml @@ -36,7 +36,7 @@ SettingsView { Label { colorScheme: root.colorScheme - text: qsTr("Changes require reconfiguration of email client. Bridge will automatically restart.") + text: qsTr("Changes require reconfiguration of email client.") type: Label.Body color: root.colorScheme.text_weak Layout.fillWidth: true @@ -80,13 +80,13 @@ SettingsView { Button { id: submitButton colorScheme: root.colorScheme - text: qsTr("Save and restart") + text: qsTr("Save") onClicked: { submitButton.loading = true root.submit() } - enabled: sslButton.checked !== Backend.useSSLforIMAP + enabled: sslButton.checked !== Backend.useSSLForIMAP } Button { @@ -99,20 +99,21 @@ SettingsView { Connections { target: Backend - function onToggleUseSSLFinished() { + function onChangeMailServerSettingsFinished() { submitButton.loading = false + root.back() } } } function submit(){ submitButton.loading = true - Backend.toggleUseSSLforIMAP(sslButton.checked) + Backend.setMailServerSettings(Backend.imapPort, Backend.smtpPort, sslButton.checked, Backend.useSSLForSMTP) } function setDefaultValues(){ - sslButton.checked = Backend.useSSLforIMAP - starttlsButton.checked = !Backend.useSSLforIMAP + sslButton.checked = Backend.useSSLForIMAP + starttlsButton.checked = !Backend.useSSLForIMAP } onVisibleChanged: { 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 e7c931e1..2ba88d5b 100644 --- a/internal/frontend/bridge-gui/bridge-gui/qml/Notifications/Notifications.qml +++ b/internal/frontend/bridge-gui/bridge-gui/qml/Notifications/Notifications.qml @@ -46,8 +46,12 @@ QtObject { property var all: [ root.noInternet, - root.portIssueIMAP, - root.portIssueSMTP, + root.imapPortStartupError, + root.smtpPortStartupError, + root.imapPortChangeError, + root.smtpPortChangeError, + root.imapConnectionModeChangeError, + root.smtpConnectionModeChangeError, root.updateManualReady, root.updateManualRestartNeeded, root.updateManualError, @@ -98,8 +102,8 @@ QtObject { } } - property Notification portIssueIMAP: Notification { - description: qsTr("The IMAP server could not be started. Please check or change the IMAP port and restart the application.") + property Notification imapPortStartupError: Notification { + description: qsTr("The IMAP server could not be started. Please check or change the IMAP port.") brief: qsTr("IMAP port error") icon: "./icons/ic-alert.svg" type: Notification.NotificationType.Danger @@ -108,14 +112,14 @@ QtObject { Connections { target: Backend - function onPortIssueIMAP() { - root.portIssueIMAP.active = true + function onImapPortStartupError() { + root.imapPortStartupError.active = true } } } - property Notification portIssueSMTP: Notification { - description: qsTr("The SMTP server could not be started. Please check or change the SMTP port and restart the application.") + property Notification smtpPortStartupError: Notification { + description: qsTr("The SMTP server could not be started. Please check or change the SMTP port.") brief: qsTr("SMTP port error") icon: "./icons/ic-alert.svg" type: Notification.NotificationType.Danger @@ -124,8 +128,88 @@ QtObject { Connections { target: Backend - function onPortIssueSMTP() { - root.portIssueSMTP.active = true + function onSmtpPortStartupError() { + root.smtpPortStartupError.active = true + } + } + } + + property Notification imapPortChangeError: Notification { + description: qsTr("The IMAP port could not be changed.") + brief: qsTr("IMAP port change error") + icon: "./icons/ic-alert.svg" + type: Notification.NotificationType.Danger + group: Notifications.Group.Connection + + Connections { + target: Backend + + function onImapPortChangeError() { + root.imapPortChangeError.active = true + } + } + } + + property Notification smtpPortChangeError: Notification { + description: qsTr("The SMTP port could not be changed.") + brief: qsTr("SMTP port change error") + icon: "./icons/ic-alert.svg" + type: Notification.NotificationType.Danger + group: Notifications.Group.Connection + + Connections { + target: Backend + + function onSmtpPortChangeError() { + root.smtpPortChangeError.active = true + } + } + } + + property Notification imapConnectionModeChangeError: Notification { + description: qsTr("The IMAP connection mode could not be changed.") + brief: qsTr("IMAP Connection mode change error") + icon: "./icons/ic-alert.svg" + type: Notification.NotificationType.Danger + group: Notifications.Group.Connection + + Connections { + target: Backend + + function onImapConnectionModeChangeError() { + root.imapConnectionModeChangeError.active = true + } + } + + action: Action { + text: qsTr("OK") + + onTriggered: { + root.imapConnectionModeChangeError.active= false + } + } + } + + property Notification smtpConnectionModeChangeError: Notification { + description: qsTr("The SMTP connection mode could not be changed.") + brief: qsTr("SMTP Connection mode change error") + icon: "./icons/ic-alert.svg" + type: Notification.NotificationType.Danger + group: Notifications.Group.Connection + + Connections { + target: Backend + + function onSmtpConnectionModeChangeError() { + root.smtpConnectionModeChangeError.active = true + } + } + + action: Action { + text: qsTr("OK") + + onTriggered: { + root.smtpConnectionModeChangeError.active= false } } } diff --git a/internal/frontend/bridge-gui/bridge-gui/qml/PortSettings.qml b/internal/frontend/bridge-gui/bridge-gui/qml/PortSettings.qml index a09dd209..a8d7c317 100644 --- a/internal/frontend/bridge-gui/bridge-gui/qml/PortSettings.qml +++ b/internal/frontend/bridge-gui/bridge-gui/qml/PortSettings.qml @@ -27,9 +27,11 @@ SettingsView { fillHeight: false + property var notifications + property bool _valuesChanged: ( - imapField.text*1 !== Backend.portIMAP || - smtpField.text*1 !== Backend.portSMTP + imapField.text*1 !== Backend.imapPort || + smtpField.text*1 !== Backend.smtpPort ) Label { @@ -41,7 +43,7 @@ SettingsView { Label { colorScheme: root.colorScheme - text: qsTr("Changes require reconfiguration of your email client. Bridge will automatically restart.") + text: qsTr("Changes require reconfiguration of your email client.") type: Label.Body color: root.colorScheme.text_weak Layout.fillWidth: true @@ -81,7 +83,7 @@ SettingsView { Button { id: submitButton colorScheme: root.colorScheme - text: qsTr("Save and restart") + text: qsTr("Save") enabled: root._valuesChanged onClicked: { // removing error here because we may have set it manually (port occupied) @@ -109,7 +111,13 @@ SettingsView { return } - Backend.changePorts(imapField.text, smtpField.text) + // We turn off all port error notification. They well be restored if problems persist + root.notifications.imapPortStartupError.active = false + root.notifications.smtpPortStartupError.active = false + root.notifications.imapPortChangeError.active = false + root.notifications.smtpPortChangeError.active = false + + Backend.setMailServerSettings(imapField.text, smtpField.text, Backend.useSSLForIMAP, Backend.useSSLForSMTP) } } @@ -123,7 +131,7 @@ SettingsView { Connections { target: Backend - function onChangePortFinished() { + function onChangeMailServerSettingsFinished() { submitButton.loading = false } } @@ -148,8 +156,8 @@ SettingsView { function isPortFree(field) { var num = field.text*1 - if (num === Backend.portIMAP) return true - if (num === Backend.portSMTP) return true + if (num === Backend.imapPort) return true + if (num === Backend.smtpPort) return true if (!Backend.isPortFree(num)) { field.error = true field.errorString = qsTr("Port occupied") @@ -160,8 +168,8 @@ SettingsView { } function setDefaultValues(){ - imapField.text = Backend.portIMAP - smtpField.text = Backend.portSMTP + imapField.text = Backend.imapPort + smtpField.text = Backend.smtpPort imapField.error = false smtpField.error = false } diff --git a/internal/frontend/bridge-gui/bridge-gui/qml/SMTPSettings.qml b/internal/frontend/bridge-gui/bridge-gui/qml/SMTPSettings.qml index 06b5a46a..f9e65b45 100644 --- a/internal/frontend/bridge-gui/bridge-gui/qml/SMTPSettings.qml +++ b/internal/frontend/bridge-gui/bridge-gui/qml/SMTPSettings.qml @@ -36,7 +36,7 @@ SettingsView { Label { colorScheme: root.colorScheme - text: qsTr("Changes require reconfiguration of email client. Bridge will automatically restart.") + text: qsTr("Changes require reconfiguration of email client.") type: Label.Body color: root.colorScheme.text_weak Layout.fillWidth: true @@ -80,13 +80,13 @@ SettingsView { Button { id: submitButton colorScheme: root.colorScheme - text: qsTr("Save and restart") + text: qsTr("Save") onClicked: { submitButton.loading = true root.submit() } - enabled: sslButton.checked !== Backend.useSSLforSMTP + enabled: sslButton.checked !== Backend.useSSLForSMTP } Button { @@ -99,20 +99,21 @@ SettingsView { Connections { target: Backend - function onToggleUseSSLFinished() { + function onChangeMailServerSettingsFinished() { submitButton.loading = false + root.back() } } } - function submit(){ + function submit() { submitButton.loading = true - Backend.toggleUseSSLforSMTP(sslButton.checked) + Backend.setMailServerSettings(Backend.imapPort, Backend.smtpPort, Backend.useSSLForIMAP, sslButton.checked) } function setDefaultValues(){ - sslButton.checked = Backend.useSSLforSMTP - starttlsButton.checked = !Backend.useSSLforSMTP + sslButton.checked = Backend.useSSLForSMTP + starttlsButton.checked = !Backend.useSSLForSMTP } onVisibleChanged: { diff --git a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/EventFactory.cpp b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/EventFactory.cpp index de960cd9..e8bd5f21 100644 --- a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/EventFactory.cpp +++ b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/EventFactory.cpp @@ -88,10 +88,10 @@ bridgepp::SPStreamEvent wrapCacheEvent(grpc::DiskCacheEvent *cacheEvent) /// \param[in] mailSettingsEvent The mail settings event. /// \return The stream event. //**************************************************************************************************************************************************** -bridgepp::SPStreamEvent wrapMailSettingsEvent(grpc::MailSettingsEvent *mailSettingsEvent) +bridgepp::SPStreamEvent wrapMailServerSettingsEvent(grpc::MailServerSettingsEvent *mailServerSettingsEvent) { auto event = newStreamEvent(); - event->set_allocated_mailsettings(mailSettingsEvent); + event->set_allocated_mailserversettings(mailServerSettingsEvent); return event; } @@ -420,54 +420,45 @@ SPStreamEvent newDiskCachePathChangeFinishedEvent() return wrapCacheEvent(cacheEvent); } +SPStreamEvent newChangeMailServerSettingsFinished(); ///< Create a new ChangeMailServerSettingsFinished event. //**************************************************************************************************************************************************** /// \param[in] errorType The error type. /// \return The event. //**************************************************************************************************************************************************** -SPStreamEvent newMailSettingsErrorEvent(grpc::MailSettingsErrorType errorType) +SPStreamEvent newMailServerSettingsErrorEvent(grpc::MailServerSettingsErrorType errorType) { - auto event = new grpc::MailSettingsErrorEvent; + auto event = new grpc::MailServerSettingsErrorEvent; event->set_type(errorType); - auto mailSettingsEvent = new grpc::MailSettingsEvent; - mailSettingsEvent->set_allocated_error(event); - return wrapMailSettingsEvent(mailSettingsEvent); + auto mailServerSettingsEvent = new grpc::MailServerSettingsEvent; + mailServerSettingsEvent->set_allocated_error(event); + return wrapMailServerSettingsEvent(mailServerSettingsEvent); +} + + +//**************************************************************************************************************************************************** +/// \param[in] settings The settings. +/// \return The event. +//**************************************************************************************************************************************************** +SPStreamEvent newMailServerSettingsChanged(grpc::ImapSmtpSettings *settings) +{ + auto event = new grpc::MailServerSettingsChangedEvent; + event->set_allocated_settings(settings); + auto mailServerSettingsEvent = new grpc::MailServerSettingsEvent; + mailServerSettingsEvent->set_allocated_mailserversettingschanged(event); + return wrapMailServerSettingsEvent(mailServerSettingsEvent); } //**************************************************************************************************************************************************** /// \return The event. //**************************************************************************************************************************************************** -SPStreamEvent newUseSslForImapFinishedEvent() +SPStreamEvent newChangeMailServerSettingsFinished() { - auto event = new grpc::UseSslForImapFinishedEvent; - auto mailSettingsEvent = new grpc::MailSettingsEvent; - mailSettingsEvent->set_allocated_usesslforimapfinished(event); - return wrapMailSettingsEvent(mailSettingsEvent); -} - - -//**************************************************************************************************************************************************** -/// \return The event. -//**************************************************************************************************************************************************** -SPStreamEvent newUseSslForSmtpFinishedEvent() -{ - auto event = new grpc::UseSslForSmtpFinishedEvent; - auto mailSettingsEvent = new grpc::MailSettingsEvent; - mailSettingsEvent->set_allocated_usesslforsmtpfinished(event); - return wrapMailSettingsEvent(mailSettingsEvent); -} - - -//**************************************************************************************************************************************************** -/// \return The event. -//**************************************************************************************************************************************************** -SPStreamEvent newChangePortsFinishedEvent() -{ - auto event = new grpc::ChangePortsFinishedEvent; - auto mailSettingsEvent = new grpc::MailSettingsEvent; - mailSettingsEvent->set_allocated_changeportsfinished(event); - return wrapMailSettingsEvent(mailSettingsEvent); + auto event = new grpc::ChangeMailServerSettingsFinishedEvent; + auto mailServerSettingsEvent = new grpc::MailServerSettingsEvent; + mailServerSettingsEvent->set_allocated_changemailserversettingsfinished(event); + return wrapMailServerSettingsEvent(mailServerSettingsEvent); } diff --git a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/EventFactory.h b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/EventFactory.h index 3b390b44..4605affb 100644 --- a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/EventFactory.h +++ b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/EventFactory.h @@ -59,10 +59,9 @@ SPStreamEvent newDiskCachePathChangedEvent(QString const &path); ///< Create a n SPStreamEvent newDiskCachePathChangeFinishedEvent(); ///< Create a new DiskCachePathChangeFinishedEvent event. // Mail settings related events -SPStreamEvent newMailSettingsErrorEvent(grpc::MailSettingsErrorType errorType); ///< Create a new MailSettingsErrorEvent event. -SPStreamEvent newUseSslForImapFinishedEvent(); ///< Create a new UseSslForImapFinishedEvent event. -SPStreamEvent newUseSslForSmtpFinishedEvent(); ///< Create a new UseSslForSmtpFinishedEvent event. -SPStreamEvent newChangePortsFinishedEvent(); ///< Create a new ChangePortsFinishedEvent event. +SPStreamEvent newMailServerSettingsErrorEvent(grpc::MailServerSettingsErrorType errorType); ///< Create a new MailSettingsErrorEvent event. +SPStreamEvent newMailServerSettingsChanged(grpc::ImapSmtpSettings settings); ///< Create a new ConnectionModeChanged event. +SPStreamEvent newChangeMailServerSettingsFinished(); ///< Create a new ChangeMailServerSettingsFinished event. // keychain related events SPStreamEvent newChangeKeychainFinishedEvent(); ///< Create a new ChangeKeychainFinishedEvent event. diff --git a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/GRPCClient.cpp b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/GRPCClient.cpp index a7a0ba18..a8a719ac 100644 --- a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/GRPCClient.cpp +++ b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/GRPCClient.cpp @@ -338,56 +338,39 @@ grpc::Status GRPCClient::reportBug(QString const &description, QString const &ad //**************************************************************************************************************************************************** -/// \param[out] outUseSSL The value for the property. +/// \param[out] outIMAPPort The IMAP port. +/// \param[out] outSMTPPort The SMTP port. +/// \param[out] outUseSSLForIMAP The IMAP connection mode. +/// \param[out] outUseSSLForSMTP The SMTP connection mode. /// \return The status for the gRPC call. //**************************************************************************************************************************************************** -grpc::Status GRPCClient::useSSLForSMTP(bool &outUseSSL) +grpc::Status GRPCClient::mailServerSettings(qint32 &outIMAPPort, qint32 &outSMTPPort, bool &outUseSSLForIMAP, bool &outUseSSLForSMTP) { - return this->logGRPCCallStatus(this->getBool(&Bridge::Stub::UseSslForSmtp, outUseSSL), __FUNCTION__); + ImapSmtpSettings settings; + Status status = this->logGRPCCallStatus(stub_->MailServerSettings(this->clientContext().get(), empty, &settings), __FUNCTION__); + if (status.ok()) { + outIMAPPort = settings.imapport(); + outSMTPPort = settings.smtpport(); + outUseSSLForIMAP = settings.usesslforimap(); + outUseSSLForSMTP = settings.usesslforsmtp(); + } + return status; } //**************************************************************************************************************************************************** -/// \param[in] useSSL The new value for the property. +/// \param[in] useSSLForIMAP The IMAP connection mode. +/// \param[in] useSSLForSMTP The SMTP connection mode. /// \return The status for the gRPC call. //**************************************************************************************************************************************************** -grpc::Status GRPCClient::setUseSSLForSMTP(bool useSSL) +grpc::Status GRPCClient::setMailServerSettings(qint32 imapPort, qint32 smtpPort, bool useSSLForIMAP, bool useSSLForSMTP) { - return this->logGRPCCallStatus(this->setBool(&Bridge::Stub::SetUseSslForSmtp, useSSL), __FUNCTION__); -} - - -//**************************************************************************************************************************************************** -/// \param[out] outPort The port. -/// \return The status for the gRPC call. -//**************************************************************************************************************************************************** -grpc::Status GRPCClient::portIMAP(int &outPort) -{ - return this->logGRPCCallStatus(this->getInt32(&Bridge::Stub::ImapPort, outPort), __FUNCTION__); -} - - -//**************************************************************************************************************************************************** -/// \param[out] outPort The port. -/// \return The status for the gRPC call. -//**************************************************************************************************************************************************** -grpc::Status GRPCClient::portSMTP(int &outPort) -{ - return this->logGRPCCallStatus(this->getInt32(&Bridge::Stub::SmtpPort, outPort), __FUNCTION__); -} - - -//**************************************************************************************************************************************************** -/// \param[in] portIMAP The IMAP port. -/// \param[in] portSMTP The SMTP port. -/// \return The status for the gRPC call. -//**************************************************************************************************************************************************** -grpc::Status GRPCClient::changePorts(int portIMAP, int portSMTP) -{ - ChangePortsRequest request; - request.set_imapport(portIMAP); - request.set_smtpport(portSMTP); - return this->logGRPCCallStatus(stub_->ChangePorts(this->clientContext().get(), request, &empty), __FUNCTION__); + ImapSmtpSettings settings; + settings.set_imapport(imapPort); + settings.set_smtpport(smtpPort); + settings.set_usesslforimap(useSSLForIMAP); + settings.set_usesslforsmtp(useSSLForSMTP); + return this->logGRPCCallStatus(stub_->SetMailServerSettings(this->clientContext().get(), settings, &empty), __FUNCTION__); } @@ -411,26 +394,6 @@ grpc::Status GRPCClient::setIsDoHEnabled(bool enabled) } -//**************************************************************************************************************************************************** -/// \param[out] outUseSSL The value for the property. -/// \return The status for the gRPC call. -//**************************************************************************************************************************************************** -grpc::Status GRPCClient::useSSLForIMAP(bool &outUseSSL) -{ - return this->logGRPCCallStatus(this->getBool(&Bridge::Stub::UseSslForImap, outUseSSL), __FUNCTION__); -} - - -//**************************************************************************************************************************************************** -/// \param[in] useSSL The new value for the property. -/// \return The status for the gRPC call. -//**************************************************************************************************************************************************** -grpc::Status GRPCClient::setUseSSLForIMAP(bool useSSL) -{ - return this->logGRPCCallStatus(this->setBool(&Bridge::Stub::SetUseSslForImap, useSSL), __FUNCTION__); -} - - //**************************************************************************************************************************************************** /// \return The status for the gRPC call. //**************************************************************************************************************************************************** @@ -875,8 +838,8 @@ grpc::Status GRPCClient::runEventStreamReader() case grpc::StreamEvent::kCache: this->processCacheEvent(event.cache()); break; - case grpc::StreamEvent::kMailSettings: - this->processMailSettingsEvent(event.mailsettings()); + case grpc::StreamEvent::kMailServerSettings: + this->processMailServerSettingsEvent(event.mailserversettings()); break; case grpc::StreamEvent::kKeychain: this->processKeychainEvent(event.keychain()); @@ -1347,39 +1310,50 @@ void GRPCClient::processCacheEvent(DiskCacheEvent const &event) //**************************************************************************************************************************************************** /// \param[in] event The event. //**************************************************************************************************************************************************** -void GRPCClient::processMailSettingsEvent(MailSettingsEvent const &event) +void GRPCClient::processMailServerSettingsEvent(MailServerSettingsEvent const &event) { switch (event.event_case()) { - case MailSettingsEvent::kError: - this->logTrace("MailSettings event received: Error."); + case MailServerSettingsEvent::kError: + this->logTrace(QString("MailServerSettings event received: Error %1").arg(qint32(event.error().type()))); switch (event.error().type()) { - case IMAP_PORT_ISSUE: - emit portIssueIMAP(); - break; - case SMTP_PORT_ISSUE: - emit portIssueSMTP(); - break; + case grpc::IMAP_PORT_STARTUP_ERROR: + emit imapPortStartupError(); + return; + case grpc::SMTP_PORT_STARTUP_ERROR: + emit smtpPortStartupError(); + return; + case IMAP_PORT_CHANGE_ERROR: + emit imapPortChangeError(); + return; + case SMTP_PORT_CHANGE_ERROR: + emit smtpPortChangeError(); + return; + case IMAP_CONNECTION_MODE_CHANGE_ERROR: + emit imapConnectionModeChangeError(); + return; + case SMTP_CONNECTION_MODE_CHANGE_ERROR: + emit smtpConnectionModeChangeError(); + return; default: this->logError("Unknown mail settings error event received."); - break; + return; } - - case MailSettingsEvent::kUseSslForSmtpFinished: - this->logTrace("MailSettings event received: UseSslForSmtpFinished."); - emit toggleUseSSLFinished(); - break; - case MailSettingsEvent::kUseSslForImapFinished: - this->logTrace("MailSettings event received: UseSslForImapFinished."); - emit toggleUseSSLFinished(); - break; - case MailSettingsEvent::kChangePortsFinished: - this->logTrace("MailSettings event received: ChangePortsFinished."); - emit changePortFinished(); - break; + case MailServerSettingsEvent::kMailServerSettingsChanged: + { + this->logTrace("MailServerSettings event received: MailServerSettingsChanged."); + ImapSmtpSettings const settings = event.mailserversettingschanged().settings(); + emit mailServerSettingsChanged(settings.imapport(), settings.smtpport(), settings.usesslforimap(), settings.usesslforsmtp()); + return; + } + case MailServerSettingsEvent::kChangeMailServerSettingsFinished: + this->logTrace("MailServerSettings event received: ChangeMailServerSettingsFinished."); + emit changeMailServerSettingsFinished(); + return; default: - this->logError("Unknown MailSettings event received."); + this->logError("Unknown MailServerSettings event received."); + return; } } diff --git a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/GRPCClient.h b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/GRPCClient.h index f551300a..4a24bd05 100644 --- a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/GRPCClient.h +++ b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/GRPCClient.h @@ -116,21 +116,20 @@ signals: // mail settings related calls public: - grpc::Status useSSLForSMTP(bool &outUseSSL); ///< Performs the 'useSSLForSMTP' gRPC call - grpc::Status setUseSSLForSMTP(bool useSSL); ///< Performs the 'currentEmailClient' gRPC call. - grpc::Status portIMAP(int &outPort); ///< Performs the 'portImap' gRPC call. - grpc::Status portSMTP(int &outPort); ///< Performs the 'portImap' gRPC call. - grpc::Status changePorts(int portIMAP, int portSMTP); ///< Performs the 'changePorts' gRPC call. + grpc::Status mailServerSettings(qint32 &outIMAPPort, qint32 &outSMTPPort, bool &outUseSSLForIMAP, bool &outUseSSLForSMTP); ///< Performs the 'MailServerSettings' gRPC call. + grpc::Status setMailServerSettings(qint32 imapPort, qint32 smtpPort, bool useSSLForIMAP, bool useSSLForSMTP); ///< Performs the 'SetMailServerSettings' gRPC call. grpc::Status isDoHEnabled(bool &outEnabled); ///< Performs the 'isDoHEnabled' gRPC call. grpc::Status setIsDoHEnabled(bool enabled); ///< Performs the 'setIsDoHEnabled' gRPC call. - grpc::Status useSSLForIMAP(bool &outUseSSL); ///< Performs the 'useSSLForSMTP' gRPC call - grpc::Status setUseSSLForIMAP(bool useSSL); ///< Performs the 'currentEmailClient' gRPC call. signals: - void portIssueIMAP(); - void portIssueSMTP(); - void toggleUseSSLFinished(); - void changePortFinished(); + void imapPortStartupError(); + void smtpPortStartupError(); + void imapPortChangeError(); + void smtpPortChangeError(); + void imapConnectionModeChangeError(); + void smtpConnectionModeChangeError(); + void mailServerSettingsChanged(qint32 imapPort, qint32 smtpPort, bool useSSLForIMAP, bool useSSLForSMTP); + void changeMailServerSettingsFinished(); public: // login related calls grpc::Status login(QString const &username, QString const &password); ///< Performs the 'login' call. @@ -228,7 +227,7 @@ private: void processLoginEvent(grpc::LoginEvent const &event); ///< Process a 'Login' event. void processUpdateEvent(grpc::UpdateEvent const &event); ///< Process an 'Update' event. void processCacheEvent(grpc::DiskCacheEvent const &event); ///< Process a 'Cache' event. - void processMailSettingsEvent(grpc::MailSettingsEvent const &event); ///< Process a 'MailSettings' event. + void processMailServerSettingsEvent(grpc::MailServerSettingsEvent 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. void processUserEvent(grpc::UserEvent const &event); ///< Process a 'User' 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 8ac031af..76de4537 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 @@ -62,14 +62,9 @@ static const char* Bridge_method_names[] = { "/grpc.Bridge/SetDiskCachePath", "/grpc.Bridge/SetIsDoHEnabled", "/grpc.Bridge/IsDoHEnabled", - "/grpc.Bridge/SetUseSslForSmtp", - "/grpc.Bridge/UseSslForSmtp", - "/grpc.Bridge/SetUseSslForImap", - "/grpc.Bridge/UseSslForImap", + "/grpc.Bridge/MailServerSettings", + "/grpc.Bridge/SetMailServerSettings", "/grpc.Bridge/Hostname", - "/grpc.Bridge/ImapPort", - "/grpc.Bridge/SmtpPort", - "/grpc.Bridge/ChangePorts", "/grpc.Bridge/IsPortFree", "/grpc.Bridge/AvailableKeychains", "/grpc.Bridge/SetCurrentKeychain", @@ -131,26 +126,21 @@ Bridge::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, co , 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) - , rpcmethod_UseSslForSmtp_(Bridge_method_names[41], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_SetUseSslForImap_(Bridge_method_names[42], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_UseSslForImap_(Bridge_method_names[43], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_Hostname_(Bridge_method_names[44], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ImapPort_(Bridge_method_names[45], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_SmtpPort_(Bridge_method_names[46], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ChangePorts_(Bridge_method_names[47], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_IsPortFree_(Bridge_method_names[48], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_AvailableKeychains_(Bridge_method_names[49], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_SetCurrentKeychain_(Bridge_method_names[50], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CurrentKeychain_(Bridge_method_names[51], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetUserList_(Bridge_method_names[52], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetUser_(Bridge_method_names[53], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_SetUserSplitMode_(Bridge_method_names[54], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_LogoutUser_(Bridge_method_names[55], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_RemoveUser_(Bridge_method_names[56], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ConfigureUserAppleMail_(Bridge_method_names[57], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_RunEventStream_(Bridge_method_names[58], options.suffix_for_stats(),::grpc::internal::RpcMethod::SERVER_STREAMING, channel) - , rpcmethod_StopEventStream_(Bridge_method_names[59], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_MailServerSettings_(Bridge_method_names[40], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_SetMailServerSettings_(Bridge_method_names[41], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_Hostname_(Bridge_method_names[42], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_IsPortFree_(Bridge_method_names[43], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_AvailableKeychains_(Bridge_method_names[44], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_SetCurrentKeychain_(Bridge_method_names[45], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_CurrentKeychain_(Bridge_method_names[46], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetUserList_(Bridge_method_names[47], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetUser_(Bridge_method_names[48], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_SetUserSplitMode_(Bridge_method_names[49], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_LogoutUser_(Bridge_method_names[50], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_RemoveUser_(Bridge_method_names[51], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ConfigureUserAppleMail_(Bridge_method_names[52], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_RunEventStream_(Bridge_method_names[53], options.suffix_for_stats(),::grpc::internal::RpcMethod::SERVER_STREAMING, channel) + , rpcmethod_StopEventStream_(Bridge_method_names[54], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) {} ::grpc::Status Bridge::Stub::CheckTokens(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::google::protobuf::StringValue* response) { @@ -1073,94 +1063,48 @@ void Bridge::Stub::async::IsDoHEnabled(::grpc::ClientContext* context, const ::g return result; } -::grpc::Status Bridge::Stub::SetUseSslForSmtp(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::google::protobuf::Empty* response) { - return ::grpc::internal::BlockingUnaryCall< ::google::protobuf::BoolValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_SetUseSslForSmtp_, context, request, response); +::grpc::Status Bridge::Stub::MailServerSettings(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::ImapSmtpSettings* response) { + return ::grpc::internal::BlockingUnaryCall< ::google::protobuf::Empty, ::grpc::ImapSmtpSettings, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_MailServerSettings_, context, request, response); } -void Bridge::Stub::async::SetUseSslForSmtp(::grpc::ClientContext* context, const ::google::protobuf::BoolValue* request, ::google::protobuf::Empty* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::google::protobuf::BoolValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_SetUseSslForSmtp_, context, request, response, std::move(f)); +void Bridge::Stub::async::MailServerSettings(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::grpc::ImapSmtpSettings* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::google::protobuf::Empty, ::grpc::ImapSmtpSettings, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_MailServerSettings_, context, request, response, std::move(f)); } -void Bridge::Stub::async::SetUseSslForSmtp(::grpc::ClientContext* context, const ::google::protobuf::BoolValue* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_SetUseSslForSmtp_, context, request, response, reactor); +void Bridge::Stub::async::MailServerSettings(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::grpc::ImapSmtpSettings* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_MailServerSettings_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* Bridge::Stub::PrepareAsyncSetUseSslForSmtpRaw(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::google::protobuf::Empty, ::google::protobuf::BoolValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_SetUseSslForSmtp_, context, request); +::grpc::ClientAsyncResponseReader< ::grpc::ImapSmtpSettings>* Bridge::Stub::PrepareAsyncMailServerSettingsRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::grpc::ImapSmtpSettings, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_MailServerSettings_, context, request); } -::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* Bridge::Stub::AsyncSetUseSslForSmtpRaw(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::grpc::CompletionQueue* cq) { +::grpc::ClientAsyncResponseReader< ::grpc::ImapSmtpSettings>* Bridge::Stub::AsyncMailServerSettingsRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { auto* result = - this->PrepareAsyncSetUseSslForSmtpRaw(context, request, cq); + this->PrepareAsyncMailServerSettingsRaw(context, request, cq); result->StartCall(); return result; } -::grpc::Status Bridge::Stub::UseSslForSmtp(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::google::protobuf::BoolValue* response) { - return ::grpc::internal::BlockingUnaryCall< ::google::protobuf::Empty, ::google::protobuf::BoolValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_UseSslForSmtp_, context, request, response); +::grpc::Status Bridge::Stub::SetMailServerSettings(::grpc::ClientContext* context, const ::grpc::ImapSmtpSettings& request, ::google::protobuf::Empty* response) { + return ::grpc::internal::BlockingUnaryCall< ::grpc::ImapSmtpSettings, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_SetMailServerSettings_, context, request, response); } -void Bridge::Stub::async::UseSslForSmtp(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::google::protobuf::Empty, ::google::protobuf::BoolValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_UseSslForSmtp_, context, request, response, std::move(f)); +void Bridge::Stub::async::SetMailServerSettings(::grpc::ClientContext* context, const ::grpc::ImapSmtpSettings* request, ::google::protobuf::Empty* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::grpc::ImapSmtpSettings, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_SetMailServerSettings_, context, request, response, std::move(f)); } -void Bridge::Stub::async::UseSslForSmtp(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_UseSslForSmtp_, context, request, response, reactor); +void Bridge::Stub::async::SetMailServerSettings(::grpc::ClientContext* context, const ::grpc::ImapSmtpSettings* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_SetMailServerSettings_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>* Bridge::Stub::PrepareAsyncUseSslForSmtpRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::google::protobuf::BoolValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_UseSslForSmtp_, context, request); +::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* Bridge::Stub::PrepareAsyncSetMailServerSettingsRaw(::grpc::ClientContext* context, const ::grpc::ImapSmtpSettings& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::google::protobuf::Empty, ::grpc::ImapSmtpSettings, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_SetMailServerSettings_, context, request); } -::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>* Bridge::Stub::AsyncUseSslForSmtpRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { +::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* Bridge::Stub::AsyncSetMailServerSettingsRaw(::grpc::ClientContext* context, const ::grpc::ImapSmtpSettings& request, ::grpc::CompletionQueue* cq) { auto* result = - this->PrepareAsyncUseSslForSmtpRaw(context, request, cq); - result->StartCall(); - return result; -} - -::grpc::Status Bridge::Stub::SetUseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::google::protobuf::Empty* response) { - return ::grpc::internal::BlockingUnaryCall< ::google::protobuf::BoolValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_SetUseSslForImap_, context, request, response); -} - -void Bridge::Stub::async::SetUseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::BoolValue* request, ::google::protobuf::Empty* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::google::protobuf::BoolValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_SetUseSslForImap_, context, request, response, std::move(f)); -} - -void Bridge::Stub::async::SetUseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::BoolValue* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_SetUseSslForImap_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* Bridge::Stub::PrepareAsyncSetUseSslForImapRaw(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::google::protobuf::Empty, ::google::protobuf::BoolValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_SetUseSslForImap_, context, request); -} - -::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* Bridge::Stub::AsyncSetUseSslForImapRaw(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::grpc::CompletionQueue* cq) { - auto* result = - this->PrepareAsyncSetUseSslForImapRaw(context, request, cq); - result->StartCall(); - return result; -} - -::grpc::Status Bridge::Stub::UseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::google::protobuf::BoolValue* response) { - return ::grpc::internal::BlockingUnaryCall< ::google::protobuf::Empty, ::google::protobuf::BoolValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_UseSslForImap_, context, request, response); -} - -void Bridge::Stub::async::UseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::google::protobuf::Empty, ::google::protobuf::BoolValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_UseSslForImap_, context, request, response, std::move(f)); -} - -void Bridge::Stub::async::UseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_UseSslForImap_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>* Bridge::Stub::PrepareAsyncUseSslForImapRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::google::protobuf::BoolValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_UseSslForImap_, context, request); -} - -::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>* Bridge::Stub::AsyncUseSslForImapRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { - auto* result = - this->PrepareAsyncUseSslForImapRaw(context, request, cq); + this->PrepareAsyncSetMailServerSettingsRaw(context, request, cq); result->StartCall(); return result; } @@ -1188,75 +1132,6 @@ void Bridge::Stub::async::Hostname(::grpc::ClientContext* context, const ::googl return result; } -::grpc::Status Bridge::Stub::ImapPort(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::google::protobuf::Int32Value* response) { - return ::grpc::internal::BlockingUnaryCall< ::google::protobuf::Empty, ::google::protobuf::Int32Value, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_ImapPort_, context, request, response); -} - -void Bridge::Stub::async::ImapPort(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Int32Value* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::google::protobuf::Empty, ::google::protobuf::Int32Value, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_ImapPort_, context, request, response, std::move(f)); -} - -void Bridge::Stub::async::ImapPort(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Int32Value* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_ImapPort_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::google::protobuf::Int32Value>* Bridge::Stub::PrepareAsyncImapPortRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::google::protobuf::Int32Value, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_ImapPort_, context, request); -} - -::grpc::ClientAsyncResponseReader< ::google::protobuf::Int32Value>* Bridge::Stub::AsyncImapPortRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { - auto* result = - this->PrepareAsyncImapPortRaw(context, request, cq); - result->StartCall(); - return result; -} - -::grpc::Status Bridge::Stub::SmtpPort(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::google::protobuf::Int32Value* response) { - return ::grpc::internal::BlockingUnaryCall< ::google::protobuf::Empty, ::google::protobuf::Int32Value, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_SmtpPort_, context, request, response); -} - -void Bridge::Stub::async::SmtpPort(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Int32Value* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::google::protobuf::Empty, ::google::protobuf::Int32Value, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_SmtpPort_, context, request, response, std::move(f)); -} - -void Bridge::Stub::async::SmtpPort(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Int32Value* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_SmtpPort_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::google::protobuf::Int32Value>* Bridge::Stub::PrepareAsyncSmtpPortRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::google::protobuf::Int32Value, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_SmtpPort_, context, request); -} - -::grpc::ClientAsyncResponseReader< ::google::protobuf::Int32Value>* Bridge::Stub::AsyncSmtpPortRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { - auto* result = - this->PrepareAsyncSmtpPortRaw(context, request, cq); - result->StartCall(); - return result; -} - -::grpc::Status Bridge::Stub::ChangePorts(::grpc::ClientContext* context, const ::grpc::ChangePortsRequest& request, ::google::protobuf::Empty* response) { - return ::grpc::internal::BlockingUnaryCall< ::grpc::ChangePortsRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_ChangePorts_, context, request, response); -} - -void Bridge::Stub::async::ChangePorts(::grpc::ClientContext* context, const ::grpc::ChangePortsRequest* request, ::google::protobuf::Empty* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::grpc::ChangePortsRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_ChangePorts_, context, request, response, std::move(f)); -} - -void Bridge::Stub::async::ChangePorts(::grpc::ClientContext* context, const ::grpc::ChangePortsRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_ChangePorts_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* Bridge::Stub::PrepareAsyncChangePortsRaw(::grpc::ClientContext* context, const ::grpc::ChangePortsRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::google::protobuf::Empty, ::grpc::ChangePortsRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_ChangePorts_, context, request); -} - -::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* Bridge::Stub::AsyncChangePortsRaw(::grpc::ClientContext* context, const ::grpc::ChangePortsRequest& request, ::grpc::CompletionQueue* cq) { - auto* result = - this->PrepareAsyncChangePortsRaw(context, request, cq); - result->StartCall(); - return result; -} - ::grpc::Status Bridge::Stub::IsPortFree(::grpc::ClientContext* context, const ::google::protobuf::Int32Value& request, ::google::protobuf::BoolValue* response) { return ::grpc::internal::BlockingUnaryCall< ::google::protobuf::Int32Value, ::google::protobuf::BoolValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_IsPortFree_, context, request, response); } @@ -1930,46 +1805,26 @@ Bridge::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( Bridge_method_names[40], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::BoolValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::grpc::ImapSmtpSettings, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, ::grpc::ServerContext* ctx, - const ::google::protobuf::BoolValue* req, - ::google::protobuf::Empty* resp) { - return service->SetUseSslForSmtp(ctx, req, resp); + const ::google::protobuf::Empty* req, + ::grpc::ImapSmtpSettings* resp) { + return service->MailServerSettings(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( Bridge_method_names[41], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::google::protobuf::BoolValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::grpc::ImapSmtpSettings, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, ::grpc::ServerContext* ctx, - const ::google::protobuf::Empty* req, - ::google::protobuf::BoolValue* resp) { - return service->UseSslForSmtp(ctx, req, resp); + const ::grpc::ImapSmtpSettings* req, + ::google::protobuf::Empty* resp) { + return service->SetMailServerSettings(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( Bridge_method_names[42], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::BoolValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( - [](Bridge::Service* service, - ::grpc::ServerContext* ctx, - const ::google::protobuf::BoolValue* req, - ::google::protobuf::Empty* resp) { - return service->SetUseSslForImap(ctx, req, resp); - }, this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[43], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::google::protobuf::BoolValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( - [](Bridge::Service* service, - ::grpc::ServerContext* ctx, - const ::google::protobuf::Empty* req, - ::google::protobuf::BoolValue* resp) { - return service->UseSslForImap(ctx, req, resp); - }, this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[44], - ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::google::protobuf::StringValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, ::grpc::ServerContext* ctx, @@ -1978,37 +1833,7 @@ Bridge::Service::Service() { return service->Hostname(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[45], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::google::protobuf::Int32Value, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( - [](Bridge::Service* service, - ::grpc::ServerContext* ctx, - const ::google::protobuf::Empty* req, - ::google::protobuf::Int32Value* resp) { - return service->ImapPort(ctx, req, resp); - }, this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[46], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::google::protobuf::Int32Value, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( - [](Bridge::Service* service, - ::grpc::ServerContext* ctx, - const ::google::protobuf::Empty* req, - ::google::protobuf::Int32Value* resp) { - return service->SmtpPort(ctx, req, resp); - }, this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[47], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::grpc::ChangePortsRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( - [](Bridge::Service* service, - ::grpc::ServerContext* ctx, - const ::grpc::ChangePortsRequest* req, - ::google::protobuf::Empty* resp) { - return service->ChangePorts(ctx, req, resp); - }, this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[48], + Bridge_method_names[43], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Int32Value, ::google::protobuf::BoolValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, @@ -2018,7 +1843,7 @@ Bridge::Service::Service() { return service->IsPortFree(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[49], + Bridge_method_names[44], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::grpc::AvailableKeychainsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, @@ -2028,7 +1853,7 @@ Bridge::Service::Service() { return service->AvailableKeychains(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[50], + Bridge_method_names[45], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::StringValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, @@ -2038,7 +1863,7 @@ Bridge::Service::Service() { return service->SetCurrentKeychain(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[51], + Bridge_method_names[46], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::google::protobuf::StringValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, @@ -2048,7 +1873,7 @@ Bridge::Service::Service() { return service->CurrentKeychain(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[52], + Bridge_method_names[47], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::grpc::UserListResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, @@ -2058,7 +1883,7 @@ Bridge::Service::Service() { return service->GetUserList(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[53], + Bridge_method_names[48], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::StringValue, ::grpc::User, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, @@ -2068,7 +1893,7 @@ Bridge::Service::Service() { return service->GetUser(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[54], + Bridge_method_names[49], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::grpc::UserSplitModeRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, @@ -2078,7 +1903,7 @@ Bridge::Service::Service() { return service->SetUserSplitMode(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[55], + Bridge_method_names[50], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::StringValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, @@ -2088,7 +1913,7 @@ Bridge::Service::Service() { return service->LogoutUser(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[56], + Bridge_method_names[51], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::StringValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, @@ -2098,7 +1923,7 @@ Bridge::Service::Service() { return service->RemoveUser(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[57], + Bridge_method_names[52], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::grpc::ConfigureAppleMailRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, @@ -2108,7 +1933,7 @@ Bridge::Service::Service() { return service->ConfigureUserAppleMail(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[58], + Bridge_method_names[53], ::grpc::internal::RpcMethod::SERVER_STREAMING, new ::grpc::internal::ServerStreamingHandler< Bridge::Service, ::grpc::EventStreamRequest, ::grpc::StreamEvent>( [](Bridge::Service* service, @@ -2118,7 +1943,7 @@ Bridge::Service::Service() { return service->RunEventStream(ctx, req, writer); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - Bridge_method_names[59], + Bridge_method_names[54], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](Bridge::Service* service, @@ -2412,28 +2237,14 @@ Bridge::Service::~Service() { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status Bridge::Service::SetUseSslForSmtp(::grpc::ServerContext* context, const ::google::protobuf::BoolValue* request, ::google::protobuf::Empty* response) { +::grpc::Status Bridge::Service::MailServerSettings(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::grpc::ImapSmtpSettings* response) { (void) context; (void) request; (void) response; return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status Bridge::Service::UseSslForSmtp(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status Bridge::Service::SetUseSslForImap(::grpc::ServerContext* context, const ::google::protobuf::BoolValue* request, ::google::protobuf::Empty* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status Bridge::Service::UseSslForImap(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response) { +::grpc::Status Bridge::Service::SetMailServerSettings(::grpc::ServerContext* context, const ::grpc::ImapSmtpSettings* request, ::google::protobuf::Empty* response) { (void) context; (void) request; (void) response; @@ -2447,27 +2258,6 @@ Bridge::Service::~Service() { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status Bridge::Service::ImapPort(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Int32Value* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status Bridge::Service::SmtpPort(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Int32Value* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status Bridge::Service::ChangePorts(::grpc::ServerContext* context, const ::grpc::ChangePortsRequest* request, ::google::protobuf::Empty* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - ::grpc::Status Bridge::Service::IsPortFree(::grpc::ServerContext* context, const ::google::protobuf::Int32Value* request, ::google::protobuf::BoolValue* response) { (void) context; (void) request; diff --git a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/bridge.grpc.pb.h b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/bridge.grpc.pb.h index 1f19a16a..a5b7fccc 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 @@ -342,33 +342,19 @@ class Bridge final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::BoolValue>> PrepareAsyncIsDoHEnabled(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::BoolValue>>(PrepareAsyncIsDoHEnabledRaw(context, request, cq)); } - virtual ::grpc::Status SetUseSslForSmtp(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::google::protobuf::Empty* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> AsyncSetUseSslForSmtp(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(AsyncSetUseSslForSmtpRaw(context, request, cq)); + virtual ::grpc::Status MailServerSettings(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::ImapSmtpSettings* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::grpc::ImapSmtpSettings>> AsyncMailServerSettings(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::grpc::ImapSmtpSettings>>(AsyncMailServerSettingsRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> PrepareAsyncSetUseSslForSmtp(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(PrepareAsyncSetUseSslForSmtpRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::grpc::ImapSmtpSettings>> PrepareAsyncMailServerSettings(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::grpc::ImapSmtpSettings>>(PrepareAsyncMailServerSettingsRaw(context, request, cq)); } - virtual ::grpc::Status UseSslForSmtp(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::google::protobuf::BoolValue* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::BoolValue>> AsyncUseSslForSmtp(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::BoolValue>>(AsyncUseSslForSmtpRaw(context, request, cq)); + virtual ::grpc::Status SetMailServerSettings(::grpc::ClientContext* context, const ::grpc::ImapSmtpSettings& request, ::google::protobuf::Empty* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> AsyncSetMailServerSettings(::grpc::ClientContext* context, const ::grpc::ImapSmtpSettings& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(AsyncSetMailServerSettingsRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::BoolValue>> PrepareAsyncUseSslForSmtp(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::BoolValue>>(PrepareAsyncUseSslForSmtpRaw(context, request, cq)); - } - virtual ::grpc::Status SetUseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::google::protobuf::Empty* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> AsyncSetUseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(AsyncSetUseSslForImapRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> PrepareAsyncSetUseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(PrepareAsyncSetUseSslForImapRaw(context, request, cq)); - } - virtual ::grpc::Status UseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::google::protobuf::BoolValue* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::BoolValue>> AsyncUseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::BoolValue>>(AsyncUseSslForImapRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::BoolValue>> PrepareAsyncUseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::BoolValue>>(PrepareAsyncUseSslForImapRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> PrepareAsyncSetMailServerSettings(::grpc::ClientContext* context, const ::grpc::ImapSmtpSettings& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(PrepareAsyncSetMailServerSettingsRaw(context, request, cq)); } virtual ::grpc::Status Hostname(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::google::protobuf::StringValue* response) = 0; std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::StringValue>> AsyncHostname(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { @@ -377,27 +363,6 @@ class Bridge final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::StringValue>> PrepareAsyncHostname(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::StringValue>>(PrepareAsyncHostnameRaw(context, request, cq)); } - virtual ::grpc::Status ImapPort(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::google::protobuf::Int32Value* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Int32Value>> AsyncImapPort(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Int32Value>>(AsyncImapPortRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Int32Value>> PrepareAsyncImapPort(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Int32Value>>(PrepareAsyncImapPortRaw(context, request, cq)); - } - virtual ::grpc::Status SmtpPort(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::google::protobuf::Int32Value* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Int32Value>> AsyncSmtpPort(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Int32Value>>(AsyncSmtpPortRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Int32Value>> PrepareAsyncSmtpPort(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Int32Value>>(PrepareAsyncSmtpPortRaw(context, request, cq)); - } - virtual ::grpc::Status ChangePorts(::grpc::ClientContext* context, const ::grpc::ChangePortsRequest& request, ::google::protobuf::Empty* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> AsyncChangePorts(::grpc::ClientContext* context, const ::grpc::ChangePortsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(AsyncChangePortsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> PrepareAsyncChangePorts(::grpc::ClientContext* context, const ::grpc::ChangePortsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(PrepareAsyncChangePortsRaw(context, request, cq)); - } virtual ::grpc::Status IsPortFree(::grpc::ClientContext* context, const ::google::protobuf::Int32Value& request, ::google::protobuf::BoolValue* response) = 0; std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::BoolValue>> AsyncIsPortFree(::grpc::ClientContext* context, const ::google::protobuf::Int32Value& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::BoolValue>>(AsyncIsPortFreeRaw(context, request, cq)); @@ -577,22 +542,12 @@ class Bridge final { virtual void SetIsDoHEnabled(::grpc::ClientContext* context, const ::google::protobuf::BoolValue* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) = 0; virtual void IsDoHEnabled(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response, std::function) = 0; virtual void IsDoHEnabled(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void SetUseSslForSmtp(::grpc::ClientContext* context, const ::google::protobuf::BoolValue* request, ::google::protobuf::Empty* response, std::function) = 0; - virtual void SetUseSslForSmtp(::grpc::ClientContext* context, const ::google::protobuf::BoolValue* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void UseSslForSmtp(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response, std::function) = 0; - virtual void UseSslForSmtp(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void SetUseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::BoolValue* request, ::google::protobuf::Empty* response, std::function) = 0; - virtual void SetUseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::BoolValue* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void UseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response, std::function) = 0; - virtual void UseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void MailServerSettings(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::grpc::ImapSmtpSettings* response, std::function) = 0; + virtual void MailServerSettings(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::grpc::ImapSmtpSettings* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void SetMailServerSettings(::grpc::ClientContext* context, const ::grpc::ImapSmtpSettings* request, ::google::protobuf::Empty* response, std::function) = 0; + virtual void SetMailServerSettings(::grpc::ClientContext* context, const ::grpc::ImapSmtpSettings* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) = 0; virtual void Hostname(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::StringValue* response, std::function) = 0; virtual void Hostname(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::StringValue* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void ImapPort(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Int32Value* response, std::function) = 0; - virtual void ImapPort(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Int32Value* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void SmtpPort(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Int32Value* response, std::function) = 0; - virtual void SmtpPort(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Int32Value* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void ChangePorts(::grpc::ClientContext* context, const ::grpc::ChangePortsRequest* request, ::google::protobuf::Empty* response, std::function) = 0; - virtual void ChangePorts(::grpc::ClientContext* context, const ::grpc::ChangePortsRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) = 0; virtual void IsPortFree(::grpc::ClientContext* context, const ::google::protobuf::Int32Value* request, ::google::protobuf::BoolValue* response, std::function) = 0; virtual void IsPortFree(::grpc::ClientContext* context, const ::google::protobuf::Int32Value* request, ::google::protobuf::BoolValue* response, ::grpc::ClientUnaryReactor* reactor) = 0; // keychain @@ -705,22 +660,12 @@ class Bridge final { 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; virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::BoolValue>* PrepareAsyncIsDoHEnabledRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncSetUseSslForSmtpRaw(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* PrepareAsyncSetUseSslForSmtpRaw(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::BoolValue>* AsyncUseSslForSmtpRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::BoolValue>* PrepareAsyncUseSslForSmtpRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncSetUseSslForImapRaw(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* PrepareAsyncSetUseSslForImapRaw(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::BoolValue>* AsyncUseSslForImapRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::BoolValue>* PrepareAsyncUseSslForImapRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::grpc::ImapSmtpSettings>* AsyncMailServerSettingsRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::grpc::ImapSmtpSettings>* PrepareAsyncMailServerSettingsRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncSetMailServerSettingsRaw(::grpc::ClientContext* context, const ::grpc::ImapSmtpSettings& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* PrepareAsyncSetMailServerSettingsRaw(::grpc::ClientContext* context, const ::grpc::ImapSmtpSettings& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::StringValue>* AsyncHostnameRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::StringValue>* PrepareAsyncHostnameRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Int32Value>* AsyncImapPortRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Int32Value>* PrepareAsyncImapPortRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Int32Value>* AsyncSmtpPortRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Int32Value>* PrepareAsyncSmtpPortRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncChangePortsRaw(::grpc::ClientContext* context, const ::grpc::ChangePortsRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* PrepareAsyncChangePortsRaw(::grpc::ClientContext* context, const ::grpc::ChangePortsRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::BoolValue>* AsyncIsPortFreeRaw(::grpc::ClientContext* context, const ::google::protobuf::Int32Value& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::BoolValue>* PrepareAsyncIsPortFreeRaw(::grpc::ClientContext* context, const ::google::protobuf::Int32Value& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::grpc::AvailableKeychainsResponse>* AsyncAvailableKeychainsRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) = 0; @@ -1030,33 +975,19 @@ class Bridge final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>> PrepareAsyncIsDoHEnabled(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>>(PrepareAsyncIsDoHEnabledRaw(context, request, cq)); } - ::grpc::Status SetUseSslForSmtp(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::google::protobuf::Empty* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> AsyncSetUseSslForSmtp(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(AsyncSetUseSslForSmtpRaw(context, request, cq)); + ::grpc::Status MailServerSettings(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::ImapSmtpSettings* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::grpc::ImapSmtpSettings>> AsyncMailServerSettings(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::grpc::ImapSmtpSettings>>(AsyncMailServerSettingsRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> PrepareAsyncSetUseSslForSmtp(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(PrepareAsyncSetUseSslForSmtpRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::grpc::ImapSmtpSettings>> PrepareAsyncMailServerSettings(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::grpc::ImapSmtpSettings>>(PrepareAsyncMailServerSettingsRaw(context, request, cq)); } - ::grpc::Status UseSslForSmtp(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::google::protobuf::BoolValue* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>> AsyncUseSslForSmtp(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>>(AsyncUseSslForSmtpRaw(context, request, cq)); + ::grpc::Status SetMailServerSettings(::grpc::ClientContext* context, const ::grpc::ImapSmtpSettings& request, ::google::protobuf::Empty* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> AsyncSetMailServerSettings(::grpc::ClientContext* context, const ::grpc::ImapSmtpSettings& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(AsyncSetMailServerSettingsRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>> PrepareAsyncUseSslForSmtp(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>>(PrepareAsyncUseSslForSmtpRaw(context, request, cq)); - } - ::grpc::Status SetUseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::google::protobuf::Empty* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> AsyncSetUseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(AsyncSetUseSslForImapRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> PrepareAsyncSetUseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(PrepareAsyncSetUseSslForImapRaw(context, request, cq)); - } - ::grpc::Status UseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::google::protobuf::BoolValue* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>> AsyncUseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>>(AsyncUseSslForImapRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>> PrepareAsyncUseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>>(PrepareAsyncUseSslForImapRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> PrepareAsyncSetMailServerSettings(::grpc::ClientContext* context, const ::grpc::ImapSmtpSettings& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(PrepareAsyncSetMailServerSettingsRaw(context, request, cq)); } ::grpc::Status Hostname(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::google::protobuf::StringValue* response) override; std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::StringValue>> AsyncHostname(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { @@ -1065,27 +996,6 @@ class Bridge final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::StringValue>> PrepareAsyncHostname(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::StringValue>>(PrepareAsyncHostnameRaw(context, request, cq)); } - ::grpc::Status ImapPort(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::google::protobuf::Int32Value* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Int32Value>> AsyncImapPort(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Int32Value>>(AsyncImapPortRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Int32Value>> PrepareAsyncImapPort(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Int32Value>>(PrepareAsyncImapPortRaw(context, request, cq)); - } - ::grpc::Status SmtpPort(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::google::protobuf::Int32Value* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Int32Value>> AsyncSmtpPort(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Int32Value>>(AsyncSmtpPortRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Int32Value>> PrepareAsyncSmtpPort(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Int32Value>>(PrepareAsyncSmtpPortRaw(context, request, cq)); - } - ::grpc::Status ChangePorts(::grpc::ClientContext* context, const ::grpc::ChangePortsRequest& request, ::google::protobuf::Empty* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> AsyncChangePorts(::grpc::ClientContext* context, const ::grpc::ChangePortsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(AsyncChangePortsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> PrepareAsyncChangePorts(::grpc::ClientContext* context, const ::grpc::ChangePortsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(PrepareAsyncChangePortsRaw(context, request, cq)); - } ::grpc::Status IsPortFree(::grpc::ClientContext* context, const ::google::protobuf::Int32Value& request, ::google::protobuf::BoolValue* response) override; std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>> AsyncIsPortFree(::grpc::ClientContext* context, const ::google::protobuf::Int32Value& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>>(AsyncIsPortFreeRaw(context, request, cq)); @@ -1255,22 +1165,12 @@ class Bridge final { 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; void IsDoHEnabled(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response, ::grpc::ClientUnaryReactor* reactor) override; - void SetUseSslForSmtp(::grpc::ClientContext* context, const ::google::protobuf::BoolValue* request, ::google::protobuf::Empty* response, std::function) override; - void SetUseSslForSmtp(::grpc::ClientContext* context, const ::google::protobuf::BoolValue* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) override; - void UseSslForSmtp(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response, std::function) override; - void UseSslForSmtp(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response, ::grpc::ClientUnaryReactor* reactor) override; - void SetUseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::BoolValue* request, ::google::protobuf::Empty* response, std::function) override; - void SetUseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::BoolValue* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) override; - void UseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response, std::function) override; - void UseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response, ::grpc::ClientUnaryReactor* reactor) override; + void MailServerSettings(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::grpc::ImapSmtpSettings* response, std::function) override; + void MailServerSettings(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::grpc::ImapSmtpSettings* response, ::grpc::ClientUnaryReactor* reactor) override; + void SetMailServerSettings(::grpc::ClientContext* context, const ::grpc::ImapSmtpSettings* request, ::google::protobuf::Empty* response, std::function) override; + void SetMailServerSettings(::grpc::ClientContext* context, const ::grpc::ImapSmtpSettings* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) override; void Hostname(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::StringValue* response, std::function) override; void Hostname(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::StringValue* response, ::grpc::ClientUnaryReactor* reactor) override; - void ImapPort(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Int32Value* response, std::function) override; - void ImapPort(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Int32Value* response, ::grpc::ClientUnaryReactor* reactor) override; - void SmtpPort(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Int32Value* response, std::function) override; - void SmtpPort(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Int32Value* response, ::grpc::ClientUnaryReactor* reactor) override; - void ChangePorts(::grpc::ClientContext* context, const ::grpc::ChangePortsRequest* request, ::google::protobuf::Empty* response, std::function) override; - void ChangePorts(::grpc::ClientContext* context, const ::grpc::ChangePortsRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) override; void IsPortFree(::grpc::ClientContext* context, const ::google::protobuf::Int32Value* request, ::google::protobuf::BoolValue* response, std::function) override; void IsPortFree(::grpc::ClientContext* context, const ::google::protobuf::Int32Value* request, ::google::protobuf::BoolValue* response, ::grpc::ClientUnaryReactor* reactor) override; void AvailableKeychains(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::grpc::AvailableKeychainsResponse* response, std::function) override; @@ -1385,22 +1285,12 @@ class Bridge final { ::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; ::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>* PrepareAsyncIsDoHEnabledRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncSetUseSslForSmtpRaw(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* PrepareAsyncSetUseSslForSmtpRaw(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>* AsyncUseSslForSmtpRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>* PrepareAsyncUseSslForSmtpRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncSetUseSslForImapRaw(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* PrepareAsyncSetUseSslForImapRaw(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>* AsyncUseSslForImapRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>* PrepareAsyncUseSslForImapRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::grpc::ImapSmtpSettings>* AsyncMailServerSettingsRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::grpc::ImapSmtpSettings>* PrepareAsyncMailServerSettingsRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncSetMailServerSettingsRaw(::grpc::ClientContext* context, const ::grpc::ImapSmtpSettings& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* PrepareAsyncSetMailServerSettingsRaw(::grpc::ClientContext* context, const ::grpc::ImapSmtpSettings& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::google::protobuf::StringValue>* AsyncHostnameRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::google::protobuf::StringValue>* PrepareAsyncHostnameRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::google::protobuf::Int32Value>* AsyncImapPortRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::google::protobuf::Int32Value>* PrepareAsyncImapPortRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::google::protobuf::Int32Value>* AsyncSmtpPortRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::google::protobuf::Int32Value>* PrepareAsyncSmtpPortRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncChangePortsRaw(::grpc::ClientContext* context, const ::grpc::ChangePortsRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* PrepareAsyncChangePortsRaw(::grpc::ClientContext* context, const ::grpc::ChangePortsRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>* AsyncIsPortFreeRaw(::grpc::ClientContext* context, const ::google::protobuf::Int32Value& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>* PrepareAsyncIsPortFreeRaw(::grpc::ClientContext* context, const ::google::protobuf::Int32Value& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::grpc::AvailableKeychainsResponse>* AsyncAvailableKeychainsRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) override; @@ -1466,14 +1356,9 @@ class Bridge final { const ::grpc::internal::RpcMethod rpcmethod_SetDiskCachePath_; const ::grpc::internal::RpcMethod rpcmethod_SetIsDoHEnabled_; const ::grpc::internal::RpcMethod rpcmethod_IsDoHEnabled_; - const ::grpc::internal::RpcMethod rpcmethod_SetUseSslForSmtp_; - const ::grpc::internal::RpcMethod rpcmethod_UseSslForSmtp_; - const ::grpc::internal::RpcMethod rpcmethod_SetUseSslForImap_; - const ::grpc::internal::RpcMethod rpcmethod_UseSslForImap_; + const ::grpc::internal::RpcMethod rpcmethod_MailServerSettings_; + const ::grpc::internal::RpcMethod rpcmethod_SetMailServerSettings_; const ::grpc::internal::RpcMethod rpcmethod_Hostname_; - const ::grpc::internal::RpcMethod rpcmethod_ImapPort_; - const ::grpc::internal::RpcMethod rpcmethod_SmtpPort_; - const ::grpc::internal::RpcMethod rpcmethod_ChangePorts_; const ::grpc::internal::RpcMethod rpcmethod_IsPortFree_; const ::grpc::internal::RpcMethod rpcmethod_AvailableKeychains_; const ::grpc::internal::RpcMethod rpcmethod_SetCurrentKeychain_; @@ -1539,14 +1424,9 @@ class Bridge final { // 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); - virtual ::grpc::Status SetUseSslForSmtp(::grpc::ServerContext* context, const ::google::protobuf::BoolValue* request, ::google::protobuf::Empty* response); - virtual ::grpc::Status UseSslForSmtp(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response); - virtual ::grpc::Status SetUseSslForImap(::grpc::ServerContext* context, const ::google::protobuf::BoolValue* request, ::google::protobuf::Empty* response); - virtual ::grpc::Status UseSslForImap(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response); + virtual ::grpc::Status MailServerSettings(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::grpc::ImapSmtpSettings* response); + virtual ::grpc::Status SetMailServerSettings(::grpc::ServerContext* context, const ::grpc::ImapSmtpSettings* request, ::google::protobuf::Empty* response); virtual ::grpc::Status Hostname(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::StringValue* response); - virtual ::grpc::Status ImapPort(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Int32Value* response); - virtual ::grpc::Status SmtpPort(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Int32Value* response); - virtual ::grpc::Status ChangePorts(::grpc::ServerContext* context, const ::grpc::ChangePortsRequest* request, ::google::protobuf::Empty* response); virtual ::grpc::Status IsPortFree(::grpc::ServerContext* context, const ::google::protobuf::Int32Value* request, ::google::protobuf::BoolValue* response); // keychain virtual ::grpc::Status AvailableKeychains(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::grpc::AvailableKeychainsResponse* response); @@ -2365,92 +2245,52 @@ class Bridge final { } }; template - class WithAsyncMethod_SetUseSslForSmtp : public BaseClass { + class WithAsyncMethod_MailServerSettings : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithAsyncMethod_SetUseSslForSmtp() { + WithAsyncMethod_MailServerSettings() { ::grpc::Service::MarkMethodAsync(40); } - ~WithAsyncMethod_SetUseSslForSmtp() override { + ~WithAsyncMethod_MailServerSettings() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status SetUseSslForSmtp(::grpc::ServerContext* /*context*/, const ::google::protobuf::BoolValue* /*request*/, ::google::protobuf::Empty* /*response*/) override { + ::grpc::Status MailServerSettings(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::grpc::ImapSmtpSettings* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestSetUseSslForSmtp(::grpc::ServerContext* context, ::google::protobuf::BoolValue* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestMailServerSettings(::grpc::ServerContext* context, ::google::protobuf::Empty* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ImapSmtpSettings>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { ::grpc::Service::RequestAsyncUnary(40, context, request, response, new_call_cq, notification_cq, tag); } }; template - class WithAsyncMethod_UseSslForSmtp : public BaseClass { + class WithAsyncMethod_SetMailServerSettings : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithAsyncMethod_UseSslForSmtp() { + WithAsyncMethod_SetMailServerSettings() { ::grpc::Service::MarkMethodAsync(41); } - ~WithAsyncMethod_UseSslForSmtp() override { + ~WithAsyncMethod_SetMailServerSettings() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status UseSslForSmtp(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::BoolValue* /*response*/) override { + ::grpc::Status SetMailServerSettings(::grpc::ServerContext* /*context*/, const ::grpc::ImapSmtpSettings* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestUseSslForSmtp(::grpc::ServerContext* context, ::google::protobuf::Empty* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::BoolValue>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestSetMailServerSettings(::grpc::ServerContext* context, ::grpc::ImapSmtpSettings* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { ::grpc::Service::RequestAsyncUnary(41, context, request, response, new_call_cq, notification_cq, tag); } }; template - class WithAsyncMethod_SetUseSslForImap : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithAsyncMethod_SetUseSslForImap() { - ::grpc::Service::MarkMethodAsync(42); - } - ~WithAsyncMethod_SetUseSslForImap() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status SetUseSslForImap(::grpc::ServerContext* /*context*/, const ::google::protobuf::BoolValue* /*request*/, ::google::protobuf::Empty* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestSetUseSslForImap(::grpc::ServerContext* context, ::google::protobuf::BoolValue* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(42, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_UseSslForImap : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithAsyncMethod_UseSslForImap() { - ::grpc::Service::MarkMethodAsync(43); - } - ~WithAsyncMethod_UseSslForImap() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UseSslForImap(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::BoolValue* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestUseSslForImap(::grpc::ServerContext* context, ::google::protobuf::Empty* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::BoolValue>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(43, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template class WithAsyncMethod_Hostname : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_Hostname() { - ::grpc::Service::MarkMethodAsync(44); + ::grpc::Service::MarkMethodAsync(42); } ~WithAsyncMethod_Hostname() override { BaseClassMustBeDerivedFromService(this); @@ -2461,67 +2301,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestHostname(::grpc::ServerContext* context, ::google::protobuf::Empty* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::StringValue>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(44, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_ImapPort : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithAsyncMethod_ImapPort() { - ::grpc::Service::MarkMethodAsync(45); - } - ~WithAsyncMethod_ImapPort() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ImapPort(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::Int32Value* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestImapPort(::grpc::ServerContext* context, ::google::protobuf::Empty* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Int32Value>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(45, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_SmtpPort : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithAsyncMethod_SmtpPort() { - ::grpc::Service::MarkMethodAsync(46); - } - ~WithAsyncMethod_SmtpPort() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status SmtpPort(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::Int32Value* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestSmtpPort(::grpc::ServerContext* context, ::google::protobuf::Empty* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Int32Value>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(46, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_ChangePorts : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithAsyncMethod_ChangePorts() { - ::grpc::Service::MarkMethodAsync(47); - } - ~WithAsyncMethod_ChangePorts() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ChangePorts(::grpc::ServerContext* /*context*/, const ::grpc::ChangePortsRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestChangePorts(::grpc::ServerContext* context, ::grpc::ChangePortsRequest* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(47, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(42, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2530,7 +2310,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_IsPortFree() { - ::grpc::Service::MarkMethodAsync(48); + ::grpc::Service::MarkMethodAsync(43); } ~WithAsyncMethod_IsPortFree() override { BaseClassMustBeDerivedFromService(this); @@ -2541,7 +2321,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestIsPortFree(::grpc::ServerContext* context, ::google::protobuf::Int32Value* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::BoolValue>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(48, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(43, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2550,7 +2330,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_AvailableKeychains() { - ::grpc::Service::MarkMethodAsync(49); + ::grpc::Service::MarkMethodAsync(44); } ~WithAsyncMethod_AvailableKeychains() override { BaseClassMustBeDerivedFromService(this); @@ -2561,7 +2341,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestAvailableKeychains(::grpc::ServerContext* context, ::google::protobuf::Empty* request, ::grpc::ServerAsyncResponseWriter< ::grpc::AvailableKeychainsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(49, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(44, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2570,7 +2350,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_SetCurrentKeychain() { - ::grpc::Service::MarkMethodAsync(50); + ::grpc::Service::MarkMethodAsync(45); } ~WithAsyncMethod_SetCurrentKeychain() override { BaseClassMustBeDerivedFromService(this); @@ -2581,7 +2361,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestSetCurrentKeychain(::grpc::ServerContext* context, ::google::protobuf::StringValue* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(50, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(45, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2590,7 +2370,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_CurrentKeychain() { - ::grpc::Service::MarkMethodAsync(51); + ::grpc::Service::MarkMethodAsync(46); } ~WithAsyncMethod_CurrentKeychain() override { BaseClassMustBeDerivedFromService(this); @@ -2601,7 +2381,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestCurrentKeychain(::grpc::ServerContext* context, ::google::protobuf::Empty* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::StringValue>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(51, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(46, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2610,7 +2390,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_GetUserList() { - ::grpc::Service::MarkMethodAsync(52); + ::grpc::Service::MarkMethodAsync(47); } ~WithAsyncMethod_GetUserList() override { BaseClassMustBeDerivedFromService(this); @@ -2621,7 +2401,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetUserList(::grpc::ServerContext* context, ::google::protobuf::Empty* request, ::grpc::ServerAsyncResponseWriter< ::grpc::UserListResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(52, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(47, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2630,7 +2410,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_GetUser() { - ::grpc::Service::MarkMethodAsync(53); + ::grpc::Service::MarkMethodAsync(48); } ~WithAsyncMethod_GetUser() override { BaseClassMustBeDerivedFromService(this); @@ -2641,7 +2421,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetUser(::grpc::ServerContext* context, ::google::protobuf::StringValue* request, ::grpc::ServerAsyncResponseWriter< ::grpc::User>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(53, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(48, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2650,7 +2430,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_SetUserSplitMode() { - ::grpc::Service::MarkMethodAsync(54); + ::grpc::Service::MarkMethodAsync(49); } ~WithAsyncMethod_SetUserSplitMode() override { BaseClassMustBeDerivedFromService(this); @@ -2661,7 +2441,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestSetUserSplitMode(::grpc::ServerContext* context, ::grpc::UserSplitModeRequest* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(54, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(49, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2670,7 +2450,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_LogoutUser() { - ::grpc::Service::MarkMethodAsync(55); + ::grpc::Service::MarkMethodAsync(50); } ~WithAsyncMethod_LogoutUser() override { BaseClassMustBeDerivedFromService(this); @@ -2681,7 +2461,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestLogoutUser(::grpc::ServerContext* context, ::google::protobuf::StringValue* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(55, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(50, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2690,7 +2470,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_RemoveUser() { - ::grpc::Service::MarkMethodAsync(56); + ::grpc::Service::MarkMethodAsync(51); } ~WithAsyncMethod_RemoveUser() override { BaseClassMustBeDerivedFromService(this); @@ -2701,7 +2481,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestRemoveUser(::grpc::ServerContext* context, ::google::protobuf::StringValue* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(56, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(51, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2710,7 +2490,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_ConfigureUserAppleMail() { - ::grpc::Service::MarkMethodAsync(57); + ::grpc::Service::MarkMethodAsync(52); } ~WithAsyncMethod_ConfigureUserAppleMail() override { BaseClassMustBeDerivedFromService(this); @@ -2721,7 +2501,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestConfigureUserAppleMail(::grpc::ServerContext* context, ::grpc::ConfigureAppleMailRequest* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(57, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(52, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -2730,7 +2510,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_RunEventStream() { - ::grpc::Service::MarkMethodAsync(58); + ::grpc::Service::MarkMethodAsync(53); } ~WithAsyncMethod_RunEventStream() override { BaseClassMustBeDerivedFromService(this); @@ -2741,7 +2521,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestRunEventStream(::grpc::ServerContext* context, ::grpc::EventStreamRequest* request, ::grpc::ServerAsyncWriter< ::grpc::StreamEvent>* writer, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncServerStreaming(58, context, request, writer, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncServerStreaming(53, context, request, writer, new_call_cq, notification_cq, tag); } }; template @@ -2750,7 +2530,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_StopEventStream() { - ::grpc::Service::MarkMethodAsync(59); + ::grpc::Service::MarkMethodAsync(54); } ~WithAsyncMethod_StopEventStream() override { BaseClassMustBeDerivedFromService(this); @@ -2761,10 +2541,10 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestStopEventStream(::grpc::ServerContext* context, ::google::protobuf::Empty* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(59, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(54, context, request, response, new_call_cq, notification_cq, tag); } }; - typedef WithAsyncMethod_CheckTokens > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > AsyncService; + typedef WithAsyncMethod_CheckTokens > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > AsyncService; template class WithCallbackMethod_CheckTokens : public BaseClass { private: @@ -3846,112 +3626,58 @@ class Bridge final { ::grpc::CallbackServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::BoolValue* /*response*/) { return nullptr; } }; template - class WithCallbackMethod_SetUseSslForSmtp : public BaseClass { + class WithCallbackMethod_MailServerSettings : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithCallbackMethod_SetUseSslForSmtp() { + WithCallbackMethod_MailServerSettings() { ::grpc::Service::MarkMethodCallback(40, - new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::BoolValue, ::google::protobuf::Empty>( + new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::grpc::ImapSmtpSettings>( [this]( - ::grpc::CallbackServerContext* context, const ::google::protobuf::BoolValue* request, ::google::protobuf::Empty* response) { return this->SetUseSslForSmtp(context, request, response); }));} - void SetMessageAllocatorFor_SetUseSslForSmtp( - ::grpc::MessageAllocator< ::google::protobuf::BoolValue, ::google::protobuf::Empty>* allocator) { + ::grpc::CallbackServerContext* context, const ::google::protobuf::Empty* request, ::grpc::ImapSmtpSettings* response) { return this->MailServerSettings(context, request, response); }));} + void SetMessageAllocatorFor_MailServerSettings( + ::grpc::MessageAllocator< ::google::protobuf::Empty, ::grpc::ImapSmtpSettings>* allocator) { ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(40); - static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::BoolValue, ::google::protobuf::Empty>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::grpc::ImapSmtpSettings>*>(handler) ->SetMessageAllocator(allocator); } - ~WithCallbackMethod_SetUseSslForSmtp() override { + ~WithCallbackMethod_MailServerSettings() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status SetUseSslForSmtp(::grpc::ServerContext* /*context*/, const ::google::protobuf::BoolValue* /*request*/, ::google::protobuf::Empty* /*response*/) override { + ::grpc::Status MailServerSettings(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::grpc::ImapSmtpSettings* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* SetUseSslForSmtp( - ::grpc::CallbackServerContext* /*context*/, const ::google::protobuf::BoolValue* /*request*/, ::google::protobuf::Empty* /*response*/) { return nullptr; } + virtual ::grpc::ServerUnaryReactor* MailServerSettings( + ::grpc::CallbackServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::grpc::ImapSmtpSettings* /*response*/) { return nullptr; } }; template - class WithCallbackMethod_UseSslForSmtp : public BaseClass { + class WithCallbackMethod_SetMailServerSettings : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithCallbackMethod_UseSslForSmtp() { + WithCallbackMethod_SetMailServerSettings() { ::grpc::Service::MarkMethodCallback(41, - new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::BoolValue>( + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ImapSmtpSettings, ::google::protobuf::Empty>( [this]( - ::grpc::CallbackServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response) { return this->UseSslForSmtp(context, request, response); }));} - void SetMessageAllocatorFor_UseSslForSmtp( - ::grpc::MessageAllocator< ::google::protobuf::Empty, ::google::protobuf::BoolValue>* allocator) { + ::grpc::CallbackServerContext* context, const ::grpc::ImapSmtpSettings* request, ::google::protobuf::Empty* response) { return this->SetMailServerSettings(context, request, response); }));} + void SetMessageAllocatorFor_SetMailServerSettings( + ::grpc::MessageAllocator< ::grpc::ImapSmtpSettings, ::google::protobuf::Empty>* allocator) { ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(41); - static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::BoolValue>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::grpc::ImapSmtpSettings, ::google::protobuf::Empty>*>(handler) ->SetMessageAllocator(allocator); } - ~WithCallbackMethod_UseSslForSmtp() override { + ~WithCallbackMethod_SetMailServerSettings() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status UseSslForSmtp(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::BoolValue* /*response*/) override { + ::grpc::Status SetMailServerSettings(::grpc::ServerContext* /*context*/, const ::grpc::ImapSmtpSettings* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* UseSslForSmtp( - ::grpc::CallbackServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::BoolValue* /*response*/) { return nullptr; } - }; - template - class WithCallbackMethod_SetUseSslForImap : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithCallbackMethod_SetUseSslForImap() { - ::grpc::Service::MarkMethodCallback(42, - new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::BoolValue, ::google::protobuf::Empty>( - [this]( - ::grpc::CallbackServerContext* context, const ::google::protobuf::BoolValue* request, ::google::protobuf::Empty* response) { return this->SetUseSslForImap(context, request, response); }));} - void SetMessageAllocatorFor_SetUseSslForImap( - ::grpc::MessageAllocator< ::google::protobuf::BoolValue, ::google::protobuf::Empty>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(42); - static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::BoolValue, ::google::protobuf::Empty>*>(handler) - ->SetMessageAllocator(allocator); - } - ~WithCallbackMethod_SetUseSslForImap() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status SetUseSslForImap(::grpc::ServerContext* /*context*/, const ::google::protobuf::BoolValue* /*request*/, ::google::protobuf::Empty* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* SetUseSslForImap( - ::grpc::CallbackServerContext* /*context*/, const ::google::protobuf::BoolValue* /*request*/, ::google::protobuf::Empty* /*response*/) { return nullptr; } - }; - template - class WithCallbackMethod_UseSslForImap : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithCallbackMethod_UseSslForImap() { - ::grpc::Service::MarkMethodCallback(43, - new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::BoolValue>( - [this]( - ::grpc::CallbackServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response) { return this->UseSslForImap(context, request, response); }));} - void SetMessageAllocatorFor_UseSslForImap( - ::grpc::MessageAllocator< ::google::protobuf::Empty, ::google::protobuf::BoolValue>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(43); - static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::BoolValue>*>(handler) - ->SetMessageAllocator(allocator); - } - ~WithCallbackMethod_UseSslForImap() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UseSslForImap(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::BoolValue* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* UseSslForImap( - ::grpc::CallbackServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::BoolValue* /*response*/) { return nullptr; } + virtual ::grpc::ServerUnaryReactor* SetMailServerSettings( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ImapSmtpSettings* /*request*/, ::google::protobuf::Empty* /*response*/) { return nullptr; } }; template class WithCallbackMethod_Hostname : public BaseClass { @@ -3959,13 +3685,13 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_Hostname() { - ::grpc::Service::MarkMethodCallback(44, + ::grpc::Service::MarkMethodCallback(42, new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::StringValue>( [this]( ::grpc::CallbackServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::StringValue* response) { return this->Hostname(context, request, response); }));} void SetMessageAllocatorFor_Hostname( ::grpc::MessageAllocator< ::google::protobuf::Empty, ::google::protobuf::StringValue>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(44); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(42); static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::StringValue>*>(handler) ->SetMessageAllocator(allocator); } @@ -3981,99 +3707,18 @@ class Bridge final { ::grpc::CallbackServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::StringValue* /*response*/) { return nullptr; } }; template - class WithCallbackMethod_ImapPort : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithCallbackMethod_ImapPort() { - ::grpc::Service::MarkMethodCallback(45, - new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::Int32Value>( - [this]( - ::grpc::CallbackServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Int32Value* response) { return this->ImapPort(context, request, response); }));} - void SetMessageAllocatorFor_ImapPort( - ::grpc::MessageAllocator< ::google::protobuf::Empty, ::google::protobuf::Int32Value>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(45); - static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::Int32Value>*>(handler) - ->SetMessageAllocator(allocator); - } - ~WithCallbackMethod_ImapPort() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ImapPort(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::Int32Value* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* ImapPort( - ::grpc::CallbackServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::Int32Value* /*response*/) { return nullptr; } - }; - template - class WithCallbackMethod_SmtpPort : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithCallbackMethod_SmtpPort() { - ::grpc::Service::MarkMethodCallback(46, - new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::Int32Value>( - [this]( - ::grpc::CallbackServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Int32Value* response) { return this->SmtpPort(context, request, response); }));} - void SetMessageAllocatorFor_SmtpPort( - ::grpc::MessageAllocator< ::google::protobuf::Empty, ::google::protobuf::Int32Value>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(46); - static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::Int32Value>*>(handler) - ->SetMessageAllocator(allocator); - } - ~WithCallbackMethod_SmtpPort() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status SmtpPort(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::Int32Value* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* SmtpPort( - ::grpc::CallbackServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::Int32Value* /*response*/) { return nullptr; } - }; - template - class WithCallbackMethod_ChangePorts : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithCallbackMethod_ChangePorts() { - ::grpc::Service::MarkMethodCallback(47, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ChangePortsRequest, ::google::protobuf::Empty>( - [this]( - ::grpc::CallbackServerContext* context, const ::grpc::ChangePortsRequest* request, ::google::protobuf::Empty* response) { return this->ChangePorts(context, request, response); }));} - void SetMessageAllocatorFor_ChangePorts( - ::grpc::MessageAllocator< ::grpc::ChangePortsRequest, ::google::protobuf::Empty>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(47); - static_cast<::grpc::internal::CallbackUnaryHandler< ::grpc::ChangePortsRequest, ::google::protobuf::Empty>*>(handler) - ->SetMessageAllocator(allocator); - } - ~WithCallbackMethod_ChangePorts() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ChangePorts(::grpc::ServerContext* /*context*/, const ::grpc::ChangePortsRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* ChangePorts( - ::grpc::CallbackServerContext* /*context*/, const ::grpc::ChangePortsRequest* /*request*/, ::google::protobuf::Empty* /*response*/) { return nullptr; } - }; - template class WithCallbackMethod_IsPortFree : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_IsPortFree() { - ::grpc::Service::MarkMethodCallback(48, + ::grpc::Service::MarkMethodCallback(43, new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Int32Value, ::google::protobuf::BoolValue>( [this]( ::grpc::CallbackServerContext* context, const ::google::protobuf::Int32Value* request, ::google::protobuf::BoolValue* response) { return this->IsPortFree(context, request, response); }));} void SetMessageAllocatorFor_IsPortFree( ::grpc::MessageAllocator< ::google::protobuf::Int32Value, ::google::protobuf::BoolValue>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(48); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(43); static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Int32Value, ::google::protobuf::BoolValue>*>(handler) ->SetMessageAllocator(allocator); } @@ -4094,13 +3739,13 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_AvailableKeychains() { - ::grpc::Service::MarkMethodCallback(49, + ::grpc::Service::MarkMethodCallback(44, new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::grpc::AvailableKeychainsResponse>( [this]( ::grpc::CallbackServerContext* context, const ::google::protobuf::Empty* request, ::grpc::AvailableKeychainsResponse* response) { return this->AvailableKeychains(context, request, response); }));} void SetMessageAllocatorFor_AvailableKeychains( ::grpc::MessageAllocator< ::google::protobuf::Empty, ::grpc::AvailableKeychainsResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(49); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(44); static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::grpc::AvailableKeychainsResponse>*>(handler) ->SetMessageAllocator(allocator); } @@ -4121,13 +3766,13 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_SetCurrentKeychain() { - ::grpc::Service::MarkMethodCallback(50, + ::grpc::Service::MarkMethodCallback(45, new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::StringValue, ::google::protobuf::Empty>( [this]( ::grpc::CallbackServerContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response) { return this->SetCurrentKeychain(context, request, response); }));} void SetMessageAllocatorFor_SetCurrentKeychain( ::grpc::MessageAllocator< ::google::protobuf::StringValue, ::google::protobuf::Empty>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(50); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(45); static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::StringValue, ::google::protobuf::Empty>*>(handler) ->SetMessageAllocator(allocator); } @@ -4148,13 +3793,13 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_CurrentKeychain() { - ::grpc::Service::MarkMethodCallback(51, + ::grpc::Service::MarkMethodCallback(46, new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::StringValue>( [this]( ::grpc::CallbackServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::StringValue* response) { return this->CurrentKeychain(context, request, response); }));} void SetMessageAllocatorFor_CurrentKeychain( ::grpc::MessageAllocator< ::google::protobuf::Empty, ::google::protobuf::StringValue>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(51); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(46); static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::StringValue>*>(handler) ->SetMessageAllocator(allocator); } @@ -4175,13 +3820,13 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_GetUserList() { - ::grpc::Service::MarkMethodCallback(52, + ::grpc::Service::MarkMethodCallback(47, new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::grpc::UserListResponse>( [this]( ::grpc::CallbackServerContext* context, const ::google::protobuf::Empty* request, ::grpc::UserListResponse* response) { return this->GetUserList(context, request, response); }));} void SetMessageAllocatorFor_GetUserList( ::grpc::MessageAllocator< ::google::protobuf::Empty, ::grpc::UserListResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(52); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(47); static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::grpc::UserListResponse>*>(handler) ->SetMessageAllocator(allocator); } @@ -4202,13 +3847,13 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_GetUser() { - ::grpc::Service::MarkMethodCallback(53, + ::grpc::Service::MarkMethodCallback(48, new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::StringValue, ::grpc::User>( [this]( ::grpc::CallbackServerContext* context, const ::google::protobuf::StringValue* request, ::grpc::User* response) { return this->GetUser(context, request, response); }));} void SetMessageAllocatorFor_GetUser( ::grpc::MessageAllocator< ::google::protobuf::StringValue, ::grpc::User>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(53); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(48); static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::StringValue, ::grpc::User>*>(handler) ->SetMessageAllocator(allocator); } @@ -4229,13 +3874,13 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_SetUserSplitMode() { - ::grpc::Service::MarkMethodCallback(54, + ::grpc::Service::MarkMethodCallback(49, new ::grpc::internal::CallbackUnaryHandler< ::grpc::UserSplitModeRequest, ::google::protobuf::Empty>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::UserSplitModeRequest* request, ::google::protobuf::Empty* response) { return this->SetUserSplitMode(context, request, response); }));} void SetMessageAllocatorFor_SetUserSplitMode( ::grpc::MessageAllocator< ::grpc::UserSplitModeRequest, ::google::protobuf::Empty>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(54); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(49); static_cast<::grpc::internal::CallbackUnaryHandler< ::grpc::UserSplitModeRequest, ::google::protobuf::Empty>*>(handler) ->SetMessageAllocator(allocator); } @@ -4256,13 +3901,13 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_LogoutUser() { - ::grpc::Service::MarkMethodCallback(55, + ::grpc::Service::MarkMethodCallback(50, new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::StringValue, ::google::protobuf::Empty>( [this]( ::grpc::CallbackServerContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response) { return this->LogoutUser(context, request, response); }));} void SetMessageAllocatorFor_LogoutUser( ::grpc::MessageAllocator< ::google::protobuf::StringValue, ::google::protobuf::Empty>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(55); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(50); static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::StringValue, ::google::protobuf::Empty>*>(handler) ->SetMessageAllocator(allocator); } @@ -4283,13 +3928,13 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_RemoveUser() { - ::grpc::Service::MarkMethodCallback(56, + ::grpc::Service::MarkMethodCallback(51, new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::StringValue, ::google::protobuf::Empty>( [this]( ::grpc::CallbackServerContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response) { return this->RemoveUser(context, request, response); }));} void SetMessageAllocatorFor_RemoveUser( ::grpc::MessageAllocator< ::google::protobuf::StringValue, ::google::protobuf::Empty>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(56); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(51); static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::StringValue, ::google::protobuf::Empty>*>(handler) ->SetMessageAllocator(allocator); } @@ -4310,13 +3955,13 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_ConfigureUserAppleMail() { - ::grpc::Service::MarkMethodCallback(57, + ::grpc::Service::MarkMethodCallback(52, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ConfigureAppleMailRequest, ::google::protobuf::Empty>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ConfigureAppleMailRequest* request, ::google::protobuf::Empty* response) { return this->ConfigureUserAppleMail(context, request, response); }));} void SetMessageAllocatorFor_ConfigureUserAppleMail( ::grpc::MessageAllocator< ::grpc::ConfigureAppleMailRequest, ::google::protobuf::Empty>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(57); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(52); static_cast<::grpc::internal::CallbackUnaryHandler< ::grpc::ConfigureAppleMailRequest, ::google::protobuf::Empty>*>(handler) ->SetMessageAllocator(allocator); } @@ -4337,7 +3982,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_RunEventStream() { - ::grpc::Service::MarkMethodCallback(58, + ::grpc::Service::MarkMethodCallback(53, new ::grpc::internal::CallbackServerStreamingHandler< ::grpc::EventStreamRequest, ::grpc::StreamEvent>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::EventStreamRequest* request) { return this->RunEventStream(context, request); })); @@ -4359,13 +4004,13 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_StopEventStream() { - ::grpc::Service::MarkMethodCallback(59, + ::grpc::Service::MarkMethodCallback(54, new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::Empty>( [this]( ::grpc::CallbackServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Empty* response) { return this->StopEventStream(context, request, response); }));} void SetMessageAllocatorFor_StopEventStream( ::grpc::MessageAllocator< ::google::protobuf::Empty, ::google::protobuf::Empty>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(59); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(54); static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::Empty>*>(handler) ->SetMessageAllocator(allocator); } @@ -4380,7 +4025,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 { @@ -5063,69 +4708,35 @@ class Bridge final { } }; template - class WithGenericMethod_SetUseSslForSmtp : public BaseClass { + class WithGenericMethod_MailServerSettings : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_SetUseSslForSmtp() { + WithGenericMethod_MailServerSettings() { ::grpc::Service::MarkMethodGeneric(40); } - ~WithGenericMethod_SetUseSslForSmtp() override { + ~WithGenericMethod_MailServerSettings() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status SetUseSslForSmtp(::grpc::ServerContext* /*context*/, const ::google::protobuf::BoolValue* /*request*/, ::google::protobuf::Empty* /*response*/) override { + ::grpc::Status MailServerSettings(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::grpc::ImapSmtpSettings* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } }; template - class WithGenericMethod_UseSslForSmtp : public BaseClass { + class WithGenericMethod_SetMailServerSettings : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_UseSslForSmtp() { + WithGenericMethod_SetMailServerSettings() { ::grpc::Service::MarkMethodGeneric(41); } - ~WithGenericMethod_UseSslForSmtp() override { + ~WithGenericMethod_SetMailServerSettings() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status UseSslForSmtp(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::BoolValue* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_SetUseSslForImap : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithGenericMethod_SetUseSslForImap() { - ::grpc::Service::MarkMethodGeneric(42); - } - ~WithGenericMethod_SetUseSslForImap() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status SetUseSslForImap(::grpc::ServerContext* /*context*/, const ::google::protobuf::BoolValue* /*request*/, ::google::protobuf::Empty* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_UseSslForImap : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithGenericMethod_UseSslForImap() { - ::grpc::Service::MarkMethodGeneric(43); - } - ~WithGenericMethod_UseSslForImap() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UseSslForImap(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::BoolValue* /*response*/) override { + ::grpc::Status SetMailServerSettings(::grpc::ServerContext* /*context*/, const ::grpc::ImapSmtpSettings* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } @@ -5136,7 +4747,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_Hostname() { - ::grpc::Service::MarkMethodGeneric(44); + ::grpc::Service::MarkMethodGeneric(42); } ~WithGenericMethod_Hostname() override { BaseClassMustBeDerivedFromService(this); @@ -5148,63 +4759,12 @@ class Bridge final { } }; template - class WithGenericMethod_ImapPort : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithGenericMethod_ImapPort() { - ::grpc::Service::MarkMethodGeneric(45); - } - ~WithGenericMethod_ImapPort() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ImapPort(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::Int32Value* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_SmtpPort : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithGenericMethod_SmtpPort() { - ::grpc::Service::MarkMethodGeneric(46); - } - ~WithGenericMethod_SmtpPort() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status SmtpPort(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::Int32Value* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_ChangePorts : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithGenericMethod_ChangePorts() { - ::grpc::Service::MarkMethodGeneric(47); - } - ~WithGenericMethod_ChangePorts() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ChangePorts(::grpc::ServerContext* /*context*/, const ::grpc::ChangePortsRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template class WithGenericMethod_IsPortFree : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_IsPortFree() { - ::grpc::Service::MarkMethodGeneric(48); + ::grpc::Service::MarkMethodGeneric(43); } ~WithGenericMethod_IsPortFree() override { BaseClassMustBeDerivedFromService(this); @@ -5221,7 +4781,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_AvailableKeychains() { - ::grpc::Service::MarkMethodGeneric(49); + ::grpc::Service::MarkMethodGeneric(44); } ~WithGenericMethod_AvailableKeychains() override { BaseClassMustBeDerivedFromService(this); @@ -5238,7 +4798,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_SetCurrentKeychain() { - ::grpc::Service::MarkMethodGeneric(50); + ::grpc::Service::MarkMethodGeneric(45); } ~WithGenericMethod_SetCurrentKeychain() override { BaseClassMustBeDerivedFromService(this); @@ -5255,7 +4815,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_CurrentKeychain() { - ::grpc::Service::MarkMethodGeneric(51); + ::grpc::Service::MarkMethodGeneric(46); } ~WithGenericMethod_CurrentKeychain() override { BaseClassMustBeDerivedFromService(this); @@ -5272,7 +4832,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_GetUserList() { - ::grpc::Service::MarkMethodGeneric(52); + ::grpc::Service::MarkMethodGeneric(47); } ~WithGenericMethod_GetUserList() override { BaseClassMustBeDerivedFromService(this); @@ -5289,7 +4849,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_GetUser() { - ::grpc::Service::MarkMethodGeneric(53); + ::grpc::Service::MarkMethodGeneric(48); } ~WithGenericMethod_GetUser() override { BaseClassMustBeDerivedFromService(this); @@ -5306,7 +4866,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_SetUserSplitMode() { - ::grpc::Service::MarkMethodGeneric(54); + ::grpc::Service::MarkMethodGeneric(49); } ~WithGenericMethod_SetUserSplitMode() override { BaseClassMustBeDerivedFromService(this); @@ -5323,7 +4883,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_LogoutUser() { - ::grpc::Service::MarkMethodGeneric(55); + ::grpc::Service::MarkMethodGeneric(50); } ~WithGenericMethod_LogoutUser() override { BaseClassMustBeDerivedFromService(this); @@ -5340,7 +4900,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_RemoveUser() { - ::grpc::Service::MarkMethodGeneric(56); + ::grpc::Service::MarkMethodGeneric(51); } ~WithGenericMethod_RemoveUser() override { BaseClassMustBeDerivedFromService(this); @@ -5357,7 +4917,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_ConfigureUserAppleMail() { - ::grpc::Service::MarkMethodGeneric(57); + ::grpc::Service::MarkMethodGeneric(52); } ~WithGenericMethod_ConfigureUserAppleMail() override { BaseClassMustBeDerivedFromService(this); @@ -5374,7 +4934,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_RunEventStream() { - ::grpc::Service::MarkMethodGeneric(58); + ::grpc::Service::MarkMethodGeneric(53); } ~WithGenericMethod_RunEventStream() override { BaseClassMustBeDerivedFromService(this); @@ -5391,7 +4951,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_StopEventStream() { - ::grpc::Service::MarkMethodGeneric(59); + ::grpc::Service::MarkMethodGeneric(54); } ~WithGenericMethod_StopEventStream() override { BaseClassMustBeDerivedFromService(this); @@ -6203,92 +5763,52 @@ class Bridge final { } }; template - class WithRawMethod_SetUseSslForSmtp : public BaseClass { + class WithRawMethod_MailServerSettings : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawMethod_SetUseSslForSmtp() { + WithRawMethod_MailServerSettings() { ::grpc::Service::MarkMethodRaw(40); } - ~WithRawMethod_SetUseSslForSmtp() override { + ~WithRawMethod_MailServerSettings() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status SetUseSslForSmtp(::grpc::ServerContext* /*context*/, const ::google::protobuf::BoolValue* /*request*/, ::google::protobuf::Empty* /*response*/) override { + ::grpc::Status MailServerSettings(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::grpc::ImapSmtpSettings* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestSetUseSslForSmtp(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestMailServerSettings(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { ::grpc::Service::RequestAsyncUnary(40, context, request, response, new_call_cq, notification_cq, tag); } }; template - class WithRawMethod_UseSslForSmtp : public BaseClass { + class WithRawMethod_SetMailServerSettings : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawMethod_UseSslForSmtp() { + WithRawMethod_SetMailServerSettings() { ::grpc::Service::MarkMethodRaw(41); } - ~WithRawMethod_UseSslForSmtp() override { + ~WithRawMethod_SetMailServerSettings() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status UseSslForSmtp(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::BoolValue* /*response*/) override { + ::grpc::Status SetMailServerSettings(::grpc::ServerContext* /*context*/, const ::grpc::ImapSmtpSettings* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestUseSslForSmtp(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestSetMailServerSettings(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { ::grpc::Service::RequestAsyncUnary(41, context, request, response, new_call_cq, notification_cq, tag); } }; template - class WithRawMethod_SetUseSslForImap : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawMethod_SetUseSslForImap() { - ::grpc::Service::MarkMethodRaw(42); - } - ~WithRawMethod_SetUseSslForImap() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status SetUseSslForImap(::grpc::ServerContext* /*context*/, const ::google::protobuf::BoolValue* /*request*/, ::google::protobuf::Empty* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestSetUseSslForImap(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(42, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_UseSslForImap : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawMethod_UseSslForImap() { - ::grpc::Service::MarkMethodRaw(43); - } - ~WithRawMethod_UseSslForImap() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UseSslForImap(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::BoolValue* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestUseSslForImap(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(43, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template class WithRawMethod_Hostname : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_Hostname() { - ::grpc::Service::MarkMethodRaw(44); + ::grpc::Service::MarkMethodRaw(42); } ~WithRawMethod_Hostname() override { BaseClassMustBeDerivedFromService(this); @@ -6299,67 +5819,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestHostname(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(44, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_ImapPort : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawMethod_ImapPort() { - ::grpc::Service::MarkMethodRaw(45); - } - ~WithRawMethod_ImapPort() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ImapPort(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::Int32Value* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestImapPort(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(45, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_SmtpPort : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawMethod_SmtpPort() { - ::grpc::Service::MarkMethodRaw(46); - } - ~WithRawMethod_SmtpPort() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status SmtpPort(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::Int32Value* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestSmtpPort(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(46, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_ChangePorts : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawMethod_ChangePorts() { - ::grpc::Service::MarkMethodRaw(47); - } - ~WithRawMethod_ChangePorts() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ChangePorts(::grpc::ServerContext* /*context*/, const ::grpc::ChangePortsRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestChangePorts(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(47, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(42, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6368,7 +5828,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_IsPortFree() { - ::grpc::Service::MarkMethodRaw(48); + ::grpc::Service::MarkMethodRaw(43); } ~WithRawMethod_IsPortFree() override { BaseClassMustBeDerivedFromService(this); @@ -6379,7 +5839,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestIsPortFree(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(48, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(43, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6388,7 +5848,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_AvailableKeychains() { - ::grpc::Service::MarkMethodRaw(49); + ::grpc::Service::MarkMethodRaw(44); } ~WithRawMethod_AvailableKeychains() override { BaseClassMustBeDerivedFromService(this); @@ -6399,7 +5859,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestAvailableKeychains(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(49, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(44, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6408,7 +5868,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_SetCurrentKeychain() { - ::grpc::Service::MarkMethodRaw(50); + ::grpc::Service::MarkMethodRaw(45); } ~WithRawMethod_SetCurrentKeychain() override { BaseClassMustBeDerivedFromService(this); @@ -6419,7 +5879,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestSetCurrentKeychain(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(50, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(45, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6428,7 +5888,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_CurrentKeychain() { - ::grpc::Service::MarkMethodRaw(51); + ::grpc::Service::MarkMethodRaw(46); } ~WithRawMethod_CurrentKeychain() override { BaseClassMustBeDerivedFromService(this); @@ -6439,7 +5899,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestCurrentKeychain(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(51, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(46, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6448,7 +5908,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_GetUserList() { - ::grpc::Service::MarkMethodRaw(52); + ::grpc::Service::MarkMethodRaw(47); } ~WithRawMethod_GetUserList() override { BaseClassMustBeDerivedFromService(this); @@ -6459,7 +5919,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetUserList(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(52, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(47, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6468,7 +5928,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_GetUser() { - ::grpc::Service::MarkMethodRaw(53); + ::grpc::Service::MarkMethodRaw(48); } ~WithRawMethod_GetUser() override { BaseClassMustBeDerivedFromService(this); @@ -6479,7 +5939,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetUser(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(53, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(48, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6488,7 +5948,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_SetUserSplitMode() { - ::grpc::Service::MarkMethodRaw(54); + ::grpc::Service::MarkMethodRaw(49); } ~WithRawMethod_SetUserSplitMode() override { BaseClassMustBeDerivedFromService(this); @@ -6499,7 +5959,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestSetUserSplitMode(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(54, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(49, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6508,7 +5968,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_LogoutUser() { - ::grpc::Service::MarkMethodRaw(55); + ::grpc::Service::MarkMethodRaw(50); } ~WithRawMethod_LogoutUser() override { BaseClassMustBeDerivedFromService(this); @@ -6519,7 +5979,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestLogoutUser(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(55, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(50, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6528,7 +5988,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_RemoveUser() { - ::grpc::Service::MarkMethodRaw(56); + ::grpc::Service::MarkMethodRaw(51); } ~WithRawMethod_RemoveUser() override { BaseClassMustBeDerivedFromService(this); @@ -6539,7 +5999,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestRemoveUser(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(56, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(51, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6548,7 +6008,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_ConfigureUserAppleMail() { - ::grpc::Service::MarkMethodRaw(57); + ::grpc::Service::MarkMethodRaw(52); } ~WithRawMethod_ConfigureUserAppleMail() override { BaseClassMustBeDerivedFromService(this); @@ -6559,7 +6019,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestConfigureUserAppleMail(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(57, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(52, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -6568,7 +6028,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_RunEventStream() { - ::grpc::Service::MarkMethodRaw(58); + ::grpc::Service::MarkMethodRaw(53); } ~WithRawMethod_RunEventStream() override { BaseClassMustBeDerivedFromService(this); @@ -6579,7 +6039,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestRunEventStream(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncWriter< ::grpc::ByteBuffer>* writer, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncServerStreaming(58, context, request, writer, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncServerStreaming(53, context, request, writer, new_call_cq, notification_cq, tag); } }; template @@ -6588,7 +6048,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_StopEventStream() { - ::grpc::Service::MarkMethodRaw(59); + ::grpc::Service::MarkMethodRaw(54); } ~WithRawMethod_StopEventStream() override { BaseClassMustBeDerivedFromService(this); @@ -6599,7 +6059,7 @@ class Bridge final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestStopEventStream(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(59, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(54, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -7483,91 +6943,47 @@ class Bridge final { ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template - class WithRawCallbackMethod_SetUseSslForSmtp : public BaseClass { + class WithRawCallbackMethod_MailServerSettings : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawCallbackMethod_SetUseSslForSmtp() { + WithRawCallbackMethod_MailServerSettings() { ::grpc::Service::MarkMethodRawCallback(40, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( - ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->SetUseSslForSmtp(context, request, response); })); + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->MailServerSettings(context, request, response); })); } - ~WithRawCallbackMethod_SetUseSslForSmtp() override { + ~WithRawCallbackMethod_MailServerSettings() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status SetUseSslForSmtp(::grpc::ServerContext* /*context*/, const ::google::protobuf::BoolValue* /*request*/, ::google::protobuf::Empty* /*response*/) override { + ::grpc::Status MailServerSettings(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::grpc::ImapSmtpSettings* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* SetUseSslForSmtp( + virtual ::grpc::ServerUnaryReactor* MailServerSettings( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template - class WithRawCallbackMethod_UseSslForSmtp : public BaseClass { + class WithRawCallbackMethod_SetMailServerSettings : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawCallbackMethod_UseSslForSmtp() { + WithRawCallbackMethod_SetMailServerSettings() { ::grpc::Service::MarkMethodRawCallback(41, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( - ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->UseSslForSmtp(context, request, response); })); + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->SetMailServerSettings(context, request, response); })); } - ~WithRawCallbackMethod_UseSslForSmtp() override { + ~WithRawCallbackMethod_SetMailServerSettings() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status UseSslForSmtp(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::BoolValue* /*response*/) override { + ::grpc::Status SetMailServerSettings(::grpc::ServerContext* /*context*/, const ::grpc::ImapSmtpSettings* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* UseSslForSmtp( - ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } - }; - template - class WithRawCallbackMethod_SetUseSslForImap : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawCallbackMethod_SetUseSslForImap() { - ::grpc::Service::MarkMethodRawCallback(42, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this]( - ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->SetUseSslForImap(context, request, response); })); - } - ~WithRawCallbackMethod_SetUseSslForImap() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status SetUseSslForImap(::grpc::ServerContext* /*context*/, const ::google::protobuf::BoolValue* /*request*/, ::google::protobuf::Empty* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* SetUseSslForImap( - ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } - }; - template - class WithRawCallbackMethod_UseSslForImap : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawCallbackMethod_UseSslForImap() { - ::grpc::Service::MarkMethodRawCallback(43, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this]( - ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->UseSslForImap(context, request, response); })); - } - ~WithRawCallbackMethod_UseSslForImap() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UseSslForImap(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::BoolValue* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* UseSslForImap( + virtual ::grpc::ServerUnaryReactor* SetMailServerSettings( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template @@ -7576,7 +6992,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_Hostname() { - ::grpc::Service::MarkMethodRawCallback(44, + ::grpc::Service::MarkMethodRawCallback(42, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->Hostname(context, request, response); })); @@ -7593,78 +7009,12 @@ class Bridge final { ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template - class WithRawCallbackMethod_ImapPort : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawCallbackMethod_ImapPort() { - ::grpc::Service::MarkMethodRawCallback(45, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this]( - ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->ImapPort(context, request, response); })); - } - ~WithRawCallbackMethod_ImapPort() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ImapPort(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::Int32Value* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* ImapPort( - ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } - }; - template - class WithRawCallbackMethod_SmtpPort : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawCallbackMethod_SmtpPort() { - ::grpc::Service::MarkMethodRawCallback(46, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this]( - ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->SmtpPort(context, request, response); })); - } - ~WithRawCallbackMethod_SmtpPort() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status SmtpPort(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::Int32Value* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* SmtpPort( - ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } - }; - template - class WithRawCallbackMethod_ChangePorts : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithRawCallbackMethod_ChangePorts() { - ::grpc::Service::MarkMethodRawCallback(47, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this]( - ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->ChangePorts(context, request, response); })); - } - ~WithRawCallbackMethod_ChangePorts() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ChangePorts(::grpc::ServerContext* /*context*/, const ::grpc::ChangePortsRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual ::grpc::ServerUnaryReactor* ChangePorts( - ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } - }; - template class WithRawCallbackMethod_IsPortFree : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_IsPortFree() { - ::grpc::Service::MarkMethodRawCallback(48, + ::grpc::Service::MarkMethodRawCallback(43, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->IsPortFree(context, request, response); })); @@ -7686,7 +7036,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_AvailableKeychains() { - ::grpc::Service::MarkMethodRawCallback(49, + ::grpc::Service::MarkMethodRawCallback(44, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->AvailableKeychains(context, request, response); })); @@ -7708,7 +7058,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_SetCurrentKeychain() { - ::grpc::Service::MarkMethodRawCallback(50, + ::grpc::Service::MarkMethodRawCallback(45, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->SetCurrentKeychain(context, request, response); })); @@ -7730,7 +7080,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_CurrentKeychain() { - ::grpc::Service::MarkMethodRawCallback(51, + ::grpc::Service::MarkMethodRawCallback(46, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->CurrentKeychain(context, request, response); })); @@ -7752,7 +7102,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_GetUserList() { - ::grpc::Service::MarkMethodRawCallback(52, + ::grpc::Service::MarkMethodRawCallback(47, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetUserList(context, request, response); })); @@ -7774,7 +7124,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_GetUser() { - ::grpc::Service::MarkMethodRawCallback(53, + ::grpc::Service::MarkMethodRawCallback(48, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetUser(context, request, response); })); @@ -7796,7 +7146,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_SetUserSplitMode() { - ::grpc::Service::MarkMethodRawCallback(54, + ::grpc::Service::MarkMethodRawCallback(49, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->SetUserSplitMode(context, request, response); })); @@ -7818,7 +7168,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_LogoutUser() { - ::grpc::Service::MarkMethodRawCallback(55, + ::grpc::Service::MarkMethodRawCallback(50, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->LogoutUser(context, request, response); })); @@ -7840,7 +7190,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_RemoveUser() { - ::grpc::Service::MarkMethodRawCallback(56, + ::grpc::Service::MarkMethodRawCallback(51, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->RemoveUser(context, request, response); })); @@ -7862,7 +7212,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_ConfigureUserAppleMail() { - ::grpc::Service::MarkMethodRawCallback(57, + ::grpc::Service::MarkMethodRawCallback(52, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->ConfigureUserAppleMail(context, request, response); })); @@ -7884,7 +7234,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_RunEventStream() { - ::grpc::Service::MarkMethodRawCallback(58, + ::grpc::Service::MarkMethodRawCallback(53, new ::grpc::internal::CallbackServerStreamingHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const::grpc::ByteBuffer* request) { return this->RunEventStream(context, request); })); @@ -7906,7 +7256,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_StopEventStream() { - ::grpc::Service::MarkMethodRawCallback(59, + ::grpc::Service::MarkMethodRawCallback(54, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->StopEventStream(context, request, response); })); @@ -9003,112 +8353,58 @@ class Bridge final { virtual ::grpc::Status StreamedIsDoHEnabled(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::google::protobuf::Empty,::google::protobuf::BoolValue>* server_unary_streamer) = 0; }; template - class WithStreamedUnaryMethod_SetUseSslForSmtp : public BaseClass { + class WithStreamedUnaryMethod_MailServerSettings : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithStreamedUnaryMethod_SetUseSslForSmtp() { + WithStreamedUnaryMethod_MailServerSettings() { ::grpc::Service::MarkMethodStreamed(40, new ::grpc::internal::StreamedUnaryHandler< - ::google::protobuf::BoolValue, ::google::protobuf::Empty>( + ::google::protobuf::Empty, ::grpc::ImapSmtpSettings>( [this](::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< - ::google::protobuf::BoolValue, ::google::protobuf::Empty>* streamer) { - return this->StreamedSetUseSslForSmtp(context, + ::google::protobuf::Empty, ::grpc::ImapSmtpSettings>* streamer) { + return this->StreamedMailServerSettings(context, streamer); })); } - ~WithStreamedUnaryMethod_SetUseSslForSmtp() override { + ~WithStreamedUnaryMethod_MailServerSettings() override { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status SetUseSslForSmtp(::grpc::ServerContext* /*context*/, const ::google::protobuf::BoolValue* /*request*/, ::google::protobuf::Empty* /*response*/) override { + ::grpc::Status MailServerSettings(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::grpc::ImapSmtpSettings* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedSetUseSslForSmtp(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::google::protobuf::BoolValue,::google::protobuf::Empty>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedMailServerSettings(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::google::protobuf::Empty,::grpc::ImapSmtpSettings>* server_unary_streamer) = 0; }; template - class WithStreamedUnaryMethod_UseSslForSmtp : public BaseClass { + class WithStreamedUnaryMethod_SetMailServerSettings : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithStreamedUnaryMethod_UseSslForSmtp() { + WithStreamedUnaryMethod_SetMailServerSettings() { ::grpc::Service::MarkMethodStreamed(41, new ::grpc::internal::StreamedUnaryHandler< - ::google::protobuf::Empty, ::google::protobuf::BoolValue>( + ::grpc::ImapSmtpSettings, ::google::protobuf::Empty>( [this](::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< - ::google::protobuf::Empty, ::google::protobuf::BoolValue>* streamer) { - return this->StreamedUseSslForSmtp(context, + ::grpc::ImapSmtpSettings, ::google::protobuf::Empty>* streamer) { + return this->StreamedSetMailServerSettings(context, streamer); })); } - ~WithStreamedUnaryMethod_UseSslForSmtp() override { + ~WithStreamedUnaryMethod_SetMailServerSettings() override { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status UseSslForSmtp(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::BoolValue* /*response*/) override { + ::grpc::Status SetMailServerSettings(::grpc::ServerContext* /*context*/, const ::grpc::ImapSmtpSettings* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedUseSslForSmtp(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::google::protobuf::Empty,::google::protobuf::BoolValue>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_SetUseSslForImap : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithStreamedUnaryMethod_SetUseSslForImap() { - ::grpc::Service::MarkMethodStreamed(42, - new ::grpc::internal::StreamedUnaryHandler< - ::google::protobuf::BoolValue, ::google::protobuf::Empty>( - [this](::grpc::ServerContext* context, - ::grpc::ServerUnaryStreamer< - ::google::protobuf::BoolValue, ::google::protobuf::Empty>* streamer) { - return this->StreamedSetUseSslForImap(context, - streamer); - })); - } - ~WithStreamedUnaryMethod_SetUseSslForImap() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status SetUseSslForImap(::grpc::ServerContext* /*context*/, const ::google::protobuf::BoolValue* /*request*/, ::google::protobuf::Empty* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedSetUseSslForImap(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::google::protobuf::BoolValue,::google::protobuf::Empty>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_UseSslForImap : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithStreamedUnaryMethod_UseSslForImap() { - ::grpc::Service::MarkMethodStreamed(43, - new ::grpc::internal::StreamedUnaryHandler< - ::google::protobuf::Empty, ::google::protobuf::BoolValue>( - [this](::grpc::ServerContext* context, - ::grpc::ServerUnaryStreamer< - ::google::protobuf::Empty, ::google::protobuf::BoolValue>* streamer) { - return this->StreamedUseSslForImap(context, - streamer); - })); - } - ~WithStreamedUnaryMethod_UseSslForImap() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status UseSslForImap(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::BoolValue* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedUseSslForImap(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::google::protobuf::Empty,::google::protobuf::BoolValue>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedSetMailServerSettings(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::grpc::ImapSmtpSettings,::google::protobuf::Empty>* server_unary_streamer) = 0; }; template class WithStreamedUnaryMethod_Hostname : public BaseClass { @@ -9116,7 +8412,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_Hostname() { - ::grpc::Service::MarkMethodStreamed(44, + ::grpc::Service::MarkMethodStreamed(42, new ::grpc::internal::StreamedUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::StringValue>( [this](::grpc::ServerContext* context, @@ -9138,93 +8434,12 @@ class Bridge final { virtual ::grpc::Status StreamedHostname(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::google::protobuf::Empty,::google::protobuf::StringValue>* server_unary_streamer) = 0; }; template - class WithStreamedUnaryMethod_ImapPort : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithStreamedUnaryMethod_ImapPort() { - ::grpc::Service::MarkMethodStreamed(45, - new ::grpc::internal::StreamedUnaryHandler< - ::google::protobuf::Empty, ::google::protobuf::Int32Value>( - [this](::grpc::ServerContext* context, - ::grpc::ServerUnaryStreamer< - ::google::protobuf::Empty, ::google::protobuf::Int32Value>* streamer) { - return this->StreamedImapPort(context, - streamer); - })); - } - ~WithStreamedUnaryMethod_ImapPort() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status ImapPort(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::Int32Value* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedImapPort(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::google::protobuf::Empty,::google::protobuf::Int32Value>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_SmtpPort : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithStreamedUnaryMethod_SmtpPort() { - ::grpc::Service::MarkMethodStreamed(46, - new ::grpc::internal::StreamedUnaryHandler< - ::google::protobuf::Empty, ::google::protobuf::Int32Value>( - [this](::grpc::ServerContext* context, - ::grpc::ServerUnaryStreamer< - ::google::protobuf::Empty, ::google::protobuf::Int32Value>* streamer) { - return this->StreamedSmtpPort(context, - streamer); - })); - } - ~WithStreamedUnaryMethod_SmtpPort() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status SmtpPort(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::Int32Value* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedSmtpPort(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::google::protobuf::Empty,::google::protobuf::Int32Value>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_ChangePorts : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} - public: - WithStreamedUnaryMethod_ChangePorts() { - ::grpc::Service::MarkMethodStreamed(47, - new ::grpc::internal::StreamedUnaryHandler< - ::grpc::ChangePortsRequest, ::google::protobuf::Empty>( - [this](::grpc::ServerContext* context, - ::grpc::ServerUnaryStreamer< - ::grpc::ChangePortsRequest, ::google::protobuf::Empty>* streamer) { - return this->StreamedChangePorts(context, - streamer); - })); - } - ~WithStreamedUnaryMethod_ChangePorts() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status ChangePorts(::grpc::ServerContext* /*context*/, const ::grpc::ChangePortsRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedChangePorts(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::grpc::ChangePortsRequest,::google::protobuf::Empty>* server_unary_streamer) = 0; - }; - template class WithStreamedUnaryMethod_IsPortFree : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_IsPortFree() { - ::grpc::Service::MarkMethodStreamed(48, + ::grpc::Service::MarkMethodStreamed(43, new ::grpc::internal::StreamedUnaryHandler< ::google::protobuf::Int32Value, ::google::protobuf::BoolValue>( [this](::grpc::ServerContext* context, @@ -9251,7 +8466,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_AvailableKeychains() { - ::grpc::Service::MarkMethodStreamed(49, + ::grpc::Service::MarkMethodStreamed(44, new ::grpc::internal::StreamedUnaryHandler< ::google::protobuf::Empty, ::grpc::AvailableKeychainsResponse>( [this](::grpc::ServerContext* context, @@ -9278,7 +8493,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_SetCurrentKeychain() { - ::grpc::Service::MarkMethodStreamed(50, + ::grpc::Service::MarkMethodStreamed(45, new ::grpc::internal::StreamedUnaryHandler< ::google::protobuf::StringValue, ::google::protobuf::Empty>( [this](::grpc::ServerContext* context, @@ -9305,7 +8520,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_CurrentKeychain() { - ::grpc::Service::MarkMethodStreamed(51, + ::grpc::Service::MarkMethodStreamed(46, new ::grpc::internal::StreamedUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::StringValue>( [this](::grpc::ServerContext* context, @@ -9332,7 +8547,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_GetUserList() { - ::grpc::Service::MarkMethodStreamed(52, + ::grpc::Service::MarkMethodStreamed(47, new ::grpc::internal::StreamedUnaryHandler< ::google::protobuf::Empty, ::grpc::UserListResponse>( [this](::grpc::ServerContext* context, @@ -9359,7 +8574,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_GetUser() { - ::grpc::Service::MarkMethodStreamed(53, + ::grpc::Service::MarkMethodStreamed(48, new ::grpc::internal::StreamedUnaryHandler< ::google::protobuf::StringValue, ::grpc::User>( [this](::grpc::ServerContext* context, @@ -9386,7 +8601,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_SetUserSplitMode() { - ::grpc::Service::MarkMethodStreamed(54, + ::grpc::Service::MarkMethodStreamed(49, new ::grpc::internal::StreamedUnaryHandler< ::grpc::UserSplitModeRequest, ::google::protobuf::Empty>( [this](::grpc::ServerContext* context, @@ -9413,7 +8628,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_LogoutUser() { - ::grpc::Service::MarkMethodStreamed(55, + ::grpc::Service::MarkMethodStreamed(50, new ::grpc::internal::StreamedUnaryHandler< ::google::protobuf::StringValue, ::google::protobuf::Empty>( [this](::grpc::ServerContext* context, @@ -9440,7 +8655,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_RemoveUser() { - ::grpc::Service::MarkMethodStreamed(56, + ::grpc::Service::MarkMethodStreamed(51, new ::grpc::internal::StreamedUnaryHandler< ::google::protobuf::StringValue, ::google::protobuf::Empty>( [this](::grpc::ServerContext* context, @@ -9467,7 +8682,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_ConfigureUserAppleMail() { - ::grpc::Service::MarkMethodStreamed(57, + ::grpc::Service::MarkMethodStreamed(52, new ::grpc::internal::StreamedUnaryHandler< ::grpc::ConfigureAppleMailRequest, ::google::protobuf::Empty>( [this](::grpc::ServerContext* context, @@ -9494,7 +8709,7 @@ class Bridge final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_StopEventStream() { - ::grpc::Service::MarkMethodStreamed(59, + ::grpc::Service::MarkMethodStreamed(54, new ::grpc::internal::StreamedUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::Empty>( [this](::grpc::ServerContext* context, @@ -9515,14 +8730,14 @@ class Bridge final { // replace default version of method with streamed unary virtual ::grpc::Status StreamedStopEventStream(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::google::protobuf::Empty,::google::protobuf::Empty>* server_unary_streamer) = 0; }; - typedef WithStreamedUnaryMethod_CheckTokens > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > StreamedUnaryService; + typedef WithStreamedUnaryMethod_CheckTokens > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > StreamedUnaryService; template class WithSplitStreamingMethod_RunEventStream : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithSplitStreamingMethod_RunEventStream() { - ::grpc::Service::MarkMethodStreamed(58, + ::grpc::Service::MarkMethodStreamed(53, new ::grpc::internal::SplitServerStreamingHandler< ::grpc::EventStreamRequest, ::grpc::StreamEvent>( [this](::grpc::ServerContext* context, @@ -9544,7 +8759,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 e19eadb5..44ca928a 100644 --- a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/bridge.pb.cc +++ b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/bridge.pb.cc @@ -81,20 +81,22 @@ struct LoginAbortRequestDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LoginAbortRequestDefaultTypeInternal _LoginAbortRequest_default_instance_; -PROTOBUF_CONSTEXPR ChangePortsRequest::ChangePortsRequest( +PROTOBUF_CONSTEXPR ImapSmtpSettings::ImapSmtpSettings( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.imapport_)*/0 , /*decltype(_impl_.smtpport_)*/0 + , /*decltype(_impl_.usesslforimap_)*/false + , /*decltype(_impl_.usesslforsmtp_)*/false , /*decltype(_impl_._cached_size_)*/{}} {} -struct ChangePortsRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR ChangePortsRequestDefaultTypeInternal() +struct ImapSmtpSettingsDefaultTypeInternal { + PROTOBUF_CONSTEXPR ImapSmtpSettingsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~ChangePortsRequestDefaultTypeInternal() {} + ~ImapSmtpSettingsDefaultTypeInternal() {} union { - ChangePortsRequest _instance; + ImapSmtpSettings _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ChangePortsRequestDefaultTypeInternal _ChangePortsRequest_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ImapSmtpSettingsDefaultTypeInternal _ImapSmtpSettings_default_instance_; PROTOBUF_CONSTEXPR AvailableKeychainsResponse::AvailableKeychainsResponse( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.keychains_)*/{} @@ -515,66 +517,57 @@ struct DiskCachePathChangeFinishedEventDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DiskCachePathChangeFinishedEventDefaultTypeInternal _DiskCachePathChangeFinishedEvent_default_instance_; -PROTOBUF_CONSTEXPR MailSettingsEvent::MailSettingsEvent( +PROTOBUF_CONSTEXPR MailServerSettingsEvent::MailServerSettingsEvent( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.event_)*/{} , /*decltype(_impl_._cached_size_)*/{} , /*decltype(_impl_._oneof_case_)*/{}} {} -struct MailSettingsEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR MailSettingsEventDefaultTypeInternal() +struct MailServerSettingsEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR MailServerSettingsEventDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~MailSettingsEventDefaultTypeInternal() {} + ~MailServerSettingsEventDefaultTypeInternal() {} union { - MailSettingsEvent _instance; + MailServerSettingsEvent _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MailSettingsEventDefaultTypeInternal _MailSettingsEvent_default_instance_; -PROTOBUF_CONSTEXPR MailSettingsErrorEvent::MailSettingsErrorEvent( +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MailServerSettingsEventDefaultTypeInternal _MailServerSettingsEvent_default_instance_; +PROTOBUF_CONSTEXPR MailServerSettingsErrorEvent::MailServerSettingsErrorEvent( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.type_)*/0 , /*decltype(_impl_._cached_size_)*/{}} {} -struct MailSettingsErrorEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR MailSettingsErrorEventDefaultTypeInternal() +struct MailServerSettingsErrorEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR MailServerSettingsErrorEventDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~MailSettingsErrorEventDefaultTypeInternal() {} + ~MailServerSettingsErrorEventDefaultTypeInternal() {} union { - MailSettingsErrorEvent _instance; + MailServerSettingsErrorEvent _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MailSettingsErrorEventDefaultTypeInternal _MailSettingsErrorEvent_default_instance_; -PROTOBUF_CONSTEXPR UseSslForSmtpFinishedEvent::UseSslForSmtpFinishedEvent( +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MailServerSettingsErrorEventDefaultTypeInternal _MailServerSettingsErrorEvent_default_instance_; +PROTOBUF_CONSTEXPR MailServerSettingsChangedEvent::MailServerSettingsChangedEvent( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.settings_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct MailServerSettingsChangedEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR MailServerSettingsChangedEventDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~MailServerSettingsChangedEventDefaultTypeInternal() {} + union { + MailServerSettingsChangedEvent _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MailServerSettingsChangedEventDefaultTypeInternal _MailServerSettingsChangedEvent_default_instance_; +PROTOBUF_CONSTEXPR ChangeMailServerSettingsFinishedEvent::ChangeMailServerSettingsFinishedEvent( ::_pbi::ConstantInitialized) {} -struct UseSslForSmtpFinishedEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR UseSslForSmtpFinishedEventDefaultTypeInternal() +struct ChangeMailServerSettingsFinishedEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR ChangeMailServerSettingsFinishedEventDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~UseSslForSmtpFinishedEventDefaultTypeInternal() {} + ~ChangeMailServerSettingsFinishedEventDefaultTypeInternal() {} union { - UseSslForSmtpFinishedEvent _instance; + ChangeMailServerSettingsFinishedEvent _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UseSslForSmtpFinishedEventDefaultTypeInternal _UseSslForSmtpFinishedEvent_default_instance_; -PROTOBUF_CONSTEXPR UseSslForImapFinishedEvent::UseSslForImapFinishedEvent( - ::_pbi::ConstantInitialized) {} -struct UseSslForImapFinishedEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR UseSslForImapFinishedEventDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~UseSslForImapFinishedEventDefaultTypeInternal() {} - union { - UseSslForImapFinishedEvent _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UseSslForImapFinishedEventDefaultTypeInternal _UseSslForImapFinishedEvent_default_instance_; -PROTOBUF_CONSTEXPR ChangePortsFinishedEvent::ChangePortsFinishedEvent( - ::_pbi::ConstantInitialized) {} -struct ChangePortsFinishedEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR ChangePortsFinishedEventDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ChangePortsFinishedEventDefaultTypeInternal() {} - union { - ChangePortsFinishedEvent _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ChangePortsFinishedEventDefaultTypeInternal _ChangePortsFinishedEvent_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ChangeMailServerSettingsFinishedEventDefaultTypeInternal _ChangeMailServerSettingsFinishedEvent_default_instance_; PROTOBUF_CONSTEXPR KeychainEvent::KeychainEvent( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.event_)*/{} @@ -740,7 +733,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[56]; +static ::_pb::Metadata file_level_metadata_bridge_2eproto[55]; static const ::_pb::EnumDescriptor* file_level_enum_descriptors_bridge_2eproto[6]; static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_bridge_2eproto = nullptr; @@ -782,13 +775,15 @@ 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::ChangePortsRequest, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::grpc::ImapSmtpSettings, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::grpc::ChangePortsRequest, _impl_.imapport_), - PROTOBUF_FIELD_OFFSET(::grpc::ChangePortsRequest, _impl_.smtpport_), + PROTOBUF_FIELD_OFFSET(::grpc::ImapSmtpSettings, _impl_.imapport_), + PROTOBUF_FIELD_OFFSET(::grpc::ImapSmtpSettings, _impl_.smtpport_), + PROTOBUF_FIELD_OFFSET(::grpc::ImapSmtpSettings, _impl_.usesslforimap_), + PROTOBUF_FIELD_OFFSET(::grpc::ImapSmtpSettings, _impl_.usesslforsmtp_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::grpc::AvailableKeychainsResponse, _internal_metadata_), ~0u, // no _extensions_ @@ -1051,37 +1046,31 @@ 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::MailSettingsEvent, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::grpc::MailServerSettingsEvent, _internal_metadata_), ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::grpc::MailSettingsEvent, _impl_._oneof_case_[0]), + PROTOBUF_FIELD_OFFSET(::grpc::MailServerSettingsEvent, _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::MailSettingsEvent, _impl_.event_), + PROTOBUF_FIELD_OFFSET(::grpc::MailServerSettingsEvent, _impl_.event_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::grpc::MailSettingsErrorEvent, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::grpc::MailServerSettingsErrorEvent, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::grpc::MailSettingsErrorEvent, _impl_.type_), + PROTOBUF_FIELD_OFFSET(::grpc::MailServerSettingsErrorEvent, _impl_.type_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::grpc::UseSslForSmtpFinishedEvent, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::grpc::MailServerSettingsChangedEvent, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::grpc::MailServerSettingsChangedEvent, _impl_.settings_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::grpc::UseSslForImapFinishedEvent, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::grpc::ChangePortsFinishedEvent, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::grpc::ChangeMailServerSettingsFinishedEvent, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ @@ -1189,58 +1178,57 @@ 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::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)}, + { 36, -1, -1, sizeof(::grpc::ImapSmtpSettings)}, + { 46, -1, -1, sizeof(::grpc::AvailableKeychainsResponse)}, + { 53, -1, -1, sizeof(::grpc::User)}, + { 69, -1, -1, sizeof(::grpc::UserSplitModeRequest)}, + { 77, -1, -1, sizeof(::grpc::UserListResponse)}, + { 84, -1, -1, sizeof(::grpc::ConfigureAppleMailRequest)}, + { 92, -1, -1, sizeof(::grpc::EventStreamRequest)}, + { 99, -1, -1, sizeof(::grpc::StreamEvent)}, + { 114, -1, -1, sizeof(::grpc::AppEvent)}, + { 128, -1, -1, sizeof(::grpc::InternetStatusEvent)}, + { 135, -1, -1, sizeof(::grpc::ToggleAutostartFinishedEvent)}, + { 141, -1, -1, sizeof(::grpc::ResetFinishedEvent)}, + { 147, -1, -1, sizeof(::grpc::ReportBugFinishedEvent)}, + { 153, -1, -1, sizeof(::grpc::ReportBugSuccessEvent)}, + { 159, -1, -1, sizeof(::grpc::ReportBugErrorEvent)}, + { 165, -1, -1, sizeof(::grpc::ShowMainWindowEvent)}, + { 171, -1, -1, sizeof(::grpc::LoginEvent)}, + { 183, -1, -1, sizeof(::grpc::LoginErrorEvent)}, + { 191, -1, -1, sizeof(::grpc::LoginTfaRequestedEvent)}, + { 198, -1, -1, sizeof(::grpc::LoginTwoPasswordsRequestedEvent)}, + { 204, -1, -1, sizeof(::grpc::LoginFinishedEvent)}, + { 211, -1, -1, sizeof(::grpc::UpdateEvent)}, + { 226, -1, -1, sizeof(::grpc::UpdateErrorEvent)}, + { 233, -1, -1, sizeof(::grpc::UpdateManualReadyEvent)}, + { 240, -1, -1, sizeof(::grpc::UpdateManualRestartNeededEvent)}, + { 246, -1, -1, sizeof(::grpc::UpdateForceEvent)}, + { 253, -1, -1, sizeof(::grpc::UpdateSilentRestartNeeded)}, + { 259, -1, -1, sizeof(::grpc::UpdateIsLatestVersion)}, + { 265, -1, -1, sizeof(::grpc::UpdateCheckFinished)}, + { 271, -1, -1, sizeof(::grpc::UpdateVersionChanged)}, + { 277, -1, -1, sizeof(::grpc::DiskCacheEvent)}, + { 287, -1, -1, sizeof(::grpc::DiskCacheErrorEvent)}, + { 294, -1, -1, sizeof(::grpc::DiskCachePathChangedEvent)}, + { 301, -1, -1, sizeof(::grpc::DiskCachePathChangeFinishedEvent)}, + { 307, -1, -1, sizeof(::grpc::MailServerSettingsEvent)}, + { 317, -1, -1, sizeof(::grpc::MailServerSettingsErrorEvent)}, + { 324, -1, -1, sizeof(::grpc::MailServerSettingsChangedEvent)}, + { 331, -1, -1, sizeof(::grpc::ChangeMailServerSettingsFinishedEvent)}, + { 337, -1, -1, sizeof(::grpc::KeychainEvent)}, + { 347, -1, -1, sizeof(::grpc::ChangeKeychainFinishedEvent)}, + { 353, -1, -1, sizeof(::grpc::HasNoKeychainEvent)}, + { 359, -1, -1, sizeof(::grpc::RebuildKeychainEvent)}, + { 365, -1, -1, sizeof(::grpc::MailEvent)}, + { 376, -1, -1, sizeof(::grpc::NoActiveKeyForRecipientEvent)}, + { 383, -1, -1, sizeof(::grpc::AddressChangedEvent)}, + { 390, -1, -1, sizeof(::grpc::AddressChangedLogoutEvent)}, + { 397, -1, -1, sizeof(::grpc::ApiCertIssueEvent)}, + { 403, -1, -1, sizeof(::grpc::UserEvent)}, + { 413, -1, -1, sizeof(::grpc::ToggleSplitModeFinishedEvent)}, + { 420, -1, -1, sizeof(::grpc::UserDisconnectedEvent)}, + { 427, -1, -1, sizeof(::grpc::UserChangedEvent)}, }; static const ::_pb::Message* const file_default_instances[] = { @@ -1248,7 +1236,7 @@ static const ::_pb::Message* const file_default_instances[] = { &::grpc::_ReportBugRequest_default_instance_._instance, &::grpc::_LoginRequest_default_instance_._instance, &::grpc::_LoginAbortRequest_default_instance_._instance, - &::grpc::_ChangePortsRequest_default_instance_._instance, + &::grpc::_ImapSmtpSettings_default_instance_._instance, &::grpc::_AvailableKeychainsResponse_default_instance_._instance, &::grpc::_User_default_instance_._instance, &::grpc::_UserSplitModeRequest_default_instance_._instance, @@ -1282,11 +1270,10 @@ static const ::_pb::Message* const file_default_instances[] = { &::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, - &::grpc::_UseSslForImapFinishedEvent_default_instance_._instance, - &::grpc::_ChangePortsFinishedEvent_default_instance_._instance, + &::grpc::_MailServerSettingsEvent_default_instance_._instance, + &::grpc::_MailServerSettingsErrorEvent_default_instance_._instance, + &::grpc::_MailServerSettingsChangedEvent_default_instance_._instance, + &::grpc::_ChangeMailServerSettingsFinishedEvent_default_instance_._instance, &::grpc::_KeychainEvent_default_instance_._instance, &::grpc::_ChangeKeychainFinishedEvent_default_instance_._instance, &::grpc::_HasNoKeychainEvent_default_instance_._instance, @@ -1312,239 +1299,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\"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\"\317\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\036\n\005state\030\004 \001(\0162\017.grpc.UserState\022\021\n\tspl" - "itMode\030\005 \001(\010\022\026\n\016setupGuideSeen\030\006 \001(\010\022\021\n\t" - "usedBytes\030\007 \001(\003\022\022\n\ntotalBytes\030\010 \001(\003\022\020\n\010p" - "assword\030\t \001(\014\022\021\n\taddresses\030\n \003(\t\"6\n\024User" - "SplitModeRequest\022\016\n\006userID\030\001 \001(\t\022\016\n\006acti" - "ve\030\002 \001(\010\"-\n\020UserListResponse\022\031\n\005users\030\001 " - "\003(\0132\n.grpc.User\"<\n\031ConfigureAppleMailReq" - "uest\022\016\n\006userID\030\001 \001(\t\022\017\n\007address\030\002 \001(\t\",\n" - "\022EventStreamRequest\022\026\n\016ClientPlatform\030\001 " - "\001(\t\"\300\002\n\013StreamEvent\022\035\n\003app\030\001 \001(\0132\016.grpc." - "AppEventH\000\022!\n\005login\030\002 \001(\0132\020.grpc.LoginEv" - "entH\000\022#\n\006update\030\003 \001(\0132\021.grpc.UpdateEvent" - "H\000\022%\n\005cache\030\004 \001(\0132\024.grpc.DiskCacheEventH" - "\000\022/\n\014mailSettings\030\005 \001(\0132\027.grpc.MailSetti" - "ngsEventH\000\022\'\n\010keychain\030\006 \001(\0132\023.grpc.Keyc" - "hainEventH\000\022\037\n\004mail\030\007 \001(\0132\017.grpc.MailEve" - "ntH\000\022\037\n\004user\030\010 \001(\0132\017.grpc.UserEventH\000B\007\n" - "\005event\"\240\003\n\010AppEvent\0223\n\016internetStatus\030\001 " - "\001(\0132\031.grpc.InternetStatusEventH\000\022E\n\027togg" - "leAutostartFinished\030\002 \001(\0132\".grpc.ToggleA" - "utostartFinishedEventH\000\0221\n\rresetFinished" - "\030\003 \001(\0132\030.grpc.ResetFinishedEventH\000\0229\n\021re" - "portBugFinished\030\004 \001(\0132\034.grpc.ReportBugFi" - "nishedEventH\000\0227\n\020reportBugSuccess\030\005 \001(\0132" - "\033.grpc.ReportBugSuccessEventH\000\0223\n\016report" - "BugError\030\006 \001(\0132\031.grpc.ReportBugErrorEven" - "tH\000\0223\n\016showMainWindow\030\007 \001(\0132\031.grpc.ShowM" - "ainWindowEventH\000B\007\n\005event\"(\n\023InternetSta" - "tusEvent\022\021\n\tconnected\030\001 \001(\010\"\036\n\034ToggleAut" - "ostartFinishedEvent\"\024\n\022ResetFinishedEven" - "t\"\030\n\026ReportBugFinishedEvent\"\027\n\025ReportBug" - "SuccessEvent\"\025\n\023ReportBugErrorEvent\"\025\n\023S" - "howMainWindowEvent\"\235\002\n\nLoginEvent\022&\n\005err" - "or\030\001 \001(\0132\025.grpc.LoginErrorEventH\000\0224\n\014tfa" - "Requested\030\002 \001(\0132\034.grpc.LoginTfaRequested" - "EventH\000\022E\n\024twoPasswordRequested\030\003 \001(\0132%." - "grpc.LoginTwoPasswordsRequestedEventH\000\022," - "\n\010finished\030\004 \001(\0132\030.grpc.LoginFinishedEve" - "ntH\000\0223\n\017alreadyLoggedIn\030\005 \001(\0132\030.grpc.Log" - "inFinishedEventH\000B\007\n\005event\"F\n\017LoginError" - "Event\022\"\n\004type\030\001 \001(\0162\024.grpc.LoginErrorTyp" - "e\022\017\n\007message\030\002 \001(\t\"*\n\026LoginTfaRequestedE" - "vent\022\020\n\010username\030\001 \001(\t\"!\n\037LoginTwoPasswo" - "rdsRequestedEvent\"$\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\013manu" - "alReady\030\002 \001(\0132\034.grpc.UpdateManualReadyEv" - "entH\000\022C\n\023manualRestartNeeded\030\003 \001(\0132$.grp" - "c.UpdateManualRestartNeededEventH\000\022\'\n\005fo" - "rce\030\004 \001(\0132\026.grpc.UpdateForceEventH\000\022>\n\023s" - "ilentRestartNeeded\030\005 \001(\0132\037.grpc.UpdateSi" - "lentRestartNeededH\000\0226\n\017isLatestVersion\030\006" - " \001(\0132\033.grpc.UpdateIsLatestVersionH\000\0222\n\rc" - "heckFinished\030\007 \001(\0132\031.grpc.UpdateCheckFin" - "ishedH\000\0224\n\016versionChanged\030\010 \001(\0132\032.grpc.U" - "pdateVersionChangedH\000B\007\n\005event\"7\n\020Update" - "ErrorEvent\022#\n\004type\030\001 \001(\0162\025.grpc.UpdateEr" - "rorType\")\n\026UpdateManualReadyEvent\022\017\n\007ver" - "sion\030\001 \001(\t\" \n\036UpdateManualRestartNeededE" - "vent\"#\n\020UpdateForceEvent\022\017\n\007version\030\001 \001(" - "\t\"\033\n\031UpdateSilentRestartNeeded\"\027\n\025Update" - "IsLatestVersion\"\025\n\023UpdateCheckFinished\"\026" - "\n\024UpdateVersionChanged\"\303\001\n\016DiskCacheEven" - "t\022*\n\005error\030\001 \001(\0132\031.grpc.DiskCacheErrorEv" - "entH\000\0226\n\013pathChanged\030\002 \001(\0132\037.grpc.DiskCa" - "chePathChangedEventH\000\022D\n\022pathChangeFinis" - "hed\030\003 \001(\0132&.grpc.DiskCachePathChangeFini" - "shedEventH\000B\007\n\005event\"=\n\023DiskCacheErrorEv" - "ent\022&\n\004type\030\001 \001(\0162\030.grpc.DiskCacheErrorT" - "ype\")\n\031DiskCachePathChangedEvent\022\014\n\004path" - "\030\001 \001(\t\"\"\n DiskCachePathChangeFinishedEve" - "nt\"\220\002\n\021MailSettingsEvent\022-\n\005error\030\001 \001(\0132" - "\034.grpc.MailSettingsErrorEventH\000\022A\n\025useSs" - "lForSmtpFinished\030\002 \001(\0132 .grpc.UseSslForS" - "mtpFinishedEventH\000\022=\n\023changePortsFinishe" - "d\030\003 \001(\0132\036.grpc.ChangePortsFinishedEventH" - "\000\022A\n\025useSslForImapFinished\030\004 \001(\0132 .grpc." - "UseSslForImapFinishedEventH\000B\007\n\005event\"C\n" - "\026MailSettingsErrorEvent\022)\n\004type\030\001 \001(\0162\033." - "grpc.MailSettingsErrorType\"\034\n\032UseSslForS" - "mtpFinishedEvent\"\034\n\032UseSslForImapFinishe" - "dEvent\"\032\n\030ChangePortsFinishedEvent\"\307\001\n\rK" - "eychainEvent\022C\n\026changeKeychainFinished\030\001" - " \001(\0132!.grpc.ChangeKeychainFinishedEventH" - "\000\0221\n\rhasNoKeychain\030\002 \001(\0132\030.grpc.HasNoKey" - "chainEventH\000\0225\n\017rebuildKeychain\030\003 \001(\0132\032." - "grpc.RebuildKeychainEventH\000B\007\n\005event\"\035\n\033" - "ChangeKeychainFinishedEvent\"\024\n\022HasNoKeyc" - "hainEvent\"\026\n\024RebuildKeychainEvent\"\207\002\n\tMa" - "ilEvent\022J\n\034noActiveKeyForRecipientEvent\030" - "\001 \001(\0132\".grpc.NoActiveKeyForRecipientEven" - "tH\000\0223\n\016addressChanged\030\002 \001(\0132\031.grpc.Addre" - "ssChangedEventH\000\022\?\n\024addressChangedLogout" - "\030\003 \001(\0132\037.grpc.AddressChangedLogoutEventH" - "\000\022/\n\014apiCertIssue\030\006 \001(\0132\027.grpc.ApiCertIs" - "sueEventH\000B\007\n\005event\"-\n\034NoActiveKeyForRec" - "ipientEvent\022\r\n\005email\030\001 \001(\t\"&\n\023AddressCha" - "ngedEvent\022\017\n\007address\030\001 \001(\t\",\n\031AddressCha" - "ngedLogoutEvent\022\017\n\007address\030\001 \001(\t\"\023\n\021ApiC" - "ertIssueEvent\"\303\001\n\tUserEvent\022E\n\027toggleSpl" - "itModeFinished\030\001 \001(\0132\".grpc.ToggleSplitM" - "odeFinishedEventH\000\0227\n\020userDisconnected\030\002" - " \001(\0132\033.grpc.UserDisconnectedEventH\000\022-\n\013u" - "serChanged\030\003 \001(\0132\026.grpc.UserChangedEvent" - "H\000B\007\n\005event\".\n\034ToggleSplitModeFinishedEv" - "ent\022\016\n\006userID\030\001 \001(\t\")\n\025UserDisconnectedE" - "vent\022\020\n\010username\030\001 \001(\t\"\"\n\020UserChangedEve" - "nt\022\016\n\006userID\030\001 \001(\t*q\n\010LogLevel\022\r\n\tLOG_PA" - "NIC\020\000\022\r\n\tLOG_FATAL\020\001\022\r\n\tLOG_ERROR\020\002\022\014\n\010L" - "OG_WARN\020\003\022\014\n\010LOG_INFO\020\004\022\r\n\tLOG_DEBUG\020\005\022\r" - "\n\tLOG_TRACE\020\006*6\n\tUserState\022\016\n\nSIGNED_OUT" - "\020\000\022\n\n\006LOCKED\020\001\022\r\n\tCONNECTED\020\002*\242\001\n\016LoginE" - "rrorType\022\033\n\027USERNAME_PASSWORD_ERROR\020\000\022\r\n" - "\tFREE_USER\020\001\022\024\n\020CONNECTION_ERROR\020\002\022\r\n\tTF" - "A_ERROR\020\003\022\r\n\tTFA_ABORT\020\004\022\027\n\023TWO_PASSWORD" - "S_ERROR\020\005\022\027\n\023TWO_PASSWORDS_ABORT\020\006*[\n\017Up" - "dateErrorType\022\027\n\023UPDATE_MANUAL_ERROR\020\000\022\026" - "\n\022UPDATE_FORCE_ERROR\020\001\022\027\n\023UPDATE_SILENT_" - "ERROR\020\002*k\n\022DiskCacheErrorType\022 \n\034DISK_CA" - "CHE_UNAVAILABLE_ERROR\020\000\022\036\n\032CANT_MOVE_DIS" - "K_CACHE_ERROR\020\001\022\023\n\017DISK_FULL_ERROR\020\002*A\n\025" - "MailSettingsErrorType\022\023\n\017IMAP_PORT_ISSUE" - "\020\000\022\023\n\017SMTP_PORT_ISSUE\020\0012\247 \n\006Bridge\022I\n\013Ch" - "eckTokens\022\034.google.protobuf.StringValue\032" - "\034.google.protobuf.StringValue\022\?\n\013AddLogE" - "ntry\022\030.grpc.AddLogEntryRequest\032\026.google." - "protobuf.Empty\022:\n\010GuiReady\022\026.google.prot" - "obuf.Empty\032\026.google.protobuf.Empty\0226\n\004Qu" - "it\022\026.google.protobuf.Empty\032\026.google.prot" - "obuf.Empty\0229\n\007Restart\022\026.google.protobuf." - "Empty\032\026.google.protobuf.Empty\022C\n\rShowOnS" - "tartup\022\026.google.protobuf.Empty\032\032.google." - "protobuf.BoolValue\022F\n\020ShowSplashScreen\022\026" - ".google.protobuf.Empty\032\032.google.protobuf" - ".BoolValue\022E\n\017IsFirstGuiStart\022\026.google.p" - "rotobuf.Empty\032\032.google.protobuf.BoolValu" - "e\022F\n\020SetIsAutostartOn\022\032.google.protobuf." - "BoolValue\032\026.google.protobuf.Empty\022C\n\rIsA" - "utostartOn\022\026.google.protobuf.Empty\032\032.goo" - "gle.protobuf.BoolValue\022F\n\020SetIsBetaEnabl" - "ed\022\032.google.protobuf.BoolValue\032\026.google." - "protobuf.Empty\022C\n\rIsBetaEnabled\022\026.google" + "LoginAbortRequest\022\020\n\010username\030\001 \001(\t\"d\n\020I" + "mapSmtpSettings\022\020\n\010imapPort\030\001 \001(\005\022\020\n\010smt" + "pPort\030\002 \001(\005\022\025\n\ruseSSLForImap\030\003 \001(\010\022\025\n\rus" + "eSSLForSmtp\030\004 \001(\010\"/\n\032AvailableKeychainsR" + "esponse\022\021\n\tkeychains\030\001 \003(\t\"\317\001\n\004User\022\n\n\002i" + "d\030\001 \001(\t\022\020\n\010username\030\002 \001(\t\022\022\n\navatarText\030" + "\003 \001(\t\022\036\n\005state\030\004 \001(\0162\017.grpc.UserState\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\024" + "UserSplitModeRequest\022\016\n\006userID\030\001 \001(\t\022\016\n\006" + "active\030\002 \001(\010\"-\n\020UserListResponse\022\031\n\005user" + "s\030\001 \003(\0132\n.grpc.User\"<\n\031ConfigureAppleMai" + "lRequest\022\016\n\006userID\030\001 \001(\t\022\017\n\007address\030\002 \001(" + "\t\",\n\022EventStreamRequest\022\026\n\016ClientPlatfor" + "m\030\001 \001(\t\"\314\002\n\013StreamEvent\022\035\n\003app\030\001 \001(\0132\016.g" + "rpc.AppEventH\000\022!\n\005login\030\002 \001(\0132\020.grpc.Log" + "inEventH\000\022#\n\006update\030\003 \001(\0132\021.grpc.UpdateE" + "ventH\000\022%\n\005cache\030\004 \001(\0132\024.grpc.DiskCacheEv" + "entH\000\022;\n\022mailServerSettings\030\005 \001(\0132\035.grpc" + ".MailServerSettingsEventH\000\022\'\n\010keychain\030\006" + " \001(\0132\023.grpc.KeychainEventH\000\022\037\n\004mail\030\007 \001(" + "\0132\017.grpc.MailEventH\000\022\037\n\004user\030\010 \001(\0132\017.grp" + "c.UserEventH\000B\007\n\005event\"\240\003\n\010AppEvent\0223\n\016i" + "nternetStatus\030\001 \001(\0132\031.grpc.InternetStatu" + "sEventH\000\022E\n\027toggleAutostartFinished\030\002 \001(" + "\0132\".grpc.ToggleAutostartFinishedEventH\000\022" + "1\n\rresetFinished\030\003 \001(\0132\030.grpc.ResetFinis" + "hedEventH\000\0229\n\021reportBugFinished\030\004 \001(\0132\034." + "grpc.ReportBugFinishedEventH\000\0227\n\020reportB" + "ugSuccess\030\005 \001(\0132\033.grpc.ReportBugSuccessE" + "ventH\000\0223\n\016reportBugError\030\006 \001(\0132\031.grpc.Re" + "portBugErrorEventH\000\0223\n\016showMainWindow\030\007 " + "\001(\0132\031.grpc.ShowMainWindowEventH\000B\007\n\005even" + "t\"(\n\023InternetStatusEvent\022\021\n\tconnected\030\001 " + "\001(\010\"\036\n\034ToggleAutostartFinishedEvent\"\024\n\022R" + "esetFinishedEvent\"\030\n\026ReportBugFinishedEv" + "ent\"\027\n\025ReportBugSuccessEvent\"\025\n\023ReportBu" + "gErrorEvent\"\025\n\023ShowMainWindowEvent\"\235\002\n\nL" + "oginEvent\022&\n\005error\030\001 \001(\0132\025.grpc.LoginErr" + "orEventH\000\0224\n\014tfaRequested\030\002 \001(\0132\034.grpc.L" + "oginTfaRequestedEventH\000\022E\n\024twoPasswordRe" + "quested\030\003 \001(\0132%.grpc.LoginTwoPasswordsRe" + "questedEventH\000\022,\n\010finished\030\004 \001(\0132\030.grpc." + "LoginFinishedEventH\000\0223\n\017alreadyLoggedIn\030" + "\005 \001(\0132\030.grpc.LoginFinishedEventH\000B\007\n\005eve" + "nt\"F\n\017LoginErrorEvent\022\"\n\004type\030\001 \001(\0162\024.gr" + "pc.LoginErrorType\022\017\n\007message\030\002 \001(\t\"*\n\026Lo" + "ginTfaRequestedEvent\022\020\n\010username\030\001 \001(\t\"!" + "\n\037LoginTwoPasswordsRequestedEvent\"$\n\022Log" + "inFinishedEvent\022\016\n\006userID\030\001 \001(\t\"\304\003\n\013Upda" + "teEvent\022\'\n\005error\030\001 \001(\0132\026.grpc.UpdateErro" + "rEventH\000\0223\n\013manualReady\030\002 \001(\0132\034.grpc.Upd" + "ateManualReadyEventH\000\022C\n\023manualRestartNe" + "eded\030\003 \001(\0132$.grpc.UpdateManualRestartNee" + "dedEventH\000\022\'\n\005force\030\004 \001(\0132\026.grpc.UpdateF" + "orceEventH\000\022>\n\023silentRestartNeeded\030\005 \001(\013" + "2\037.grpc.UpdateSilentRestartNeededH\000\0226\n\017i" + "sLatestVersion\030\006 \001(\0132\033.grpc.UpdateIsLate" + "stVersionH\000\0222\n\rcheckFinished\030\007 \001(\0132\031.grp" + "c.UpdateCheckFinishedH\000\0224\n\016versionChange" + "d\030\010 \001(\0132\032.grpc.UpdateVersionChangedH\000B\007\n" + "\005event\"7\n\020UpdateErrorEvent\022#\n\004type\030\001 \001(\016" + "2\025.grpc.UpdateErrorType\")\n\026UpdateManualR" + "eadyEvent\022\017\n\007version\030\001 \001(\t\" \n\036UpdateManu" + "alRestartNeededEvent\"#\n\020UpdateForceEvent" + "\022\017\n\007version\030\001 \001(\t\"\033\n\031UpdateSilentRestart" + "Needed\"\027\n\025UpdateIsLatestVersion\"\025\n\023Updat" + "eCheckFinished\"\026\n\024UpdateVersionChanged\"\303" + "\001\n\016DiskCacheEvent\022*\n\005error\030\001 \001(\0132\031.grpc." + "DiskCacheErrorEventH\000\0226\n\013pathChanged\030\002 \001" + "(\0132\037.grpc.DiskCachePathChangedEventH\000\022D\n" + "\022pathChangeFinished\030\003 \001(\0132&.grpc.DiskCac" + "hePathChangeFinishedEventH\000B\007\n\005event\"=\n\023" + "DiskCacheErrorEvent\022&\n\004type\030\001 \001(\0162\030.grpc" + ".DiskCacheErrorType\")\n\031DiskCachePathChan" + "gedEvent\022\014\n\004path\030\001 \001(\t\"\"\n DiskCachePathC" + "hangeFinishedEvent\"\373\001\n\027MailServerSetting" + "sEvent\0223\n\005error\030\001 \001(\0132\".grpc.MailServerS" + "ettingsErrorEventH\000\022I\n\031mailServerSetting" + "sChanged\030\002 \001(\0132$.grpc.MailServerSettings" + "ChangedEventH\000\022W\n changeMailServerSettin" + "gsFinished\030\003 \001(\0132+.grpc.ChangeMailServer" + "SettingsFinishedEventH\000B\007\n\005event\"O\n\034Mail" + "ServerSettingsErrorEvent\022/\n\004type\030\001 \001(\0162!" + ".grpc.MailServerSettingsErrorType\"J\n\036Mai" + "lServerSettingsChangedEvent\022(\n\010settings\030" + "\001 \001(\0132\026.grpc.ImapSmtpSettings\"\'\n%ChangeM" + "ailServerSettingsFinishedEvent\"\307\001\n\rKeych" + "ainEvent\022C\n\026changeKeychainFinished\030\001 \001(\013" + "2!.grpc.ChangeKeychainFinishedEventH\000\0221\n" + "\rhasNoKeychain\030\002 \001(\0132\030.grpc.HasNoKeychai" + "nEventH\000\0225\n\017rebuildKeychain\030\003 \001(\0132\032.grpc" + ".RebuildKeychainEventH\000B\007\n\005event\"\035\n\033Chan" + "geKeychainFinishedEvent\"\024\n\022HasNoKeychain" + "Event\"\026\n\024RebuildKeychainEvent\"\207\002\n\tMailEv" + "ent\022J\n\034noActiveKeyForRecipientEvent\030\001 \001(" + "\0132\".grpc.NoActiveKeyForRecipientEventH\000\022" + "3\n\016addressChanged\030\002 \001(\0132\031.grpc.AddressCh" + "angedEventH\000\022\?\n\024addressChangedLogout\030\003 \001" + "(\0132\037.grpc.AddressChangedLogoutEventH\000\022/\n" + "\014apiCertIssue\030\006 \001(\0132\027.grpc.ApiCertIssueE" + "ventH\000B\007\n\005event\"-\n\034NoActiveKeyForRecipie" + "ntEvent\022\r\n\005email\030\001 \001(\t\"&\n\023AddressChanged" + "Event\022\017\n\007address\030\001 \001(\t\",\n\031AddressChanged" + "LogoutEvent\022\017\n\007address\030\001 \001(\t\"\023\n\021ApiCertI" + "ssueEvent\"\303\001\n\tUserEvent\022E\n\027toggleSplitMo" + "deFinished\030\001 \001(\0132\".grpc.ToggleSplitModeF" + "inishedEventH\000\0227\n\020userDisconnected\030\002 \001(\013" + "2\033.grpc.UserDisconnectedEventH\000\022-\n\013userC" + "hanged\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\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_FATAL\020\001\022\r\n\tLOG_ERROR\020\002\022\014\n\010LOG_W" + "ARN\020\003\022\014\n\010LOG_INFO\020\004\022\r\n\tLOG_DEBUG\020\005\022\r\n\tLO" + "G_TRACE\020\006*6\n\tUserState\022\016\n\nSIGNED_OUT\020\000\022\n" + "\n\006LOCKED\020\001\022\r\n\tCONNECTED\020\002*\242\001\n\016LoginError" + "Type\022\033\n\027USERNAME_PASSWORD_ERROR\020\000\022\r\n\tFRE" + "E_USER\020\001\022\024\n\020CONNECTION_ERROR\020\002\022\r\n\tTFA_ER" + "ROR\020\003\022\r\n\tTFA_ABORT\020\004\022\027\n\023TWO_PASSWORDS_ER" + "ROR\020\005\022\027\n\023TWO_PASSWORDS_ABORT\020\006*[\n\017Update" + "ErrorType\022\027\n\023UPDATE_MANUAL_ERROR\020\000\022\026\n\022UP" + "DATE_FORCE_ERROR\020\001\022\027\n\023UPDATE_SILENT_ERRO" + "R\020\002*k\n\022DiskCacheErrorType\022 \n\034DISK_CACHE_" + "UNAVAILABLE_ERROR\020\000\022\036\n\032CANT_MOVE_DISK_CA" + "CHE_ERROR\020\001\022\023\n\017DISK_FULL_ERROR\020\002*\335\001\n\033Mai" + "lServerSettingsErrorType\022\033\n\027IMAP_PORT_ST" + "ARTUP_ERROR\020\000\022\033\n\027SMTP_PORT_STARTUP_ERROR" + "\020\001\022\032\n\026IMAP_PORT_CHANGE_ERROR\020\002\022\032\n\026SMTP_P" + "ORT_CHANGE_ERROR\020\003\022%\n!IMAP_CONNECTION_MO" + "DE_CHANGE_ERROR\020\004\022%\n!SMTP_CONNECTION_MOD" + "E_CHANGE_ERROR\020\0052\331\035\n\006Bridge\022I\n\013CheckToke" + "ns\022\034.google.protobuf.StringValue\032\034.googl" + "e.protobuf.StringValue\022\?\n\013AddLogEntry\022\030." + "grpc.AddLogEntryRequest\032\026.google.protobu" + "f.Empty\022:\n\010GuiReady\022\026.google.protobuf.Em" + "pty\032\026.google.protobuf.Empty\0226\n\004Quit\022\026.go" + "ogle.protobuf.Empty\032\026.google.protobuf.Em" + "pty\0229\n\007Restart\022\026.google.protobuf.Empty\032\026" + ".google.protobuf.Empty\022C\n\rShowOnStartup\022" + "\026.google.protobuf.Empty\032\032.google.protobu" + "f.BoolValue\022F\n\020ShowSplashScreen\022\026.google" ".protobuf.Empty\032\032.google.protobuf.BoolVa" - "lue\022I\n\023SetIsAllMailVisible\022\032.google.prot" - "obuf.BoolValue\032\026.google.protobuf.Empty\022F" - "\n\020IsAllMailVisible\022\026.google.protobuf.Emp" - "ty\032\032.google.protobuf.BoolValue\022<\n\004GoOs\022\026" - ".google.protobuf.Empty\032\034.google.protobuf" - ".StringValue\022>\n\014TriggerReset\022\026.google.pr" - "otobuf.Empty\032\026.google.protobuf.Empty\022\?\n\007" - "Version\022\026.google.protobuf.Empty\032\034.google" - ".protobuf.StringValue\022@\n\010LogsPath\022\026.goog" - "le.protobuf.Empty\032\034.google.protobuf.Stri" - "ngValue\022C\n\013LicensePath\022\026.google.protobuf" - ".Empty\032\034.google.protobuf.StringValue\022L\n\024" - "ReleaseNotesPageLink\022\026.google.protobuf.E" - "mpty\032\034.google.protobuf.StringValue\022N\n\026De" - "pendencyLicensesLink\022\026.google.protobuf.E" - "mpty\032\034.google.protobuf.StringValue\022G\n\017La" - "ndingPageLink\022\026.google.protobuf.Empty\032\034." - "google.protobuf.StringValue\022J\n\022SetColorS" - "chemeName\022\034.google.protobuf.StringValue\032" - "\026.google.protobuf.Empty\022G\n\017ColorSchemeNa" - "me\022\026.google.protobuf.Empty\032\034.google.prot" - "obuf.StringValue\022J\n\022CurrentEmailClient\022\026" - ".google.protobuf.Empty\032\034.google.protobuf" - ".StringValue\022;\n\tReportBug\022\026.grpc.ReportB" - "ugRequest\032\026.google.protobuf.Empty\022E\n\rFor" - "ceLauncher\022\034.google.protobuf.StringValue" - "\032\026.google.protobuf.Empty\022I\n\021SetMainExecu" - "table\022\034.google.protobuf.StringValue\032\026.go" - "ogle.protobuf.Empty\0223\n\005Login\022\022.grpc.Logi" - "nRequest\032\026.google.protobuf.Empty\0226\n\010Logi" - "n2FA\022\022.grpc.LoginRequest\032\026.google.protob" - "uf.Empty\022=\n\017Login2Passwords\022\022.grpc.Login" - "Request\032\026.google.protobuf.Empty\022=\n\nLogin" - "Abort\022\027.grpc.LoginAbortRequest\032\026.google." - "protobuf.Empty\022=\n\013CheckUpdate\022\026.google.p" - "rotobuf.Empty\032\026.google.protobuf.Empty\022\?\n" - "\rInstallUpdate\022\026.google.protobuf.Empty\032\026" - ".google.protobuf.Empty\022L\n\026SetIsAutomatic" - "UpdateOn\022\032.google.protobuf.BoolValue\032\026.g" - "oogle.protobuf.Empty\022I\n\023IsAutomaticUpdat" - "eOn\022\026.google.protobuf.Empty\032\032.google.pro" - "tobuf.BoolValue\022E\n\rDiskCachePath\022\026.googl" - "e.protobuf.Empty\032\034.google.protobuf.Strin" - "gValue\022H\n\020SetDiskCachePath\022\034.google.prot" - "obuf.StringValue\032\026.google.protobuf.Empty" - "\022E\n\017SetIsDoHEnabled\022\032.google.protobuf.Bo" - "olValue\032\026.google.protobuf.Empty\022B\n\014IsDoH" - "Enabled\022\026.google.protobuf.Empty\032\032.google" - ".protobuf.BoolValue\022F\n\020SetUseSslForSmtp\022" - "\032.google.protobuf.BoolValue\032\026.google.pro" - "tobuf.Empty\022C\n\rUseSslForSmtp\022\026.google.pr" - "otobuf.Empty\032\032.google.protobuf.BoolValue" - "\022F\n\020SetUseSslForImap\022\032.google.protobuf.B" - "oolValue\032\026.google.protobuf.Empty\022C\n\rUseS" - "slForImap\022\026.google.protobuf.Empty\032\032.goog" - "le.protobuf.BoolValue\022@\n\010Hostname\022\026.goog" - "le.protobuf.Empty\032\034.google.protobuf.Stri" - "ngValue\022\?\n\010ImapPort\022\026.google.protobuf.Em" - "pty\032\033.google.protobuf.Int32Value\022\?\n\010Smtp" - "Port\022\026.google.protobuf.Empty\032\033.google.pr" - "otobuf.Int32Value\022\?\n\013ChangePorts\022\030.grpc." - "ChangePortsRequest\032\026.google.protobuf.Emp" - "ty\022E\n\nIsPortFree\022\033.google.protobuf.Int32" - "Value\032\032.google.protobuf.BoolValue\022N\n\022Ava" - "ilableKeychains\022\026.google.protobuf.Empty\032" - " .grpc.AvailableKeychainsResponse\022J\n\022Set" - "CurrentKeychain\022\034.google.protobuf.String" - "Value\032\026.google.protobuf.Empty\022G\n\017Current" - "Keychain\022\026.google.protobuf.Empty\032\034.googl" - "e.protobuf.StringValue\022=\n\013GetUserList\022\026." - "google.protobuf.Empty\032\026.grpc.UserListRes" - "ponse\0223\n\007GetUser\022\034.google.protobuf.Strin" - "gValue\032\n.grpc.User\022F\n\020SetUserSplitMode\022\032" - ".grpc.UserSplitModeRequest\032\026.google.prot" - "obuf.Empty\022B\n\nLogoutUser\022\034.google.protob" - "uf.StringValue\032\026.google.protobuf.Empty\022B" - "\n\nRemoveUser\022\034.google.protobuf.StringVal" - "ue\032\026.google.protobuf.Empty\022Q\n\026ConfigureU" - "serAppleMail\022\037.grpc.ConfigureAppleMailRe" - "quest\032\026.google.protobuf.Empty\022\?\n\016RunEven" - "tStream\022\030.grpc.EventStreamRequest\032\021.grpc" - ".StreamEvent0\001\022A\n\017StopEventStream\022\026.goog" - "le.protobuf.Empty\032\026.google.protobuf.Empt" - "yB6Z4github.com/ProtonMail/proton-bridge" - "/v2/internal/grpcb\006proto3" + "lue\022E\n\017IsFirstGuiStart\022\026.google.protobuf" + ".Empty\032\032.google.protobuf.BoolValue\022F\n\020Se" + "tIsAutostartOn\022\032.google.protobuf.BoolVal" + "ue\032\026.google.protobuf.Empty\022C\n\rIsAutostar" + "tOn\022\026.google.protobuf.Empty\032\032.google.pro" + "tobuf.BoolValue\022F\n\020SetIsBetaEnabled\022\032.go" + "ogle.protobuf.BoolValue\032\026.google.protobu" + "f.Empty\022C\n\rIsBetaEnabled\022\026.google.protob" + "uf.Empty\032\032.google.protobuf.BoolValue\022I\n\023" + "SetIsAllMailVisible\022\032.google.protobuf.Bo" + "olValue\032\026.google.protobuf.Empty\022F\n\020IsAll" + "MailVisible\022\026.google.protobuf.Empty\032\032.go" + "ogle.protobuf.BoolValue\022<\n\004GoOs\022\026.google" + ".protobuf.Empty\032\034.google.protobuf.String" + "Value\022>\n\014TriggerReset\022\026.google.protobuf." + "Empty\032\026.google.protobuf.Empty\022\?\n\007Version" + "\022\026.google.protobuf.Empty\032\034.google.protob" + "uf.StringValue\022@\n\010LogsPath\022\026.google.prot" + "obuf.Empty\032\034.google.protobuf.StringValue" + "\022C\n\013LicensePath\022\026.google.protobuf.Empty\032" + "\034.google.protobuf.StringValue\022L\n\024Release" + "NotesPageLink\022\026.google.protobuf.Empty\032\034." + "google.protobuf.StringValue\022N\n\026Dependenc" + "yLicensesLink\022\026.google.protobuf.Empty\032\034." + "google.protobuf.StringValue\022G\n\017LandingPa" + "geLink\022\026.google.protobuf.Empty\032\034.google." + "protobuf.StringValue\022J\n\022SetColorSchemeNa" + "me\022\034.google.protobuf.StringValue\032\026.googl" + "e.protobuf.Empty\022G\n\017ColorSchemeName\022\026.go" + "ogle.protobuf.Empty\032\034.google.protobuf.St" + "ringValue\022J\n\022CurrentEmailClient\022\026.google" + ".protobuf.Empty\032\034.google.protobuf.String" + "Value\022;\n\tReportBug\022\026.grpc.ReportBugReque" + "st\032\026.google.protobuf.Empty\022E\n\rForceLaunc" + "her\022\034.google.protobuf.StringValue\032\026.goog" + "le.protobuf.Empty\022I\n\021SetMainExecutable\022\034" + ".google.protobuf.StringValue\032\026.google.pr" + "otobuf.Empty\0223\n\005Login\022\022.grpc.LoginReques" + "t\032\026.google.protobuf.Empty\0226\n\010Login2FA\022\022." + "grpc.LoginRequest\032\026.google.protobuf.Empt" + "y\022=\n\017Login2Passwords\022\022.grpc.LoginRequest" + "\032\026.google.protobuf.Empty\022=\n\nLoginAbort\022\027" + ".grpc.LoginAbortRequest\032\026.google.protobu" + "f.Empty\022=\n\013CheckUpdate\022\026.google.protobuf" + ".Empty\032\026.google.protobuf.Empty\022\?\n\rInstal" + "lUpdate\022\026.google.protobuf.Empty\032\026.google" + ".protobuf.Empty\022L\n\026SetIsAutomaticUpdateO" + "n\022\032.google.protobuf.BoolValue\032\026.google.p" + "rotobuf.Empty\022I\n\023IsAutomaticUpdateOn\022\026.g" + "oogle.protobuf.Empty\032\032.google.protobuf.B" + "oolValue\022E\n\rDiskCachePath\022\026.google.proto" + "buf.Empty\032\034.google.protobuf.StringValue\022" + "H\n\020SetDiskCachePath\022\034.google.protobuf.St" + "ringValue\032\026.google.protobuf.Empty\022E\n\017Set" + "IsDoHEnabled\022\032.google.protobuf.BoolValue" + "\032\026.google.protobuf.Empty\022B\n\014IsDoHEnabled" + "\022\026.google.protobuf.Empty\032\032.google.protob" + "uf.BoolValue\022D\n\022MailServerSettings\022\026.goo" + "gle.protobuf.Empty\032\026.grpc.ImapSmtpSettin" + "gs\022G\n\025SetMailServerSettings\022\026.grpc.ImapS" + "mtpSettings\032\026.google.protobuf.Empty\022@\n\010H" + "ostname\022\026.google.protobuf.Empty\032\034.google" + ".protobuf.StringValue\022E\n\nIsPortFree\022\033.go" + "ogle.protobuf.Int32Value\032\032.google.protob" + "uf.BoolValue\022N\n\022AvailableKeychains\022\026.goo" + "gle.protobuf.Empty\032 .grpc.AvailableKeych" + "ainsResponse\022J\n\022SetCurrentKeychain\022\034.goo" + "gle.protobuf.StringValue\032\026.google.protob" + "uf.Empty\022G\n\017CurrentKeychain\022\026.google.pro" + "tobuf.Empty\032\034.google.protobuf.StringValu" + "e\022=\n\013GetUserList\022\026.google.protobuf.Empty" + "\032\026.grpc.UserListResponse\0223\n\007GetUser\022\034.go" + "ogle.protobuf.StringValue\032\n.grpc.User\022F\n" + "\020SetUserSplitMode\022\032.grpc.UserSplitModeRe" + "quest\032\026.google.protobuf.Empty\022B\n\nLogoutU" + "ser\022\034.google.protobuf.StringValue\032\026.goog" + "le.protobuf.Empty\022B\n\nRemoveUser\022\034.google" + ".protobuf.StringValue\032\026.google.protobuf." + "Empty\022Q\n\026ConfigureUserAppleMail\022\037.grpc.C" + "onfigureAppleMailRequest\032\026.google.protob" + "uf.Empty\022\?\n\016RunEventStream\022\030.grpc.EventS" + "treamRequest\032\021.grpc.StreamEvent0\001\022A\n\017Sto" + "pEventStream\022\026.google.protobuf.Empty\032\026.g" + "oogle.protobuf.EmptyB6Z4github.com/Proto" + "nMail/proton-bridge/v2/internal/grpcb\006pr" + "oto3" ; static const ::_pbi::DescriptorTable* const descriptor_table_bridge_2eproto_deps[2] = { &::descriptor_table_google_2fprotobuf_2fempty_2eproto, @@ -1552,9 +1537,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, 9665, descriptor_table_protodef_bridge_2eproto, + false, false, 9564, descriptor_table_protodef_bridge_2eproto, "bridge.proto", - &descriptor_table_bridge_2eproto_once, descriptor_table_bridge_2eproto_deps, 2, 56, + &descriptor_table_bridge_2eproto_once, descriptor_table_bridge_2eproto_deps, 2, 55, 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, @@ -1649,14 +1634,18 @@ bool DiskCacheErrorType_IsValid(int value) { } } -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MailSettingsErrorType_descriptor() { +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MailServerSettingsErrorType_descriptor() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_bridge_2eproto); return file_level_enum_descriptors_bridge_2eproto[5]; } -bool MailSettingsErrorType_IsValid(int value) { +bool MailServerSettingsErrorType_IsValid(int value) { switch (value) { case 0: case 1: + case 2: + case 3: + case 4: + case 5: return true; default: return false; @@ -2830,44 +2819,48 @@ void LoginAbortRequest::InternalSwap(LoginAbortRequest* other) { // =================================================================== -class ChangePortsRequest::_Internal { +class ImapSmtpSettings::_Internal { public: }; -ChangePortsRequest::ChangePortsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +ImapSmtpSettings::ImapSmtpSettings(::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.ChangePortsRequest) + // @@protoc_insertion_point(arena_constructor:grpc.ImapSmtpSettings) } -ChangePortsRequest::ChangePortsRequest(const ChangePortsRequest& from) +ImapSmtpSettings::ImapSmtpSettings(const ImapSmtpSettings& from) : ::PROTOBUF_NAMESPACE_ID::Message() { - ChangePortsRequest* const _this = this; (void)_this; + ImapSmtpSettings* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_.imapport_){} , decltype(_impl_.smtpport_){} + , decltype(_impl_.usesslforimap_){} + , decltype(_impl_.usesslforsmtp_){} , /*decltype(_impl_._cached_size_)*/{}}; _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::memcpy(&_impl_.imapport_, &from._impl_.imapport_, - static_cast(reinterpret_cast(&_impl_.smtpport_) - - reinterpret_cast(&_impl_.imapport_)) + sizeof(_impl_.smtpport_)); - // @@protoc_insertion_point(copy_constructor:grpc.ChangePortsRequest) + static_cast(reinterpret_cast(&_impl_.usesslforsmtp_) - + reinterpret_cast(&_impl_.imapport_)) + sizeof(_impl_.usesslforsmtp_)); + // @@protoc_insertion_point(copy_constructor:grpc.ImapSmtpSettings) } -inline void ChangePortsRequest::SharedCtor( +inline void ImapSmtpSettings::SharedCtor( ::_pb::Arena* arena, bool is_message_owned) { (void)arena; (void)is_message_owned; new (&_impl_) Impl_{ decltype(_impl_.imapport_){0} , decltype(_impl_.smtpport_){0} + , decltype(_impl_.usesslforimap_){false} + , decltype(_impl_.usesslforsmtp_){false} , /*decltype(_impl_._cached_size_)*/{} }; } -ChangePortsRequest::~ChangePortsRequest() { - // @@protoc_insertion_point(destructor:grpc.ChangePortsRequest) +ImapSmtpSettings::~ImapSmtpSettings() { + // @@protoc_insertion_point(destructor:grpc.ImapSmtpSettings) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -2875,27 +2868,27 @@ ChangePortsRequest::~ChangePortsRequest() { SharedDtor(); } -inline void ChangePortsRequest::SharedDtor() { +inline void ImapSmtpSettings::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } -void ChangePortsRequest::SetCachedSize(int size) const { +void ImapSmtpSettings::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void ChangePortsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:grpc.ChangePortsRequest) +void ImapSmtpSettings::Clear() { +// @@protoc_insertion_point(message_clear_start:grpc.ImapSmtpSettings) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; ::memset(&_impl_.imapport_, 0, static_cast( - reinterpret_cast(&_impl_.smtpport_) - - reinterpret_cast(&_impl_.imapport_)) + sizeof(_impl_.smtpport_)); + reinterpret_cast(&_impl_.usesslforsmtp_) - + reinterpret_cast(&_impl_.imapport_)) + sizeof(_impl_.usesslforsmtp_)); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* ChangePortsRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* ImapSmtpSettings::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; @@ -2917,6 +2910,22 @@ const char* ChangePortsRequest::_InternalParse(const char* ptr, ::_pbi::ParseCon } else goto handle_unusual; continue; + // bool useSSLForImap = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _impl_.usesslforimap_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // bool useSSLForSmtp = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _impl_.usesslforsmtp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -2940,9 +2949,9 @@ failure: #undef CHK_ } -uint8_t* ChangePortsRequest::_InternalSerialize( +uint8_t* ImapSmtpSettings::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:grpc.ChangePortsRequest) + // @@protoc_insertion_point(serialize_to_array_start:grpc.ImapSmtpSettings) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -2958,16 +2967,28 @@ uint8_t* ChangePortsRequest::_InternalSerialize( target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_smtpport(), target); } + // bool useSSLForImap = 3; + if (this->_internal_usesslforimap() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_usesslforimap(), target); + } + + // bool useSSLForSmtp = 4; + if (this->_internal_usesslforsmtp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_usesslforsmtp(), 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.ChangePortsRequest) + // @@protoc_insertion_point(serialize_to_array_end:grpc.ImapSmtpSettings) return target; } -size_t ChangePortsRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:grpc.ChangePortsRequest) +size_t ImapSmtpSettings::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:grpc.ImapSmtpSettings) size_t total_size = 0; uint32_t cached_has_bits = 0; @@ -2984,20 +3005,30 @@ size_t ChangePortsRequest::ByteSizeLong() const { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_smtpport()); } + // bool useSSLForImap = 3; + if (this->_internal_usesslforimap() != 0) { + total_size += 1 + 1; + } + + // bool useSSLForSmtp = 4; + if (this->_internal_usesslforsmtp() != 0) { + total_size += 1 + 1; + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ChangePortsRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ImapSmtpSettings::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ChangePortsRequest::MergeImpl + ImapSmtpSettings::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ChangePortsRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ImapSmtpSettings::GetClassData() const { return &_class_data_; } -void ChangePortsRequest::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.ChangePortsRequest) +void ImapSmtpSettings::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.ImapSmtpSettings) GOOGLE_DCHECK_NE(&from, _this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -3008,32 +3039,38 @@ void ChangePortsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, con if (from._internal_smtpport() != 0) { _this->_internal_set_smtpport(from._internal_smtpport()); } + if (from._internal_usesslforimap() != 0) { + _this->_internal_set_usesslforimap(from._internal_usesslforimap()); + } + if (from._internal_usesslforsmtp() != 0) { + _this->_internal_set_usesslforsmtp(from._internal_usesslforsmtp()); + } _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void ChangePortsRequest::CopyFrom(const ChangePortsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:grpc.ChangePortsRequest) +void ImapSmtpSettings::CopyFrom(const ImapSmtpSettings& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:grpc.ImapSmtpSettings) if (&from == this) return; Clear(); MergeFrom(from); } -bool ChangePortsRequest::IsInitialized() const { +bool ImapSmtpSettings::IsInitialized() const { return true; } -void ChangePortsRequest::InternalSwap(ChangePortsRequest* other) { +void ImapSmtpSettings::InternalSwap(ImapSmtpSettings* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ChangePortsRequest, _impl_.smtpport_) - + sizeof(ChangePortsRequest::_impl_.smtpport_) - - PROTOBUF_FIELD_OFFSET(ChangePortsRequest, _impl_.imapport_)>( + PROTOBUF_FIELD_OFFSET(ImapSmtpSettings, _impl_.usesslforsmtp_) + + sizeof(ImapSmtpSettings::_impl_.usesslforsmtp_) + - PROTOBUF_FIELD_OFFSET(ImapSmtpSettings, _impl_.imapport_)>( reinterpret_cast(&_impl_.imapport_), reinterpret_cast(&other->_impl_.imapport_)); } -::PROTOBUF_NAMESPACE_ID::Metadata ChangePortsRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata ImapSmtpSettings::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, file_level_metadata_bridge_2eproto[4]); @@ -4630,7 +4667,7 @@ class StreamEvent::_Internal { static const ::grpc::LoginEvent& login(const StreamEvent* msg); static const ::grpc::UpdateEvent& update(const StreamEvent* msg); static const ::grpc::DiskCacheEvent& cache(const StreamEvent* msg); - static const ::grpc::MailSettingsEvent& mailsettings(const StreamEvent* msg); + static const ::grpc::MailServerSettingsEvent& mailserversettings(const StreamEvent* msg); static const ::grpc::KeychainEvent& keychain(const StreamEvent* msg); static const ::grpc::MailEvent& mail(const StreamEvent* msg); static const ::grpc::UserEvent& user(const StreamEvent* msg); @@ -4652,9 +4689,9 @@ const ::grpc::DiskCacheEvent& StreamEvent::_Internal::cache(const StreamEvent* msg) { return *msg->_impl_.event_.cache_; } -const ::grpc::MailSettingsEvent& -StreamEvent::_Internal::mailsettings(const StreamEvent* msg) { - return *msg->_impl_.event_.mailsettings_; +const ::grpc::MailServerSettingsEvent& +StreamEvent::_Internal::mailserversettings(const StreamEvent* msg) { + return *msg->_impl_.event_.mailserversettings_; } const ::grpc::KeychainEvent& StreamEvent::_Internal::keychain(const StreamEvent* msg) { @@ -4728,20 +4765,20 @@ void StreamEvent::set_allocated_cache(::grpc::DiskCacheEvent* cache) { } // @@protoc_insertion_point(field_set_allocated:grpc.StreamEvent.cache) } -void StreamEvent::set_allocated_mailsettings(::grpc::MailSettingsEvent* mailsettings) { +void StreamEvent::set_allocated_mailserversettings(::grpc::MailServerSettingsEvent* mailserversettings) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); clear_event(); - if (mailsettings) { + if (mailserversettings) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(mailsettings); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(mailserversettings); if (message_arena != submessage_arena) { - mailsettings = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, mailsettings, submessage_arena); + mailserversettings = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, mailserversettings, submessage_arena); } - set_has_mailsettings(); - _impl_.event_.mailsettings_ = mailsettings; + set_has_mailserversettings(); + _impl_.event_.mailserversettings_ = mailserversettings; } - // @@protoc_insertion_point(field_set_allocated:grpc.StreamEvent.mailSettings) + // @@protoc_insertion_point(field_set_allocated:grpc.StreamEvent.mailServerSettings) } void StreamEvent::set_allocated_keychain(::grpc::KeychainEvent* keychain) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); @@ -4825,9 +4862,9 @@ StreamEvent::StreamEvent(const StreamEvent& from) from._internal_cache()); break; } - case kMailSettings: { - _this->_internal_mutable_mailsettings()->::grpc::MailSettingsEvent::MergeFrom( - from._internal_mailsettings()); + case kMailServerSettings: { + _this->_internal_mutable_mailserversettings()->::grpc::MailServerSettingsEvent::MergeFrom( + from._internal_mailserversettings()); break; } case kKeychain: { @@ -4911,9 +4948,9 @@ void StreamEvent::clear_event() { } break; } - case kMailSettings: { + case kMailServerSettings: { if (GetArenaForAllocation() == nullptr) { - delete _impl_.event_.mailsettings_; + delete _impl_.event_.mailserversettings_; } break; } @@ -4991,10 +5028,10 @@ const char* StreamEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* c } else goto handle_unusual; continue; - // .grpc.MailSettingsEvent mailSettings = 5; + // .grpc.MailServerSettingsEvent mailServerSettings = 5; case 5: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_mailsettings(), ptr); + ptr = ctx->ParseMessage(_internal_mutable_mailserversettings(), ptr); CHK_(ptr); } else goto handle_unusual; @@ -5080,11 +5117,11 @@ uint8_t* StreamEvent::_InternalSerialize( _Internal::cache(this).GetCachedSize(), target, stream); } - // .grpc.MailSettingsEvent mailSettings = 5; - if (_internal_has_mailsettings()) { + // .grpc.MailServerSettingsEvent mailServerSettings = 5; + if (_internal_has_mailserversettings()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::mailsettings(this), - _Internal::mailsettings(this).GetCachedSize(), target, stream); + InternalWriteMessage(5, _Internal::mailserversettings(this), + _Internal::mailserversettings(this).GetCachedSize(), target, stream); } // .grpc.KeychainEvent keychain = 6; @@ -5153,11 +5190,11 @@ size_t StreamEvent::ByteSizeLong() const { *_impl_.event_.cache_); break; } - // .grpc.MailSettingsEvent mailSettings = 5; - case kMailSettings: { + // .grpc.MailServerSettingsEvent mailServerSettings = 5; + case kMailServerSettings: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.event_.mailsettings_); + *_impl_.event_.mailserversettings_); break; } // .grpc.KeychainEvent keychain = 6; @@ -5224,9 +5261,9 @@ void StreamEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PR from._internal_cache()); break; } - case kMailSettings: { - _this->_internal_mutable_mailsettings()->::grpc::MailSettingsEvent::MergeFrom( - from._internal_mailsettings()); + case kMailServerSettings: { + _this->_internal_mutable_mailserversettings()->::grpc::MailServerSettingsEvent::MergeFrom( + from._internal_mailserversettings()); break; } case kKeychain: { @@ -9675,31 +9712,26 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DiskCachePathChangeFinishedEve // =================================================================== -class MailSettingsEvent::_Internal { +class MailServerSettingsEvent::_Internal { public: - static const ::grpc::MailSettingsErrorEvent& error(const MailSettingsEvent* msg); - static const ::grpc::UseSslForSmtpFinishedEvent& usesslforsmtpfinished(const MailSettingsEvent* msg); - static const ::grpc::ChangePortsFinishedEvent& changeportsfinished(const MailSettingsEvent* msg); - static const ::grpc::UseSslForImapFinishedEvent& usesslforimapfinished(const MailSettingsEvent* msg); + static const ::grpc::MailServerSettingsErrorEvent& error(const MailServerSettingsEvent* msg); + static const ::grpc::MailServerSettingsChangedEvent& mailserversettingschanged(const MailServerSettingsEvent* msg); + static const ::grpc::ChangeMailServerSettingsFinishedEvent& changemailserversettingsfinished(const MailServerSettingsEvent* msg); }; -const ::grpc::MailSettingsErrorEvent& -MailSettingsEvent::_Internal::error(const MailSettingsEvent* msg) { +const ::grpc::MailServerSettingsErrorEvent& +MailServerSettingsEvent::_Internal::error(const MailServerSettingsEvent* msg) { return *msg->_impl_.event_.error_; } -const ::grpc::UseSslForSmtpFinishedEvent& -MailSettingsEvent::_Internal::usesslforsmtpfinished(const MailSettingsEvent* msg) { - return *msg->_impl_.event_.usesslforsmtpfinished_; +const ::grpc::MailServerSettingsChangedEvent& +MailServerSettingsEvent::_Internal::mailserversettingschanged(const MailServerSettingsEvent* msg) { + return *msg->_impl_.event_.mailserversettingschanged_; } -const ::grpc::ChangePortsFinishedEvent& -MailSettingsEvent::_Internal::changeportsfinished(const MailSettingsEvent* msg) { - return *msg->_impl_.event_.changeportsfinished_; +const ::grpc::ChangeMailServerSettingsFinishedEvent& +MailServerSettingsEvent::_Internal::changemailserversettingsfinished(const MailServerSettingsEvent* msg) { + return *msg->_impl_.event_.changemailserversettingsfinished_; } -const ::grpc::UseSslForImapFinishedEvent& -MailSettingsEvent::_Internal::usesslforimapfinished(const MailSettingsEvent* msg) { - return *msg->_impl_.event_.usesslforimapfinished_; -} -void MailSettingsEvent::set_allocated_error(::grpc::MailSettingsErrorEvent* error) { +void MailServerSettingsEvent::set_allocated_error(::grpc::MailServerSettingsErrorEvent* error) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); clear_event(); if (error) { @@ -9712,62 +9744,47 @@ void MailSettingsEvent::set_allocated_error(::grpc::MailSettingsErrorEvent* erro set_has_error(); _impl_.event_.error_ = error; } - // @@protoc_insertion_point(field_set_allocated:grpc.MailSettingsEvent.error) + // @@protoc_insertion_point(field_set_allocated:grpc.MailServerSettingsEvent.error) } -void MailSettingsEvent::set_allocated_usesslforsmtpfinished(::grpc::UseSslForSmtpFinishedEvent* usesslforsmtpfinished) { +void MailServerSettingsEvent::set_allocated_mailserversettingschanged(::grpc::MailServerSettingsChangedEvent* mailserversettingschanged) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); clear_event(); - if (usesslforsmtpfinished) { + if (mailserversettingschanged) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(usesslforsmtpfinished); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(mailserversettingschanged); if (message_arena != submessage_arena) { - usesslforsmtpfinished = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, usesslforsmtpfinished, submessage_arena); + mailserversettingschanged = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, mailserversettingschanged, submessage_arena); } - set_has_usesslforsmtpfinished(); - _impl_.event_.usesslforsmtpfinished_ = usesslforsmtpfinished; + set_has_mailserversettingschanged(); + _impl_.event_.mailserversettingschanged_ = mailserversettingschanged; } - // @@protoc_insertion_point(field_set_allocated:grpc.MailSettingsEvent.useSslForSmtpFinished) + // @@protoc_insertion_point(field_set_allocated:grpc.MailServerSettingsEvent.mailServerSettingsChanged) } -void MailSettingsEvent::set_allocated_changeportsfinished(::grpc::ChangePortsFinishedEvent* changeportsfinished) { +void MailServerSettingsEvent::set_allocated_changemailserversettingsfinished(::grpc::ChangeMailServerSettingsFinishedEvent* changemailserversettingsfinished) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); clear_event(); - if (changeportsfinished) { + if (changemailserversettingsfinished) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(changeportsfinished); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(changemailserversettingsfinished); if (message_arena != submessage_arena) { - changeportsfinished = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, changeportsfinished, submessage_arena); + changemailserversettingsfinished = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, changemailserversettingsfinished, submessage_arena); } - set_has_changeportsfinished(); - _impl_.event_.changeportsfinished_ = changeportsfinished; + set_has_changemailserversettingsfinished(); + _impl_.event_.changemailserversettingsfinished_ = changemailserversettingsfinished; } - // @@protoc_insertion_point(field_set_allocated:grpc.MailSettingsEvent.changePortsFinished) + // @@protoc_insertion_point(field_set_allocated:grpc.MailServerSettingsEvent.changeMailServerSettingsFinished) } -void MailSettingsEvent::set_allocated_usesslforimapfinished(::grpc::UseSslForImapFinishedEvent* usesslforimapfinished) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_event(); - if (usesslforimapfinished) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(usesslforimapfinished); - if (message_arena != submessage_arena) { - usesslforimapfinished = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, usesslforimapfinished, submessage_arena); - } - set_has_usesslforimapfinished(); - _impl_.event_.usesslforimapfinished_ = usesslforimapfinished; - } - // @@protoc_insertion_point(field_set_allocated:grpc.MailSettingsEvent.useSslForImapFinished) -} -MailSettingsEvent::MailSettingsEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, +MailServerSettingsEvent::MailServerSettingsEvent(::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.MailSettingsEvent) + // @@protoc_insertion_point(arena_constructor:grpc.MailServerSettingsEvent) } -MailSettingsEvent::MailSettingsEvent(const MailSettingsEvent& from) +MailServerSettingsEvent::MailServerSettingsEvent(const MailServerSettingsEvent& from) : ::PROTOBUF_NAMESPACE_ID::Message() { - MailSettingsEvent* const _this = this; (void)_this; + MailServerSettingsEvent* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_.event_){} , /*decltype(_impl_._cached_size_)*/{} @@ -9777,33 +9794,28 @@ MailSettingsEvent::MailSettingsEvent(const MailSettingsEvent& from) clear_has_event(); switch (from.event_case()) { case kError: { - _this->_internal_mutable_error()->::grpc::MailSettingsErrorEvent::MergeFrom( + _this->_internal_mutable_error()->::grpc::MailServerSettingsErrorEvent::MergeFrom( from._internal_error()); break; } - case kUseSslForSmtpFinished: { - _this->_internal_mutable_usesslforsmtpfinished()->::grpc::UseSslForSmtpFinishedEvent::MergeFrom( - from._internal_usesslforsmtpfinished()); + case kMailServerSettingsChanged: { + _this->_internal_mutable_mailserversettingschanged()->::grpc::MailServerSettingsChangedEvent::MergeFrom( + from._internal_mailserversettingschanged()); break; } - case kChangePortsFinished: { - _this->_internal_mutable_changeportsfinished()->::grpc::ChangePortsFinishedEvent::MergeFrom( - from._internal_changeportsfinished()); - break; - } - case kUseSslForImapFinished: { - _this->_internal_mutable_usesslforimapfinished()->::grpc::UseSslForImapFinishedEvent::MergeFrom( - from._internal_usesslforimapfinished()); + case kChangeMailServerSettingsFinished: { + _this->_internal_mutable_changemailserversettingsfinished()->::grpc::ChangeMailServerSettingsFinishedEvent::MergeFrom( + from._internal_changemailserversettingsfinished()); break; } case EVENT_NOT_SET: { break; } } - // @@protoc_insertion_point(copy_constructor:grpc.MailSettingsEvent) + // @@protoc_insertion_point(copy_constructor:grpc.MailServerSettingsEvent) } -inline void MailSettingsEvent::SharedCtor( +inline void MailServerSettingsEvent::SharedCtor( ::_pb::Arena* arena, bool is_message_owned) { (void)arena; (void)is_message_owned; @@ -9815,8 +9827,8 @@ inline void MailSettingsEvent::SharedCtor( clear_has_event(); } -MailSettingsEvent::~MailSettingsEvent() { - // @@protoc_insertion_point(destructor:grpc.MailSettingsEvent) +MailServerSettingsEvent::~MailServerSettingsEvent() { + // @@protoc_insertion_point(destructor:grpc.MailServerSettingsEvent) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -9824,19 +9836,19 @@ MailSettingsEvent::~MailSettingsEvent() { SharedDtor(); } -inline void MailSettingsEvent::SharedDtor() { +inline void MailServerSettingsEvent::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (has_event()) { clear_event(); } } -void MailSettingsEvent::SetCachedSize(int size) const { +void MailServerSettingsEvent::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void MailSettingsEvent::clear_event() { -// @@protoc_insertion_point(one_of_clear_start:grpc.MailSettingsEvent) +void MailServerSettingsEvent::clear_event() { +// @@protoc_insertion_point(one_of_clear_start:grpc.MailServerSettingsEvent) switch (event_case()) { case kError: { if (GetArenaForAllocation() == nullptr) { @@ -9844,21 +9856,15 @@ void MailSettingsEvent::clear_event() { } break; } - case kUseSslForSmtpFinished: { + case kMailServerSettingsChanged: { if (GetArenaForAllocation() == nullptr) { - delete _impl_.event_.usesslforsmtpfinished_; + delete _impl_.event_.mailserversettingschanged_; } break; } - case kChangePortsFinished: { + case kChangeMailServerSettingsFinished: { if (GetArenaForAllocation() == nullptr) { - delete _impl_.event_.changeportsfinished_; - } - break; - } - case kUseSslForImapFinished: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.event_.usesslforimapfinished_; + delete _impl_.event_.changemailserversettingsfinished_; } break; } @@ -9870,8 +9876,8 @@ void MailSettingsEvent::clear_event() { } -void MailSettingsEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:grpc.MailSettingsEvent) +void MailServerSettingsEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:grpc.MailServerSettingsEvent) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -9880,13 +9886,13 @@ void MailSettingsEvent::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* MailSettingsEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* MailServerSettingsEvent::_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.MailSettingsErrorEvent error = 1; + // .grpc.MailServerSettingsErrorEvent error = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { ptr = ctx->ParseMessage(_internal_mutable_error(), ptr); @@ -9894,26 +9900,18 @@ const char* MailSettingsEvent::_InternalParse(const char* ptr, ::_pbi::ParseCont } else goto handle_unusual; continue; - // .grpc.UseSslForSmtpFinishedEvent useSslForSmtpFinished = 2; + // .grpc.MailServerSettingsChangedEvent mailServerSettingsChanged = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_usesslforsmtpfinished(), ptr); + ptr = ctx->ParseMessage(_internal_mutable_mailserversettingschanged(), ptr); CHK_(ptr); } else goto handle_unusual; continue; - // .grpc.ChangePortsFinishedEvent changePortsFinished = 3; + // .grpc.ChangeMailServerSettingsFinishedEvent changeMailServerSettingsFinished = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_changeportsfinished(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .grpc.UseSslForImapFinishedEvent useSslForImapFinished = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_usesslforimapfinished(), ptr); + ptr = ctx->ParseMessage(_internal_mutable_changemailserversettingsfinished(), ptr); CHK_(ptr); } else goto handle_unusual; @@ -9941,50 +9939,43 @@ failure: #undef CHK_ } -uint8_t* MailSettingsEvent::_InternalSerialize( +uint8_t* MailServerSettingsEvent::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:grpc.MailSettingsEvent) + // @@protoc_insertion_point(serialize_to_array_start:grpc.MailServerSettingsEvent) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .grpc.MailSettingsErrorEvent error = 1; + // .grpc.MailServerSettingsErrorEvent error = 1; if (_internal_has_error()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage(1, _Internal::error(this), _Internal::error(this).GetCachedSize(), target, stream); } - // .grpc.UseSslForSmtpFinishedEvent useSslForSmtpFinished = 2; - if (_internal_has_usesslforsmtpfinished()) { + // .grpc.MailServerSettingsChangedEvent mailServerSettingsChanged = 2; + if (_internal_has_mailserversettingschanged()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::usesslforsmtpfinished(this), - _Internal::usesslforsmtpfinished(this).GetCachedSize(), target, stream); + InternalWriteMessage(2, _Internal::mailserversettingschanged(this), + _Internal::mailserversettingschanged(this).GetCachedSize(), target, stream); } - // .grpc.ChangePortsFinishedEvent changePortsFinished = 3; - if (_internal_has_changeportsfinished()) { + // .grpc.ChangeMailServerSettingsFinishedEvent changeMailServerSettingsFinished = 3; + if (_internal_has_changemailserversettingsfinished()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::changeportsfinished(this), - _Internal::changeportsfinished(this).GetCachedSize(), target, stream); - } - - // .grpc.UseSslForImapFinishedEvent useSslForImapFinished = 4; - if (_internal_has_usesslforimapfinished()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::usesslforimapfinished(this), - _Internal::usesslforimapfinished(this).GetCachedSize(), target, stream); + InternalWriteMessage(3, _Internal::changemailserversettingsfinished(this), + _Internal::changemailserversettingsfinished(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.MailSettingsEvent) + // @@protoc_insertion_point(serialize_to_array_end:grpc.MailServerSettingsEvent) return target; } -size_t MailSettingsEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:grpc.MailSettingsEvent) +size_t MailServerSettingsEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:grpc.MailServerSettingsEvent) size_t total_size = 0; uint32_t cached_has_bits = 0; @@ -9992,32 +9983,25 @@ size_t MailSettingsEvent::ByteSizeLong() const { (void) cached_has_bits; switch (event_case()) { - // .grpc.MailSettingsErrorEvent error = 1; + // .grpc.MailServerSettingsErrorEvent error = 1; case kError: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( *_impl_.event_.error_); break; } - // .grpc.UseSslForSmtpFinishedEvent useSslForSmtpFinished = 2; - case kUseSslForSmtpFinished: { + // .grpc.MailServerSettingsChangedEvent mailServerSettingsChanged = 2; + case kMailServerSettingsChanged: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.event_.usesslforsmtpfinished_); + *_impl_.event_.mailserversettingschanged_); break; } - // .grpc.ChangePortsFinishedEvent changePortsFinished = 3; - case kChangePortsFinished: { + // .grpc.ChangeMailServerSettingsFinishedEvent changeMailServerSettingsFinished = 3; + case kChangeMailServerSettingsFinished: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.event_.changeportsfinished_); - break; - } - // .grpc.UseSslForImapFinishedEvent useSslForImapFinished = 4; - case kUseSslForImapFinished: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.event_.usesslforimapfinished_); + *_impl_.event_.changemailserversettingsfinished_); break; } case EVENT_NOT_SET: { @@ -10027,40 +10011,35 @@ size_t MailSettingsEvent::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MailSettingsEvent::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MailServerSettingsEvent::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - MailSettingsEvent::MergeImpl + MailServerSettingsEvent::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MailSettingsEvent::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MailServerSettingsEvent::GetClassData() const { return &_class_data_; } -void MailSettingsEvent::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.MailSettingsEvent) +void MailServerSettingsEvent::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.MailServerSettingsEvent) 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::MailSettingsErrorEvent::MergeFrom( + _this->_internal_mutable_error()->::grpc::MailServerSettingsErrorEvent::MergeFrom( from._internal_error()); break; } - case kUseSslForSmtpFinished: { - _this->_internal_mutable_usesslforsmtpfinished()->::grpc::UseSslForSmtpFinishedEvent::MergeFrom( - from._internal_usesslforsmtpfinished()); + case kMailServerSettingsChanged: { + _this->_internal_mutable_mailserversettingschanged()->::grpc::MailServerSettingsChangedEvent::MergeFrom( + from._internal_mailserversettingschanged()); break; } - case kChangePortsFinished: { - _this->_internal_mutable_changeportsfinished()->::grpc::ChangePortsFinishedEvent::MergeFrom( - from._internal_changeportsfinished()); - break; - } - case kUseSslForImapFinished: { - _this->_internal_mutable_usesslforimapfinished()->::grpc::UseSslForImapFinishedEvent::MergeFrom( - from._internal_usesslforimapfinished()); + case kChangeMailServerSettingsFinished: { + _this->_internal_mutable_changemailserversettingsfinished()->::grpc::ChangeMailServerSettingsFinishedEvent::MergeFrom( + from._internal_changemailserversettingsfinished()); break; } case EVENT_NOT_SET: { @@ -10070,25 +10049,25 @@ void MailSettingsEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, cons _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void MailSettingsEvent::CopyFrom(const MailSettingsEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:grpc.MailSettingsEvent) +void MailServerSettingsEvent::CopyFrom(const MailServerSettingsEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:grpc.MailServerSettingsEvent) if (&from == this) return; Clear(); MergeFrom(from); } -bool MailSettingsEvent::IsInitialized() const { +bool MailServerSettingsEvent::IsInitialized() const { return true; } -void MailSettingsEvent::InternalSwap(MailSettingsEvent* other) { +void MailServerSettingsEvent::InternalSwap(MailServerSettingsEvent* 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 MailSettingsEvent::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata MailServerSettingsEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, file_level_metadata_bridge_2eproto[38]); @@ -10096,29 +10075,29 @@ void MailSettingsEvent::InternalSwap(MailSettingsEvent* other) { // =================================================================== -class MailSettingsErrorEvent::_Internal { +class MailServerSettingsErrorEvent::_Internal { public: }; -MailSettingsErrorEvent::MailSettingsErrorEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, +MailServerSettingsErrorEvent::MailServerSettingsErrorEvent(::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.MailSettingsErrorEvent) + // @@protoc_insertion_point(arena_constructor:grpc.MailServerSettingsErrorEvent) } -MailSettingsErrorEvent::MailSettingsErrorEvent(const MailSettingsErrorEvent& from) +MailServerSettingsErrorEvent::MailServerSettingsErrorEvent(const MailServerSettingsErrorEvent& from) : ::PROTOBUF_NAMESPACE_ID::Message() { - MailSettingsErrorEvent* const _this = this; (void)_this; + MailServerSettingsErrorEvent* 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.MailSettingsErrorEvent) + // @@protoc_insertion_point(copy_constructor:grpc.MailServerSettingsErrorEvent) } -inline void MailSettingsErrorEvent::SharedCtor( +inline void MailServerSettingsErrorEvent::SharedCtor( ::_pb::Arena* arena, bool is_message_owned) { (void)arena; (void)is_message_owned; @@ -10128,8 +10107,8 @@ inline void MailSettingsErrorEvent::SharedCtor( }; } -MailSettingsErrorEvent::~MailSettingsErrorEvent() { - // @@protoc_insertion_point(destructor:grpc.MailSettingsErrorEvent) +MailServerSettingsErrorEvent::~MailServerSettingsErrorEvent() { + // @@protoc_insertion_point(destructor:grpc.MailServerSettingsErrorEvent) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -10137,16 +10116,16 @@ MailSettingsErrorEvent::~MailSettingsErrorEvent() { SharedDtor(); } -inline void MailSettingsErrorEvent::SharedDtor() { +inline void MailServerSettingsErrorEvent::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } -void MailSettingsErrorEvent::SetCachedSize(int size) const { +void MailServerSettingsErrorEvent::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void MailSettingsErrorEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:grpc.MailSettingsErrorEvent) +void MailServerSettingsErrorEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:grpc.MailServerSettingsErrorEvent) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -10155,18 +10134,18 @@ void MailSettingsErrorEvent::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* MailSettingsErrorEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* MailServerSettingsErrorEvent::_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.MailSettingsErrorType type = 1; + // .grpc.MailServerSettingsErrorType 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::MailSettingsErrorType>(val)); + _internal_set_type(static_cast<::grpc::MailServerSettingsErrorType>(val)); } else goto handle_unusual; continue; @@ -10193,13 +10172,13 @@ failure: #undef CHK_ } -uint8_t* MailSettingsErrorEvent::_InternalSerialize( +uint8_t* MailServerSettingsErrorEvent::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:grpc.MailSettingsErrorEvent) + // @@protoc_insertion_point(serialize_to_array_start:grpc.MailServerSettingsErrorEvent) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .grpc.MailSettingsErrorType type = 1; + // .grpc.MailServerSettingsErrorType type = 1; if (this->_internal_type() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteEnumToArray( @@ -10210,19 +10189,19 @@ uint8_t* MailSettingsErrorEvent::_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.MailSettingsErrorEvent) + // @@protoc_insertion_point(serialize_to_array_end:grpc.MailServerSettingsErrorEvent) return target; } -size_t MailSettingsErrorEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:grpc.MailSettingsErrorEvent) +size_t MailServerSettingsErrorEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:grpc.MailServerSettingsErrorEvent) 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.MailSettingsErrorType type = 1; + // .grpc.MailServerSettingsErrorType type = 1; if (this->_internal_type() != 0) { total_size += 1 + ::_pbi::WireFormatLite::EnumSize(this->_internal_type()); @@ -10231,17 +10210,17 @@ size_t MailSettingsErrorEvent::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MailSettingsErrorEvent::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MailServerSettingsErrorEvent::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - MailSettingsErrorEvent::MergeImpl + MailServerSettingsErrorEvent::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MailSettingsErrorEvent::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MailServerSettingsErrorEvent::GetClassData() const { return &_class_data_; } -void MailSettingsErrorEvent::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.MailSettingsErrorEvent) +void MailServerSettingsErrorEvent::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.MailServerSettingsErrorEvent) GOOGLE_DCHECK_NE(&from, _this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -10252,24 +10231,24 @@ void MailSettingsErrorEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void MailSettingsErrorEvent::CopyFrom(const MailSettingsErrorEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:grpc.MailSettingsErrorEvent) +void MailServerSettingsErrorEvent::CopyFrom(const MailServerSettingsErrorEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:grpc.MailServerSettingsErrorEvent) if (&from == this) return; Clear(); MergeFrom(from); } -bool MailSettingsErrorEvent::IsInitialized() const { +bool MailServerSettingsErrorEvent::IsInitialized() const { return true; } -void MailSettingsErrorEvent::InternalSwap(MailSettingsErrorEvent* other) { +void MailServerSettingsErrorEvent::InternalSwap(MailServerSettingsErrorEvent* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_.type_, other->_impl_.type_); } -::PROTOBUF_NAMESPACE_ID::Metadata MailSettingsErrorEvent::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata MailServerSettingsErrorEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, file_level_metadata_bridge_2eproto[39]); @@ -10277,39 +10256,192 @@ void MailSettingsErrorEvent::InternalSwap(MailSettingsErrorEvent* other) { // =================================================================== -class UseSslForSmtpFinishedEvent::_Internal { +class MailServerSettingsChangedEvent::_Internal { public: + static const ::grpc::ImapSmtpSettings& settings(const MailServerSettingsChangedEvent* msg); }; -UseSslForSmtpFinishedEvent::UseSslForSmtpFinishedEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, +const ::grpc::ImapSmtpSettings& +MailServerSettingsChangedEvent::_Internal::settings(const MailServerSettingsChangedEvent* msg) { + return *msg->_impl_.settings_; +} +MailServerSettingsChangedEvent::MailServerSettingsChangedEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:grpc.UseSslForSmtpFinishedEvent) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:grpc.MailServerSettingsChangedEvent) } -UseSslForSmtpFinishedEvent::UseSslForSmtpFinishedEvent(const UseSslForSmtpFinishedEvent& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - UseSslForSmtpFinishedEvent* const _this = this; (void)_this; +MailServerSettingsChangedEvent::MailServerSettingsChangedEvent(const MailServerSettingsChangedEvent& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + MailServerSettingsChangedEvent* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.settings_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:grpc.UseSslForSmtpFinishedEvent) + if (from._internal_has_settings()) { + _this->_impl_.settings_ = new ::grpc::ImapSmtpSettings(*from._impl_.settings_); + } + // @@protoc_insertion_point(copy_constructor:grpc.MailServerSettingsChangedEvent) } +inline void MailServerSettingsChangedEvent::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.settings_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} +MailServerSettingsChangedEvent::~MailServerSettingsChangedEvent() { + // @@protoc_insertion_point(destructor:grpc.MailServerSettingsChangedEvent) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} +inline void MailServerSettingsChangedEvent::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.settings_; +} +void MailServerSettingsChangedEvent::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UseSslForSmtpFinishedEvent::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +void MailServerSettingsChangedEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:grpc.MailServerSettingsChangedEvent) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.settings_ != nullptr) { + delete _impl_.settings_; + } + _impl_.settings_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* MailServerSettingsChangedEvent::_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.ImapSmtpSettings settings = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_settings(), 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* MailServerSettingsChangedEvent::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:grpc.MailServerSettingsChangedEvent) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .grpc.ImapSmtpSettings settings = 1; + if (this->_internal_has_settings()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::settings(this), + _Internal::settings(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.MailServerSettingsChangedEvent) + return target; +} + +size_t MailServerSettingsChangedEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:grpc.MailServerSettingsChangedEvent) + 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.ImapSmtpSettings settings = 1; + if (this->_internal_has_settings()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.settings_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MailServerSettingsChangedEvent::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + MailServerSettingsChangedEvent::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UseSslForSmtpFinishedEvent::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MailServerSettingsChangedEvent::GetClassData() const { return &_class_data_; } +void MailServerSettingsChangedEvent::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.MailServerSettingsChangedEvent) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + if (from._internal_has_settings()) { + _this->_internal_mutable_settings()->::grpc::ImapSmtpSettings::MergeFrom( + from._internal_settings()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} +void MailServerSettingsChangedEvent::CopyFrom(const MailServerSettingsChangedEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:grpc.MailServerSettingsChangedEvent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} +bool MailServerSettingsChangedEvent::IsInitialized() const { + return true; +} +void MailServerSettingsChangedEvent::InternalSwap(MailServerSettingsChangedEvent* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.settings_, other->_impl_.settings_); +} -::PROTOBUF_NAMESPACE_ID::Metadata UseSslForSmtpFinishedEvent::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata MailServerSettingsChangedEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, file_level_metadata_bridge_2eproto[40]); @@ -10317,31 +10449,31 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UseSslForSmtpFinishedEvent::Ge // =================================================================== -class UseSslForImapFinishedEvent::_Internal { +class ChangeMailServerSettingsFinishedEvent::_Internal { public: }; -UseSslForImapFinishedEvent::UseSslForImapFinishedEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, +ChangeMailServerSettingsFinishedEvent::ChangeMailServerSettingsFinishedEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:grpc.UseSslForImapFinishedEvent) + // @@protoc_insertion_point(arena_constructor:grpc.ChangeMailServerSettingsFinishedEvent) } -UseSslForImapFinishedEvent::UseSslForImapFinishedEvent(const UseSslForImapFinishedEvent& from) +ChangeMailServerSettingsFinishedEvent::ChangeMailServerSettingsFinishedEvent(const ChangeMailServerSettingsFinishedEvent& from) : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - UseSslForImapFinishedEvent* const _this = this; (void)_this; + ChangeMailServerSettingsFinishedEvent* const _this = this; (void)_this; _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:grpc.UseSslForImapFinishedEvent) + // @@protoc_insertion_point(copy_constructor:grpc.ChangeMailServerSettingsFinishedEvent) } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UseSslForImapFinishedEvent::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ChangeMailServerSettingsFinishedEvent::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UseSslForImapFinishedEvent::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ChangeMailServerSettingsFinishedEvent::GetClassData() const { return &_class_data_; } @@ -10349,7 +10481,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UseSslForImapFinishedEvent::Ge -::PROTOBUF_NAMESPACE_ID::Metadata UseSslForImapFinishedEvent::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata ChangeMailServerSettingsFinishedEvent::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once, file_level_metadata_bridge_2eproto[41]); @@ -10357,46 +10489,6 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UseSslForImapFinishedEvent::Ge // =================================================================== -class ChangePortsFinishedEvent::_Internal { - public: -}; - -ChangePortsFinishedEvent::ChangePortsFinishedEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:grpc.ChangePortsFinishedEvent) -} -ChangePortsFinishedEvent::ChangePortsFinishedEvent(const ChangePortsFinishedEvent& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - ChangePortsFinishedEvent* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:grpc.ChangePortsFinishedEvent) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ChangePortsFinishedEvent::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ChangePortsFinishedEvent::GetClassData() const { return &_class_data_; } - - - - - - - -::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[42]); -} - -// =================================================================== - class KeychainEvent::_Internal { public: static const ::grpc::ChangeKeychainFinishedEvent& changekeychainfinished(const KeychainEvent* msg); @@ -10755,7 +10847,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[43]); + file_level_metadata_bridge_2eproto[42]); } // =================================================================== @@ -10795,7 +10887,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[44]); + file_level_metadata_bridge_2eproto[43]); } // =================================================================== @@ -10835,7 +10927,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[45]); + file_level_metadata_bridge_2eproto[44]); } // =================================================================== @@ -10875,7 +10967,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[46]); + file_level_metadata_bridge_2eproto[45]); } // =================================================================== @@ -11296,7 +11388,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[47]); + file_level_metadata_bridge_2eproto[46]); } // =================================================================== @@ -11499,7 +11591,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[48]); + file_level_metadata_bridge_2eproto[47]); } // =================================================================== @@ -11702,7 +11794,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[49]); + file_level_metadata_bridge_2eproto[48]); } // =================================================================== @@ -11905,7 +11997,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[50]); + file_level_metadata_bridge_2eproto[49]); } // =================================================================== @@ -11945,7 +12037,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[51]); + file_level_metadata_bridge_2eproto[50]); } // =================================================================== @@ -12308,7 +12400,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[52]); + file_level_metadata_bridge_2eproto[51]); } // =================================================================== @@ -12511,7 +12603,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[53]); + file_level_metadata_bridge_2eproto[52]); } // =================================================================== @@ -12714,7 +12806,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[54]); + file_level_metadata_bridge_2eproto[53]); } // =================================================================== @@ -12917,7 +13009,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[55]); + file_level_metadata_bridge_2eproto[54]); } // @@protoc_insertion_point(namespace_scope) @@ -12939,9 +13031,9 @@ template<> PROTOBUF_NOINLINE ::grpc::LoginAbortRequest* Arena::CreateMaybeMessage< ::grpc::LoginAbortRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::grpc::LoginAbortRequest >(arena); } -template<> PROTOBUF_NOINLINE ::grpc::ChangePortsRequest* -Arena::CreateMaybeMessage< ::grpc::ChangePortsRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::grpc::ChangePortsRequest >(arena); +template<> PROTOBUF_NOINLINE ::grpc::ImapSmtpSettings* +Arena::CreateMaybeMessage< ::grpc::ImapSmtpSettings >(Arena* arena) { + return Arena::CreateMessageInternal< ::grpc::ImapSmtpSettings >(arena); } template<> PROTOBUF_NOINLINE ::grpc::AvailableKeychainsResponse* Arena::CreateMaybeMessage< ::grpc::AvailableKeychainsResponse >(Arena* arena) { @@ -13075,25 +13167,21 @@ 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) { - return Arena::CreateMessageInternal< ::grpc::MailSettingsEvent >(arena); +template<> PROTOBUF_NOINLINE ::grpc::MailServerSettingsEvent* +Arena::CreateMaybeMessage< ::grpc::MailServerSettingsEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::grpc::MailServerSettingsEvent >(arena); } -template<> PROTOBUF_NOINLINE ::grpc::MailSettingsErrorEvent* -Arena::CreateMaybeMessage< ::grpc::MailSettingsErrorEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::grpc::MailSettingsErrorEvent >(arena); +template<> PROTOBUF_NOINLINE ::grpc::MailServerSettingsErrorEvent* +Arena::CreateMaybeMessage< ::grpc::MailServerSettingsErrorEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::grpc::MailServerSettingsErrorEvent >(arena); } -template<> PROTOBUF_NOINLINE ::grpc::UseSslForSmtpFinishedEvent* -Arena::CreateMaybeMessage< ::grpc::UseSslForSmtpFinishedEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::grpc::UseSslForSmtpFinishedEvent >(arena); +template<> PROTOBUF_NOINLINE ::grpc::MailServerSettingsChangedEvent* +Arena::CreateMaybeMessage< ::grpc::MailServerSettingsChangedEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::grpc::MailServerSettingsChangedEvent >(arena); } -template<> PROTOBUF_NOINLINE ::grpc::UseSslForImapFinishedEvent* -Arena::CreateMaybeMessage< ::grpc::UseSslForImapFinishedEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::grpc::UseSslForImapFinishedEvent >(arena); -} -template<> PROTOBUF_NOINLINE ::grpc::ChangePortsFinishedEvent* -Arena::CreateMaybeMessage< ::grpc::ChangePortsFinishedEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::grpc::ChangePortsFinishedEvent >(arena); +template<> PROTOBUF_NOINLINE ::grpc::ChangeMailServerSettingsFinishedEvent* +Arena::CreateMaybeMessage< ::grpc::ChangeMailServerSettingsFinishedEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::grpc::ChangeMailServerSettingsFinishedEvent >(arena); } template<> PROTOBUF_NOINLINE ::grpc::KeychainEvent* Arena::CreateMaybeMessage< ::grpc::KeychainEvent >(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 14e594f8..c712ac0c 100644 --- a/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/bridge.pb.h +++ b/internal/frontend/bridge-gui/bridgepp/bridgepp/GRPC/bridge.pb.h @@ -70,12 +70,9 @@ extern AvailableKeychainsResponseDefaultTypeInternal _AvailableKeychainsResponse class ChangeKeychainFinishedEvent; struct ChangeKeychainFinishedEventDefaultTypeInternal; extern ChangeKeychainFinishedEventDefaultTypeInternal _ChangeKeychainFinishedEvent_default_instance_; -class ChangePortsFinishedEvent; -struct ChangePortsFinishedEventDefaultTypeInternal; -extern ChangePortsFinishedEventDefaultTypeInternal _ChangePortsFinishedEvent_default_instance_; -class ChangePortsRequest; -struct ChangePortsRequestDefaultTypeInternal; -extern ChangePortsRequestDefaultTypeInternal _ChangePortsRequest_default_instance_; +class ChangeMailServerSettingsFinishedEvent; +struct ChangeMailServerSettingsFinishedEventDefaultTypeInternal; +extern ChangeMailServerSettingsFinishedEventDefaultTypeInternal _ChangeMailServerSettingsFinishedEvent_default_instance_; class ConfigureAppleMailRequest; struct ConfigureAppleMailRequestDefaultTypeInternal; extern ConfigureAppleMailRequestDefaultTypeInternal _ConfigureAppleMailRequest_default_instance_; @@ -97,6 +94,9 @@ extern EventStreamRequestDefaultTypeInternal _EventStreamRequest_default_instanc class HasNoKeychainEvent; struct HasNoKeychainEventDefaultTypeInternal; extern HasNoKeychainEventDefaultTypeInternal _HasNoKeychainEvent_default_instance_; +class ImapSmtpSettings; +struct ImapSmtpSettingsDefaultTypeInternal; +extern ImapSmtpSettingsDefaultTypeInternal _ImapSmtpSettings_default_instance_; class InternetStatusEvent; struct InternetStatusEventDefaultTypeInternal; extern InternetStatusEventDefaultTypeInternal _InternetStatusEvent_default_instance_; @@ -127,12 +127,15 @@ extern LoginTwoPasswordsRequestedEventDefaultTypeInternal _LoginTwoPasswordsRequ class MailEvent; struct MailEventDefaultTypeInternal; extern MailEventDefaultTypeInternal _MailEvent_default_instance_; -class MailSettingsErrorEvent; -struct MailSettingsErrorEventDefaultTypeInternal; -extern MailSettingsErrorEventDefaultTypeInternal _MailSettingsErrorEvent_default_instance_; -class MailSettingsEvent; -struct MailSettingsEventDefaultTypeInternal; -extern MailSettingsEventDefaultTypeInternal _MailSettingsEvent_default_instance_; +class MailServerSettingsChangedEvent; +struct MailServerSettingsChangedEventDefaultTypeInternal; +extern MailServerSettingsChangedEventDefaultTypeInternal _MailServerSettingsChangedEvent_default_instance_; +class MailServerSettingsErrorEvent; +struct MailServerSettingsErrorEventDefaultTypeInternal; +extern MailServerSettingsErrorEventDefaultTypeInternal _MailServerSettingsErrorEvent_default_instance_; +class MailServerSettingsEvent; +struct MailServerSettingsEventDefaultTypeInternal; +extern MailServerSettingsEventDefaultTypeInternal _MailServerSettingsEvent_default_instance_; class NoActiveKeyForRecipientEvent; struct NoActiveKeyForRecipientEventDefaultTypeInternal; extern NoActiveKeyForRecipientEventDefaultTypeInternal _NoActiveKeyForRecipientEvent_default_instance_; @@ -193,12 +196,6 @@ extern UpdateSilentRestartNeededDefaultTypeInternal _UpdateSilentRestartNeeded_d class UpdateVersionChanged; struct UpdateVersionChangedDefaultTypeInternal; extern UpdateVersionChangedDefaultTypeInternal _UpdateVersionChanged_default_instance_; -class UseSslForImapFinishedEvent; -struct UseSslForImapFinishedEventDefaultTypeInternal; -extern UseSslForImapFinishedEventDefaultTypeInternal _UseSslForImapFinishedEvent_default_instance_; -class UseSslForSmtpFinishedEvent; -struct UseSslForSmtpFinishedEventDefaultTypeInternal; -extern UseSslForSmtpFinishedEventDefaultTypeInternal _UseSslForSmtpFinishedEvent_default_instance_; class User; struct UserDefaultTypeInternal; extern UserDefaultTypeInternal _User_default_instance_; @@ -226,8 +223,7 @@ template<> ::grpc::ApiCertIssueEvent* Arena::CreateMaybeMessage<::grpc::ApiCertI template<> ::grpc::AppEvent* Arena::CreateMaybeMessage<::grpc::AppEvent>(Arena*); template<> ::grpc::AvailableKeychainsResponse* Arena::CreateMaybeMessage<::grpc::AvailableKeychainsResponse>(Arena*); template<> ::grpc::ChangeKeychainFinishedEvent* Arena::CreateMaybeMessage<::grpc::ChangeKeychainFinishedEvent>(Arena*); -template<> ::grpc::ChangePortsFinishedEvent* Arena::CreateMaybeMessage<::grpc::ChangePortsFinishedEvent>(Arena*); -template<> ::grpc::ChangePortsRequest* Arena::CreateMaybeMessage<::grpc::ChangePortsRequest>(Arena*); +template<> ::grpc::ChangeMailServerSettingsFinishedEvent* Arena::CreateMaybeMessage<::grpc::ChangeMailServerSettingsFinishedEvent>(Arena*); template<> ::grpc::ConfigureAppleMailRequest* Arena::CreateMaybeMessage<::grpc::ConfigureAppleMailRequest>(Arena*); template<> ::grpc::DiskCacheErrorEvent* Arena::CreateMaybeMessage<::grpc::DiskCacheErrorEvent>(Arena*); template<> ::grpc::DiskCacheEvent* Arena::CreateMaybeMessage<::grpc::DiskCacheEvent>(Arena*); @@ -235,6 +231,7 @@ template<> ::grpc::DiskCachePathChangeFinishedEvent* Arena::CreateMaybeMessage<: 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::ImapSmtpSettings* Arena::CreateMaybeMessage<::grpc::ImapSmtpSettings>(Arena*); template<> ::grpc::InternetStatusEvent* Arena::CreateMaybeMessage<::grpc::InternetStatusEvent>(Arena*); template<> ::grpc::KeychainEvent* Arena::CreateMaybeMessage<::grpc::KeychainEvent>(Arena*); template<> ::grpc::LoginAbortRequest* Arena::CreateMaybeMessage<::grpc::LoginAbortRequest>(Arena*); @@ -245,8 +242,9 @@ template<> ::grpc::LoginRequest* Arena::CreateMaybeMessage<::grpc::LoginRequest> template<> ::grpc::LoginTfaRequestedEvent* Arena::CreateMaybeMessage<::grpc::LoginTfaRequestedEvent>(Arena*); template<> ::grpc::LoginTwoPasswordsRequestedEvent* Arena::CreateMaybeMessage<::grpc::LoginTwoPasswordsRequestedEvent>(Arena*); template<> ::grpc::MailEvent* Arena::CreateMaybeMessage<::grpc::MailEvent>(Arena*); -template<> ::grpc::MailSettingsErrorEvent* Arena::CreateMaybeMessage<::grpc::MailSettingsErrorEvent>(Arena*); -template<> ::grpc::MailSettingsEvent* Arena::CreateMaybeMessage<::grpc::MailSettingsEvent>(Arena*); +template<> ::grpc::MailServerSettingsChangedEvent* Arena::CreateMaybeMessage<::grpc::MailServerSettingsChangedEvent>(Arena*); +template<> ::grpc::MailServerSettingsErrorEvent* Arena::CreateMaybeMessage<::grpc::MailServerSettingsErrorEvent>(Arena*); +template<> ::grpc::MailServerSettingsEvent* Arena::CreateMaybeMessage<::grpc::MailServerSettingsEvent>(Arena*); template<> ::grpc::NoActiveKeyForRecipientEvent* Arena::CreateMaybeMessage<::grpc::NoActiveKeyForRecipientEvent>(Arena*); template<> ::grpc::RebuildKeychainEvent* Arena::CreateMaybeMessage<::grpc::RebuildKeychainEvent>(Arena*); template<> ::grpc::ReportBugErrorEvent* Arena::CreateMaybeMessage<::grpc::ReportBugErrorEvent>(Arena*); @@ -267,8 +265,6 @@ template<> ::grpc::UpdateManualReadyEvent* Arena::CreateMaybeMessage<::grpc::Upd template<> ::grpc::UpdateManualRestartNeededEvent* Arena::CreateMaybeMessage<::grpc::UpdateManualRestartNeededEvent>(Arena*); template<> ::grpc::UpdateSilentRestartNeeded* Arena::CreateMaybeMessage<::grpc::UpdateSilentRestartNeeded>(Arena*); template<> ::grpc::UpdateVersionChanged* Arena::CreateMaybeMessage<::grpc::UpdateVersionChanged>(Arena*); -template<> ::grpc::UseSslForImapFinishedEvent* Arena::CreateMaybeMessage<::grpc::UseSslForImapFinishedEvent>(Arena*); -template<> ::grpc::UseSslForSmtpFinishedEvent* Arena::CreateMaybeMessage<::grpc::UseSslForSmtpFinishedEvent>(Arena*); template<> ::grpc::User* Arena::CreateMaybeMessage<::grpc::User>(Arena*); template<> ::grpc::UserChangedEvent* Arena::CreateMaybeMessage<::grpc::UserChangedEvent>(Arena*); template<> ::grpc::UserDisconnectedEvent* Arena::CreateMaybeMessage<::grpc::UserDisconnectedEvent>(Arena*); @@ -416,30 +412,34 @@ inline bool DiskCacheErrorType_Parse( return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( DiskCacheErrorType_descriptor(), name, value); } -enum MailSettingsErrorType : int { - IMAP_PORT_ISSUE = 0, - SMTP_PORT_ISSUE = 1, - MailSettingsErrorType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), - MailSettingsErrorType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() +enum MailServerSettingsErrorType : int { + IMAP_PORT_STARTUP_ERROR = 0, + SMTP_PORT_STARTUP_ERROR = 1, + IMAP_PORT_CHANGE_ERROR = 2, + SMTP_PORT_CHANGE_ERROR = 3, + IMAP_CONNECTION_MODE_CHANGE_ERROR = 4, + SMTP_CONNECTION_MODE_CHANGE_ERROR = 5, + MailServerSettingsErrorType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), + MailServerSettingsErrorType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() }; -bool MailSettingsErrorType_IsValid(int value); -constexpr MailSettingsErrorType MailSettingsErrorType_MIN = IMAP_PORT_ISSUE; -constexpr MailSettingsErrorType MailSettingsErrorType_MAX = SMTP_PORT_ISSUE; -constexpr int MailSettingsErrorType_ARRAYSIZE = MailSettingsErrorType_MAX + 1; +bool MailServerSettingsErrorType_IsValid(int value); +constexpr MailServerSettingsErrorType MailServerSettingsErrorType_MIN = IMAP_PORT_STARTUP_ERROR; +constexpr MailServerSettingsErrorType MailServerSettingsErrorType_MAX = SMTP_CONNECTION_MODE_CHANGE_ERROR; +constexpr int MailServerSettingsErrorType_ARRAYSIZE = MailServerSettingsErrorType_MAX + 1; -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MailSettingsErrorType_descriptor(); +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MailServerSettingsErrorType_descriptor(); template -inline const std::string& MailSettingsErrorType_Name(T enum_t_value) { - static_assert(::std::is_same::value || +inline const std::string& MailServerSettingsErrorType_Name(T enum_t_value) { + static_assert(::std::is_same::value || ::std::is_integral::value, - "Incorrect type passed to function MailSettingsErrorType_Name."); + "Incorrect type passed to function MailServerSettingsErrorType_Name."); return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - MailSettingsErrorType_descriptor(), enum_t_value); + MailServerSettingsErrorType_descriptor(), enum_t_value); } -inline bool MailSettingsErrorType_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, MailSettingsErrorType* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - MailSettingsErrorType_descriptor(), name, value); +inline bool MailServerSettingsErrorType_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, MailServerSettingsErrorType* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + MailServerSettingsErrorType_descriptor(), name, value); } // =================================================================== @@ -1173,24 +1173,24 @@ class LoginAbortRequest final : }; // ------------------------------------------------------------------- -class ChangePortsRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:grpc.ChangePortsRequest) */ { +class ImapSmtpSettings final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:grpc.ImapSmtpSettings) */ { public: - inline ChangePortsRequest() : ChangePortsRequest(nullptr) {} - ~ChangePortsRequest() override; - explicit PROTOBUF_CONSTEXPR ChangePortsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline ImapSmtpSettings() : ImapSmtpSettings(nullptr) {} + ~ImapSmtpSettings() override; + explicit PROTOBUF_CONSTEXPR ImapSmtpSettings(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - ChangePortsRequest(const ChangePortsRequest& from); - ChangePortsRequest(ChangePortsRequest&& from) noexcept - : ChangePortsRequest() { + ImapSmtpSettings(const ImapSmtpSettings& from); + ImapSmtpSettings(ImapSmtpSettings&& from) noexcept + : ImapSmtpSettings() { *this = ::std::move(from); } - inline ChangePortsRequest& operator=(const ChangePortsRequest& from) { + inline ImapSmtpSettings& operator=(const ImapSmtpSettings& from) { CopyFrom(from); return *this; } - inline ChangePortsRequest& operator=(ChangePortsRequest&& from) noexcept { + inline ImapSmtpSettings& operator=(ImapSmtpSettings&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -1213,20 +1213,20 @@ class ChangePortsRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const ChangePortsRequest& default_instance() { + static const ImapSmtpSettings& default_instance() { return *internal_default_instance(); } - static inline const ChangePortsRequest* internal_default_instance() { - return reinterpret_cast( - &_ChangePortsRequest_default_instance_); + static inline const ImapSmtpSettings* internal_default_instance() { + return reinterpret_cast( + &_ImapSmtpSettings_default_instance_); } static constexpr int kIndexInFileMessages = 4; - friend void swap(ChangePortsRequest& a, ChangePortsRequest& b) { + friend void swap(ImapSmtpSettings& a, ImapSmtpSettings& b) { a.Swap(&b); } - inline void Swap(ChangePortsRequest* other) { + inline void Swap(ImapSmtpSettings* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -1239,7 +1239,7 @@ class ChangePortsRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(ChangePortsRequest* other) { + void UnsafeArenaSwap(ImapSmtpSettings* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -1247,14 +1247,14 @@ class ChangePortsRequest final : // implements Message ---------------------------------------------- - ChangePortsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + ImapSmtpSettings* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ChangePortsRequest& from); + void CopyFrom(const ImapSmtpSettings& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ChangePortsRequest& from) { - ChangePortsRequest::MergeImpl(*this, from); + void MergeFrom( const ImapSmtpSettings& from) { + ImapSmtpSettings::MergeImpl(*this, from); } private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); @@ -1272,15 +1272,15 @@ class ChangePortsRequest final : void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(ChangePortsRequest* other); + void InternalSwap(ImapSmtpSettings* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "grpc.ChangePortsRequest"; + return "grpc.ImapSmtpSettings"; } protected: - explicit ChangePortsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit ImapSmtpSettings(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -1296,6 +1296,8 @@ class ChangePortsRequest final : enum : int { kImapPortFieldNumber = 1, kSmtpPortFieldNumber = 2, + kUseSSLForImapFieldNumber = 3, + kUseSSLForSmtpFieldNumber = 4, }; // int32 imapPort = 1; void clear_imapport(); @@ -1315,7 +1317,25 @@ class ChangePortsRequest final : void _internal_set_smtpport(int32_t value); public: - // @@protoc_insertion_point(class_scope:grpc.ChangePortsRequest) + // bool useSSLForImap = 3; + void clear_usesslforimap(); + bool usesslforimap() const; + void set_usesslforimap(bool value); + private: + bool _internal_usesslforimap() const; + void _internal_set_usesslforimap(bool value); + public: + + // bool useSSLForSmtp = 4; + void clear_usesslforsmtp(); + bool usesslforsmtp() const; + void set_usesslforsmtp(bool value); + private: + bool _internal_usesslforsmtp() const; + void _internal_set_usesslforsmtp(bool value); + public: + + // @@protoc_insertion_point(class_scope:grpc.ImapSmtpSettings) private: class _Internal; @@ -1325,6 +1345,8 @@ class ChangePortsRequest final : struct Impl_ { int32_t imapport_; int32_t smtpport_; + bool usesslforimap_; + bool usesslforsmtp_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; }; union { Impl_ _impl_; }; @@ -2468,7 +2490,7 @@ class StreamEvent final : kLogin = 2, kUpdate = 3, kCache = 4, - kMailSettings = 5, + kMailServerSettings = 5, kKeychain = 6, kMail = 7, kUser = 8, @@ -2557,7 +2579,7 @@ class StreamEvent final : kLoginFieldNumber = 2, kUpdateFieldNumber = 3, kCacheFieldNumber = 4, - kMailSettingsFieldNumber = 5, + kMailServerSettingsFieldNumber = 5, kKeychainFieldNumber = 6, kMailFieldNumber = 7, kUserFieldNumber = 8, @@ -2634,23 +2656,23 @@ class StreamEvent final : ::grpc::DiskCacheEvent* cache); ::grpc::DiskCacheEvent* unsafe_arena_release_cache(); - // .grpc.MailSettingsEvent mailSettings = 5; - bool has_mailsettings() const; + // .grpc.MailServerSettingsEvent mailServerSettings = 5; + bool has_mailserversettings() const; private: - bool _internal_has_mailsettings() const; + bool _internal_has_mailserversettings() const; public: - void clear_mailsettings(); - const ::grpc::MailSettingsEvent& mailsettings() const; - PROTOBUF_NODISCARD ::grpc::MailSettingsEvent* release_mailsettings(); - ::grpc::MailSettingsEvent* mutable_mailsettings(); - void set_allocated_mailsettings(::grpc::MailSettingsEvent* mailsettings); + void clear_mailserversettings(); + const ::grpc::MailServerSettingsEvent& mailserversettings() const; + PROTOBUF_NODISCARD ::grpc::MailServerSettingsEvent* release_mailserversettings(); + ::grpc::MailServerSettingsEvent* mutable_mailserversettings(); + void set_allocated_mailserversettings(::grpc::MailServerSettingsEvent* mailserversettings); private: - const ::grpc::MailSettingsEvent& _internal_mailsettings() const; - ::grpc::MailSettingsEvent* _internal_mutable_mailsettings(); + const ::grpc::MailServerSettingsEvent& _internal_mailserversettings() const; + ::grpc::MailServerSettingsEvent* _internal_mutable_mailserversettings(); public: - void unsafe_arena_set_allocated_mailsettings( - ::grpc::MailSettingsEvent* mailsettings); - ::grpc::MailSettingsEvent* unsafe_arena_release_mailsettings(); + void unsafe_arena_set_allocated_mailserversettings( + ::grpc::MailServerSettingsEvent* mailserversettings); + ::grpc::MailServerSettingsEvent* unsafe_arena_release_mailserversettings(); // .grpc.KeychainEvent keychain = 6; bool has_keychain() const; @@ -2715,7 +2737,7 @@ class StreamEvent final : void set_has_login(); void set_has_update(); void set_has_cache(); - void set_has_mailsettings(); + void set_has_mailserversettings(); void set_has_keychain(); void set_has_mail(); void set_has_user(); @@ -2734,7 +2756,7 @@ class StreamEvent final : ::grpc::LoginEvent* login_; ::grpc::UpdateEvent* update_; ::grpc::DiskCacheEvent* cache_; - ::grpc::MailSettingsEvent* mailsettings_; + ::grpc::MailServerSettingsEvent* mailserversettings_; ::grpc::KeychainEvent* keychain_; ::grpc::MailEvent* mail_; ::grpc::UserEvent* user_; @@ -6769,24 +6791,24 @@ class DiskCachePathChangeFinishedEvent final : }; // ------------------------------------------------------------------- -class MailSettingsEvent final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:grpc.MailSettingsEvent) */ { +class MailServerSettingsEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:grpc.MailServerSettingsEvent) */ { public: - inline MailSettingsEvent() : MailSettingsEvent(nullptr) {} - ~MailSettingsEvent() override; - explicit PROTOBUF_CONSTEXPR MailSettingsEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline MailServerSettingsEvent() : MailServerSettingsEvent(nullptr) {} + ~MailServerSettingsEvent() override; + explicit PROTOBUF_CONSTEXPR MailServerSettingsEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - MailSettingsEvent(const MailSettingsEvent& from); - MailSettingsEvent(MailSettingsEvent&& from) noexcept - : MailSettingsEvent() { + MailServerSettingsEvent(const MailServerSettingsEvent& from); + MailServerSettingsEvent(MailServerSettingsEvent&& from) noexcept + : MailServerSettingsEvent() { *this = ::std::move(from); } - inline MailSettingsEvent& operator=(const MailSettingsEvent& from) { + inline MailServerSettingsEvent& operator=(const MailServerSettingsEvent& from) { CopyFrom(from); return *this; } - inline MailSettingsEvent& operator=(MailSettingsEvent&& from) noexcept { + inline MailServerSettingsEvent& operator=(MailServerSettingsEvent&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -6809,28 +6831,27 @@ class MailSettingsEvent final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const MailSettingsEvent& default_instance() { + static const MailServerSettingsEvent& default_instance() { return *internal_default_instance(); } enum EventCase { kError = 1, - kUseSslForSmtpFinished = 2, - kChangePortsFinished = 3, - kUseSslForImapFinished = 4, + kMailServerSettingsChanged = 2, + kChangeMailServerSettingsFinished = 3, EVENT_NOT_SET = 0, }; - static inline const MailSettingsEvent* internal_default_instance() { - return reinterpret_cast( - &_MailSettingsEvent_default_instance_); + static inline const MailServerSettingsEvent* internal_default_instance() { + return reinterpret_cast( + &_MailServerSettingsEvent_default_instance_); } static constexpr int kIndexInFileMessages = 38; - friend void swap(MailSettingsEvent& a, MailSettingsEvent& b) { + friend void swap(MailServerSettingsEvent& a, MailServerSettingsEvent& b) { a.Swap(&b); } - inline void Swap(MailSettingsEvent* other) { + inline void Swap(MailServerSettingsEvent* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -6843,7 +6864,7 @@ class MailSettingsEvent final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(MailSettingsEvent* other) { + void UnsafeArenaSwap(MailServerSettingsEvent* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -6851,14 +6872,14 @@ class MailSettingsEvent final : // implements Message ---------------------------------------------- - MailSettingsEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + MailServerSettingsEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const MailSettingsEvent& from); + void CopyFrom(const MailServerSettingsEvent& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const MailSettingsEvent& from) { - MailSettingsEvent::MergeImpl(*this, from); + void MergeFrom( const MailServerSettingsEvent& from) { + MailServerSettingsEvent::MergeImpl(*this, from); } private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); @@ -6876,15 +6897,15 @@ class MailSettingsEvent final : void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(MailSettingsEvent* other); + void InternalSwap(MailServerSettingsEvent* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "grpc.MailSettingsEvent"; + return "grpc.MailServerSettingsEvent"; } protected: - explicit MailSettingsEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit MailServerSettingsEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -6899,91 +6920,71 @@ class MailSettingsEvent final : enum : int { kErrorFieldNumber = 1, - kUseSslForSmtpFinishedFieldNumber = 2, - kChangePortsFinishedFieldNumber = 3, - kUseSslForImapFinishedFieldNumber = 4, + kMailServerSettingsChangedFieldNumber = 2, + kChangeMailServerSettingsFinishedFieldNumber = 3, }; - // .grpc.MailSettingsErrorEvent error = 1; + // .grpc.MailServerSettingsErrorEvent error = 1; bool has_error() const; private: bool _internal_has_error() const; public: void clear_error(); - const ::grpc::MailSettingsErrorEvent& error() const; - PROTOBUF_NODISCARD ::grpc::MailSettingsErrorEvent* release_error(); - ::grpc::MailSettingsErrorEvent* mutable_error(); - void set_allocated_error(::grpc::MailSettingsErrorEvent* error); + const ::grpc::MailServerSettingsErrorEvent& error() const; + PROTOBUF_NODISCARD ::grpc::MailServerSettingsErrorEvent* release_error(); + ::grpc::MailServerSettingsErrorEvent* mutable_error(); + void set_allocated_error(::grpc::MailServerSettingsErrorEvent* error); private: - const ::grpc::MailSettingsErrorEvent& _internal_error() const; - ::grpc::MailSettingsErrorEvent* _internal_mutable_error(); + const ::grpc::MailServerSettingsErrorEvent& _internal_error() const; + ::grpc::MailServerSettingsErrorEvent* _internal_mutable_error(); public: void unsafe_arena_set_allocated_error( - ::grpc::MailSettingsErrorEvent* error); - ::grpc::MailSettingsErrorEvent* unsafe_arena_release_error(); + ::grpc::MailServerSettingsErrorEvent* error); + ::grpc::MailServerSettingsErrorEvent* unsafe_arena_release_error(); - // .grpc.UseSslForSmtpFinishedEvent useSslForSmtpFinished = 2; - bool has_usesslforsmtpfinished() const; + // .grpc.MailServerSettingsChangedEvent mailServerSettingsChanged = 2; + bool has_mailserversettingschanged() const; private: - bool _internal_has_usesslforsmtpfinished() const; + bool _internal_has_mailserversettingschanged() const; public: - void clear_usesslforsmtpfinished(); - const ::grpc::UseSslForSmtpFinishedEvent& usesslforsmtpfinished() const; - PROTOBUF_NODISCARD ::grpc::UseSslForSmtpFinishedEvent* release_usesslforsmtpfinished(); - ::grpc::UseSslForSmtpFinishedEvent* mutable_usesslforsmtpfinished(); - void set_allocated_usesslforsmtpfinished(::grpc::UseSslForSmtpFinishedEvent* usesslforsmtpfinished); + void clear_mailserversettingschanged(); + const ::grpc::MailServerSettingsChangedEvent& mailserversettingschanged() const; + PROTOBUF_NODISCARD ::grpc::MailServerSettingsChangedEvent* release_mailserversettingschanged(); + ::grpc::MailServerSettingsChangedEvent* mutable_mailserversettingschanged(); + void set_allocated_mailserversettingschanged(::grpc::MailServerSettingsChangedEvent* mailserversettingschanged); private: - const ::grpc::UseSslForSmtpFinishedEvent& _internal_usesslforsmtpfinished() const; - ::grpc::UseSslForSmtpFinishedEvent* _internal_mutable_usesslforsmtpfinished(); + const ::grpc::MailServerSettingsChangedEvent& _internal_mailserversettingschanged() const; + ::grpc::MailServerSettingsChangedEvent* _internal_mutable_mailserversettingschanged(); public: - void unsafe_arena_set_allocated_usesslforsmtpfinished( - ::grpc::UseSslForSmtpFinishedEvent* usesslforsmtpfinished); - ::grpc::UseSslForSmtpFinishedEvent* unsafe_arena_release_usesslforsmtpfinished(); + void unsafe_arena_set_allocated_mailserversettingschanged( + ::grpc::MailServerSettingsChangedEvent* mailserversettingschanged); + ::grpc::MailServerSettingsChangedEvent* unsafe_arena_release_mailserversettingschanged(); - // .grpc.ChangePortsFinishedEvent changePortsFinished = 3; - bool has_changeportsfinished() const; + // .grpc.ChangeMailServerSettingsFinishedEvent changeMailServerSettingsFinished = 3; + bool has_changemailserversettingsfinished() const; private: - bool _internal_has_changeportsfinished() const; + bool _internal_has_changemailserversettingsfinished() const; public: - void clear_changeportsfinished(); - const ::grpc::ChangePortsFinishedEvent& changeportsfinished() const; - PROTOBUF_NODISCARD ::grpc::ChangePortsFinishedEvent* release_changeportsfinished(); - ::grpc::ChangePortsFinishedEvent* mutable_changeportsfinished(); - void set_allocated_changeportsfinished(::grpc::ChangePortsFinishedEvent* changeportsfinished); + void clear_changemailserversettingsfinished(); + const ::grpc::ChangeMailServerSettingsFinishedEvent& changemailserversettingsfinished() const; + PROTOBUF_NODISCARD ::grpc::ChangeMailServerSettingsFinishedEvent* release_changemailserversettingsfinished(); + ::grpc::ChangeMailServerSettingsFinishedEvent* mutable_changemailserversettingsfinished(); + void set_allocated_changemailserversettingsfinished(::grpc::ChangeMailServerSettingsFinishedEvent* changemailserversettingsfinished); private: - const ::grpc::ChangePortsFinishedEvent& _internal_changeportsfinished() const; - ::grpc::ChangePortsFinishedEvent* _internal_mutable_changeportsfinished(); + const ::grpc::ChangeMailServerSettingsFinishedEvent& _internal_changemailserversettingsfinished() const; + ::grpc::ChangeMailServerSettingsFinishedEvent* _internal_mutable_changemailserversettingsfinished(); public: - void unsafe_arena_set_allocated_changeportsfinished( - ::grpc::ChangePortsFinishedEvent* changeportsfinished); - ::grpc::ChangePortsFinishedEvent* unsafe_arena_release_changeportsfinished(); - - // .grpc.UseSslForImapFinishedEvent useSslForImapFinished = 4; - bool has_usesslforimapfinished() const; - private: - bool _internal_has_usesslforimapfinished() const; - public: - void clear_usesslforimapfinished(); - const ::grpc::UseSslForImapFinishedEvent& usesslforimapfinished() const; - PROTOBUF_NODISCARD ::grpc::UseSslForImapFinishedEvent* release_usesslforimapfinished(); - ::grpc::UseSslForImapFinishedEvent* mutable_usesslforimapfinished(); - void set_allocated_usesslforimapfinished(::grpc::UseSslForImapFinishedEvent* usesslforimapfinished); - private: - const ::grpc::UseSslForImapFinishedEvent& _internal_usesslforimapfinished() const; - ::grpc::UseSslForImapFinishedEvent* _internal_mutable_usesslforimapfinished(); - public: - void unsafe_arena_set_allocated_usesslforimapfinished( - ::grpc::UseSslForImapFinishedEvent* usesslforimapfinished); - ::grpc::UseSslForImapFinishedEvent* unsafe_arena_release_usesslforimapfinished(); + void unsafe_arena_set_allocated_changemailserversettingsfinished( + ::grpc::ChangeMailServerSettingsFinishedEvent* changemailserversettingsfinished); + ::grpc::ChangeMailServerSettingsFinishedEvent* unsafe_arena_release_changemailserversettingsfinished(); void clear_event(); EventCase event_case() const; - // @@protoc_insertion_point(class_scope:grpc.MailSettingsEvent) + // @@protoc_insertion_point(class_scope:grpc.MailServerSettingsEvent) private: class _Internal; void set_has_error(); - void set_has_usesslforsmtpfinished(); - void set_has_changeportsfinished(); - void set_has_usesslforimapfinished(); + void set_has_mailserversettingschanged(); + void set_has_changemailserversettingsfinished(); inline bool has_event() const; inline void clear_has_event(); @@ -6995,10 +6996,9 @@ class MailSettingsEvent final : union EventUnion { constexpr EventUnion() : _constinit_{} {} ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; - ::grpc::MailSettingsErrorEvent* error_; - ::grpc::UseSslForSmtpFinishedEvent* usesslforsmtpfinished_; - ::grpc::ChangePortsFinishedEvent* changeportsfinished_; - ::grpc::UseSslForImapFinishedEvent* usesslforimapfinished_; + ::grpc::MailServerSettingsErrorEvent* error_; + ::grpc::MailServerSettingsChangedEvent* mailserversettingschanged_; + ::grpc::ChangeMailServerSettingsFinishedEvent* changemailserversettingsfinished_; } event_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; uint32_t _oneof_case_[1]; @@ -7009,24 +7009,24 @@ class MailSettingsEvent final : }; // ------------------------------------------------------------------- -class MailSettingsErrorEvent final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:grpc.MailSettingsErrorEvent) */ { +class MailServerSettingsErrorEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:grpc.MailServerSettingsErrorEvent) */ { public: - inline MailSettingsErrorEvent() : MailSettingsErrorEvent(nullptr) {} - ~MailSettingsErrorEvent() override; - explicit PROTOBUF_CONSTEXPR MailSettingsErrorEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline MailServerSettingsErrorEvent() : MailServerSettingsErrorEvent(nullptr) {} + ~MailServerSettingsErrorEvent() override; + explicit PROTOBUF_CONSTEXPR MailServerSettingsErrorEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - MailSettingsErrorEvent(const MailSettingsErrorEvent& from); - MailSettingsErrorEvent(MailSettingsErrorEvent&& from) noexcept - : MailSettingsErrorEvent() { + MailServerSettingsErrorEvent(const MailServerSettingsErrorEvent& from); + MailServerSettingsErrorEvent(MailServerSettingsErrorEvent&& from) noexcept + : MailServerSettingsErrorEvent() { *this = ::std::move(from); } - inline MailSettingsErrorEvent& operator=(const MailSettingsErrorEvent& from) { + inline MailServerSettingsErrorEvent& operator=(const MailServerSettingsErrorEvent& from) { CopyFrom(from); return *this; } - inline MailSettingsErrorEvent& operator=(MailSettingsErrorEvent&& from) noexcept { + inline MailServerSettingsErrorEvent& operator=(MailServerSettingsErrorEvent&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -7049,20 +7049,20 @@ class MailSettingsErrorEvent final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const MailSettingsErrorEvent& default_instance() { + static const MailServerSettingsErrorEvent& default_instance() { return *internal_default_instance(); } - static inline const MailSettingsErrorEvent* internal_default_instance() { - return reinterpret_cast( - &_MailSettingsErrorEvent_default_instance_); + static inline const MailServerSettingsErrorEvent* internal_default_instance() { + return reinterpret_cast( + &_MailServerSettingsErrorEvent_default_instance_); } static constexpr int kIndexInFileMessages = 39; - friend void swap(MailSettingsErrorEvent& a, MailSettingsErrorEvent& b) { + friend void swap(MailServerSettingsErrorEvent& a, MailServerSettingsErrorEvent& b) { a.Swap(&b); } - inline void Swap(MailSettingsErrorEvent* other) { + inline void Swap(MailServerSettingsErrorEvent* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -7075,7 +7075,7 @@ class MailSettingsErrorEvent final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(MailSettingsErrorEvent* other) { + void UnsafeArenaSwap(MailServerSettingsErrorEvent* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -7083,14 +7083,14 @@ class MailSettingsErrorEvent final : // implements Message ---------------------------------------------- - MailSettingsErrorEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + MailServerSettingsErrorEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const MailSettingsErrorEvent& from); + void CopyFrom(const MailServerSettingsErrorEvent& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const MailSettingsErrorEvent& from) { - MailSettingsErrorEvent::MergeImpl(*this, from); + void MergeFrom( const MailServerSettingsErrorEvent& from) { + MailServerSettingsErrorEvent::MergeImpl(*this, from); } private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); @@ -7108,15 +7108,15 @@ class MailSettingsErrorEvent final : void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(MailSettingsErrorEvent* other); + void InternalSwap(MailServerSettingsErrorEvent* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "grpc.MailSettingsErrorEvent"; + return "grpc.MailServerSettingsErrorEvent"; } protected: - explicit MailSettingsErrorEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit MailServerSettingsErrorEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -7132,16 +7132,16 @@ class MailSettingsErrorEvent final : enum : int { kTypeFieldNumber = 1, }; - // .grpc.MailSettingsErrorType type = 1; + // .grpc.MailServerSettingsErrorType type = 1; void clear_type(); - ::grpc::MailSettingsErrorType type() const; - void set_type(::grpc::MailSettingsErrorType value); + ::grpc::MailServerSettingsErrorType type() const; + void set_type(::grpc::MailServerSettingsErrorType value); private: - ::grpc::MailSettingsErrorType _internal_type() const; - void _internal_set_type(::grpc::MailSettingsErrorType value); + ::grpc::MailServerSettingsErrorType _internal_type() const; + void _internal_set_type(::grpc::MailServerSettingsErrorType value); public: - // @@protoc_insertion_point(class_scope:grpc.MailSettingsErrorEvent) + // @@protoc_insertion_point(class_scope:grpc.MailServerSettingsErrorEvent) private: class _Internal; @@ -7157,23 +7157,24 @@ class MailSettingsErrorEvent final : }; // ------------------------------------------------------------------- -class UseSslForSmtpFinishedEvent final : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:grpc.UseSslForSmtpFinishedEvent) */ { +class MailServerSettingsChangedEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:grpc.MailServerSettingsChangedEvent) */ { public: - inline UseSslForSmtpFinishedEvent() : UseSslForSmtpFinishedEvent(nullptr) {} - explicit PROTOBUF_CONSTEXPR UseSslForSmtpFinishedEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline MailServerSettingsChangedEvent() : MailServerSettingsChangedEvent(nullptr) {} + ~MailServerSettingsChangedEvent() override; + explicit PROTOBUF_CONSTEXPR MailServerSettingsChangedEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - UseSslForSmtpFinishedEvent(const UseSslForSmtpFinishedEvent& from); - UseSslForSmtpFinishedEvent(UseSslForSmtpFinishedEvent&& from) noexcept - : UseSslForSmtpFinishedEvent() { + MailServerSettingsChangedEvent(const MailServerSettingsChangedEvent& from); + MailServerSettingsChangedEvent(MailServerSettingsChangedEvent&& from) noexcept + : MailServerSettingsChangedEvent() { *this = ::std::move(from); } - inline UseSslForSmtpFinishedEvent& operator=(const UseSslForSmtpFinishedEvent& from) { + inline MailServerSettingsChangedEvent& operator=(const MailServerSettingsChangedEvent& from) { CopyFrom(from); return *this; } - inline UseSslForSmtpFinishedEvent& operator=(UseSslForSmtpFinishedEvent&& from) noexcept { + inline MailServerSettingsChangedEvent& operator=(MailServerSettingsChangedEvent&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -7196,20 +7197,20 @@ class UseSslForSmtpFinishedEvent final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const UseSslForSmtpFinishedEvent& default_instance() { + static const MailServerSettingsChangedEvent& default_instance() { return *internal_default_instance(); } - static inline const UseSslForSmtpFinishedEvent* internal_default_instance() { - return reinterpret_cast( - &_UseSslForSmtpFinishedEvent_default_instance_); + static inline const MailServerSettingsChangedEvent* internal_default_instance() { + return reinterpret_cast( + &_MailServerSettingsChangedEvent_default_instance_); } static constexpr int kIndexInFileMessages = 40; - friend void swap(UseSslForSmtpFinishedEvent& a, UseSslForSmtpFinishedEvent& b) { + friend void swap(MailServerSettingsChangedEvent& a, MailServerSettingsChangedEvent& b) { a.Swap(&b); } - inline void Swap(UseSslForSmtpFinishedEvent* other) { + inline void Swap(MailServerSettingsChangedEvent* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -7222,7 +7223,7 @@ class UseSslForSmtpFinishedEvent final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(UseSslForSmtpFinishedEvent* other) { + void UnsafeArenaSwap(MailServerSettingsChangedEvent* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -7230,26 +7231,40 @@ class UseSslForSmtpFinishedEvent final : // implements Message ---------------------------------------------- - UseSslForSmtpFinishedEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + MailServerSettingsChangedEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const UseSslForSmtpFinishedEvent& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const UseSslForSmtpFinishedEvent& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const MailServerSettingsChangedEvent& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const MailServerSettingsChangedEvent& from) { + MailServerSettingsChangedEvent::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(MailServerSettingsChangedEvent* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "grpc.UseSslForSmtpFinishedEvent"; + return "grpc.MailServerSettingsChangedEvent"; } protected: - explicit UseSslForSmtpFinishedEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit MailServerSettingsChangedEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -7262,7 +7277,28 @@ class UseSslForSmtpFinishedEvent final : // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:grpc.UseSslForSmtpFinishedEvent) + enum : int { + kSettingsFieldNumber = 1, + }; + // .grpc.ImapSmtpSettings settings = 1; + bool has_settings() const; + private: + bool _internal_has_settings() const; + public: + void clear_settings(); + const ::grpc::ImapSmtpSettings& settings() const; + PROTOBUF_NODISCARD ::grpc::ImapSmtpSettings* release_settings(); + ::grpc::ImapSmtpSettings* mutable_settings(); + void set_allocated_settings(::grpc::ImapSmtpSettings* settings); + private: + const ::grpc::ImapSmtpSettings& _internal_settings() const; + ::grpc::ImapSmtpSettings* _internal_mutable_settings(); + public: + void unsafe_arena_set_allocated_settings( + ::grpc::ImapSmtpSettings* settings); + ::grpc::ImapSmtpSettings* unsafe_arena_release_settings(); + + // @@protoc_insertion_point(class_scope:grpc.MailServerSettingsChangedEvent) private: class _Internal; @@ -7270,28 +7306,31 @@ class UseSslForSmtpFinishedEvent final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; struct Impl_ { + ::grpc::ImapSmtpSettings* settings_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; }; + union { Impl_ _impl_; }; friend struct ::TableStruct_bridge_2eproto; }; // ------------------------------------------------------------------- -class UseSslForImapFinishedEvent final : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:grpc.UseSslForImapFinishedEvent) */ { +class ChangeMailServerSettingsFinishedEvent final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:grpc.ChangeMailServerSettingsFinishedEvent) */ { public: - inline UseSslForImapFinishedEvent() : UseSslForImapFinishedEvent(nullptr) {} - explicit PROTOBUF_CONSTEXPR UseSslForImapFinishedEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline ChangeMailServerSettingsFinishedEvent() : ChangeMailServerSettingsFinishedEvent(nullptr) {} + explicit PROTOBUF_CONSTEXPR ChangeMailServerSettingsFinishedEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - UseSslForImapFinishedEvent(const UseSslForImapFinishedEvent& from); - UseSslForImapFinishedEvent(UseSslForImapFinishedEvent&& from) noexcept - : UseSslForImapFinishedEvent() { + ChangeMailServerSettingsFinishedEvent(const ChangeMailServerSettingsFinishedEvent& from); + ChangeMailServerSettingsFinishedEvent(ChangeMailServerSettingsFinishedEvent&& from) noexcept + : ChangeMailServerSettingsFinishedEvent() { *this = ::std::move(from); } - inline UseSslForImapFinishedEvent& operator=(const UseSslForImapFinishedEvent& from) { + inline ChangeMailServerSettingsFinishedEvent& operator=(const ChangeMailServerSettingsFinishedEvent& from) { CopyFrom(from); return *this; } - inline UseSslForImapFinishedEvent& operator=(UseSslForImapFinishedEvent&& from) noexcept { + inline ChangeMailServerSettingsFinishedEvent& operator=(ChangeMailServerSettingsFinishedEvent&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -7314,20 +7353,20 @@ class UseSslForImapFinishedEvent final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const UseSslForImapFinishedEvent& default_instance() { + static const ChangeMailServerSettingsFinishedEvent& default_instance() { return *internal_default_instance(); } - static inline const UseSslForImapFinishedEvent* internal_default_instance() { - return reinterpret_cast( - &_UseSslForImapFinishedEvent_default_instance_); + static inline const ChangeMailServerSettingsFinishedEvent* internal_default_instance() { + return reinterpret_cast( + &_ChangeMailServerSettingsFinishedEvent_default_instance_); } static constexpr int kIndexInFileMessages = 41; - friend void swap(UseSslForImapFinishedEvent& a, UseSslForImapFinishedEvent& b) { + friend void swap(ChangeMailServerSettingsFinishedEvent& a, ChangeMailServerSettingsFinishedEvent& b) { a.Swap(&b); } - inline void Swap(UseSslForImapFinishedEvent* other) { + inline void Swap(ChangeMailServerSettingsFinishedEvent* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -7340,7 +7379,7 @@ class UseSslForImapFinishedEvent final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(UseSslForImapFinishedEvent* other) { + void UnsafeArenaSwap(ChangeMailServerSettingsFinishedEvent* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -7348,15 +7387,15 @@ class UseSslForImapFinishedEvent final : // implements Message ---------------------------------------------- - UseSslForImapFinishedEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + ChangeMailServerSettingsFinishedEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const UseSslForImapFinishedEvent& from) { + inline void CopyFrom(const ChangeMailServerSettingsFinishedEvent& from) { ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); } using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const UseSslForImapFinishedEvent& from) { + void MergeFrom(const ChangeMailServerSettingsFinishedEvent& from) { ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); } public: @@ -7364,10 +7403,10 @@ class UseSslForImapFinishedEvent final : private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "grpc.UseSslForImapFinishedEvent"; + return "grpc.ChangeMailServerSettingsFinishedEvent"; } protected: - explicit UseSslForImapFinishedEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit ChangeMailServerSettingsFinishedEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -7380,125 +7419,7 @@ class UseSslForImapFinishedEvent final : // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:grpc.UseSslForImapFinishedEvent) - 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 ChangePortsFinishedEvent final : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:grpc.ChangePortsFinishedEvent) */ { - public: - inline ChangePortsFinishedEvent() : ChangePortsFinishedEvent(nullptr) {} - explicit PROTOBUF_CONSTEXPR ChangePortsFinishedEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ChangePortsFinishedEvent(const ChangePortsFinishedEvent& from); - ChangePortsFinishedEvent(ChangePortsFinishedEvent&& from) noexcept - : ChangePortsFinishedEvent() { - *this = ::std::move(from); - } - - inline ChangePortsFinishedEvent& operator=(const ChangePortsFinishedEvent& from) { - CopyFrom(from); - return *this; - } - inline ChangePortsFinishedEvent& operator=(ChangePortsFinishedEvent&& 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 ChangePortsFinishedEvent& default_instance() { - return *internal_default_instance(); - } - static inline const ChangePortsFinishedEvent* internal_default_instance() { - return reinterpret_cast( - &_ChangePortsFinishedEvent_default_instance_); - } - static constexpr int kIndexInFileMessages = - 42; - - friend void swap(ChangePortsFinishedEvent& a, ChangePortsFinishedEvent& b) { - a.Swap(&b); - } - inline void Swap(ChangePortsFinishedEvent* 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(ChangePortsFinishedEvent* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ChangePortsFinishedEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const ChangePortsFinishedEvent& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const ChangePortsFinishedEvent& 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.ChangePortsFinishedEvent"; - } - protected: - explicit ChangePortsFinishedEvent(::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.ChangePortsFinishedEvent) + // @@protoc_insertion_point(class_scope:grpc.ChangeMailServerSettingsFinishedEvent) private: class _Internal; @@ -7566,7 +7487,7 @@ class KeychainEvent final : &_KeychainEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 43; + 42; friend void swap(KeychainEvent& a, KeychainEvent& b) { a.Swap(&b); @@ -7776,7 +7697,7 @@ class ChangeKeychainFinishedEvent final : &_ChangeKeychainFinishedEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 44; + 43; friend void swap(ChangeKeychainFinishedEvent& a, ChangeKeychainFinishedEvent& b) { a.Swap(&b); @@ -7894,7 +7815,7 @@ class HasNoKeychainEvent final : &_HasNoKeychainEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 45; + 44; friend void swap(HasNoKeychainEvent& a, HasNoKeychainEvent& b) { a.Swap(&b); @@ -8012,7 +7933,7 @@ class RebuildKeychainEvent final : &_RebuildKeychainEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 46; + 45; friend void swap(RebuildKeychainEvent& a, RebuildKeychainEvent& b) { a.Swap(&b); @@ -8139,7 +8060,7 @@ class MailEvent final : &_MailEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 47; + 46; friend void swap(MailEvent& a, MailEvent& b) { a.Swap(&b); @@ -8371,7 +8292,7 @@ class NoActiveKeyForRecipientEvent final : &_NoActiveKeyForRecipientEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 48; + 47; friend void swap(NoActiveKeyForRecipientEvent& a, NoActiveKeyForRecipientEvent& b) { a.Swap(&b); @@ -8524,7 +8445,7 @@ class AddressChangedEvent final : &_AddressChangedEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 49; + 48; friend void swap(AddressChangedEvent& a, AddressChangedEvent& b) { a.Swap(&b); @@ -8677,7 +8598,7 @@ class AddressChangedLogoutEvent final : &_AddressChangedLogoutEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 50; + 49; friend void swap(AddressChangedLogoutEvent& a, AddressChangedLogoutEvent& b) { a.Swap(&b); @@ -8829,7 +8750,7 @@ class ApiCertIssueEvent final : &_ApiCertIssueEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 51; + 50; friend void swap(ApiCertIssueEvent& a, ApiCertIssueEvent& b) { a.Swap(&b); @@ -8955,7 +8876,7 @@ class UserEvent final : &_UserEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 52; + 51; friend void swap(UserEvent& a, UserEvent& b) { a.Swap(&b); @@ -9166,7 +9087,7 @@ class ToggleSplitModeFinishedEvent final : &_ToggleSplitModeFinishedEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 53; + 52; friend void swap(ToggleSplitModeFinishedEvent& a, ToggleSplitModeFinishedEvent& b) { a.Swap(&b); @@ -9319,7 +9240,7 @@ class UserDisconnectedEvent final : &_UserDisconnectedEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 54; + 53; friend void swap(UserDisconnectedEvent& a, UserDisconnectedEvent& b) { a.Swap(&b); @@ -9472,7 +9393,7 @@ class UserChangedEvent final : &_UserChangedEvent_default_instance_); } static constexpr int kIndexInFileMessages = - 55; + 54; friend void swap(UserChangedEvent& a, UserChangedEvent& b) { a.Swap(&b); @@ -10140,46 +10061,86 @@ inline void LoginAbortRequest::set_allocated_username(std::string* username) { // ------------------------------------------------------------------- -// ChangePortsRequest +// ImapSmtpSettings // int32 imapPort = 1; -inline void ChangePortsRequest::clear_imapport() { +inline void ImapSmtpSettings::clear_imapport() { _impl_.imapport_ = 0; } -inline int32_t ChangePortsRequest::_internal_imapport() const { +inline int32_t ImapSmtpSettings::_internal_imapport() const { return _impl_.imapport_; } -inline int32_t ChangePortsRequest::imapport() const { - // @@protoc_insertion_point(field_get:grpc.ChangePortsRequest.imapPort) +inline int32_t ImapSmtpSettings::imapport() const { + // @@protoc_insertion_point(field_get:grpc.ImapSmtpSettings.imapPort) return _internal_imapport(); } -inline void ChangePortsRequest::_internal_set_imapport(int32_t value) { +inline void ImapSmtpSettings::_internal_set_imapport(int32_t value) { _impl_.imapport_ = value; } -inline void ChangePortsRequest::set_imapport(int32_t value) { +inline void ImapSmtpSettings::set_imapport(int32_t value) { _internal_set_imapport(value); - // @@protoc_insertion_point(field_set:grpc.ChangePortsRequest.imapPort) + // @@protoc_insertion_point(field_set:grpc.ImapSmtpSettings.imapPort) } // int32 smtpPort = 2; -inline void ChangePortsRequest::clear_smtpport() { +inline void ImapSmtpSettings::clear_smtpport() { _impl_.smtpport_ = 0; } -inline int32_t ChangePortsRequest::_internal_smtpport() const { +inline int32_t ImapSmtpSettings::_internal_smtpport() const { return _impl_.smtpport_; } -inline int32_t ChangePortsRequest::smtpport() const { - // @@protoc_insertion_point(field_get:grpc.ChangePortsRequest.smtpPort) +inline int32_t ImapSmtpSettings::smtpport() const { + // @@protoc_insertion_point(field_get:grpc.ImapSmtpSettings.smtpPort) return _internal_smtpport(); } -inline void ChangePortsRequest::_internal_set_smtpport(int32_t value) { +inline void ImapSmtpSettings::_internal_set_smtpport(int32_t value) { _impl_.smtpport_ = value; } -inline void ChangePortsRequest::set_smtpport(int32_t value) { +inline void ImapSmtpSettings::set_smtpport(int32_t value) { _internal_set_smtpport(value); - // @@protoc_insertion_point(field_set:grpc.ChangePortsRequest.smtpPort) + // @@protoc_insertion_point(field_set:grpc.ImapSmtpSettings.smtpPort) +} + +// bool useSSLForImap = 3; +inline void ImapSmtpSettings::clear_usesslforimap() { + _impl_.usesslforimap_ = false; +} +inline bool ImapSmtpSettings::_internal_usesslforimap() const { + return _impl_.usesslforimap_; +} +inline bool ImapSmtpSettings::usesslforimap() const { + // @@protoc_insertion_point(field_get:grpc.ImapSmtpSettings.useSSLForImap) + return _internal_usesslforimap(); +} +inline void ImapSmtpSettings::_internal_set_usesslforimap(bool value) { + + _impl_.usesslforimap_ = value; +} +inline void ImapSmtpSettings::set_usesslforimap(bool value) { + _internal_set_usesslforimap(value); + // @@protoc_insertion_point(field_set:grpc.ImapSmtpSettings.useSSLForImap) +} + +// bool useSSLForSmtp = 4; +inline void ImapSmtpSettings::clear_usesslforsmtp() { + _impl_.usesslforsmtp_ = false; +} +inline bool ImapSmtpSettings::_internal_usesslforsmtp() const { + return _impl_.usesslforsmtp_; +} +inline bool ImapSmtpSettings::usesslforsmtp() const { + // @@protoc_insertion_point(field_get:grpc.ImapSmtpSettings.useSSLForSmtp) + return _internal_usesslforsmtp(); +} +inline void ImapSmtpSettings::_internal_set_usesslforsmtp(bool value) { + + _impl_.usesslforsmtp_ = value; +} +inline void ImapSmtpSettings::set_usesslforsmtp(bool value) { + _internal_set_usesslforsmtp(value); + // @@protoc_insertion_point(field_set:grpc.ImapSmtpSettings.useSSLForSmtp) } // ------------------------------------------------------------------- @@ -11216,77 +11177,77 @@ inline ::grpc::DiskCacheEvent* StreamEvent::mutable_cache() { return _msg; } -// .grpc.MailSettingsEvent mailSettings = 5; -inline bool StreamEvent::_internal_has_mailsettings() const { - return event_case() == kMailSettings; +// .grpc.MailServerSettingsEvent mailServerSettings = 5; +inline bool StreamEvent::_internal_has_mailserversettings() const { + return event_case() == kMailServerSettings; } -inline bool StreamEvent::has_mailsettings() const { - return _internal_has_mailsettings(); +inline bool StreamEvent::has_mailserversettings() const { + return _internal_has_mailserversettings(); } -inline void StreamEvent::set_has_mailsettings() { - _impl_._oneof_case_[0] = kMailSettings; +inline void StreamEvent::set_has_mailserversettings() { + _impl_._oneof_case_[0] = kMailServerSettings; } -inline void StreamEvent::clear_mailsettings() { - if (_internal_has_mailsettings()) { +inline void StreamEvent::clear_mailserversettings() { + if (_internal_has_mailserversettings()) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.event_.mailsettings_; + delete _impl_.event_.mailserversettings_; } clear_has_event(); } } -inline ::grpc::MailSettingsEvent* StreamEvent::release_mailsettings() { - // @@protoc_insertion_point(field_release:grpc.StreamEvent.mailSettings) - if (_internal_has_mailsettings()) { +inline ::grpc::MailServerSettingsEvent* StreamEvent::release_mailserversettings() { + // @@protoc_insertion_point(field_release:grpc.StreamEvent.mailServerSettings) + if (_internal_has_mailserversettings()) { clear_has_event(); - ::grpc::MailSettingsEvent* temp = _impl_.event_.mailsettings_; + ::grpc::MailServerSettingsEvent* temp = _impl_.event_.mailserversettings_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.event_.mailsettings_ = nullptr; + _impl_.event_.mailserversettings_ = nullptr; return temp; } else { return nullptr; } } -inline const ::grpc::MailSettingsEvent& StreamEvent::_internal_mailsettings() const { - return _internal_has_mailsettings() - ? *_impl_.event_.mailsettings_ - : reinterpret_cast< ::grpc::MailSettingsEvent&>(::grpc::_MailSettingsEvent_default_instance_); +inline const ::grpc::MailServerSettingsEvent& StreamEvent::_internal_mailserversettings() const { + return _internal_has_mailserversettings() + ? *_impl_.event_.mailserversettings_ + : reinterpret_cast< ::grpc::MailServerSettingsEvent&>(::grpc::_MailServerSettingsEvent_default_instance_); } -inline const ::grpc::MailSettingsEvent& StreamEvent::mailsettings() const { - // @@protoc_insertion_point(field_get:grpc.StreamEvent.mailSettings) - return _internal_mailsettings(); +inline const ::grpc::MailServerSettingsEvent& StreamEvent::mailserversettings() const { + // @@protoc_insertion_point(field_get:grpc.StreamEvent.mailServerSettings) + return _internal_mailserversettings(); } -inline ::grpc::MailSettingsEvent* StreamEvent::unsafe_arena_release_mailsettings() { - // @@protoc_insertion_point(field_unsafe_arena_release:grpc.StreamEvent.mailSettings) - if (_internal_has_mailsettings()) { +inline ::grpc::MailServerSettingsEvent* StreamEvent::unsafe_arena_release_mailserversettings() { + // @@protoc_insertion_point(field_unsafe_arena_release:grpc.StreamEvent.mailServerSettings) + if (_internal_has_mailserversettings()) { clear_has_event(); - ::grpc::MailSettingsEvent* temp = _impl_.event_.mailsettings_; - _impl_.event_.mailsettings_ = nullptr; + ::grpc::MailServerSettingsEvent* temp = _impl_.event_.mailserversettings_; + _impl_.event_.mailserversettings_ = nullptr; return temp; } else { return nullptr; } } -inline void StreamEvent::unsafe_arena_set_allocated_mailsettings(::grpc::MailSettingsEvent* mailsettings) { +inline void StreamEvent::unsafe_arena_set_allocated_mailserversettings(::grpc::MailServerSettingsEvent* mailserversettings) { clear_event(); - if (mailsettings) { - set_has_mailsettings(); - _impl_.event_.mailsettings_ = mailsettings; + if (mailserversettings) { + set_has_mailserversettings(); + _impl_.event_.mailserversettings_ = mailserversettings; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.StreamEvent.mailSettings) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.StreamEvent.mailServerSettings) } -inline ::grpc::MailSettingsEvent* StreamEvent::_internal_mutable_mailsettings() { - if (!_internal_has_mailsettings()) { +inline ::grpc::MailServerSettingsEvent* StreamEvent::_internal_mutable_mailserversettings() { + if (!_internal_has_mailserversettings()) { clear_event(); - set_has_mailsettings(); - _impl_.event_.mailsettings_ = CreateMaybeMessage< ::grpc::MailSettingsEvent >(GetArenaForAllocation()); + set_has_mailserversettings(); + _impl_.event_.mailserversettings_ = CreateMaybeMessage< ::grpc::MailServerSettingsEvent >(GetArenaForAllocation()); } - return _impl_.event_.mailsettings_; + return _impl_.event_.mailserversettings_; } -inline ::grpc::MailSettingsEvent* StreamEvent::mutable_mailsettings() { - ::grpc::MailSettingsEvent* _msg = _internal_mutable_mailsettings(); - // @@protoc_insertion_point(field_mutable:grpc.StreamEvent.mailSettings) +inline ::grpc::MailServerSettingsEvent* StreamEvent::mutable_mailserversettings() { + ::grpc::MailServerSettingsEvent* _msg = _internal_mutable_mailserversettings(); + // @@protoc_insertion_point(field_mutable:grpc.StreamEvent.mailServerSettings) return _msg; } @@ -13745,19 +13706,19 @@ inline void DiskCachePathChangedEvent::set_allocated_path(std::string* path) { // ------------------------------------------------------------------- -// MailSettingsEvent +// MailServerSettingsEvent -// .grpc.MailSettingsErrorEvent error = 1; -inline bool MailSettingsEvent::_internal_has_error() const { +// .grpc.MailServerSettingsErrorEvent error = 1; +inline bool MailServerSettingsEvent::_internal_has_error() const { return event_case() == kError; } -inline bool MailSettingsEvent::has_error() const { +inline bool MailServerSettingsEvent::has_error() const { return _internal_has_error(); } -inline void MailSettingsEvent::set_has_error() { +inline void MailServerSettingsEvent::set_has_error() { _impl_._oneof_case_[0] = kError; } -inline void MailSettingsEvent::clear_error() { +inline void MailServerSettingsEvent::clear_error() { if (_internal_has_error()) { if (GetArenaForAllocation() == nullptr) { delete _impl_.event_.error_; @@ -13765,11 +13726,11 @@ inline void MailSettingsEvent::clear_error() { clear_has_event(); } } -inline ::grpc::MailSettingsErrorEvent* MailSettingsEvent::release_error() { - // @@protoc_insertion_point(field_release:grpc.MailSettingsEvent.error) +inline ::grpc::MailServerSettingsErrorEvent* MailServerSettingsEvent::release_error() { + // @@protoc_insertion_point(field_release:grpc.MailServerSettingsEvent.error) if (_internal_has_error()) { clear_has_event(); - ::grpc::MailSettingsErrorEvent* temp = _impl_.event_.error_; + ::grpc::MailServerSettingsErrorEvent* temp = _impl_.event_.error_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } @@ -13779,314 +13740,326 @@ inline ::grpc::MailSettingsErrorEvent* MailSettingsEvent::release_error() { return nullptr; } } -inline const ::grpc::MailSettingsErrorEvent& MailSettingsEvent::_internal_error() const { +inline const ::grpc::MailServerSettingsErrorEvent& MailServerSettingsEvent::_internal_error() const { return _internal_has_error() ? *_impl_.event_.error_ - : reinterpret_cast< ::grpc::MailSettingsErrorEvent&>(::grpc::_MailSettingsErrorEvent_default_instance_); + : reinterpret_cast< ::grpc::MailServerSettingsErrorEvent&>(::grpc::_MailServerSettingsErrorEvent_default_instance_); } -inline const ::grpc::MailSettingsErrorEvent& MailSettingsEvent::error() const { - // @@protoc_insertion_point(field_get:grpc.MailSettingsEvent.error) +inline const ::grpc::MailServerSettingsErrorEvent& MailServerSettingsEvent::error() const { + // @@protoc_insertion_point(field_get:grpc.MailServerSettingsEvent.error) return _internal_error(); } -inline ::grpc::MailSettingsErrorEvent* MailSettingsEvent::unsafe_arena_release_error() { - // @@protoc_insertion_point(field_unsafe_arena_release:grpc.MailSettingsEvent.error) +inline ::grpc::MailServerSettingsErrorEvent* MailServerSettingsEvent::unsafe_arena_release_error() { + // @@protoc_insertion_point(field_unsafe_arena_release:grpc.MailServerSettingsEvent.error) if (_internal_has_error()) { clear_has_event(); - ::grpc::MailSettingsErrorEvent* temp = _impl_.event_.error_; + ::grpc::MailServerSettingsErrorEvent* temp = _impl_.event_.error_; _impl_.event_.error_ = nullptr; return temp; } else { return nullptr; } } -inline void MailSettingsEvent::unsafe_arena_set_allocated_error(::grpc::MailSettingsErrorEvent* error) { +inline void MailServerSettingsEvent::unsafe_arena_set_allocated_error(::grpc::MailServerSettingsErrorEvent* error) { clear_event(); if (error) { set_has_error(); _impl_.event_.error_ = error; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.MailSettingsEvent.error) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.MailServerSettingsEvent.error) } -inline ::grpc::MailSettingsErrorEvent* MailSettingsEvent::_internal_mutable_error() { +inline ::grpc::MailServerSettingsErrorEvent* MailServerSettingsEvent::_internal_mutable_error() { if (!_internal_has_error()) { clear_event(); set_has_error(); - _impl_.event_.error_ = CreateMaybeMessage< ::grpc::MailSettingsErrorEvent >(GetArenaForAllocation()); + _impl_.event_.error_ = CreateMaybeMessage< ::grpc::MailServerSettingsErrorEvent >(GetArenaForAllocation()); } return _impl_.event_.error_; } -inline ::grpc::MailSettingsErrorEvent* MailSettingsEvent::mutable_error() { - ::grpc::MailSettingsErrorEvent* _msg = _internal_mutable_error(); - // @@protoc_insertion_point(field_mutable:grpc.MailSettingsEvent.error) +inline ::grpc::MailServerSettingsErrorEvent* MailServerSettingsEvent::mutable_error() { + ::grpc::MailServerSettingsErrorEvent* _msg = _internal_mutable_error(); + // @@protoc_insertion_point(field_mutable:grpc.MailServerSettingsEvent.error) return _msg; } -// .grpc.UseSslForSmtpFinishedEvent useSslForSmtpFinished = 2; -inline bool MailSettingsEvent::_internal_has_usesslforsmtpfinished() const { - return event_case() == kUseSslForSmtpFinished; +// .grpc.MailServerSettingsChangedEvent mailServerSettingsChanged = 2; +inline bool MailServerSettingsEvent::_internal_has_mailserversettingschanged() const { + return event_case() == kMailServerSettingsChanged; } -inline bool MailSettingsEvent::has_usesslforsmtpfinished() const { - return _internal_has_usesslforsmtpfinished(); +inline bool MailServerSettingsEvent::has_mailserversettingschanged() const { + return _internal_has_mailserversettingschanged(); } -inline void MailSettingsEvent::set_has_usesslforsmtpfinished() { - _impl_._oneof_case_[0] = kUseSslForSmtpFinished; +inline void MailServerSettingsEvent::set_has_mailserversettingschanged() { + _impl_._oneof_case_[0] = kMailServerSettingsChanged; } -inline void MailSettingsEvent::clear_usesslforsmtpfinished() { - if (_internal_has_usesslforsmtpfinished()) { +inline void MailServerSettingsEvent::clear_mailserversettingschanged() { + if (_internal_has_mailserversettingschanged()) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.event_.usesslforsmtpfinished_; + delete _impl_.event_.mailserversettingschanged_; } clear_has_event(); } } -inline ::grpc::UseSslForSmtpFinishedEvent* MailSettingsEvent::release_usesslforsmtpfinished() { - // @@protoc_insertion_point(field_release:grpc.MailSettingsEvent.useSslForSmtpFinished) - if (_internal_has_usesslforsmtpfinished()) { +inline ::grpc::MailServerSettingsChangedEvent* MailServerSettingsEvent::release_mailserversettingschanged() { + // @@protoc_insertion_point(field_release:grpc.MailServerSettingsEvent.mailServerSettingsChanged) + if (_internal_has_mailserversettingschanged()) { clear_has_event(); - ::grpc::UseSslForSmtpFinishedEvent* temp = _impl_.event_.usesslforsmtpfinished_; + ::grpc::MailServerSettingsChangedEvent* temp = _impl_.event_.mailserversettingschanged_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.event_.usesslforsmtpfinished_ = nullptr; + _impl_.event_.mailserversettingschanged_ = nullptr; return temp; } else { return nullptr; } } -inline const ::grpc::UseSslForSmtpFinishedEvent& MailSettingsEvent::_internal_usesslforsmtpfinished() const { - return _internal_has_usesslforsmtpfinished() - ? *_impl_.event_.usesslforsmtpfinished_ - : reinterpret_cast< ::grpc::UseSslForSmtpFinishedEvent&>(::grpc::_UseSslForSmtpFinishedEvent_default_instance_); +inline const ::grpc::MailServerSettingsChangedEvent& MailServerSettingsEvent::_internal_mailserversettingschanged() const { + return _internal_has_mailserversettingschanged() + ? *_impl_.event_.mailserversettingschanged_ + : reinterpret_cast< ::grpc::MailServerSettingsChangedEvent&>(::grpc::_MailServerSettingsChangedEvent_default_instance_); } -inline const ::grpc::UseSslForSmtpFinishedEvent& MailSettingsEvent::usesslforsmtpfinished() const { - // @@protoc_insertion_point(field_get:grpc.MailSettingsEvent.useSslForSmtpFinished) - return _internal_usesslforsmtpfinished(); +inline const ::grpc::MailServerSettingsChangedEvent& MailServerSettingsEvent::mailserversettingschanged() const { + // @@protoc_insertion_point(field_get:grpc.MailServerSettingsEvent.mailServerSettingsChanged) + return _internal_mailserversettingschanged(); } -inline ::grpc::UseSslForSmtpFinishedEvent* MailSettingsEvent::unsafe_arena_release_usesslforsmtpfinished() { - // @@protoc_insertion_point(field_unsafe_arena_release:grpc.MailSettingsEvent.useSslForSmtpFinished) - if (_internal_has_usesslforsmtpfinished()) { +inline ::grpc::MailServerSettingsChangedEvent* MailServerSettingsEvent::unsafe_arena_release_mailserversettingschanged() { + // @@protoc_insertion_point(field_unsafe_arena_release:grpc.MailServerSettingsEvent.mailServerSettingsChanged) + if (_internal_has_mailserversettingschanged()) { clear_has_event(); - ::grpc::UseSslForSmtpFinishedEvent* temp = _impl_.event_.usesslforsmtpfinished_; - _impl_.event_.usesslforsmtpfinished_ = nullptr; + ::grpc::MailServerSettingsChangedEvent* temp = _impl_.event_.mailserversettingschanged_; + _impl_.event_.mailserversettingschanged_ = nullptr; return temp; } else { return nullptr; } } -inline void MailSettingsEvent::unsafe_arena_set_allocated_usesslforsmtpfinished(::grpc::UseSslForSmtpFinishedEvent* usesslforsmtpfinished) { +inline void MailServerSettingsEvent::unsafe_arena_set_allocated_mailserversettingschanged(::grpc::MailServerSettingsChangedEvent* mailserversettingschanged) { clear_event(); - if (usesslforsmtpfinished) { - set_has_usesslforsmtpfinished(); - _impl_.event_.usesslforsmtpfinished_ = usesslforsmtpfinished; + if (mailserversettingschanged) { + set_has_mailserversettingschanged(); + _impl_.event_.mailserversettingschanged_ = mailserversettingschanged; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.MailSettingsEvent.useSslForSmtpFinished) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.MailServerSettingsEvent.mailServerSettingsChanged) } -inline ::grpc::UseSslForSmtpFinishedEvent* MailSettingsEvent::_internal_mutable_usesslforsmtpfinished() { - if (!_internal_has_usesslforsmtpfinished()) { +inline ::grpc::MailServerSettingsChangedEvent* MailServerSettingsEvent::_internal_mutable_mailserversettingschanged() { + if (!_internal_has_mailserversettingschanged()) { clear_event(); - set_has_usesslforsmtpfinished(); - _impl_.event_.usesslforsmtpfinished_ = CreateMaybeMessage< ::grpc::UseSslForSmtpFinishedEvent >(GetArenaForAllocation()); + set_has_mailserversettingschanged(); + _impl_.event_.mailserversettingschanged_ = CreateMaybeMessage< ::grpc::MailServerSettingsChangedEvent >(GetArenaForAllocation()); } - return _impl_.event_.usesslforsmtpfinished_; + return _impl_.event_.mailserversettingschanged_; } -inline ::grpc::UseSslForSmtpFinishedEvent* MailSettingsEvent::mutable_usesslforsmtpfinished() { - ::grpc::UseSslForSmtpFinishedEvent* _msg = _internal_mutable_usesslforsmtpfinished(); - // @@protoc_insertion_point(field_mutable:grpc.MailSettingsEvent.useSslForSmtpFinished) +inline ::grpc::MailServerSettingsChangedEvent* MailServerSettingsEvent::mutable_mailserversettingschanged() { + ::grpc::MailServerSettingsChangedEvent* _msg = _internal_mutable_mailserversettingschanged(); + // @@protoc_insertion_point(field_mutable:grpc.MailServerSettingsEvent.mailServerSettingsChanged) return _msg; } -// .grpc.ChangePortsFinishedEvent changePortsFinished = 3; -inline bool MailSettingsEvent::_internal_has_changeportsfinished() const { - return event_case() == kChangePortsFinished; +// .grpc.ChangeMailServerSettingsFinishedEvent changeMailServerSettingsFinished = 3; +inline bool MailServerSettingsEvent::_internal_has_changemailserversettingsfinished() const { + return event_case() == kChangeMailServerSettingsFinished; } -inline bool MailSettingsEvent::has_changeportsfinished() const { - return _internal_has_changeportsfinished(); +inline bool MailServerSettingsEvent::has_changemailserversettingsfinished() const { + return _internal_has_changemailserversettingsfinished(); } -inline void MailSettingsEvent::set_has_changeportsfinished() { - _impl_._oneof_case_[0] = kChangePortsFinished; +inline void MailServerSettingsEvent::set_has_changemailserversettingsfinished() { + _impl_._oneof_case_[0] = kChangeMailServerSettingsFinished; } -inline void MailSettingsEvent::clear_changeportsfinished() { - if (_internal_has_changeportsfinished()) { +inline void MailServerSettingsEvent::clear_changemailserversettingsfinished() { + if (_internal_has_changemailserversettingsfinished()) { if (GetArenaForAllocation() == nullptr) { - delete _impl_.event_.changeportsfinished_; + delete _impl_.event_.changemailserversettingsfinished_; } clear_has_event(); } } -inline ::grpc::ChangePortsFinishedEvent* MailSettingsEvent::release_changeportsfinished() { - // @@protoc_insertion_point(field_release:grpc.MailSettingsEvent.changePortsFinished) - if (_internal_has_changeportsfinished()) { +inline ::grpc::ChangeMailServerSettingsFinishedEvent* MailServerSettingsEvent::release_changemailserversettingsfinished() { + // @@protoc_insertion_point(field_release:grpc.MailServerSettingsEvent.changeMailServerSettingsFinished) + if (_internal_has_changemailserversettingsfinished()) { clear_has_event(); - ::grpc::ChangePortsFinishedEvent* temp = _impl_.event_.changeportsfinished_; + ::grpc::ChangeMailServerSettingsFinishedEvent* temp = _impl_.event_.changemailserversettingsfinished_; if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } - _impl_.event_.changeportsfinished_ = nullptr; + _impl_.event_.changemailserversettingsfinished_ = nullptr; return temp; } else { return nullptr; } } -inline const ::grpc::ChangePortsFinishedEvent& MailSettingsEvent::_internal_changeportsfinished() const { - return _internal_has_changeportsfinished() - ? *_impl_.event_.changeportsfinished_ - : reinterpret_cast< ::grpc::ChangePortsFinishedEvent&>(::grpc::_ChangePortsFinishedEvent_default_instance_); +inline const ::grpc::ChangeMailServerSettingsFinishedEvent& MailServerSettingsEvent::_internal_changemailserversettingsfinished() const { + return _internal_has_changemailserversettingsfinished() + ? *_impl_.event_.changemailserversettingsfinished_ + : reinterpret_cast< ::grpc::ChangeMailServerSettingsFinishedEvent&>(::grpc::_ChangeMailServerSettingsFinishedEvent_default_instance_); } -inline const ::grpc::ChangePortsFinishedEvent& MailSettingsEvent::changeportsfinished() const { - // @@protoc_insertion_point(field_get:grpc.MailSettingsEvent.changePortsFinished) - return _internal_changeportsfinished(); +inline const ::grpc::ChangeMailServerSettingsFinishedEvent& MailServerSettingsEvent::changemailserversettingsfinished() const { + // @@protoc_insertion_point(field_get:grpc.MailServerSettingsEvent.changeMailServerSettingsFinished) + return _internal_changemailserversettingsfinished(); } -inline ::grpc::ChangePortsFinishedEvent* MailSettingsEvent::unsafe_arena_release_changeportsfinished() { - // @@protoc_insertion_point(field_unsafe_arena_release:grpc.MailSettingsEvent.changePortsFinished) - if (_internal_has_changeportsfinished()) { +inline ::grpc::ChangeMailServerSettingsFinishedEvent* MailServerSettingsEvent::unsafe_arena_release_changemailserversettingsfinished() { + // @@protoc_insertion_point(field_unsafe_arena_release:grpc.MailServerSettingsEvent.changeMailServerSettingsFinished) + if (_internal_has_changemailserversettingsfinished()) { clear_has_event(); - ::grpc::ChangePortsFinishedEvent* temp = _impl_.event_.changeportsfinished_; - _impl_.event_.changeportsfinished_ = nullptr; + ::grpc::ChangeMailServerSettingsFinishedEvent* temp = _impl_.event_.changemailserversettingsfinished_; + _impl_.event_.changemailserversettingsfinished_ = nullptr; return temp; } else { return nullptr; } } -inline void MailSettingsEvent::unsafe_arena_set_allocated_changeportsfinished(::grpc::ChangePortsFinishedEvent* changeportsfinished) { +inline void MailServerSettingsEvent::unsafe_arena_set_allocated_changemailserversettingsfinished(::grpc::ChangeMailServerSettingsFinishedEvent* changemailserversettingsfinished) { clear_event(); - if (changeportsfinished) { - set_has_changeportsfinished(); - _impl_.event_.changeportsfinished_ = changeportsfinished; + if (changemailserversettingsfinished) { + set_has_changemailserversettingsfinished(); + _impl_.event_.changemailserversettingsfinished_ = changemailserversettingsfinished; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.MailSettingsEvent.changePortsFinished) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.MailServerSettingsEvent.changeMailServerSettingsFinished) } -inline ::grpc::ChangePortsFinishedEvent* MailSettingsEvent::_internal_mutable_changeportsfinished() { - if (!_internal_has_changeportsfinished()) { +inline ::grpc::ChangeMailServerSettingsFinishedEvent* MailServerSettingsEvent::_internal_mutable_changemailserversettingsfinished() { + if (!_internal_has_changemailserversettingsfinished()) { clear_event(); - set_has_changeportsfinished(); - _impl_.event_.changeportsfinished_ = CreateMaybeMessage< ::grpc::ChangePortsFinishedEvent >(GetArenaForAllocation()); + set_has_changemailserversettingsfinished(); + _impl_.event_.changemailserversettingsfinished_ = CreateMaybeMessage< ::grpc::ChangeMailServerSettingsFinishedEvent >(GetArenaForAllocation()); } - return _impl_.event_.changeportsfinished_; + return _impl_.event_.changemailserversettingsfinished_; } -inline ::grpc::ChangePortsFinishedEvent* MailSettingsEvent::mutable_changeportsfinished() { - ::grpc::ChangePortsFinishedEvent* _msg = _internal_mutable_changeportsfinished(); - // @@protoc_insertion_point(field_mutable:grpc.MailSettingsEvent.changePortsFinished) +inline ::grpc::ChangeMailServerSettingsFinishedEvent* MailServerSettingsEvent::mutable_changemailserversettingsfinished() { + ::grpc::ChangeMailServerSettingsFinishedEvent* _msg = _internal_mutable_changemailserversettingsfinished(); + // @@protoc_insertion_point(field_mutable:grpc.MailServerSettingsEvent.changeMailServerSettingsFinished) return _msg; } -// .grpc.UseSslForImapFinishedEvent useSslForImapFinished = 4; -inline bool MailSettingsEvent::_internal_has_usesslforimapfinished() const { - return event_case() == kUseSslForImapFinished; -} -inline bool MailSettingsEvent::has_usesslforimapfinished() const { - return _internal_has_usesslforimapfinished(); -} -inline void MailSettingsEvent::set_has_usesslforimapfinished() { - _impl_._oneof_case_[0] = kUseSslForImapFinished; -} -inline void MailSettingsEvent::clear_usesslforimapfinished() { - if (_internal_has_usesslforimapfinished()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.event_.usesslforimapfinished_; - } - clear_has_event(); - } -} -inline ::grpc::UseSslForImapFinishedEvent* MailSettingsEvent::release_usesslforimapfinished() { - // @@protoc_insertion_point(field_release:grpc.MailSettingsEvent.useSslForImapFinished) - if (_internal_has_usesslforimapfinished()) { - clear_has_event(); - ::grpc::UseSslForImapFinishedEvent* temp = _impl_.event_.usesslforimapfinished_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.event_.usesslforimapfinished_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::grpc::UseSslForImapFinishedEvent& MailSettingsEvent::_internal_usesslforimapfinished() const { - return _internal_has_usesslforimapfinished() - ? *_impl_.event_.usesslforimapfinished_ - : reinterpret_cast< ::grpc::UseSslForImapFinishedEvent&>(::grpc::_UseSslForImapFinishedEvent_default_instance_); -} -inline const ::grpc::UseSslForImapFinishedEvent& MailSettingsEvent::usesslforimapfinished() const { - // @@protoc_insertion_point(field_get:grpc.MailSettingsEvent.useSslForImapFinished) - return _internal_usesslforimapfinished(); -} -inline ::grpc::UseSslForImapFinishedEvent* MailSettingsEvent::unsafe_arena_release_usesslforimapfinished() { - // @@protoc_insertion_point(field_unsafe_arena_release:grpc.MailSettingsEvent.useSslForImapFinished) - if (_internal_has_usesslforimapfinished()) { - clear_has_event(); - ::grpc::UseSslForImapFinishedEvent* temp = _impl_.event_.usesslforimapfinished_; - _impl_.event_.usesslforimapfinished_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void MailSettingsEvent::unsafe_arena_set_allocated_usesslforimapfinished(::grpc::UseSslForImapFinishedEvent* usesslforimapfinished) { - clear_event(); - if (usesslforimapfinished) { - set_has_usesslforimapfinished(); - _impl_.event_.usesslforimapfinished_ = usesslforimapfinished; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.MailSettingsEvent.useSslForImapFinished) -} -inline ::grpc::UseSslForImapFinishedEvent* MailSettingsEvent::_internal_mutable_usesslforimapfinished() { - if (!_internal_has_usesslforimapfinished()) { - clear_event(); - set_has_usesslforimapfinished(); - _impl_.event_.usesslforimapfinished_ = CreateMaybeMessage< ::grpc::UseSslForImapFinishedEvent >(GetArenaForAllocation()); - } - return _impl_.event_.usesslforimapfinished_; -} -inline ::grpc::UseSslForImapFinishedEvent* MailSettingsEvent::mutable_usesslforimapfinished() { - ::grpc::UseSslForImapFinishedEvent* _msg = _internal_mutable_usesslforimapfinished(); - // @@protoc_insertion_point(field_mutable:grpc.MailSettingsEvent.useSslForImapFinished) - return _msg; -} - -inline bool MailSettingsEvent::has_event() const { +inline bool MailServerSettingsEvent::has_event() const { return event_case() != EVENT_NOT_SET; } -inline void MailSettingsEvent::clear_has_event() { +inline void MailServerSettingsEvent::clear_has_event() { _impl_._oneof_case_[0] = EVENT_NOT_SET; } -inline MailSettingsEvent::EventCase MailSettingsEvent::event_case() const { - return MailSettingsEvent::EventCase(_impl_._oneof_case_[0]); +inline MailServerSettingsEvent::EventCase MailServerSettingsEvent::event_case() const { + return MailServerSettingsEvent::EventCase(_impl_._oneof_case_[0]); } // ------------------------------------------------------------------- -// MailSettingsErrorEvent +// MailServerSettingsErrorEvent -// .grpc.MailSettingsErrorType type = 1; -inline void MailSettingsErrorEvent::clear_type() { +// .grpc.MailServerSettingsErrorType type = 1; +inline void MailServerSettingsErrorEvent::clear_type() { _impl_.type_ = 0; } -inline ::grpc::MailSettingsErrorType MailSettingsErrorEvent::_internal_type() const { - return static_cast< ::grpc::MailSettingsErrorType >(_impl_.type_); +inline ::grpc::MailServerSettingsErrorType MailServerSettingsErrorEvent::_internal_type() const { + return static_cast< ::grpc::MailServerSettingsErrorType >(_impl_.type_); } -inline ::grpc::MailSettingsErrorType MailSettingsErrorEvent::type() const { - // @@protoc_insertion_point(field_get:grpc.MailSettingsErrorEvent.type) +inline ::grpc::MailServerSettingsErrorType MailServerSettingsErrorEvent::type() const { + // @@protoc_insertion_point(field_get:grpc.MailServerSettingsErrorEvent.type) return _internal_type(); } -inline void MailSettingsErrorEvent::_internal_set_type(::grpc::MailSettingsErrorType value) { +inline void MailServerSettingsErrorEvent::_internal_set_type(::grpc::MailServerSettingsErrorType value) { _impl_.type_ = value; } -inline void MailSettingsErrorEvent::set_type(::grpc::MailSettingsErrorType value) { +inline void MailServerSettingsErrorEvent::set_type(::grpc::MailServerSettingsErrorType value) { _internal_set_type(value); - // @@protoc_insertion_point(field_set:grpc.MailSettingsErrorEvent.type) + // @@protoc_insertion_point(field_set:grpc.MailServerSettingsErrorEvent.type) } // ------------------------------------------------------------------- -// UseSslForSmtpFinishedEvent +// MailServerSettingsChangedEvent + +// .grpc.ImapSmtpSettings settings = 1; +inline bool MailServerSettingsChangedEvent::_internal_has_settings() const { + return this != internal_default_instance() && _impl_.settings_ != nullptr; +} +inline bool MailServerSettingsChangedEvent::has_settings() const { + return _internal_has_settings(); +} +inline void MailServerSettingsChangedEvent::clear_settings() { + if (GetArenaForAllocation() == nullptr && _impl_.settings_ != nullptr) { + delete _impl_.settings_; + } + _impl_.settings_ = nullptr; +} +inline const ::grpc::ImapSmtpSettings& MailServerSettingsChangedEvent::_internal_settings() const { + const ::grpc::ImapSmtpSettings* p = _impl_.settings_; + return p != nullptr ? *p : reinterpret_cast( + ::grpc::_ImapSmtpSettings_default_instance_); +} +inline const ::grpc::ImapSmtpSettings& MailServerSettingsChangedEvent::settings() const { + // @@protoc_insertion_point(field_get:grpc.MailServerSettingsChangedEvent.settings) + return _internal_settings(); +} +inline void MailServerSettingsChangedEvent::unsafe_arena_set_allocated_settings( + ::grpc::ImapSmtpSettings* settings) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.settings_); + } + _impl_.settings_ = settings; + if (settings) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.MailServerSettingsChangedEvent.settings) +} +inline ::grpc::ImapSmtpSettings* MailServerSettingsChangedEvent::release_settings() { + + ::grpc::ImapSmtpSettings* temp = _impl_.settings_; + _impl_.settings_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::grpc::ImapSmtpSettings* MailServerSettingsChangedEvent::unsafe_arena_release_settings() { + // @@protoc_insertion_point(field_release:grpc.MailServerSettingsChangedEvent.settings) + + ::grpc::ImapSmtpSettings* temp = _impl_.settings_; + _impl_.settings_ = nullptr; + return temp; +} +inline ::grpc::ImapSmtpSettings* MailServerSettingsChangedEvent::_internal_mutable_settings() { + + if (_impl_.settings_ == nullptr) { + auto* p = CreateMaybeMessage<::grpc::ImapSmtpSettings>(GetArenaForAllocation()); + _impl_.settings_ = p; + } + return _impl_.settings_; +} +inline ::grpc::ImapSmtpSettings* MailServerSettingsChangedEvent::mutable_settings() { + ::grpc::ImapSmtpSettings* _msg = _internal_mutable_settings(); + // @@protoc_insertion_point(field_mutable:grpc.MailServerSettingsChangedEvent.settings) + return _msg; +} +inline void MailServerSettingsChangedEvent::set_allocated_settings(::grpc::ImapSmtpSettings* settings) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.settings_; + } + if (settings) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(settings); + if (message_arena != submessage_arena) { + settings = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, settings, submessage_arena); + } + + } else { + + } + _impl_.settings_ = settings; + // @@protoc_insertion_point(field_set_allocated:grpc.MailServerSettingsChangedEvent.settings) +} // ------------------------------------------------------------------- -// UseSslForImapFinishedEvent - -// ------------------------------------------------------------------- - -// ChangePortsFinishedEvent +// ChangeMailServerSettingsFinishedEvent // ------------------------------------------------------------------- @@ -15318,8 +15291,6 @@ inline void UserChangedEvent::set_allocated_userid(std::string* userid) { // ------------------------------------------------------------------- -// ------------------------------------------------------------------- - // @@protoc_insertion_point(namespace_scope) @@ -15352,10 +15323,10 @@ template <> inline const EnumDescriptor* GetEnumDescriptor< ::grpc::DiskCacheErrorType>() { return ::grpc::DiskCacheErrorType_descriptor(); } -template <> struct is_proto_enum< ::grpc::MailSettingsErrorType> : ::std::true_type {}; +template <> struct is_proto_enum< ::grpc::MailServerSettingsErrorType> : ::std::true_type {}; template <> -inline const EnumDescriptor* GetEnumDescriptor< ::grpc::MailSettingsErrorType>() { - return ::grpc::MailSettingsErrorType_descriptor(); +inline const EnumDescriptor* GetEnumDescriptor< ::grpc::MailServerSettingsErrorType>() { + return ::grpc::MailServerSettingsErrorType_descriptor(); } PROTOBUF_NAMESPACE_CLOSE diff --git a/internal/frontend/grpc/bridge.pb.go b/internal/frontend/grpc/bridge.pb.go index 71c1223d..bb73a1c7 100644 --- a/internal/frontend/grpc/bridge.pb.go +++ b/internal/frontend/grpc/bridge.pb.go @@ -315,49 +315,61 @@ func (DiskCacheErrorType) EnumDescriptor() ([]byte, []int) { return file_bridge_proto_rawDescGZIP(), []int{4} } -type MailSettingsErrorType int32 +type MailServerSettingsErrorType int32 const ( - MailSettingsErrorType_IMAP_PORT_ISSUE MailSettingsErrorType = 0 - MailSettingsErrorType_SMTP_PORT_ISSUE MailSettingsErrorType = 1 + MailServerSettingsErrorType_IMAP_PORT_STARTUP_ERROR MailServerSettingsErrorType = 0 + MailServerSettingsErrorType_SMTP_PORT_STARTUP_ERROR MailServerSettingsErrorType = 1 + MailServerSettingsErrorType_IMAP_PORT_CHANGE_ERROR MailServerSettingsErrorType = 2 + MailServerSettingsErrorType_SMTP_PORT_CHANGE_ERROR MailServerSettingsErrorType = 3 + MailServerSettingsErrorType_IMAP_CONNECTION_MODE_CHANGE_ERROR MailServerSettingsErrorType = 4 + MailServerSettingsErrorType_SMTP_CONNECTION_MODE_CHANGE_ERROR MailServerSettingsErrorType = 5 ) -// Enum value maps for MailSettingsErrorType. +// Enum value maps for MailServerSettingsErrorType. var ( - MailSettingsErrorType_name = map[int32]string{ - 0: "IMAP_PORT_ISSUE", - 1: "SMTP_PORT_ISSUE", + MailServerSettingsErrorType_name = map[int32]string{ + 0: "IMAP_PORT_STARTUP_ERROR", + 1: "SMTP_PORT_STARTUP_ERROR", + 2: "IMAP_PORT_CHANGE_ERROR", + 3: "SMTP_PORT_CHANGE_ERROR", + 4: "IMAP_CONNECTION_MODE_CHANGE_ERROR", + 5: "SMTP_CONNECTION_MODE_CHANGE_ERROR", } - MailSettingsErrorType_value = map[string]int32{ - "IMAP_PORT_ISSUE": 0, - "SMTP_PORT_ISSUE": 1, + MailServerSettingsErrorType_value = map[string]int32{ + "IMAP_PORT_STARTUP_ERROR": 0, + "SMTP_PORT_STARTUP_ERROR": 1, + "IMAP_PORT_CHANGE_ERROR": 2, + "SMTP_PORT_CHANGE_ERROR": 3, + "IMAP_CONNECTION_MODE_CHANGE_ERROR": 4, + "SMTP_CONNECTION_MODE_CHANGE_ERROR": 5, } ) -func (x MailSettingsErrorType) Enum() *MailSettingsErrorType { - p := new(MailSettingsErrorType) +func (x MailServerSettingsErrorType) Enum() *MailServerSettingsErrorType { + p := new(MailServerSettingsErrorType) *p = x return p } -func (x MailSettingsErrorType) String() string { +func (x MailServerSettingsErrorType) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (MailSettingsErrorType) Descriptor() protoreflect.EnumDescriptor { +func (MailServerSettingsErrorType) Descriptor() protoreflect.EnumDescriptor { return file_bridge_proto_enumTypes[5].Descriptor() } -func (MailSettingsErrorType) Type() protoreflect.EnumType { +func (MailServerSettingsErrorType) Type() protoreflect.EnumType { return &file_bridge_proto_enumTypes[5] } -func (x MailSettingsErrorType) Number() protoreflect.EnumNumber { +func (x MailServerSettingsErrorType) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } -// Deprecated: Use MailSettingsErrorType.Descriptor instead. -func (MailSettingsErrorType) EnumDescriptor() ([]byte, []int) { +// Deprecated: Use MailServerSettingsErrorType.Descriptor instead. +func (MailServerSettingsErrorType) EnumDescriptor() ([]byte, []int) { return file_bridge_proto_rawDescGZIP(), []int{5} } @@ -617,19 +629,21 @@ func (x *LoginAbortRequest) GetUsername() string { } //********************************************************** -// Port related message +// IMAP/SMTP Mail Server settings //********************************************************** -type ChangePortsRequest struct { +type ImapSmtpSettings struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ImapPort int32 `protobuf:"varint,1,opt,name=imapPort,proto3" json:"imapPort,omitempty"` - SmtpPort int32 `protobuf:"varint,2,opt,name=smtpPort,proto3" json:"smtpPort,omitempty"` + ImapPort int32 `protobuf:"varint,1,opt,name=imapPort,proto3" json:"imapPort,omitempty"` + SmtpPort int32 `protobuf:"varint,2,opt,name=smtpPort,proto3" json:"smtpPort,omitempty"` + UseSSLForImap bool `protobuf:"varint,3,opt,name=useSSLForImap,proto3" json:"useSSLForImap,omitempty"` + UseSSLForSmtp bool `protobuf:"varint,4,opt,name=useSSLForSmtp,proto3" json:"useSSLForSmtp,omitempty"` } -func (x *ChangePortsRequest) Reset() { - *x = ChangePortsRequest{} +func (x *ImapSmtpSettings) Reset() { + *x = ImapSmtpSettings{} if protoimpl.UnsafeEnabled { mi := &file_bridge_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -637,13 +651,13 @@ func (x *ChangePortsRequest) Reset() { } } -func (x *ChangePortsRequest) String() string { +func (x *ImapSmtpSettings) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ChangePortsRequest) ProtoMessage() {} +func (*ImapSmtpSettings) ProtoMessage() {} -func (x *ChangePortsRequest) ProtoReflect() protoreflect.Message { +func (x *ImapSmtpSettings) ProtoReflect() protoreflect.Message { mi := &file_bridge_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -655,25 +669,39 @@ func (x *ChangePortsRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ChangePortsRequest.ProtoReflect.Descriptor instead. -func (*ChangePortsRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use ImapSmtpSettings.ProtoReflect.Descriptor instead. +func (*ImapSmtpSettings) Descriptor() ([]byte, []int) { return file_bridge_proto_rawDescGZIP(), []int{4} } -func (x *ChangePortsRequest) GetImapPort() int32 { +func (x *ImapSmtpSettings) GetImapPort() int32 { if x != nil { return x.ImapPort } return 0 } -func (x *ChangePortsRequest) GetSmtpPort() int32 { +func (x *ImapSmtpSettings) GetSmtpPort() int32 { if x != nil { return x.SmtpPort } return 0 } +func (x *ImapSmtpSettings) GetUseSSLForImap() bool { + if x != nil { + return x.UseSSLForImap + } + return false +} + +func (x *ImapSmtpSettings) GetUseSSLForSmtp() bool { + if x != nil { + return x.UseSSLForSmtp + } + return false +} + //********************************************************** // Keychain related message //********************************************************** @@ -1057,7 +1085,7 @@ type StreamEvent struct { // *StreamEvent_Login // *StreamEvent_Update // *StreamEvent_Cache - // *StreamEvent_MailSettings + // *StreamEvent_MailServerSettings // *StreamEvent_Keychain // *StreamEvent_Mail // *StreamEvent_User @@ -1131,9 +1159,9 @@ func (x *StreamEvent) GetCache() *DiskCacheEvent { return nil } -func (x *StreamEvent) GetMailSettings() *MailSettingsEvent { - if x, ok := x.GetEvent().(*StreamEvent_MailSettings); ok { - return x.MailSettings +func (x *StreamEvent) GetMailServerSettings() *MailServerSettingsEvent { + if x, ok := x.GetEvent().(*StreamEvent_MailServerSettings); ok { + return x.MailServerSettings } return nil } @@ -1179,8 +1207,8 @@ type StreamEvent_Cache struct { Cache *DiskCacheEvent `protobuf:"bytes,4,opt,name=cache,proto3,oneof"` } -type StreamEvent_MailSettings struct { - MailSettings *MailSettingsEvent `protobuf:"bytes,5,opt,name=mailSettings,proto3,oneof"` +type StreamEvent_MailServerSettings struct { + MailServerSettings *MailServerSettingsEvent `protobuf:"bytes,5,opt,name=mailServerSettings,proto3,oneof"` } type StreamEvent_Keychain struct { @@ -1203,7 +1231,7 @@ func (*StreamEvent_Update) isStreamEvent_Event() {} func (*StreamEvent_Cache) isStreamEvent_Event() {} -func (*StreamEvent_MailSettings) isStreamEvent_Event() {} +func (*StreamEvent_MailServerSettings) isStreamEvent_Event() {} func (*StreamEvent_Keychain) isStreamEvent_Event() {} @@ -2679,23 +2707,22 @@ func (*DiskCachePathChangeFinishedEvent) Descriptor() ([]byte, []int) { } //********************************************************** -// Mail settings related events +// Mail server settings related events //********************************************************** -type MailSettingsEvent struct { +type MailServerSettingsEvent struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Types that are assignable to Event: - // *MailSettingsEvent_Error - // *MailSettingsEvent_UseSslForSmtpFinished - // *MailSettingsEvent_ChangePortsFinished - // *MailSettingsEvent_UseSslForImapFinished - Event isMailSettingsEvent_Event `protobuf_oneof:"event"` + // *MailServerSettingsEvent_Error + // *MailServerSettingsEvent_MailServerSettingsChanged + // *MailServerSettingsEvent_ChangeMailServerSettingsFinished + Event isMailServerSettingsEvent_Event `protobuf_oneof:"event"` } -func (x *MailSettingsEvent) Reset() { - *x = MailSettingsEvent{} +func (x *MailServerSettingsEvent) Reset() { + *x = MailServerSettingsEvent{} if protoimpl.UnsafeEnabled { mi := &file_bridge_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2703,13 +2730,13 @@ func (x *MailSettingsEvent) Reset() { } } -func (x *MailSettingsEvent) String() string { +func (x *MailServerSettingsEvent) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MailSettingsEvent) ProtoMessage() {} +func (*MailServerSettingsEvent) ProtoMessage() {} -func (x *MailSettingsEvent) ProtoReflect() protoreflect.Message { +func (x *MailServerSettingsEvent) ProtoReflect() protoreflect.Message { mi := &file_bridge_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2721,84 +2748,71 @@ func (x *MailSettingsEvent) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use MailSettingsEvent.ProtoReflect.Descriptor instead. -func (*MailSettingsEvent) Descriptor() ([]byte, []int) { +// Deprecated: Use MailServerSettingsEvent.ProtoReflect.Descriptor instead. +func (*MailServerSettingsEvent) Descriptor() ([]byte, []int) { return file_bridge_proto_rawDescGZIP(), []int{38} } -func (m *MailSettingsEvent) GetEvent() isMailSettingsEvent_Event { +func (m *MailServerSettingsEvent) GetEvent() isMailServerSettingsEvent_Event { if m != nil { return m.Event } return nil } -func (x *MailSettingsEvent) GetError() *MailSettingsErrorEvent { - if x, ok := x.GetEvent().(*MailSettingsEvent_Error); ok { +func (x *MailServerSettingsEvent) GetError() *MailServerSettingsErrorEvent { + if x, ok := x.GetEvent().(*MailServerSettingsEvent_Error); ok { return x.Error } return nil } -func (x *MailSettingsEvent) GetUseSslForSmtpFinished() *UseSslForSmtpFinishedEvent { - if x, ok := x.GetEvent().(*MailSettingsEvent_UseSslForSmtpFinished); ok { - return x.UseSslForSmtpFinished +func (x *MailServerSettingsEvent) GetMailServerSettingsChanged() *MailServerSettingsChangedEvent { + if x, ok := x.GetEvent().(*MailServerSettingsEvent_MailServerSettingsChanged); ok { + return x.MailServerSettingsChanged } return nil } -func (x *MailSettingsEvent) GetChangePortsFinished() *ChangePortsFinishedEvent { - if x, ok := x.GetEvent().(*MailSettingsEvent_ChangePortsFinished); ok { - return x.ChangePortsFinished +func (x *MailServerSettingsEvent) GetChangeMailServerSettingsFinished() *ChangeMailServerSettingsFinishedEvent { + if x, ok := x.GetEvent().(*MailServerSettingsEvent_ChangeMailServerSettingsFinished); ok { + return x.ChangeMailServerSettingsFinished } return nil } -func (x *MailSettingsEvent) GetUseSslForImapFinished() *UseSslForImapFinishedEvent { - if x, ok := x.GetEvent().(*MailSettingsEvent_UseSslForImapFinished); ok { - return x.UseSslForImapFinished - } - return nil +type isMailServerSettingsEvent_Event interface { + isMailServerSettingsEvent_Event() } -type isMailSettingsEvent_Event interface { - isMailSettingsEvent_Event() +type MailServerSettingsEvent_Error struct { + Error *MailServerSettingsErrorEvent `protobuf:"bytes,1,opt,name=error,proto3,oneof"` } -type MailSettingsEvent_Error struct { - Error *MailSettingsErrorEvent `protobuf:"bytes,1,opt,name=error,proto3,oneof"` +type MailServerSettingsEvent_MailServerSettingsChanged struct { + MailServerSettingsChanged *MailServerSettingsChangedEvent `protobuf:"bytes,2,opt,name=mailServerSettingsChanged,proto3,oneof"` } -type MailSettingsEvent_UseSslForSmtpFinished struct { - UseSslForSmtpFinished *UseSslForSmtpFinishedEvent `protobuf:"bytes,2,opt,name=useSslForSmtpFinished,proto3,oneof"` +type MailServerSettingsEvent_ChangeMailServerSettingsFinished struct { + ChangeMailServerSettingsFinished *ChangeMailServerSettingsFinishedEvent `protobuf:"bytes,3,opt,name=changeMailServerSettingsFinished,proto3,oneof"` } -type MailSettingsEvent_ChangePortsFinished struct { - ChangePortsFinished *ChangePortsFinishedEvent `protobuf:"bytes,3,opt,name=changePortsFinished,proto3,oneof"` -} +func (*MailServerSettingsEvent_Error) isMailServerSettingsEvent_Event() {} -type MailSettingsEvent_UseSslForImapFinished struct { - UseSslForImapFinished *UseSslForImapFinishedEvent `protobuf:"bytes,4,opt,name=useSslForImapFinished,proto3,oneof"` -} +func (*MailServerSettingsEvent_MailServerSettingsChanged) isMailServerSettingsEvent_Event() {} -func (*MailSettingsEvent_Error) isMailSettingsEvent_Event() {} +func (*MailServerSettingsEvent_ChangeMailServerSettingsFinished) isMailServerSettingsEvent_Event() {} -func (*MailSettingsEvent_UseSslForSmtpFinished) isMailSettingsEvent_Event() {} - -func (*MailSettingsEvent_ChangePortsFinished) isMailSettingsEvent_Event() {} - -func (*MailSettingsEvent_UseSslForImapFinished) isMailSettingsEvent_Event() {} - -type MailSettingsErrorEvent struct { +type MailServerSettingsErrorEvent struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Type MailSettingsErrorType `protobuf:"varint,1,opt,name=type,proto3,enum=grpc.MailSettingsErrorType" json:"type,omitempty"` + Type MailServerSettingsErrorType `protobuf:"varint,1,opt,name=type,proto3,enum=grpc.MailServerSettingsErrorType" json:"type,omitempty"` } -func (x *MailSettingsErrorEvent) Reset() { - *x = MailSettingsErrorEvent{} +func (x *MailServerSettingsErrorEvent) Reset() { + *x = MailServerSettingsErrorEvent{} if protoimpl.UnsafeEnabled { mi := &file_bridge_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2806,13 +2820,13 @@ func (x *MailSettingsErrorEvent) Reset() { } } -func (x *MailSettingsErrorEvent) String() string { +func (x *MailServerSettingsErrorEvent) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MailSettingsErrorEvent) ProtoMessage() {} +func (*MailServerSettingsErrorEvent) ProtoMessage() {} -func (x *MailSettingsErrorEvent) ProtoReflect() protoreflect.Message { +func (x *MailServerSettingsErrorEvent) ProtoReflect() protoreflect.Message { mi := &file_bridge_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2824,26 +2838,28 @@ func (x *MailSettingsErrorEvent) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use MailSettingsErrorEvent.ProtoReflect.Descriptor instead. -func (*MailSettingsErrorEvent) Descriptor() ([]byte, []int) { +// Deprecated: Use MailServerSettingsErrorEvent.ProtoReflect.Descriptor instead. +func (*MailServerSettingsErrorEvent) Descriptor() ([]byte, []int) { return file_bridge_proto_rawDescGZIP(), []int{39} } -func (x *MailSettingsErrorEvent) GetType() MailSettingsErrorType { +func (x *MailServerSettingsErrorEvent) GetType() MailServerSettingsErrorType { if x != nil { return x.Type } - return MailSettingsErrorType_IMAP_PORT_ISSUE + return MailServerSettingsErrorType_IMAP_PORT_STARTUP_ERROR } -type UseSslForSmtpFinishedEvent struct { +type MailServerSettingsChangedEvent struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + Settings *ImapSmtpSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"` } -func (x *UseSslForSmtpFinishedEvent) Reset() { - *x = UseSslForSmtpFinishedEvent{} +func (x *MailServerSettingsChangedEvent) Reset() { + *x = MailServerSettingsChangedEvent{} if protoimpl.UnsafeEnabled { mi := &file_bridge_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2851,13 +2867,13 @@ func (x *UseSslForSmtpFinishedEvent) Reset() { } } -func (x *UseSslForSmtpFinishedEvent) String() string { +func (x *MailServerSettingsChangedEvent) String() string { return protoimpl.X.MessageStringOf(x) } -func (*UseSslForSmtpFinishedEvent) ProtoMessage() {} +func (*MailServerSettingsChangedEvent) ProtoMessage() {} -func (x *UseSslForSmtpFinishedEvent) ProtoReflect() protoreflect.Message { +func (x *MailServerSettingsChangedEvent) ProtoReflect() protoreflect.Message { mi := &file_bridge_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2869,19 +2885,26 @@ func (x *UseSslForSmtpFinishedEvent) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use UseSslForSmtpFinishedEvent.ProtoReflect.Descriptor instead. -func (*UseSslForSmtpFinishedEvent) Descriptor() ([]byte, []int) { +// Deprecated: Use MailServerSettingsChangedEvent.ProtoReflect.Descriptor instead. +func (*MailServerSettingsChangedEvent) Descriptor() ([]byte, []int) { return file_bridge_proto_rawDescGZIP(), []int{40} } -type UseSslForImapFinishedEvent struct { +func (x *MailServerSettingsChangedEvent) GetSettings() *ImapSmtpSettings { + if x != nil { + return x.Settings + } + return nil +} + +type ChangeMailServerSettingsFinishedEvent struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *UseSslForImapFinishedEvent) Reset() { - *x = UseSslForImapFinishedEvent{} +func (x *ChangeMailServerSettingsFinishedEvent) Reset() { + *x = ChangeMailServerSettingsFinishedEvent{} if protoimpl.UnsafeEnabled { mi := &file_bridge_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2889,13 +2912,13 @@ func (x *UseSslForImapFinishedEvent) Reset() { } } -func (x *UseSslForImapFinishedEvent) String() string { +func (x *ChangeMailServerSettingsFinishedEvent) String() string { return protoimpl.X.MessageStringOf(x) } -func (*UseSslForImapFinishedEvent) ProtoMessage() {} +func (*ChangeMailServerSettingsFinishedEvent) ProtoMessage() {} -func (x *UseSslForImapFinishedEvent) ProtoReflect() protoreflect.Message { +func (x *ChangeMailServerSettingsFinishedEvent) ProtoReflect() protoreflect.Message { mi := &file_bridge_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2907,49 +2930,11 @@ func (x *UseSslForImapFinishedEvent) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use UseSslForImapFinishedEvent.ProtoReflect.Descriptor instead. -func (*UseSslForImapFinishedEvent) Descriptor() ([]byte, []int) { +// Deprecated: Use ChangeMailServerSettingsFinishedEvent.ProtoReflect.Descriptor instead. +func (*ChangeMailServerSettingsFinishedEvent) Descriptor() ([]byte, []int) { return file_bridge_proto_rawDescGZIP(), []int{41} } -type ChangePortsFinishedEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ChangePortsFinishedEvent) Reset() { - *x = ChangePortsFinishedEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChangePortsFinishedEvent) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChangePortsFinishedEvent) ProtoMessage() {} - -func (x *ChangePortsFinishedEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[42] - 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 ChangePortsFinishedEvent.ProtoReflect.Descriptor instead. -func (*ChangePortsFinishedEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{42} -} - //********************************************************** // keychain related events //********************************************************** @@ -2968,7 +2953,7 @@ type KeychainEvent struct { func (x *KeychainEvent) Reset() { *x = KeychainEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[43] + mi := &file_bridge_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2981,7 +2966,7 @@ func (x *KeychainEvent) String() string { func (*KeychainEvent) ProtoMessage() {} func (x *KeychainEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[43] + mi := &file_bridge_proto_msgTypes[42] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2994,7 +2979,7 @@ func (x *KeychainEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use KeychainEvent.ProtoReflect.Descriptor instead. func (*KeychainEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{43} + return file_bridge_proto_rawDescGZIP(), []int{42} } func (m *KeychainEvent) GetEvent() isKeychainEvent_Event { @@ -3056,7 +3041,7 @@ type ChangeKeychainFinishedEvent struct { func (x *ChangeKeychainFinishedEvent) Reset() { *x = ChangeKeychainFinishedEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[44] + mi := &file_bridge_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3069,7 +3054,7 @@ func (x *ChangeKeychainFinishedEvent) String() string { func (*ChangeKeychainFinishedEvent) ProtoMessage() {} func (x *ChangeKeychainFinishedEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[44] + mi := &file_bridge_proto_msgTypes[43] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3082,7 +3067,7 @@ func (x *ChangeKeychainFinishedEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use ChangeKeychainFinishedEvent.ProtoReflect.Descriptor instead. func (*ChangeKeychainFinishedEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{44} + return file_bridge_proto_rawDescGZIP(), []int{43} } type HasNoKeychainEvent struct { @@ -3094,7 +3079,7 @@ type HasNoKeychainEvent struct { func (x *HasNoKeychainEvent) Reset() { *x = HasNoKeychainEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[45] + mi := &file_bridge_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3107,7 +3092,7 @@ func (x *HasNoKeychainEvent) String() string { func (*HasNoKeychainEvent) ProtoMessage() {} func (x *HasNoKeychainEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[45] + mi := &file_bridge_proto_msgTypes[44] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3120,7 +3105,7 @@ func (x *HasNoKeychainEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use HasNoKeychainEvent.ProtoReflect.Descriptor instead. func (*HasNoKeychainEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{45} + return file_bridge_proto_rawDescGZIP(), []int{44} } type RebuildKeychainEvent struct { @@ -3132,7 +3117,7 @@ type RebuildKeychainEvent struct { func (x *RebuildKeychainEvent) Reset() { *x = RebuildKeychainEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[46] + mi := &file_bridge_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3145,7 +3130,7 @@ func (x *RebuildKeychainEvent) String() string { func (*RebuildKeychainEvent) ProtoMessage() {} func (x *RebuildKeychainEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[46] + mi := &file_bridge_proto_msgTypes[45] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3158,7 +3143,7 @@ func (x *RebuildKeychainEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use RebuildKeychainEvent.ProtoReflect.Descriptor instead. func (*RebuildKeychainEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{46} + return file_bridge_proto_rawDescGZIP(), []int{45} } //********************************************************** @@ -3180,7 +3165,7 @@ type MailEvent struct { func (x *MailEvent) Reset() { *x = MailEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[47] + mi := &file_bridge_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3193,7 +3178,7 @@ func (x *MailEvent) String() string { func (*MailEvent) ProtoMessage() {} func (x *MailEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[47] + mi := &file_bridge_proto_msgTypes[46] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3206,7 +3191,7 @@ func (x *MailEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use MailEvent.ProtoReflect.Descriptor instead. func (*MailEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{47} + return file_bridge_proto_rawDescGZIP(), []int{46} } func (m *MailEvent) GetEvent() isMailEvent_Event { @@ -3283,7 +3268,7 @@ type NoActiveKeyForRecipientEvent struct { func (x *NoActiveKeyForRecipientEvent) Reset() { *x = NoActiveKeyForRecipientEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[48] + mi := &file_bridge_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3296,7 +3281,7 @@ func (x *NoActiveKeyForRecipientEvent) String() string { func (*NoActiveKeyForRecipientEvent) ProtoMessage() {} func (x *NoActiveKeyForRecipientEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[48] + mi := &file_bridge_proto_msgTypes[47] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3309,7 +3294,7 @@ func (x *NoActiveKeyForRecipientEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use NoActiveKeyForRecipientEvent.ProtoReflect.Descriptor instead. func (*NoActiveKeyForRecipientEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{48} + return file_bridge_proto_rawDescGZIP(), []int{47} } func (x *NoActiveKeyForRecipientEvent) GetEmail() string { @@ -3330,7 +3315,7 @@ type AddressChangedEvent struct { func (x *AddressChangedEvent) Reset() { *x = AddressChangedEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[49] + mi := &file_bridge_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3343,7 +3328,7 @@ func (x *AddressChangedEvent) String() string { func (*AddressChangedEvent) ProtoMessage() {} func (x *AddressChangedEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[49] + mi := &file_bridge_proto_msgTypes[48] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3356,7 +3341,7 @@ func (x *AddressChangedEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use AddressChangedEvent.ProtoReflect.Descriptor instead. func (*AddressChangedEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{49} + return file_bridge_proto_rawDescGZIP(), []int{48} } func (x *AddressChangedEvent) GetAddress() string { @@ -3377,7 +3362,7 @@ type AddressChangedLogoutEvent struct { func (x *AddressChangedLogoutEvent) Reset() { *x = AddressChangedLogoutEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[50] + mi := &file_bridge_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3390,7 +3375,7 @@ func (x *AddressChangedLogoutEvent) String() string { func (*AddressChangedLogoutEvent) ProtoMessage() {} func (x *AddressChangedLogoutEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[50] + mi := &file_bridge_proto_msgTypes[49] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3403,7 +3388,7 @@ func (x *AddressChangedLogoutEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use AddressChangedLogoutEvent.ProtoReflect.Descriptor instead. func (*AddressChangedLogoutEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{50} + return file_bridge_proto_rawDescGZIP(), []int{49} } func (x *AddressChangedLogoutEvent) GetAddress() string { @@ -3422,7 +3407,7 @@ type ApiCertIssueEvent struct { func (x *ApiCertIssueEvent) Reset() { *x = ApiCertIssueEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[51] + mi := &file_bridge_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3435,7 +3420,7 @@ func (x *ApiCertIssueEvent) String() string { func (*ApiCertIssueEvent) ProtoMessage() {} func (x *ApiCertIssueEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[51] + mi := &file_bridge_proto_msgTypes[50] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3448,7 +3433,7 @@ func (x *ApiCertIssueEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use ApiCertIssueEvent.ProtoReflect.Descriptor instead. func (*ApiCertIssueEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{51} + return file_bridge_proto_rawDescGZIP(), []int{50} } type UserEvent struct { @@ -3466,7 +3451,7 @@ type UserEvent struct { func (x *UserEvent) Reset() { *x = UserEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[52] + mi := &file_bridge_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3479,7 +3464,7 @@ func (x *UserEvent) String() string { func (*UserEvent) ProtoMessage() {} func (x *UserEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[52] + mi := &file_bridge_proto_msgTypes[51] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3492,7 +3477,7 @@ func (x *UserEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use UserEvent.ProtoReflect.Descriptor instead. func (*UserEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{52} + return file_bridge_proto_rawDescGZIP(), []int{51} } func (m *UserEvent) GetEvent() isUserEvent_Event { @@ -3556,7 +3541,7 @@ type ToggleSplitModeFinishedEvent struct { func (x *ToggleSplitModeFinishedEvent) Reset() { *x = ToggleSplitModeFinishedEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[53] + mi := &file_bridge_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3569,7 +3554,7 @@ func (x *ToggleSplitModeFinishedEvent) String() string { func (*ToggleSplitModeFinishedEvent) ProtoMessage() {} func (x *ToggleSplitModeFinishedEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[53] + mi := &file_bridge_proto_msgTypes[52] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3582,7 +3567,7 @@ func (x *ToggleSplitModeFinishedEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use ToggleSplitModeFinishedEvent.ProtoReflect.Descriptor instead. func (*ToggleSplitModeFinishedEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{53} + return file_bridge_proto_rawDescGZIP(), []int{52} } func (x *ToggleSplitModeFinishedEvent) GetUserID() string { @@ -3603,7 +3588,7 @@ type UserDisconnectedEvent struct { func (x *UserDisconnectedEvent) Reset() { *x = UserDisconnectedEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[54] + mi := &file_bridge_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3616,7 +3601,7 @@ func (x *UserDisconnectedEvent) String() string { func (*UserDisconnectedEvent) ProtoMessage() {} func (x *UserDisconnectedEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[54] + mi := &file_bridge_proto_msgTypes[53] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3629,7 +3614,7 @@ func (x *UserDisconnectedEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use UserDisconnectedEvent.ProtoReflect.Descriptor instead. func (*UserDisconnectedEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{54} + return file_bridge_proto_rawDescGZIP(), []int{53} } func (x *UserDisconnectedEvent) GetUsername() string { @@ -3650,7 +3635,7 @@ type UserChangedEvent struct { func (x *UserChangedEvent) Reset() { *x = UserChangedEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[55] + mi := &file_bridge_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3663,7 +3648,7 @@ func (x *UserChangedEvent) String() string { func (*UserChangedEvent) ProtoMessage() {} func (x *UserChangedEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[55] + mi := &file_bridge_proto_msgTypes[54] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3676,7 +3661,7 @@ func (x *UserChangedEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use UserChangedEvent.ProtoReflect.Descriptor instead. func (*UserChangedEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{55} + return file_bridge_proto_rawDescGZIP(), []int{54} } func (x *UserChangedEvent) GetUserID() string { @@ -3721,649 +3706,646 @@ 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, 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, - 0xb7, 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, 0x25, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 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, 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, 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, + 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x96, 0x01, 0x0a, 0x10, 0x49, 0x6d, 0x61, 0x70, 0x53, 0x6d, + 0x74, 0x70, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 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, 0x12, 0x24, 0x0a, 0x0d, 0x75, 0x73, 0x65, 0x53, 0x53, 0x4c, 0x46, 0x6f, 0x72, 0x49, + 0x6d, 0x61, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x75, 0x73, 0x65, 0x53, 0x53, + 0x4c, 0x46, 0x6f, 0x72, 0x49, 0x6d, 0x61, 0x70, 0x12, 0x24, 0x0a, 0x0d, 0x75, 0x73, 0x65, 0x53, + 0x53, 0x4c, 0x46, 0x6f, 0x72, 0x53, 0x6d, 0x74, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0d, 0x75, 0x73, 0x65, 0x53, 0x53, 0x4c, 0x46, 0x6f, 0x72, 0x53, 0x6d, 0x74, 0x70, 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, 0xb7, 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, + 0x25, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, + 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, + 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 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, 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, 0x36, 0x0a, 0x09, 0x55, 0x73, - 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x49, 0x47, 0x4e, 0x45, - 0x44, 0x5f, 0x4f, 0x55, 0x54, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4c, 0x4f, 0x43, 0x4b, 0x45, - 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x45, 0x44, - 0x10, 0x02, 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, + 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, + 0x91, 0x03, 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, 0x4f, 0x0a, 0x12, 0x6d, 0x61, 0x69, 0x6c, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x61, 0x69, 0x6c, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x12, 0x6d, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 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, 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, + 0xbf, 0x02, 0x0a, 0x17, 0x4d, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x65, + 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x3a, 0x0a, 0x05, 0x65, + 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x72, 0x70, + 0x63, 0x2e, 0x4d, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 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, 0x64, 0x0a, 0x19, 0x6d, 0x61, 0x69, 0x6c, 0x53, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x70, + 0x63, 0x2e, 0x4d, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, + 0x69, 0x6e, 0x67, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x48, 0x00, 0x52, 0x19, 0x6d, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x65, + 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x12, 0x79, 0x0a, + 0x20, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x43, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, + 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x20, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x61, + 0x69, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, + 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, + 0x74, 0x22, 0x55, 0x0a, 0x1c, 0x4d, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, + 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x21, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x54, 0x0a, 0x1e, 0x4d, 0x61, 0x69, 0x6c, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x08, 0x73, 0x65, + 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, + 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6d, 0x61, 0x70, 0x53, 0x6d, 0x74, 0x70, 0x53, 0x65, 0x74, 0x74, + 0x69, 0x6e, 0x67, 0x73, 0x52, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x27, + 0x0a, 0x25, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 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, 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, + 0x36, 0x0a, 0x09, 0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x0a, + 0x53, 0x49, 0x47, 0x4e, 0x45, 0x44, 0x5f, 0x4f, 0x55, 0x54, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, + 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4e, 0x4e, + 0x45, 0x43, 0x54, 0x45, 0x44, 0x10, 0x02, 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, 0xdd, 0x01, 0x0a, 0x1b, 0x4d, 0x61, 0x69, 0x6c, 0x53, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x45, 0x72, 0x72, + 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x49, 0x4d, 0x41, 0x50, 0x5f, 0x50, + 0x4f, 0x52, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x55, 0x50, 0x5f, 0x45, 0x52, 0x52, 0x4f, + 0x52, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x53, 0x4d, 0x54, 0x50, 0x5f, 0x50, 0x4f, 0x52, 0x54, + 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x55, 0x50, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, + 0x12, 0x1a, 0x0a, 0x16, 0x49, 0x4d, 0x41, 0x50, 0x5f, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x43, 0x48, + 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, + 0x53, 0x4d, 0x54, 0x50, 0x5f, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, + 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x12, 0x25, 0x0a, 0x21, 0x49, 0x4d, 0x41, 0x50, + 0x5f, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x4f, 0x44, 0x45, + 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, 0x12, + 0x25, 0x0a, 0x21, 0x53, 0x4d, 0x54, 0x50, 0x5f, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x49, + 0x4f, 0x4e, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x45, + 0x52, 0x52, 0x4f, 0x52, 0x10, 0x05, 0x32, 0xd9, 0x1d, 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, 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, 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, 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, + 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, 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, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 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, 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, 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, 0x43, 0x0a, 0x0b, - 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x16, 0x2e, 0x67, 0x6f, + 0x2e, 0x53, 0x74, 0x72, 0x69, 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, 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, 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, + 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, 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, 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, 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, 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, + 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, 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, 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, + 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, 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, + 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, - 0x42, 0x0a, 0x0a, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1c, 0x2e, + 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, - 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x16, 0x2e, 0x67, 0x6f, + 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, 0x42, 0x0a, 0x0a, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x55, 0x73, 0x65, + 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, 0x44, 0x0a, 0x12, 0x4d, 0x61, + 0x69, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 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, 0x16, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, + 0x49, 0x6d, 0x61, 0x70, 0x53, 0x6d, 0x74, 0x70, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, + 0x12, 0x47, 0x0a, 0x15, 0x53, 0x65, 0x74, 0x4d, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x16, 0x2e, 0x67, 0x72, 0x70, 0x63, + 0x2e, 0x49, 0x6d, 0x61, 0x70, 0x53, 0x6d, 0x74, 0x70, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, + 0x73, 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, 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, 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, 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, + 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 ( @@ -4379,74 +4361,73 @@ func file_bridge_proto_rawDescGZIP() []byte { } var file_bridge_proto_enumTypes = make([]protoimpl.EnumInfo, 6) -var file_bridge_proto_msgTypes = make([]protoimpl.MessageInfo, 56) +var file_bridge_proto_msgTypes = make([]protoimpl.MessageInfo, 55) var file_bridge_proto_goTypes = []interface{}{ - (LogLevel)(0), // 0: grpc.LogLevel - (UserState)(0), // 1: grpc.UserState - (LoginErrorType)(0), // 2: grpc.LoginErrorType - (UpdateErrorType)(0), // 3: grpc.UpdateErrorType - (DiskCacheErrorType)(0), // 4: grpc.DiskCacheErrorType - (MailSettingsErrorType)(0), // 5: grpc.MailSettingsErrorType - (*AddLogEntryRequest)(nil), // 6: grpc.AddLogEntryRequest - (*ReportBugRequest)(nil), // 7: grpc.ReportBugRequest - (*LoginRequest)(nil), // 8: grpc.LoginRequest - (*LoginAbortRequest)(nil), // 9: grpc.LoginAbortRequest - (*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 - (*DiskCacheEvent)(nil), // 40: grpc.DiskCacheEvent - (*DiskCacheErrorEvent)(nil), // 41: grpc.DiskCacheErrorEvent - (*DiskCachePathChangedEvent)(nil), // 42: grpc.DiskCachePathChangedEvent - (*DiskCachePathChangeFinishedEvent)(nil), // 43: grpc.DiskCachePathChangeFinishedEvent - (*MailSettingsEvent)(nil), // 44: grpc.MailSettingsEvent - (*MailSettingsErrorEvent)(nil), // 45: grpc.MailSettingsErrorEvent - (*UseSslForSmtpFinishedEvent)(nil), // 46: grpc.UseSslForSmtpFinishedEvent - (*UseSslForImapFinishedEvent)(nil), // 47: grpc.UseSslForImapFinishedEvent - (*ChangePortsFinishedEvent)(nil), // 48: grpc.ChangePortsFinishedEvent - (*KeychainEvent)(nil), // 49: grpc.KeychainEvent - (*ChangeKeychainFinishedEvent)(nil), // 50: grpc.ChangeKeychainFinishedEvent - (*HasNoKeychainEvent)(nil), // 51: grpc.HasNoKeychainEvent - (*RebuildKeychainEvent)(nil), // 52: grpc.RebuildKeychainEvent - (*MailEvent)(nil), // 53: grpc.MailEvent - (*NoActiveKeyForRecipientEvent)(nil), // 54: grpc.NoActiveKeyForRecipientEvent - (*AddressChangedEvent)(nil), // 55: grpc.AddressChangedEvent - (*AddressChangedLogoutEvent)(nil), // 56: grpc.AddressChangedLogoutEvent - (*ApiCertIssueEvent)(nil), // 57: grpc.ApiCertIssueEvent - (*UserEvent)(nil), // 58: grpc.UserEvent - (*ToggleSplitModeFinishedEvent)(nil), // 59: grpc.ToggleSplitModeFinishedEvent - (*UserDisconnectedEvent)(nil), // 60: grpc.UserDisconnectedEvent - (*UserChangedEvent)(nil), // 61: grpc.UserChangedEvent - (*wrapperspb.StringValue)(nil), // 62: google.protobuf.StringValue - (*emptypb.Empty)(nil), // 63: google.protobuf.Empty - (*wrapperspb.BoolValue)(nil), // 64: google.protobuf.BoolValue - (*wrapperspb.Int32Value)(nil), // 65: google.protobuf.Int32Value + (LogLevel)(0), // 0: grpc.LogLevel + (UserState)(0), // 1: grpc.UserState + (LoginErrorType)(0), // 2: grpc.LoginErrorType + (UpdateErrorType)(0), // 3: grpc.UpdateErrorType + (DiskCacheErrorType)(0), // 4: grpc.DiskCacheErrorType + (MailServerSettingsErrorType)(0), // 5: grpc.MailServerSettingsErrorType + (*AddLogEntryRequest)(nil), // 6: grpc.AddLogEntryRequest + (*ReportBugRequest)(nil), // 7: grpc.ReportBugRequest + (*LoginRequest)(nil), // 8: grpc.LoginRequest + (*LoginAbortRequest)(nil), // 9: grpc.LoginAbortRequest + (*ImapSmtpSettings)(nil), // 10: grpc.ImapSmtpSettings + (*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 + (*DiskCacheEvent)(nil), // 40: grpc.DiskCacheEvent + (*DiskCacheErrorEvent)(nil), // 41: grpc.DiskCacheErrorEvent + (*DiskCachePathChangedEvent)(nil), // 42: grpc.DiskCachePathChangedEvent + (*DiskCachePathChangeFinishedEvent)(nil), // 43: grpc.DiskCachePathChangeFinishedEvent + (*MailServerSettingsEvent)(nil), // 44: grpc.MailServerSettingsEvent + (*MailServerSettingsErrorEvent)(nil), // 45: grpc.MailServerSettingsErrorEvent + (*MailServerSettingsChangedEvent)(nil), // 46: grpc.MailServerSettingsChangedEvent + (*ChangeMailServerSettingsFinishedEvent)(nil), // 47: grpc.ChangeMailServerSettingsFinishedEvent + (*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 @@ -4456,10 +4437,10 @@ var file_bridge_proto_depIdxs = []int32{ 26, // 4: grpc.StreamEvent.login:type_name -> grpc.LoginEvent 31, // 5: grpc.StreamEvent.update:type_name -> grpc.UpdateEvent 40, // 6: grpc.StreamEvent.cache:type_name -> grpc.DiskCacheEvent - 44, // 7: grpc.StreamEvent.mailSettings:type_name -> grpc.MailSettingsEvent - 49, // 8: grpc.StreamEvent.keychain:type_name -> grpc.KeychainEvent - 53, // 9: grpc.StreamEvent.mail:type_name -> grpc.MailEvent - 58, // 10: grpc.StreamEvent.user:type_name -> grpc.UserEvent + 44, // 7: grpc.StreamEvent.mailServerSettings:type_name -> grpc.MailServerSettingsEvent + 48, // 8: grpc.StreamEvent.keychain:type_name -> grpc.KeychainEvent + 52, // 9: grpc.StreamEvent.mail:type_name -> grpc.MailEvent + 57, // 10: grpc.StreamEvent.user:type_name -> grpc.UserEvent 19, // 11: grpc.AppEvent.internetStatus:type_name -> grpc.InternetStatusEvent 20, // 12: grpc.AppEvent.toggleAutostartFinished:type_name -> grpc.ToggleAutostartFinishedEvent 21, // 13: grpc.AppEvent.resetFinished:type_name -> grpc.ResetFinishedEvent @@ -4486,143 +4467,133 @@ var file_bridge_proto_depIdxs = []int32{ 42, // 34: grpc.DiskCacheEvent.pathChanged:type_name -> grpc.DiskCachePathChangedEvent 43, // 35: grpc.DiskCacheEvent.pathChangeFinished:type_name -> grpc.DiskCachePathChangeFinishedEvent 4, // 36: grpc.DiskCacheErrorEvent.type:type_name -> grpc.DiskCacheErrorType - 45, // 37: grpc.MailSettingsEvent.error:type_name -> grpc.MailSettingsErrorEvent - 46, // 38: grpc.MailSettingsEvent.useSslForSmtpFinished:type_name -> grpc.UseSslForSmtpFinishedEvent - 48, // 39: grpc.MailSettingsEvent.changePortsFinished:type_name -> grpc.ChangePortsFinishedEvent - 47, // 40: grpc.MailSettingsEvent.useSslForImapFinished:type_name -> grpc.UseSslForImapFinishedEvent - 5, // 41: grpc.MailSettingsErrorEvent.type:type_name -> grpc.MailSettingsErrorType - 50, // 42: grpc.KeychainEvent.changeKeychainFinished:type_name -> grpc.ChangeKeychainFinishedEvent - 51, // 43: grpc.KeychainEvent.hasNoKeychain:type_name -> grpc.HasNoKeychainEvent - 52, // 44: grpc.KeychainEvent.rebuildKeychain:type_name -> grpc.RebuildKeychainEvent - 54, // 45: grpc.MailEvent.noActiveKeyForRecipientEvent:type_name -> grpc.NoActiveKeyForRecipientEvent - 55, // 46: grpc.MailEvent.addressChanged:type_name -> grpc.AddressChangedEvent - 56, // 47: grpc.MailEvent.addressChangedLogout:type_name -> grpc.AddressChangedLogoutEvent - 57, // 48: grpc.MailEvent.apiCertIssue:type_name -> grpc.ApiCertIssueEvent - 59, // 49: grpc.UserEvent.toggleSplitModeFinished:type_name -> grpc.ToggleSplitModeFinishedEvent - 60, // 50: grpc.UserEvent.userDisconnected:type_name -> grpc.UserDisconnectedEvent - 61, // 51: grpc.UserEvent.userChanged:type_name -> grpc.UserChangedEvent - 62, // 52: grpc.Bridge.CheckTokens:input_type -> google.protobuf.StringValue + 45, // 37: grpc.MailServerSettingsEvent.error:type_name -> grpc.MailServerSettingsErrorEvent + 46, // 38: grpc.MailServerSettingsEvent.mailServerSettingsChanged:type_name -> grpc.MailServerSettingsChangedEvent + 47, // 39: grpc.MailServerSettingsEvent.changeMailServerSettingsFinished:type_name -> grpc.ChangeMailServerSettingsFinishedEvent + 5, // 40: grpc.MailServerSettingsErrorEvent.type:type_name -> grpc.MailServerSettingsErrorType + 10, // 41: grpc.MailServerSettingsChangedEvent.settings:type_name -> grpc.ImapSmtpSettings + 49, // 42: grpc.KeychainEvent.changeKeychainFinished:type_name -> grpc.ChangeKeychainFinishedEvent + 50, // 43: grpc.KeychainEvent.hasNoKeychain:type_name -> grpc.HasNoKeychainEvent + 51, // 44: grpc.KeychainEvent.rebuildKeychain:type_name -> grpc.RebuildKeychainEvent + 53, // 45: grpc.MailEvent.noActiveKeyForRecipientEvent:type_name -> grpc.NoActiveKeyForRecipientEvent + 54, // 46: grpc.MailEvent.addressChanged:type_name -> grpc.AddressChangedEvent + 55, // 47: grpc.MailEvent.addressChangedLogout:type_name -> grpc.AddressChangedLogoutEvent + 56, // 48: grpc.MailEvent.apiCertIssue:type_name -> grpc.ApiCertIssueEvent + 58, // 49: grpc.UserEvent.toggleSplitModeFinished:type_name -> grpc.ToggleSplitModeFinishedEvent + 59, // 50: grpc.UserEvent.userDisconnected:type_name -> grpc.UserDisconnectedEvent + 60, // 51: grpc.UserEvent.userChanged:type_name -> grpc.UserChangedEvent + 61, // 52: grpc.Bridge.CheckTokens:input_type -> google.protobuf.StringValue 6, // 53: grpc.Bridge.AddLogEntry:input_type -> grpc.AddLogEntryRequest - 63, // 54: grpc.Bridge.GuiReady:input_type -> google.protobuf.Empty - 63, // 55: grpc.Bridge.Quit:input_type -> google.protobuf.Empty - 63, // 56: grpc.Bridge.Restart:input_type -> google.protobuf.Empty - 63, // 57: grpc.Bridge.ShowOnStartup:input_type -> google.protobuf.Empty - 63, // 58: grpc.Bridge.ShowSplashScreen:input_type -> google.protobuf.Empty - 63, // 59: grpc.Bridge.IsFirstGuiStart:input_type -> google.protobuf.Empty - 64, // 60: grpc.Bridge.SetIsAutostartOn:input_type -> google.protobuf.BoolValue - 63, // 61: grpc.Bridge.IsAutostartOn:input_type -> google.protobuf.Empty - 64, // 62: grpc.Bridge.SetIsBetaEnabled:input_type -> google.protobuf.BoolValue - 63, // 63: grpc.Bridge.IsBetaEnabled:input_type -> google.protobuf.Empty - 64, // 64: grpc.Bridge.SetIsAllMailVisible:input_type -> google.protobuf.BoolValue - 63, // 65: grpc.Bridge.IsAllMailVisible:input_type -> google.protobuf.Empty - 63, // 66: grpc.Bridge.GoOs:input_type -> google.protobuf.Empty - 63, // 67: grpc.Bridge.TriggerReset:input_type -> google.protobuf.Empty - 63, // 68: grpc.Bridge.Version:input_type -> google.protobuf.Empty - 63, // 69: grpc.Bridge.LogsPath:input_type -> google.protobuf.Empty - 63, // 70: grpc.Bridge.LicensePath:input_type -> google.protobuf.Empty - 63, // 71: grpc.Bridge.ReleaseNotesPageLink:input_type -> google.protobuf.Empty - 63, // 72: grpc.Bridge.DependencyLicensesLink:input_type -> google.protobuf.Empty - 63, // 73: grpc.Bridge.LandingPageLink:input_type -> google.protobuf.Empty - 62, // 74: grpc.Bridge.SetColorSchemeName:input_type -> google.protobuf.StringValue - 63, // 75: grpc.Bridge.ColorSchemeName:input_type -> google.protobuf.Empty - 63, // 76: grpc.Bridge.CurrentEmailClient:input_type -> google.protobuf.Empty + 62, // 54: grpc.Bridge.GuiReady:input_type -> google.protobuf.Empty + 62, // 55: grpc.Bridge.Quit:input_type -> google.protobuf.Empty + 62, // 56: grpc.Bridge.Restart:input_type -> google.protobuf.Empty + 62, // 57: grpc.Bridge.ShowOnStartup:input_type -> google.protobuf.Empty + 62, // 58: grpc.Bridge.ShowSplashScreen:input_type -> google.protobuf.Empty + 62, // 59: grpc.Bridge.IsFirstGuiStart:input_type -> google.protobuf.Empty + 63, // 60: grpc.Bridge.SetIsAutostartOn:input_type -> google.protobuf.BoolValue + 62, // 61: grpc.Bridge.IsAutostartOn:input_type -> google.protobuf.Empty + 63, // 62: grpc.Bridge.SetIsBetaEnabled:input_type -> google.protobuf.BoolValue + 62, // 63: grpc.Bridge.IsBetaEnabled:input_type -> google.protobuf.Empty + 63, // 64: grpc.Bridge.SetIsAllMailVisible:input_type -> google.protobuf.BoolValue + 62, // 65: grpc.Bridge.IsAllMailVisible:input_type -> google.protobuf.Empty + 62, // 66: grpc.Bridge.GoOs:input_type -> google.protobuf.Empty + 62, // 67: grpc.Bridge.TriggerReset:input_type -> google.protobuf.Empty + 62, // 68: grpc.Bridge.Version:input_type -> google.protobuf.Empty + 62, // 69: grpc.Bridge.LogsPath:input_type -> google.protobuf.Empty + 62, // 70: grpc.Bridge.LicensePath:input_type -> google.protobuf.Empty + 62, // 71: grpc.Bridge.ReleaseNotesPageLink:input_type -> google.protobuf.Empty + 62, // 72: grpc.Bridge.DependencyLicensesLink:input_type -> google.protobuf.Empty + 62, // 73: grpc.Bridge.LandingPageLink:input_type -> google.protobuf.Empty + 61, // 74: grpc.Bridge.SetColorSchemeName:input_type -> google.protobuf.StringValue + 62, // 75: grpc.Bridge.ColorSchemeName:input_type -> google.protobuf.Empty + 62, // 76: grpc.Bridge.CurrentEmailClient:input_type -> google.protobuf.Empty 7, // 77: grpc.Bridge.ReportBug:input_type -> grpc.ReportBugRequest - 62, // 78: grpc.Bridge.ForceLauncher:input_type -> google.protobuf.StringValue - 62, // 79: grpc.Bridge.SetMainExecutable:input_type -> google.protobuf.StringValue + 61, // 78: grpc.Bridge.ForceLauncher:input_type -> google.protobuf.StringValue + 61, // 79: grpc.Bridge.SetMainExecutable:input_type -> google.protobuf.StringValue 8, // 80: grpc.Bridge.Login:input_type -> grpc.LoginRequest 8, // 81: grpc.Bridge.Login2FA:input_type -> grpc.LoginRequest 8, // 82: grpc.Bridge.Login2Passwords:input_type -> grpc.LoginRequest 9, // 83: grpc.Bridge.LoginAbort:input_type -> grpc.LoginAbortRequest - 63, // 84: grpc.Bridge.CheckUpdate:input_type -> google.protobuf.Empty - 63, // 85: grpc.Bridge.InstallUpdate:input_type -> google.protobuf.Empty - 64, // 86: grpc.Bridge.SetIsAutomaticUpdateOn:input_type -> google.protobuf.BoolValue - 63, // 87: grpc.Bridge.IsAutomaticUpdateOn:input_type -> google.protobuf.Empty - 63, // 88: grpc.Bridge.DiskCachePath:input_type -> google.protobuf.Empty - 62, // 89: grpc.Bridge.SetDiskCachePath:input_type -> google.protobuf.StringValue - 64, // 90: grpc.Bridge.SetIsDoHEnabled:input_type -> google.protobuf.BoolValue - 63, // 91: grpc.Bridge.IsDoHEnabled:input_type -> google.protobuf.Empty - 64, // 92: grpc.Bridge.SetUseSslForSmtp:input_type -> google.protobuf.BoolValue - 63, // 93: grpc.Bridge.UseSslForSmtp:input_type -> google.protobuf.Empty - 64, // 94: grpc.Bridge.SetUseSslForImap:input_type -> google.protobuf.BoolValue - 63, // 95: grpc.Bridge.UseSslForImap:input_type -> google.protobuf.Empty - 63, // 96: grpc.Bridge.Hostname:input_type -> google.protobuf.Empty - 63, // 97: grpc.Bridge.ImapPort:input_type -> google.protobuf.Empty - 63, // 98: grpc.Bridge.SmtpPort:input_type -> google.protobuf.Empty - 10, // 99: grpc.Bridge.ChangePorts:input_type -> grpc.ChangePortsRequest - 65, // 100: grpc.Bridge.IsPortFree:input_type -> google.protobuf.Int32Value - 63, // 101: grpc.Bridge.AvailableKeychains:input_type -> google.protobuf.Empty - 62, // 102: grpc.Bridge.SetCurrentKeychain:input_type -> google.protobuf.StringValue - 63, // 103: grpc.Bridge.CurrentKeychain:input_type -> google.protobuf.Empty - 63, // 104: grpc.Bridge.GetUserList:input_type -> google.protobuf.Empty - 62, // 105: grpc.Bridge.GetUser:input_type -> google.protobuf.StringValue - 13, // 106: grpc.Bridge.SetUserSplitMode:input_type -> grpc.UserSplitModeRequest - 62, // 107: grpc.Bridge.LogoutUser:input_type -> google.protobuf.StringValue - 62, // 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 - 63, // 111: grpc.Bridge.StopEventStream:input_type -> google.protobuf.Empty - 62, // 112: grpc.Bridge.CheckTokens:output_type -> google.protobuf.StringValue - 63, // 113: grpc.Bridge.AddLogEntry:output_type -> google.protobuf.Empty - 63, // 114: grpc.Bridge.GuiReady:output_type -> google.protobuf.Empty - 63, // 115: grpc.Bridge.Quit:output_type -> google.protobuf.Empty - 63, // 116: grpc.Bridge.Restart:output_type -> google.protobuf.Empty - 64, // 117: grpc.Bridge.ShowOnStartup:output_type -> google.protobuf.BoolValue - 64, // 118: grpc.Bridge.ShowSplashScreen:output_type -> google.protobuf.BoolValue - 64, // 119: grpc.Bridge.IsFirstGuiStart:output_type -> google.protobuf.BoolValue - 63, // 120: grpc.Bridge.SetIsAutostartOn:output_type -> google.protobuf.Empty - 64, // 121: grpc.Bridge.IsAutostartOn:output_type -> google.protobuf.BoolValue - 63, // 122: grpc.Bridge.SetIsBetaEnabled:output_type -> google.protobuf.Empty - 64, // 123: grpc.Bridge.IsBetaEnabled:output_type -> google.protobuf.BoolValue - 63, // 124: grpc.Bridge.SetIsAllMailVisible:output_type -> google.protobuf.Empty - 64, // 125: grpc.Bridge.IsAllMailVisible:output_type -> google.protobuf.BoolValue - 62, // 126: grpc.Bridge.GoOs:output_type -> google.protobuf.StringValue - 63, // 127: grpc.Bridge.TriggerReset:output_type -> google.protobuf.Empty - 62, // 128: grpc.Bridge.Version:output_type -> google.protobuf.StringValue - 62, // 129: grpc.Bridge.LogsPath:output_type -> google.protobuf.StringValue - 62, // 130: grpc.Bridge.LicensePath:output_type -> google.protobuf.StringValue - 62, // 131: grpc.Bridge.ReleaseNotesPageLink:output_type -> google.protobuf.StringValue - 62, // 132: grpc.Bridge.DependencyLicensesLink:output_type -> google.protobuf.StringValue - 62, // 133: grpc.Bridge.LandingPageLink:output_type -> google.protobuf.StringValue - 63, // 134: grpc.Bridge.SetColorSchemeName:output_type -> google.protobuf.Empty - 62, // 135: grpc.Bridge.ColorSchemeName:output_type -> google.protobuf.StringValue - 62, // 136: grpc.Bridge.CurrentEmailClient:output_type -> google.protobuf.StringValue - 63, // 137: grpc.Bridge.ReportBug:output_type -> google.protobuf.Empty - 63, // 138: grpc.Bridge.ForceLauncher:output_type -> google.protobuf.Empty - 63, // 139: grpc.Bridge.SetMainExecutable:output_type -> google.protobuf.Empty - 63, // 140: grpc.Bridge.Login:output_type -> google.protobuf.Empty - 63, // 141: grpc.Bridge.Login2FA:output_type -> google.protobuf.Empty - 63, // 142: grpc.Bridge.Login2Passwords:output_type -> google.protobuf.Empty - 63, // 143: grpc.Bridge.LoginAbort:output_type -> google.protobuf.Empty - 63, // 144: grpc.Bridge.CheckUpdate:output_type -> google.protobuf.Empty - 63, // 145: grpc.Bridge.InstallUpdate:output_type -> google.protobuf.Empty - 63, // 146: grpc.Bridge.SetIsAutomaticUpdateOn:output_type -> google.protobuf.Empty - 64, // 147: grpc.Bridge.IsAutomaticUpdateOn:output_type -> google.protobuf.BoolValue - 62, // 148: grpc.Bridge.DiskCachePath:output_type -> google.protobuf.StringValue - 63, // 149: grpc.Bridge.SetDiskCachePath:output_type -> google.protobuf.Empty - 63, // 150: grpc.Bridge.SetIsDoHEnabled:output_type -> google.protobuf.Empty - 64, // 151: grpc.Bridge.IsDoHEnabled:output_type -> google.protobuf.BoolValue - 63, // 152: grpc.Bridge.SetUseSslForSmtp:output_type -> google.protobuf.Empty - 64, // 153: grpc.Bridge.UseSslForSmtp:output_type -> google.protobuf.BoolValue - 63, // 154: grpc.Bridge.SetUseSslForImap:output_type -> google.protobuf.Empty - 64, // 155: grpc.Bridge.UseSslForImap:output_type -> google.protobuf.BoolValue - 62, // 156: grpc.Bridge.Hostname:output_type -> google.protobuf.StringValue - 65, // 157: grpc.Bridge.ImapPort:output_type -> google.protobuf.Int32Value - 65, // 158: grpc.Bridge.SmtpPort:output_type -> google.protobuf.Int32Value - 63, // 159: grpc.Bridge.ChangePorts:output_type -> google.protobuf.Empty - 64, // 160: grpc.Bridge.IsPortFree:output_type -> google.protobuf.BoolValue - 11, // 161: grpc.Bridge.AvailableKeychains:output_type -> grpc.AvailableKeychainsResponse - 63, // 162: grpc.Bridge.SetCurrentKeychain:output_type -> google.protobuf.Empty - 62, // 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 - 63, // 166: grpc.Bridge.SetUserSplitMode:output_type -> google.protobuf.Empty - 63, // 167: grpc.Bridge.LogoutUser:output_type -> google.protobuf.Empty - 63, // 168: grpc.Bridge.RemoveUser:output_type -> google.protobuf.Empty - 63, // 169: grpc.Bridge.ConfigureUserAppleMail:output_type -> google.protobuf.Empty - 17, // 170: grpc.Bridge.RunEventStream:output_type -> grpc.StreamEvent - 63, // 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 + 62, // 84: grpc.Bridge.CheckUpdate:input_type -> google.protobuf.Empty + 62, // 85: grpc.Bridge.InstallUpdate:input_type -> google.protobuf.Empty + 63, // 86: grpc.Bridge.SetIsAutomaticUpdateOn:input_type -> google.protobuf.BoolValue + 62, // 87: grpc.Bridge.IsAutomaticUpdateOn:input_type -> google.protobuf.Empty + 62, // 88: grpc.Bridge.DiskCachePath:input_type -> google.protobuf.Empty + 61, // 89: grpc.Bridge.SetDiskCachePath:input_type -> google.protobuf.StringValue + 63, // 90: grpc.Bridge.SetIsDoHEnabled:input_type -> google.protobuf.BoolValue + 62, // 91: grpc.Bridge.IsDoHEnabled:input_type -> google.protobuf.Empty + 62, // 92: grpc.Bridge.MailServerSettings:input_type -> google.protobuf.Empty + 10, // 93: grpc.Bridge.SetMailServerSettings:input_type -> grpc.ImapSmtpSettings + 62, // 94: grpc.Bridge.Hostname:input_type -> google.protobuf.Empty + 64, // 95: grpc.Bridge.IsPortFree:input_type -> google.protobuf.Int32Value + 62, // 96: grpc.Bridge.AvailableKeychains:input_type -> google.protobuf.Empty + 61, // 97: grpc.Bridge.SetCurrentKeychain:input_type -> google.protobuf.StringValue + 62, // 98: grpc.Bridge.CurrentKeychain:input_type -> google.protobuf.Empty + 62, // 99: grpc.Bridge.GetUserList:input_type -> google.protobuf.Empty + 61, // 100: grpc.Bridge.GetUser:input_type -> google.protobuf.StringValue + 13, // 101: grpc.Bridge.SetUserSplitMode:input_type -> grpc.UserSplitModeRequest + 61, // 102: grpc.Bridge.LogoutUser:input_type -> google.protobuf.StringValue + 61, // 103: grpc.Bridge.RemoveUser:input_type -> google.protobuf.StringValue + 15, // 104: grpc.Bridge.ConfigureUserAppleMail:input_type -> grpc.ConfigureAppleMailRequest + 16, // 105: grpc.Bridge.RunEventStream:input_type -> grpc.EventStreamRequest + 62, // 106: grpc.Bridge.StopEventStream:input_type -> google.protobuf.Empty + 61, // 107: grpc.Bridge.CheckTokens:output_type -> google.protobuf.StringValue + 62, // 108: grpc.Bridge.AddLogEntry:output_type -> google.protobuf.Empty + 62, // 109: grpc.Bridge.GuiReady:output_type -> google.protobuf.Empty + 62, // 110: grpc.Bridge.Quit:output_type -> google.protobuf.Empty + 62, // 111: grpc.Bridge.Restart:output_type -> google.protobuf.Empty + 63, // 112: grpc.Bridge.ShowOnStartup:output_type -> google.protobuf.BoolValue + 63, // 113: grpc.Bridge.ShowSplashScreen:output_type -> google.protobuf.BoolValue + 63, // 114: grpc.Bridge.IsFirstGuiStart:output_type -> google.protobuf.BoolValue + 62, // 115: grpc.Bridge.SetIsAutostartOn:output_type -> google.protobuf.Empty + 63, // 116: grpc.Bridge.IsAutostartOn:output_type -> google.protobuf.BoolValue + 62, // 117: grpc.Bridge.SetIsBetaEnabled:output_type -> google.protobuf.Empty + 63, // 118: grpc.Bridge.IsBetaEnabled:output_type -> google.protobuf.BoolValue + 62, // 119: grpc.Bridge.SetIsAllMailVisible:output_type -> google.protobuf.Empty + 63, // 120: grpc.Bridge.IsAllMailVisible:output_type -> google.protobuf.BoolValue + 61, // 121: grpc.Bridge.GoOs:output_type -> google.protobuf.StringValue + 62, // 122: grpc.Bridge.TriggerReset:output_type -> google.protobuf.Empty + 61, // 123: grpc.Bridge.Version:output_type -> google.protobuf.StringValue + 61, // 124: grpc.Bridge.LogsPath:output_type -> google.protobuf.StringValue + 61, // 125: grpc.Bridge.LicensePath:output_type -> google.protobuf.StringValue + 61, // 126: grpc.Bridge.ReleaseNotesPageLink:output_type -> google.protobuf.StringValue + 61, // 127: grpc.Bridge.DependencyLicensesLink:output_type -> google.protobuf.StringValue + 61, // 128: grpc.Bridge.LandingPageLink:output_type -> google.protobuf.StringValue + 62, // 129: grpc.Bridge.SetColorSchemeName:output_type -> google.protobuf.Empty + 61, // 130: grpc.Bridge.ColorSchemeName:output_type -> google.protobuf.StringValue + 61, // 131: grpc.Bridge.CurrentEmailClient:output_type -> google.protobuf.StringValue + 62, // 132: grpc.Bridge.ReportBug:output_type -> google.protobuf.Empty + 62, // 133: grpc.Bridge.ForceLauncher:output_type -> google.protobuf.Empty + 62, // 134: grpc.Bridge.SetMainExecutable:output_type -> google.protobuf.Empty + 62, // 135: grpc.Bridge.Login:output_type -> google.protobuf.Empty + 62, // 136: grpc.Bridge.Login2FA:output_type -> google.protobuf.Empty + 62, // 137: grpc.Bridge.Login2Passwords:output_type -> google.protobuf.Empty + 62, // 138: grpc.Bridge.LoginAbort:output_type -> google.protobuf.Empty + 62, // 139: grpc.Bridge.CheckUpdate:output_type -> google.protobuf.Empty + 62, // 140: grpc.Bridge.InstallUpdate:output_type -> google.protobuf.Empty + 62, // 141: grpc.Bridge.SetIsAutomaticUpdateOn:output_type -> google.protobuf.Empty + 63, // 142: grpc.Bridge.IsAutomaticUpdateOn:output_type -> google.protobuf.BoolValue + 61, // 143: grpc.Bridge.DiskCachePath:output_type -> google.protobuf.StringValue + 62, // 144: grpc.Bridge.SetDiskCachePath:output_type -> google.protobuf.Empty + 62, // 145: grpc.Bridge.SetIsDoHEnabled:output_type -> google.protobuf.Empty + 63, // 146: grpc.Bridge.IsDoHEnabled:output_type -> google.protobuf.BoolValue + 10, // 147: grpc.Bridge.MailServerSettings:output_type -> grpc.ImapSmtpSettings + 62, // 148: grpc.Bridge.SetMailServerSettings:output_type -> google.protobuf.Empty + 61, // 149: grpc.Bridge.Hostname:output_type -> google.protobuf.StringValue + 63, // 150: grpc.Bridge.IsPortFree:output_type -> google.protobuf.BoolValue + 11, // 151: grpc.Bridge.AvailableKeychains:output_type -> grpc.AvailableKeychainsResponse + 62, // 152: grpc.Bridge.SetCurrentKeychain:output_type -> google.protobuf.Empty + 61, // 153: grpc.Bridge.CurrentKeychain:output_type -> google.protobuf.StringValue + 14, // 154: grpc.Bridge.GetUserList:output_type -> grpc.UserListResponse + 12, // 155: grpc.Bridge.GetUser:output_type -> grpc.User + 62, // 156: grpc.Bridge.SetUserSplitMode:output_type -> google.protobuf.Empty + 62, // 157: grpc.Bridge.LogoutUser:output_type -> google.protobuf.Empty + 62, // 158: grpc.Bridge.RemoveUser:output_type -> google.protobuf.Empty + 62, // 159: grpc.Bridge.ConfigureUserAppleMail:output_type -> google.protobuf.Empty + 17, // 160: grpc.Bridge.RunEventStream:output_type -> grpc.StreamEvent + 62, // 161: grpc.Bridge.StopEventStream:output_type -> google.protobuf.Empty + 107, // [107:162] is the sub-list for method output_type + 52, // [52:107] 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 @@ -4683,7 +4654,7 @@ func file_bridge_proto_init() { } } file_bridge_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChangePortsRequest); i { + switch v := v.(*ImapSmtpSettings); i { case 0: return &v.state case 1: @@ -5091,7 +5062,7 @@ func file_bridge_proto_init() { } } file_bridge_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MailSettingsEvent); i { + switch v := v.(*MailServerSettingsEvent); i { case 0: return &v.state case 1: @@ -5103,7 +5074,7 @@ func file_bridge_proto_init() { } } file_bridge_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MailSettingsErrorEvent); i { + switch v := v.(*MailServerSettingsErrorEvent); i { case 0: return &v.state case 1: @@ -5115,7 +5086,7 @@ func file_bridge_proto_init() { } } file_bridge_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UseSslForSmtpFinishedEvent); i { + switch v := v.(*MailServerSettingsChangedEvent); i { case 0: return &v.state case 1: @@ -5127,7 +5098,7 @@ func file_bridge_proto_init() { } } file_bridge_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UseSslForImapFinishedEvent); i { + switch v := v.(*ChangeMailServerSettingsFinishedEvent); i { case 0: return &v.state case 1: @@ -5139,18 +5110,6 @@ func file_bridge_proto_init() { } } file_bridge_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChangePortsFinishedEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_bridge_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*KeychainEvent); i { case 0: return &v.state @@ -5162,7 +5121,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ChangeKeychainFinishedEvent); i { case 0: return &v.state @@ -5174,7 +5133,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*HasNoKeychainEvent); i { case 0: return &v.state @@ -5186,7 +5145,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RebuildKeychainEvent); i { case 0: return &v.state @@ -5198,7 +5157,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MailEvent); i { case 0: return &v.state @@ -5210,7 +5169,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NoActiveKeyForRecipientEvent); i { case 0: return &v.state @@ -5222,7 +5181,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AddressChangedEvent); i { case 0: return &v.state @@ -5234,7 +5193,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AddressChangedLogoutEvent); i { case 0: return &v.state @@ -5246,7 +5205,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ApiCertIssueEvent); i { case 0: return &v.state @@ -5258,7 +5217,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserEvent); i { case 0: return &v.state @@ -5270,7 +5229,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ToggleSplitModeFinishedEvent); i { case 0: return &v.state @@ -5282,7 +5241,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserDisconnectedEvent); i { case 0: return &v.state @@ -5294,7 +5253,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserChangedEvent); i { case 0: return &v.state @@ -5312,7 +5271,7 @@ func file_bridge_proto_init() { (*StreamEvent_Login)(nil), (*StreamEvent_Update)(nil), (*StreamEvent_Cache)(nil), - (*StreamEvent_MailSettings)(nil), + (*StreamEvent_MailServerSettings)(nil), (*StreamEvent_Keychain)(nil), (*StreamEvent_Mail)(nil), (*StreamEvent_User)(nil), @@ -5349,23 +5308,22 @@ func file_bridge_proto_init() { (*DiskCacheEvent_PathChangeFinished)(nil), } file_bridge_proto_msgTypes[38].OneofWrappers = []interface{}{ - (*MailSettingsEvent_Error)(nil), - (*MailSettingsEvent_UseSslForSmtpFinished)(nil), - (*MailSettingsEvent_ChangePortsFinished)(nil), - (*MailSettingsEvent_UseSslForImapFinished)(nil), + (*MailServerSettingsEvent_Error)(nil), + (*MailServerSettingsEvent_MailServerSettingsChanged)(nil), + (*MailServerSettingsEvent_ChangeMailServerSettingsFinished)(nil), } - file_bridge_proto_msgTypes[43].OneofWrappers = []interface{}{ + file_bridge_proto_msgTypes[42].OneofWrappers = []interface{}{ (*KeychainEvent_ChangeKeychainFinished)(nil), (*KeychainEvent_HasNoKeychain)(nil), (*KeychainEvent_RebuildKeychain)(nil), } - file_bridge_proto_msgTypes[47].OneofWrappers = []interface{}{ + file_bridge_proto_msgTypes[46].OneofWrappers = []interface{}{ (*MailEvent_NoActiveKeyForRecipientEvent)(nil), (*MailEvent_AddressChanged)(nil), (*MailEvent_AddressChangedLogout)(nil), (*MailEvent_ApiCertIssue)(nil), } - file_bridge_proto_msgTypes[52].OneofWrappers = []interface{}{ + file_bridge_proto_msgTypes[51].OneofWrappers = []interface{}{ (*UserEvent_ToggleSplitModeFinished)(nil), (*UserEvent_UserDisconnected)(nil), (*UserEvent_UserChanged)(nil), @@ -5376,7 +5334,7 @@ func file_bridge_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_bridge_proto_rawDesc, NumEnums: 6, - NumMessages: 56, + NumMessages: 55, NumExtensions: 0, NumServices: 1, }, diff --git a/internal/frontend/grpc/bridge.proto b/internal/frontend/grpc/bridge.proto index 388ae296..520cb682 100644 --- a/internal/frontend/grpc/bridge.proto +++ b/internal/frontend/grpc/bridge.proto @@ -78,14 +78,9 @@ service Bridge { // mail rpc SetIsDoHEnabled(google.protobuf.BoolValue) returns (google.protobuf.Empty); rpc IsDoHEnabled(google.protobuf.Empty) returns (google.protobuf.BoolValue); - rpc SetUseSslForSmtp(google.protobuf.BoolValue) returns (google.protobuf.Empty); - rpc UseSslForSmtp(google.protobuf.Empty) returns (google.protobuf.BoolValue); - rpc SetUseSslForImap(google.protobuf.BoolValue) returns (google.protobuf.Empty); - rpc UseSslForImap(google.protobuf.Empty) returns (google.protobuf.BoolValue); + rpc MailServerSettings(google.protobuf.Empty) returns (ImapSmtpSettings); + rpc SetMailServerSettings(ImapSmtpSettings) returns (google.protobuf.Empty); rpc Hostname(google.protobuf.Empty) returns (google.protobuf.StringValue); - rpc ImapPort(google.protobuf.Empty) returns (google.protobuf.Int32Value); - rpc SmtpPort(google.protobuf.Empty) returns (google.protobuf.Int32Value); - rpc ChangePorts(ChangePortsRequest) returns (google.protobuf.Empty); rpc IsPortFree(google.protobuf.Int32Value) returns (google.protobuf.BoolValue); // keychain @@ -158,11 +153,13 @@ message LoginAbortRequest { } //********************************************************** -// Port related message +// IMAP/SMTP Mail Server settings //********************************************************** -message ChangePortsRequest { +message ImapSmtpSettings { int32 imapPort = 1; int32 smtpPort = 2; + bool useSSLForImap = 3; + bool useSSLForSmtp = 4; } //********************************************************** @@ -222,7 +219,7 @@ message StreamEvent { LoginEvent login = 2; UpdateEvent update = 3; DiskCacheEvent cache = 4; - MailSettingsEvent mailSettings = 5; + MailServerSettingsEvent mailServerSettings = 5; KeychainEvent keychain = 6; MailEvent mail = 7; UserEvent user = 8; @@ -368,31 +365,28 @@ message DiskCachePathChangeFinishedEvent {} //********************************************************** -// Mail settings related events +// Mail server settings related events //********************************************************** -message MailSettingsEvent { +message MailServerSettingsEvent { oneof event { - MailSettingsErrorEvent error = 1; - UseSslForSmtpFinishedEvent useSslForSmtpFinished = 2; - ChangePortsFinishedEvent changePortsFinished = 3; - UseSslForImapFinishedEvent useSslForImapFinished = 4; + MailServerSettingsErrorEvent error = 1; + MailServerSettingsChangedEvent mailServerSettingsChanged = 2; + ChangeMailServerSettingsFinishedEvent changeMailServerSettingsFinished = 3; } } -enum MailSettingsErrorType { - IMAP_PORT_ISSUE = 0; - SMTP_PORT_ISSUE = 1; +enum MailServerSettingsErrorType { + IMAP_PORT_STARTUP_ERROR = 0; + SMTP_PORT_STARTUP_ERROR = 1; + IMAP_PORT_CHANGE_ERROR = 2; + SMTP_PORT_CHANGE_ERROR = 3; + IMAP_CONNECTION_MODE_CHANGE_ERROR = 4; + SMTP_CONNECTION_MODE_CHANGE_ERROR = 5; } -message MailSettingsErrorEvent { - MailSettingsErrorType type = 1; -} - -message UseSslForSmtpFinishedEvent {} - -message UseSslForImapFinishedEvent {} - -message ChangePortsFinishedEvent {} +message MailServerSettingsErrorEvent { MailServerSettingsErrorType type = 1; } +message MailServerSettingsChangedEvent { ImapSmtpSettings settings = 1; } +message ChangeMailServerSettingsFinishedEvent {} //********************************************************** // keychain related events diff --git a/internal/frontend/grpc/bridge_grpc.pb.go b/internal/frontend/grpc/bridge_grpc.pb.go index d62c2a65..d2d64882 100644 --- a/internal/frontend/grpc/bridge_grpc.pb.go +++ b/internal/frontend/grpc/bridge_grpc.pb.go @@ -69,14 +69,9 @@ type BridgeClient interface { // 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) - SetUseSslForSmtp(ctx context.Context, in *wrapperspb.BoolValue, opts ...grpc.CallOption) (*emptypb.Empty, error) - UseSslForSmtp(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) - SetUseSslForImap(ctx context.Context, in *wrapperspb.BoolValue, opts ...grpc.CallOption) (*emptypb.Empty, error) - UseSslForImap(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) + MailServerSettings(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ImapSmtpSettings, error) + SetMailServerSettings(ctx context.Context, in *ImapSmtpSettings, opts ...grpc.CallOption) (*emptypb.Empty, error) Hostname(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.StringValue, error) - ImapPort(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error) - SmtpPort(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error) - ChangePorts(ctx context.Context, in *ChangePortsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) IsPortFree(ctx context.Context, in *wrapperspb.Int32Value, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) // keychain AvailableKeychains(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AvailableKeychainsResponse, error) @@ -462,36 +457,18 @@ func (c *bridgeClient) IsDoHEnabled(ctx context.Context, in *emptypb.Empty, opts return out, nil } -func (c *bridgeClient) SetUseSslForSmtp(ctx context.Context, in *wrapperspb.BoolValue, opts ...grpc.CallOption) (*emptypb.Empty, error) { +func (c *bridgeClient) MailServerSettings(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ImapSmtpSettings, error) { + out := new(ImapSmtpSettings) + err := c.cc.Invoke(ctx, "/grpc.Bridge/MailServerSettings", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *bridgeClient) SetMailServerSettings(ctx context.Context, in *ImapSmtpSettings, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) - err := c.cc.Invoke(ctx, "/grpc.Bridge/SetUseSslForSmtp", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bridgeClient) UseSslForSmtp(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) { - out := new(wrapperspb.BoolValue) - err := c.cc.Invoke(ctx, "/grpc.Bridge/UseSslForSmtp", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bridgeClient) SetUseSslForImap(ctx context.Context, in *wrapperspb.BoolValue, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) - err := c.cc.Invoke(ctx, "/grpc.Bridge/SetUseSslForImap", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bridgeClient) UseSslForImap(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) { - out := new(wrapperspb.BoolValue) - err := c.cc.Invoke(ctx, "/grpc.Bridge/UseSslForImap", in, out, opts...) + err := c.cc.Invoke(ctx, "/grpc.Bridge/SetMailServerSettings", in, out, opts...) if err != nil { return nil, err } @@ -507,33 +484,6 @@ func (c *bridgeClient) Hostname(ctx context.Context, in *emptypb.Empty, opts ... return out, nil } -func (c *bridgeClient) ImapPort(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error) { - out := new(wrapperspb.Int32Value) - err := c.cc.Invoke(ctx, "/grpc.Bridge/ImapPort", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bridgeClient) SmtpPort(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error) { - out := new(wrapperspb.Int32Value) - err := c.cc.Invoke(ctx, "/grpc.Bridge/SmtpPort", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bridgeClient) ChangePorts(ctx context.Context, in *ChangePortsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) - err := c.cc.Invoke(ctx, "/grpc.Bridge/ChangePorts", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - func (c *bridgeClient) IsPortFree(ctx context.Context, in *wrapperspb.Int32Value, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) { out := new(wrapperspb.BoolValue) err := c.cc.Invoke(ctx, "/grpc.Bridge/IsPortFree", in, out, opts...) @@ -714,14 +664,9 @@ type BridgeServer interface { // mail SetIsDoHEnabled(context.Context, *wrapperspb.BoolValue) (*emptypb.Empty, error) IsDoHEnabled(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error) - SetUseSslForSmtp(context.Context, *wrapperspb.BoolValue) (*emptypb.Empty, error) - UseSslForSmtp(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error) - SetUseSslForImap(context.Context, *wrapperspb.BoolValue) (*emptypb.Empty, error) - UseSslForImap(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error) + MailServerSettings(context.Context, *emptypb.Empty) (*ImapSmtpSettings, error) + SetMailServerSettings(context.Context, *ImapSmtpSettings) (*emptypb.Empty, error) Hostname(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error) - ImapPort(context.Context, *emptypb.Empty) (*wrapperspb.Int32Value, error) - SmtpPort(context.Context, *emptypb.Empty) (*wrapperspb.Int32Value, error) - ChangePorts(context.Context, *ChangePortsRequest) (*emptypb.Empty, error) IsPortFree(context.Context, *wrapperspb.Int32Value) (*wrapperspb.BoolValue, error) // keychain AvailableKeychains(context.Context, *emptypb.Empty) (*AvailableKeychainsResponse, error) @@ -864,30 +809,15 @@ func (UnimplementedBridgeServer) SetIsDoHEnabled(context.Context, *wrapperspb.Bo func (UnimplementedBridgeServer) IsDoHEnabled(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error) { return nil, status.Errorf(codes.Unimplemented, "method IsDoHEnabled not implemented") } -func (UnimplementedBridgeServer) SetUseSslForSmtp(context.Context, *wrapperspb.BoolValue) (*emptypb.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetUseSslForSmtp not implemented") +func (UnimplementedBridgeServer) MailServerSettings(context.Context, *emptypb.Empty) (*ImapSmtpSettings, error) { + return nil, status.Errorf(codes.Unimplemented, "method MailServerSettings not implemented") } -func (UnimplementedBridgeServer) UseSslForSmtp(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error) { - return nil, status.Errorf(codes.Unimplemented, "method UseSslForSmtp not implemented") -} -func (UnimplementedBridgeServer) SetUseSslForImap(context.Context, *wrapperspb.BoolValue) (*emptypb.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetUseSslForImap not implemented") -} -func (UnimplementedBridgeServer) UseSslForImap(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error) { - return nil, status.Errorf(codes.Unimplemented, "method UseSslForImap not implemented") +func (UnimplementedBridgeServer) SetMailServerSettings(context.Context, *ImapSmtpSettings) (*emptypb.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetMailServerSettings not implemented") } func (UnimplementedBridgeServer) Hostname(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error) { return nil, status.Errorf(codes.Unimplemented, "method Hostname not implemented") } -func (UnimplementedBridgeServer) ImapPort(context.Context, *emptypb.Empty) (*wrapperspb.Int32Value, error) { - return nil, status.Errorf(codes.Unimplemented, "method ImapPort not implemented") -} -func (UnimplementedBridgeServer) SmtpPort(context.Context, *emptypb.Empty) (*wrapperspb.Int32Value, error) { - return nil, status.Errorf(codes.Unimplemented, "method SmtpPort not implemented") -} -func (UnimplementedBridgeServer) ChangePorts(context.Context, *ChangePortsRequest) (*emptypb.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method ChangePorts not implemented") -} func (UnimplementedBridgeServer) IsPortFree(context.Context, *wrapperspb.Int32Value) (*wrapperspb.BoolValue, error) { return nil, status.Errorf(codes.Unimplemented, "method IsPortFree not implemented") } @@ -1657,74 +1587,38 @@ func _Bridge_IsDoHEnabled_Handler(srv interface{}, ctx context.Context, dec func return interceptor(ctx, in, info, handler) } -func _Bridge_SetUseSslForSmtp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(wrapperspb.BoolValue) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BridgeServer).SetUseSslForSmtp(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.Bridge/SetUseSslForSmtp", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BridgeServer).SetUseSslForSmtp(ctx, req.(*wrapperspb.BoolValue)) - } - return interceptor(ctx, in, info, handler) -} - -func _Bridge_UseSslForSmtp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _Bridge_MailServerSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(emptypb.Empty) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(BridgeServer).UseSslForSmtp(ctx, in) + return srv.(BridgeServer).MailServerSettings(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/grpc.Bridge/UseSslForSmtp", + FullMethod: "/grpc.Bridge/MailServerSettings", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BridgeServer).UseSslForSmtp(ctx, req.(*emptypb.Empty)) + return srv.(BridgeServer).MailServerSettings(ctx, req.(*emptypb.Empty)) } return interceptor(ctx, in, info, handler) } -func _Bridge_SetUseSslForImap_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(wrapperspb.BoolValue) +func _Bridge_SetMailServerSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ImapSmtpSettings) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(BridgeServer).SetUseSslForImap(ctx, in) + return srv.(BridgeServer).SetMailServerSettings(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/grpc.Bridge/SetUseSslForImap", + FullMethod: "/grpc.Bridge/SetMailServerSettings", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BridgeServer).SetUseSslForImap(ctx, req.(*wrapperspb.BoolValue)) - } - return interceptor(ctx, in, info, handler) -} - -func _Bridge_UseSslForImap_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(emptypb.Empty) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BridgeServer).UseSslForImap(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.Bridge/UseSslForImap", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BridgeServer).UseSslForImap(ctx, req.(*emptypb.Empty)) + return srv.(BridgeServer).SetMailServerSettings(ctx, req.(*ImapSmtpSettings)) } return interceptor(ctx, in, info, handler) } @@ -1747,60 +1641,6 @@ func _Bridge_Hostname_Handler(srv interface{}, ctx context.Context, dec func(int return interceptor(ctx, in, info, handler) } -func _Bridge_ImapPort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(emptypb.Empty) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BridgeServer).ImapPort(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.Bridge/ImapPort", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BridgeServer).ImapPort(ctx, req.(*emptypb.Empty)) - } - return interceptor(ctx, in, info, handler) -} - -func _Bridge_SmtpPort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(emptypb.Empty) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BridgeServer).SmtpPort(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.Bridge/SmtpPort", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BridgeServer).SmtpPort(ctx, req.(*emptypb.Empty)) - } - return interceptor(ctx, in, info, handler) -} - -func _Bridge_ChangePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ChangePortsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BridgeServer).ChangePorts(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.Bridge/ChangePorts", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BridgeServer).ChangePorts(ctx, req.(*ChangePortsRequest)) - } - return interceptor(ctx, in, info, handler) -} - func _Bridge_IsPortFree_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(wrapperspb.Int32Value) if err := dec(in); err != nil { @@ -2188,37 +2028,17 @@ var Bridge_ServiceDesc = grpc.ServiceDesc{ Handler: _Bridge_IsDoHEnabled_Handler, }, { - MethodName: "SetUseSslForSmtp", - Handler: _Bridge_SetUseSslForSmtp_Handler, + MethodName: "MailServerSettings", + Handler: _Bridge_MailServerSettings_Handler, }, { - MethodName: "UseSslForSmtp", - Handler: _Bridge_UseSslForSmtp_Handler, - }, - { - MethodName: "SetUseSslForImap", - Handler: _Bridge_SetUseSslForImap_Handler, - }, - { - MethodName: "UseSslForImap", - Handler: _Bridge_UseSslForImap_Handler, + MethodName: "SetMailServerSettings", + Handler: _Bridge_SetMailServerSettings_Handler, }, { MethodName: "Hostname", Handler: _Bridge_Hostname_Handler, }, - { - MethodName: "ImapPort", - Handler: _Bridge_ImapPort_Handler, - }, - { - MethodName: "SmtpPort", - Handler: _Bridge_SmtpPort_Handler, - }, - { - MethodName: "ChangePorts", - Handler: _Bridge_ChangePorts_Handler, - }, { MethodName: "IsPortFree", Handler: _Bridge_IsPortFree_Handler, diff --git a/internal/frontend/grpc/event_factory.go b/internal/frontend/grpc/event_factory.go index 78f89f87..1676f9d0 100644 --- a/internal/frontend/grpc/event_factory.go +++ b/internal/frontend/grpc/event_factory.go @@ -109,20 +109,28 @@ func NewDiskCachePathChangeFinishedEvent() *StreamEvent { return cacheEvent(&DiskCacheEvent{Event: &DiskCacheEvent_PathChangeFinished{PathChangeFinished: &DiskCachePathChangeFinishedEvent{}}}) } -func NewMailSettingsErrorEvent(err MailSettingsErrorType) *StreamEvent { - return mailSettingsEvent(&MailSettingsEvent{Event: &MailSettingsEvent_Error{Error: &MailSettingsErrorEvent{Type: err}}}) +func NewMailServerSettingsErrorEvent(err MailServerSettingsErrorType) *StreamEvent { + return mailServerSettingsEvent(&MailServerSettingsEvent{ + Event: &MailServerSettingsEvent_Error{ + Error: &MailServerSettingsErrorEvent{Type: err}, + }, + }) } -func NewMailSettingsUseSslForSmtpFinishedEvent() *StreamEvent { //nolint:revive,stylecheck - return mailSettingsEvent(&MailSettingsEvent{Event: &MailSettingsEvent_UseSslForSmtpFinished{UseSslForSmtpFinished: &UseSslForSmtpFinishedEvent{}}}) +func NewMailServerSettingsChangedEvent(settings *ImapSmtpSettings) *StreamEvent { + return mailServerSettingsEvent(&MailServerSettingsEvent{ + Event: &MailServerSettingsEvent_MailServerSettingsChanged{ + MailServerSettingsChanged: &MailServerSettingsChangedEvent{Settings: settings}, + }, + }) } -func NewMailSettingsUseSslForImapFinishedEvent() *StreamEvent { //nolint:revive,stylecheck - return mailSettingsEvent(&MailSettingsEvent{Event: &MailSettingsEvent_UseSslForImapFinished{UseSslForImapFinished: &UseSslForImapFinishedEvent{}}}) -} - -func NewMailSettingsChangePortFinishedEvent() *StreamEvent { - return mailSettingsEvent(&MailSettingsEvent{Event: &MailSettingsEvent_ChangePortsFinished{ChangePortsFinished: &ChangePortsFinishedEvent{}}}) +func NewChangeMailServerSettingsFinishedEvent() *StreamEvent { + return mailServerSettingsEvent(&MailServerSettingsEvent{ + Event: &MailServerSettingsEvent_ChangeMailServerSettingsFinished{ + ChangeMailServerSettingsFinished: &ChangeMailServerSettingsFinishedEvent{}, + }, + }) } func NewKeychainChangeKeychainFinishedEvent() *StreamEvent { @@ -183,8 +191,8 @@ func cacheEvent(event *DiskCacheEvent) *StreamEvent { return &StreamEvent{Event: &StreamEvent_Cache{Cache: event}} } -func mailSettingsEvent(event *MailSettingsEvent) *StreamEvent { - return &StreamEvent{Event: &StreamEvent_MailSettings{MailSettings: event}} +func mailServerSettingsEvent(event *MailServerSettingsEvent) *StreamEvent { + return &StreamEvent{Event: &StreamEvent_MailServerSettings{MailServerSettings: event}} } func keychainEvent(event *KeychainEvent) *StreamEvent { diff --git a/internal/frontend/grpc/service.go b/internal/frontend/grpc/service.go index 554a59e0..c7b3dff0 100644 --- a/internal/frontend/grpc/service.go +++ b/internal/frontend/grpc/service.go @@ -218,10 +218,10 @@ func (s *Service) watchEvents() { _ = s.SendEvent(NewKeychainHasNoKeychainEvent()) case errors.Is(err, bridge.ErrServeIMAP): - _ = s.SendEvent(NewMailSettingsErrorEvent(MailSettingsErrorType_IMAP_PORT_ISSUE)) + _ = s.SendEvent(NewMailServerSettingsErrorEvent(MailServerSettingsErrorType_IMAP_PORT_STARTUP_ERROR)) case errors.Is(err, bridge.ErrServeSMTP): - _ = s.SendEvent(NewMailSettingsErrorEvent(MailSettingsErrorType_SMTP_PORT_ISSUE)) + _ = s.SendEvent(NewMailServerSettingsErrorEvent(MailServerSettingsErrorType_SMTP_PORT_STARTUP_ERROR)) } } diff --git a/internal/frontend/grpc/service_methods.go b/internal/frontend/grpc/service_methods.go index dc518192..7624d9f9 100644 --- a/internal/frontend/grpc/service_methods.go +++ b/internal/frontend/grpc/service_methods.go @@ -37,6 +37,7 @@ import ( "golang.org/x/exp/maps" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" + "google.golang.org/protobuf/runtime/protoimpl" "google.golang.org/protobuf/types/known/emptypb" "google.golang.org/protobuf/types/known/wrapperspb" ) @@ -617,46 +618,66 @@ func (s *Service) IsDoHEnabled(ctx context.Context, _ *emptypb.Empty) (*wrappers return wrapperspb.Bool(s.bridge.GetProxyAllowed()), nil } -func (s *Service) SetUseSslForSmtp(ctx context.Context, useSsl *wrapperspb.BoolValue) (*emptypb.Empty, error) { //nolint:revive,stylecheck - s.log.WithField("useSsl", useSsl.Value).Debug("SetUseSslForSmtp") +func (s *Service) MailServerSettings(_ context.Context, _ *emptypb.Empty) (*ImapSmtpSettings, error) { + s.log.Debug("ConnectionMode") - if s.bridge.GetSMTPSSL() == useSsl.Value { - return &emptypb.Empty{}, nil - } - - if err := s.bridge.SetSMTPSSL(useSsl.Value); err != nil { - s.log.WithError(err).Error("Failed to set SMTP SSL") - return nil, status.Errorf(codes.Internal, "failed to set SMTP SSL: %v", err) - } - - return &emptypb.Empty{}, s.SendEvent(NewMailSettingsUseSslForSmtpFinishedEvent()) + return &ImapSmtpSettings{ + state: protoimpl.MessageState{}, + sizeCache: 0, + unknownFields: nil, + ImapPort: int32(s.bridge.GetIMAPPort()), + SmtpPort: int32(s.bridge.GetSMTPPort()), + UseSSLForImap: s.bridge.GetIMAPSSL(), + UseSSLForSmtp: s.bridge.GetSMTPSSL(), + }, nil } -func (s *Service) UseSslForSmtp(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.BoolValue, error) { //nolint:revive,stylecheck - s.log.Debug("UseSslForSmtp") +func (s *Service) SetMailServerSettings(_ context.Context, settings *ImapSmtpSettings) (*emptypb.Empty, error) { + s.log. + WithField("ImapPort", settings.ImapPort). + WithField("SmtpPort", settings.SmtpPort). + WithField("UseSSUseSSLForIMAP", settings.UseSSLForImap). + WithField("UseSSLForSMTP", settings.UseSSLForSmtp). + Debug("SetConnectionMode") - return wrapperspb.Bool(s.bridge.GetSMTPSSL()), nil -} + defer func() { _ = s.SendEvent(NewChangeMailServerSettingsFinishedEvent()) }() -func (s *Service) SetUseSslForImap(ctx context.Context, useSsl *wrapperspb.BoolValue) (*emptypb.Empty, error) { //nolint:revive,stylecheck - s.log.WithField("useSsl", useSsl.Value).Debug("SetUseSslForImap") - - if s.bridge.GetIMAPSSL() == useSsl.Value { - return &emptypb.Empty{}, nil + if s.bridge.GetIMAPSSL() != settings.UseSSLForImap { + if err := s.bridge.SetIMAPSSL(settings.UseSSLForImap); err != nil { + s.log.WithError(err).Error("Failed to set IMAP SSL") + _ = s.SendEvent(NewMailServerSettingsErrorEvent(MailServerSettingsErrorType_IMAP_CONNECTION_MODE_CHANGE_ERROR)) + } } - if err := s.bridge.SetIMAPSSL(useSsl.Value); err != nil { - s.log.WithError(err).Error("Failed to set IMAP SSL") - return nil, status.Errorf(codes.Internal, "failed to set IMAP SSL: %v", err) + if s.bridge.GetSMTPSSL() != settings.UseSSLForSmtp { + if err := s.bridge.SetSMTPSSL(settings.UseSSLForSmtp); err != nil { + s.log.WithError(err).Error("Failed to set SMTP SSL") + _ = s.SendEvent(NewMailServerSettingsErrorEvent(MailServerSettingsErrorType_SMTP_CONNECTION_MODE_CHANGE_ERROR)) + } } - return &emptypb.Empty{}, s.SendEvent(NewMailSettingsUseSslForImapFinishedEvent()) -} + if s.bridge.GetIMAPPort() != int(settings.ImapPort) { + if err := s.bridge.SetIMAPPort(int(settings.ImapPort)); err != nil { + s.log.WithError(err).Error("Failed to set IMAP port") + _ = s.SendEvent(NewMailServerSettingsErrorEvent(MailServerSettingsErrorType_IMAP_PORT_CHANGE_ERROR)) + } + } -func (s *Service) UseSslForImap(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.BoolValue, error) { //nolint:revive,stylecheck - s.log.Debug("UseSslForImap") + if s.bridge.GetSMTPPort() != int(settings.SmtpPort) { + if err := s.bridge.SetSMTPPort(int(settings.SmtpPort)); err != nil { + s.log.WithError(err).Error("Failed to set SMTP port") + _ = s.SendEvent(NewMailServerSettingsErrorEvent(MailServerSettingsErrorType_SMTP_PORT_CHANGE_ERROR)) + } + } - return wrapperspb.Bool(s.bridge.GetIMAPSSL()), nil + _ = s.SendEvent(NewMailServerSettingsChangedEvent(&ImapSmtpSettings{ + ImapPort: int32(s.bridge.GetIMAPPort()), + SmtpPort: int32(s.bridge.GetSMTPPort()), + UseSSLForImap: s.bridge.GetIMAPSSL(), + UseSSLForSmtp: s.bridge.GetSMTPSSL(), + })) + + return &emptypb.Empty{}, nil } func (s *Service) Hostname(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error) { @@ -665,34 +686,6 @@ func (s *Service) Hostname(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.S return wrapperspb.String(constants.Host), nil } -func (s *Service) ImapPort(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.Int32Value, error) { - s.log.Debug("ImapPort") - - return wrapperspb.Int32(int32(s.bridge.GetIMAPPort())), nil -} - -func (s *Service) SmtpPort(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.Int32Value, error) { //nolint:revive,stylecheck - s.log.Debug("SmtpPort") - - return wrapperspb.Int32(int32(s.bridge.GetSMTPPort())), nil -} - -func (s *Service) ChangePorts(ctx context.Context, ports *ChangePortsRequest) (*emptypb.Empty, error) { - s.log.WithField("imapPort", ports.ImapPort).WithField("smtpPort", ports.SmtpPort).Debug("ChangePorts") - - if err := s.bridge.SetIMAPPort(int(ports.ImapPort)); err != nil { - s.log.WithError(err).Error("Failed to set IMAP port") - return nil, status.Errorf(codes.Internal, "failed to set IMAP port: %v", err) - } - - if err := s.bridge.SetSMTPPort(int(ports.SmtpPort)); err != nil { - s.log.WithError(err).Error("Failed to set SMTP port") - return nil, status.Errorf(codes.Internal, "failed to set SMTP port: %v", err) - } - - return &emptypb.Empty{}, s.SendEvent(NewMailSettingsChangePortFinishedEvent()) -} - func (s *Service) IsPortFree(ctx context.Context, port *wrapperspb.Int32Value) (*wrapperspb.BoolValue, error) { s.log.Debug("IsPortFree") diff --git a/internal/frontend/grpc/service_stream.go b/internal/frontend/grpc/service_stream.go index 379c303f..c5ac8a39 100644 --- a/internal/frontend/grpc/service_stream.go +++ b/internal/frontend/grpc/service_stream.go @@ -145,9 +145,19 @@ func (s *Service) StartEventTest() error { //nolint:funlen NewDiskCachePathChangeFinishedEvent(), // mail settings - NewMailSettingsErrorEvent(MailSettingsErrorType_IMAP_PORT_ISSUE), - NewMailSettingsUseSslForSmtpFinishedEvent(), - NewMailSettingsChangePortFinishedEvent(), + NewMailServerSettingsErrorEvent(MailServerSettingsErrorType_IMAP_PORT_STARTUP_ERROR), + NewMailServerSettingsErrorEvent(MailServerSettingsErrorType_SMTP_PORT_STARTUP_ERROR), + NewMailServerSettingsErrorEvent(MailServerSettingsErrorType_IMAP_PORT_CHANGE_ERROR), + NewMailServerSettingsErrorEvent(MailServerSettingsErrorType_SMTP_PORT_CHANGE_ERROR), + NewMailServerSettingsErrorEvent(MailServerSettingsErrorType_IMAP_CONNECTION_MODE_CHANGE_ERROR), + NewMailServerSettingsErrorEvent(MailServerSettingsErrorType_SMTP_CONNECTION_MODE_CHANGE_ERROR), + NewMailServerSettingsChangedEvent(&ImapSmtpSettings{ + ImapPort: 1143, + SmtpPort: 1025, + UseSSLForImap: false, + UseSSLForSmtp: false, + }), + NewChangeMailServerSettingsFinishedEvent(), // keychain NewKeychainChangeKeychainFinishedEvent(),