forked from Silverfish/proton-bridge
GODT-1901: Allow to set IMAP SSL from UI
This commit is contained in:
committed by
James Houlahan
parent
209c315a76
commit
e10cd2a3ed
@ -349,6 +349,14 @@ bool SettingsTab::useSSLForSMTP() const
|
||||
return ui_.checkUseSSLForSMTP->isChecked();
|
||||
}
|
||||
|
||||
//****************************************************************************************************************************************************
|
||||
/// \return The state of the 'Use SSL for SMTP' check box.
|
||||
//****************************************************************************************************************************************************
|
||||
bool SettingsTab::useSSLForIMAP() const
|
||||
{
|
||||
return ui_.checkUseSSLForIMAP->isChecked();
|
||||
}
|
||||
|
||||
|
||||
//****************************************************************************************************************************************************
|
||||
/// \param[in] use The state of the 'Use SSL for SMTP' check box.
|
||||
@ -358,6 +366,14 @@ void SettingsTab::setUseSSLForSMTP(bool use)
|
||||
ui_.checkUseSSLForSMTP->setChecked(use);
|
||||
}
|
||||
|
||||
//****************************************************************************************************************************************************
|
||||
/// \param[in] use The state of the 'Use SSL for SMTP' check box.
|
||||
//****************************************************************************************************************************************************
|
||||
void SettingsTab::setUseSSLForIMAP(bool use)
|
||||
{
|
||||
ui_.checkUseSSLForIMAP->setChecked(use);
|
||||
}
|
||||
|
||||
|
||||
//****************************************************************************************************************************************************
|
||||
/// \return The state of the the 'DoH enabled' check box.
|
||||
|
||||
@ -59,6 +59,7 @@ public: // member functions.
|
||||
qint32 imapPort(); ///< Get the value of the IMAP port spin.
|
||||
qint32 smtpPort(); ///< Get the value of the SMTP port spin.
|
||||
bool useSSLForSMTP() const; ///< Get the value for the 'Use SSL for SMTP' check box.
|
||||
bool useSSLForIMAP() const; ///< Get the value for the 'Use SSL for IMAP' check box.
|
||||
bool isDoHEnabled() const; ///< Get the value for the 'DoH Enabled' check box.
|
||||
bool isPortFree() const; ///< Get the value for the "Is Port Free" check box.
|
||||
bool isCacheOnDiskEnabled() const; ///< get the value for the 'Cache On Disk Enabled' check box.
|
||||
@ -79,6 +80,7 @@ public: // slots
|
||||
bool includeLogs); ///< Set the content of the bug report box.
|
||||
void changePorts(qint32 imapPort, qint32 smtpPort); ///< Change the IMAP and SMTP ports.
|
||||
void setUseSSLForSMTP(bool use); ///< Set the value for the 'Use SSL for SMTP' check box.
|
||||
void setUseSSLForIMAP(bool use); ///< Set the value for the 'Use SSL for IMAP' check box.
|
||||
void setIsDoHEnabled(bool enabled); ///< Set the value for the 'DoH Enabled' check box.
|
||||
void changeLocalCache(bool enabled, QString const &path); ///< Set the value for the 'Cache On Disk Enabled' check box.
|
||||
void setIsAutomaticUpdateOn(bool on); ///< Set the value for the 'Automatic Update' check box.
|
||||
|
||||
@ -259,6 +259,13 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="checkUseSSLForIMAP">
|
||||
<property name="text">
|
||||
<string>Use SSL For IMAP</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
|
||||
@ -306,6 +306,16 @@ void QMLBackend::toggleUseSSLforSMTP(bool makeItActive)
|
||||
app().grpc().setUseSSLForSMTP(makeItActive);
|
||||
}
|
||||
|
||||
//****************************************************************************************************************************************************
|
||||
/// \param[in] makeItActive Should SSL for IMAP be enabled.
|
||||
//****************************************************************************************************************************************************
|
||||
void QMLBackend::toggleUseSSLforIMAP(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().setUseSSLForIMAP(makeItActive);
|
||||
}
|
||||
|
||||
|
||||
//****************************************************************************************************************************************************
|
||||
/// \param[in] imapPort The IMAP port.
|
||||
|
||||
@ -68,6 +68,7 @@ public: // Qt/QML properties. Note that the NOTIFY-er signal is required even fo
|
||||
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 isDoHEnabled READ isDoHEnabled NOTIFY isDoHEnabledChanged) // _ bool `property:"isDoHEnabled"`
|
||||
@ -99,6 +100,7 @@ public: // Qt/QML properties. Note that the NOTIFY-er signal is required even fo
|
||||
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 isDoHEnabled() const { bool isEnabled; app().grpc().isDoHEnabled(isEnabled); return isEnabled;}
|
||||
@ -116,6 +118,7 @@ signals: // Signal used by the Qt property system. Many of them are unused but r
|
||||
void goosChanged(QString const &value);
|
||||
void diskCachePathChanged(QUrl const &url);
|
||||
void useSSLforSMTPChanged(bool value);
|
||||
void useSSLforIMAPChanged(bool value);
|
||||
void isAutomaticUpdateOnChanged(bool value);
|
||||
void isBetaEnabledChanged(bool value);
|
||||
void isAllMailVisibleChanged(bool value);
|
||||
@ -149,6 +152,7 @@ public slots: // slot for signals received from QML -> To be forwarded to Bridge
|
||||
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"`
|
||||
|
||||
@ -100,6 +100,7 @@
|
||||
<file>qml/SetupGuide.qml</file>
|
||||
<file>qml/SignIn.qml</file>
|
||||
<file>qml/SMTPSettings.qml</file>
|
||||
<file>qml/IMAPSettings.qml</file>
|
||||
<file>qml/SplashScreen.qml</file>
|
||||
<file>qml/Status.qml</file>
|
||||
<file>qml/StatusWindow.qml</file>
|
||||
|
||||
@ -231,7 +231,7 @@ Item {
|
||||
port: Backend.portIMAP.toString()
|
||||
username: configuration.currentAddress
|
||||
password: root.user ? root.user.password : ""
|
||||
security: "STARTTLS"
|
||||
security : Backend.useSSLforIMAP ? "SSL" : "STARTTLS"
|
||||
}
|
||||
|
||||
Configuration {
|
||||
|
||||
@ -365,6 +365,14 @@ Item {
|
||||
}
|
||||
}
|
||||
|
||||
IMAPSettings { // 9
|
||||
colorScheme: root.colorScheme
|
||||
|
||||
onBack: {
|
||||
rightContent.showGeneralSettings()
|
||||
}
|
||||
}
|
||||
|
||||
function showAccount(index) {
|
||||
if (index !== undefined && index >= 0){
|
||||
accounts.currentIndex = index
|
||||
@ -380,6 +388,7 @@ Item {
|
||||
function showLocalCacheSettings () { rightContent.currentIndex = 6 }
|
||||
function showHelpView () { rightContent.currentIndex = 7 }
|
||||
function showBugReport () { rightContent.currentIndex = 8 }
|
||||
function showIMAPSettings () { rightContent.currentIndex = 9 }
|
||||
|
||||
Connections {
|
||||
target: Backend
|
||||
|
||||
@ -182,6 +182,19 @@ SettingsView {
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
SettingsItem {
|
||||
id: imap
|
||||
visible: root._isAdvancedShown
|
||||
colorScheme: root.colorScheme
|
||||
text: qsTr("IMAP connection mode")
|
||||
actionText: qsTr("Change")
|
||||
description: qsTr("Change the protocol Bridge and your client use to connect.")
|
||||
type: SettingsItem.Button
|
||||
onClicked: root.parent.showIMAPSettings()
|
||||
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
SettingsItem {
|
||||
id: smtp
|
||||
visible: root._isAdvancedShown
|
||||
|
||||
121
internal/frontend/bridge-gui/bridge-gui/qml/IMAPSettings.qml
Normal file
121
internal/frontend/bridge-gui/bridge-gui/qml/IMAPSettings.qml
Normal file
@ -0,0 +1,121 @@
|
||||
// Copyright (c) 2022 Proton AG
|
||||
//
|
||||
// This file is part of Proton Mail Bridge.
|
||||
//
|
||||
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Controls.impl
|
||||
|
||||
import Proton
|
||||
|
||||
SettingsView {
|
||||
id: root
|
||||
|
||||
fillHeight: false
|
||||
|
||||
Label {
|
||||
colorScheme: root.colorScheme
|
||||
text: qsTr("IMAP connection mode")
|
||||
type: Label.Heading
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
Label {
|
||||
colorScheme: root.colorScheme
|
||||
text: qsTr("Changes require reconfiguration of email client. Bridge will automatically restart.")
|
||||
type: Label.Body
|
||||
color: root.colorScheme.text_weak
|
||||
Layout.fillWidth: true
|
||||
wrapMode: Text.WordWrap
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
spacing: 16
|
||||
|
||||
ButtonGroup{ id: protocolSelection }
|
||||
|
||||
Label {
|
||||
colorScheme: root.colorScheme
|
||||
text: qsTr("IMAP connection security")
|
||||
}
|
||||
|
||||
RadioButton {
|
||||
id: sslButton
|
||||
colorScheme: root.colorScheme
|
||||
ButtonGroup.group: protocolSelection
|
||||
text: qsTr("SSL")
|
||||
}
|
||||
|
||||
RadioButton {
|
||||
id: starttlsButton
|
||||
colorScheme: root.colorScheme
|
||||
ButtonGroup.group: protocolSelection
|
||||
text: qsTr("STARTTLS")
|
||||
}
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
Layout.fillWidth: true
|
||||
height: 1
|
||||
color: root.colorScheme.border_weak
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
spacing: 12
|
||||
|
||||
Button {
|
||||
id: submitButton
|
||||
colorScheme: root.colorScheme
|
||||
text: qsTr("Save and restart")
|
||||
onClicked: {
|
||||
submitButton.loading = true
|
||||
root.submit()
|
||||
}
|
||||
|
||||
enabled: sslButton.checked !== Backend.useSSLforIMAP
|
||||
}
|
||||
|
||||
Button {
|
||||
colorScheme: root.colorScheme
|
||||
text: qsTr("Cancel")
|
||||
onClicked: root.back()
|
||||
secondary: true
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: Backend
|
||||
|
||||
function onToggleUseSSLFinished() {
|
||||
submitButton.loading = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function submit(){
|
||||
submitButton.loading = true
|
||||
Backend.toggleUseSSLforIMAP(sslButton.checked)
|
||||
}
|
||||
|
||||
function setDefaultValues(){
|
||||
sslButton.checked = Backend.useSSLforIMAP
|
||||
starttlsButton.checked = !Backend.useSSLforIMAP
|
||||
}
|
||||
|
||||
onVisibleChanged: {
|
||||
root.setDefaultValues()
|
||||
}
|
||||
}
|
||||
@ -411,6 +411,26 @@ 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.
|
||||
//****************************************************************************************************************************************************
|
||||
@ -1344,6 +1364,10 @@ void GRPCClient::processMailSettingsEvent(MailSettingsEvent const &event)
|
||||
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();
|
||||
|
||||
@ -124,6 +124,8 @@ public:
|
||||
grpc::Status changePorts(int portIMAP, int portSMTP); ///< Performs the 'changePorts' 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();
|
||||
|
||||
@ -64,6 +64,8 @@ static const char* Bridge_method_names[] = {
|
||||
"/grpc.Bridge/IsDoHEnabled",
|
||||
"/grpc.Bridge/SetUseSslForSmtp",
|
||||
"/grpc.Bridge/UseSslForSmtp",
|
||||
"/grpc.Bridge/SetUseSslForImap",
|
||||
"/grpc.Bridge/UseSslForImap",
|
||||
"/grpc.Bridge/Hostname",
|
||||
"/grpc.Bridge/ImapPort",
|
||||
"/grpc.Bridge/SmtpPort",
|
||||
@ -131,22 +133,24 @@ Bridge::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, co
|
||||
, rpcmethod_IsDoHEnabled_(Bridge_method_names[39], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||
, rpcmethod_SetUseSslForSmtp_(Bridge_method_names[40], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||
, rpcmethod_UseSslForSmtp_(Bridge_method_names[41], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||
, rpcmethod_Hostname_(Bridge_method_names[42], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||
, rpcmethod_ImapPort_(Bridge_method_names[43], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||
, rpcmethod_SmtpPort_(Bridge_method_names[44], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||
, rpcmethod_ChangePorts_(Bridge_method_names[45], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||
, rpcmethod_IsPortFree_(Bridge_method_names[46], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||
, rpcmethod_AvailableKeychains_(Bridge_method_names[47], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||
, rpcmethod_SetCurrentKeychain_(Bridge_method_names[48], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||
, rpcmethod_CurrentKeychain_(Bridge_method_names[49], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||
, rpcmethod_GetUserList_(Bridge_method_names[50], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||
, rpcmethod_GetUser_(Bridge_method_names[51], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||
, rpcmethod_SetUserSplitMode_(Bridge_method_names[52], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||
, rpcmethod_LogoutUser_(Bridge_method_names[53], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||
, rpcmethod_RemoveUser_(Bridge_method_names[54], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||
, rpcmethod_ConfigureUserAppleMail_(Bridge_method_names[55], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||
, rpcmethod_RunEventStream_(Bridge_method_names[56], options.suffix_for_stats(),::grpc::internal::RpcMethod::SERVER_STREAMING, channel)
|
||||
, rpcmethod_StopEventStream_(Bridge_method_names[57], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||
, 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)
|
||||
{}
|
||||
|
||||
::grpc::Status Bridge::Stub::CheckTokens(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::google::protobuf::StringValue* response) {
|
||||
@ -1115,6 +1119,52 @@ void Bridge::Stub::async::UseSslForSmtp(::grpc::ClientContext* context, const ::
|
||||
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<void(::grpc::Status)> 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<void(::grpc::Status)> 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);
|
||||
result->StartCall();
|
||||
return result;
|
||||
}
|
||||
|
||||
::grpc::Status Bridge::Stub::Hostname(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::google::protobuf::StringValue* response) {
|
||||
return ::grpc::internal::BlockingUnaryCall< ::google::protobuf::Empty, ::google::protobuf::StringValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_Hostname_, context, request, response);
|
||||
}
|
||||
@ -1900,6 +1950,26 @@ Bridge::Service::Service() {
|
||||
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,
|
||||
@ -1908,7 +1978,7 @@ Bridge::Service::Service() {
|
||||
return service->Hostname(ctx, req, resp);
|
||||
}, this)));
|
||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||
Bridge_method_names[43],
|
||||
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,
|
||||
@ -1918,7 +1988,7 @@ Bridge::Service::Service() {
|
||||
return service->ImapPort(ctx, req, resp);
|
||||
}, this)));
|
||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||
Bridge_method_names[44],
|
||||
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,
|
||||
@ -1928,7 +1998,7 @@ Bridge::Service::Service() {
|
||||
return service->SmtpPort(ctx, req, resp);
|
||||
}, this)));
|
||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||
Bridge_method_names[45],
|
||||
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,
|
||||
@ -1938,7 +2008,7 @@ Bridge::Service::Service() {
|
||||
return service->ChangePorts(ctx, req, resp);
|
||||
}, this)));
|
||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||
Bridge_method_names[46],
|
||||
Bridge_method_names[48],
|
||||
::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,
|
||||
@ -1948,7 +2018,7 @@ Bridge::Service::Service() {
|
||||
return service->IsPortFree(ctx, req, resp);
|
||||
}, this)));
|
||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||
Bridge_method_names[47],
|
||||
Bridge_method_names[49],
|
||||
::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,
|
||||
@ -1958,7 +2028,7 @@ Bridge::Service::Service() {
|
||||
return service->AvailableKeychains(ctx, req, resp);
|
||||
}, this)));
|
||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||
Bridge_method_names[48],
|
||||
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,
|
||||
@ -1968,7 +2038,7 @@ Bridge::Service::Service() {
|
||||
return service->SetCurrentKeychain(ctx, req, resp);
|
||||
}, this)));
|
||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||
Bridge_method_names[49],
|
||||
Bridge_method_names[51],
|
||||
::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,
|
||||
@ -1978,7 +2048,7 @@ Bridge::Service::Service() {
|
||||
return service->CurrentKeychain(ctx, req, resp);
|
||||
}, this)));
|
||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||
Bridge_method_names[50],
|
||||
Bridge_method_names[52],
|
||||
::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,
|
||||
@ -1988,7 +2058,7 @@ Bridge::Service::Service() {
|
||||
return service->GetUserList(ctx, req, resp);
|
||||
}, this)));
|
||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||
Bridge_method_names[51],
|
||||
Bridge_method_names[53],
|
||||
::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,
|
||||
@ -1998,7 +2068,7 @@ Bridge::Service::Service() {
|
||||
return service->GetUser(ctx, req, resp);
|
||||
}, this)));
|
||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||
Bridge_method_names[52],
|
||||
Bridge_method_names[54],
|
||||
::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,
|
||||
@ -2008,7 +2078,7 @@ Bridge::Service::Service() {
|
||||
return service->SetUserSplitMode(ctx, req, resp);
|
||||
}, this)));
|
||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||
Bridge_method_names[53],
|
||||
Bridge_method_names[55],
|
||||
::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,
|
||||
@ -2018,7 +2088,7 @@ Bridge::Service::Service() {
|
||||
return service->LogoutUser(ctx, req, resp);
|
||||
}, this)));
|
||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||
Bridge_method_names[54],
|
||||
Bridge_method_names[56],
|
||||
::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,
|
||||
@ -2028,7 +2098,7 @@ Bridge::Service::Service() {
|
||||
return service->RemoveUser(ctx, req, resp);
|
||||
}, this)));
|
||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||
Bridge_method_names[55],
|
||||
Bridge_method_names[57],
|
||||
::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,
|
||||
@ -2038,7 +2108,7 @@ Bridge::Service::Service() {
|
||||
return service->ConfigureUserAppleMail(ctx, req, resp);
|
||||
}, this)));
|
||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||
Bridge_method_names[56],
|
||||
Bridge_method_names[58],
|
||||
::grpc::internal::RpcMethod::SERVER_STREAMING,
|
||||
new ::grpc::internal::ServerStreamingHandler< Bridge::Service, ::grpc::EventStreamRequest, ::grpc::StreamEvent>(
|
||||
[](Bridge::Service* service,
|
||||
@ -2048,7 +2118,7 @@ Bridge::Service::Service() {
|
||||
return service->RunEventStream(ctx, req, writer);
|
||||
}, this)));
|
||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||
Bridge_method_names[57],
|
||||
Bridge_method_names[59],
|
||||
::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,
|
||||
@ -2356,6 +2426,20 @@ Bridge::Service::~Service() {
|
||||
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) {
|
||||
(void) context;
|
||||
(void) request;
|
||||
(void) response;
|
||||
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
||||
}
|
||||
|
||||
::grpc::Status Bridge::Service::Hostname(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::StringValue* response) {
|
||||
(void) context;
|
||||
(void) request;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -579,6 +579,17 @@ struct UseSslForSmtpFinishedEventDefaultTypeInternal {
|
||||
};
|
||||
};
|
||||
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 {
|
||||
@ -755,7 +766,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[57];
|
||||
static ::_pb::Metadata file_level_metadata_bridge_2eproto[58];
|
||||
static const ::_pb::EnumDescriptor* file_level_enum_descriptors_bridge_2eproto[5];
|
||||
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_bridge_2eproto = nullptr;
|
||||
|
||||
@ -1089,6 +1100,7 @@ const uint32_t TableStruct_bridge_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(p
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
PROTOBUF_FIELD_OFFSET(::grpc::MailSettingsEvent, _impl_.event_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::grpc::MailSettingsErrorEvent, _internal_metadata_),
|
||||
@ -1104,6 +1116,12 @@ 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::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_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
@ -1249,22 +1267,23 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode
|
||||
{ 306, -1, -1, sizeof(::grpc::ChangeLocalCacheFinishedEvent)},
|
||||
{ 313, -1, -1, sizeof(::grpc::DiskCachePathChanged)},
|
||||
{ 320, -1, -1, sizeof(::grpc::MailSettingsEvent)},
|
||||
{ 330, -1, -1, sizeof(::grpc::MailSettingsErrorEvent)},
|
||||
{ 337, -1, -1, sizeof(::grpc::UseSslForSmtpFinishedEvent)},
|
||||
{ 343, -1, -1, sizeof(::grpc::ChangePortsFinishedEvent)},
|
||||
{ 349, -1, -1, sizeof(::grpc::KeychainEvent)},
|
||||
{ 359, -1, -1, sizeof(::grpc::ChangeKeychainFinishedEvent)},
|
||||
{ 365, -1, -1, sizeof(::grpc::HasNoKeychainEvent)},
|
||||
{ 371, -1, -1, sizeof(::grpc::RebuildKeychainEvent)},
|
||||
{ 377, -1, -1, sizeof(::grpc::MailEvent)},
|
||||
{ 388, -1, -1, sizeof(::grpc::NoActiveKeyForRecipientEvent)},
|
||||
{ 395, -1, -1, sizeof(::grpc::AddressChangedEvent)},
|
||||
{ 402, -1, -1, sizeof(::grpc::AddressChangedLogoutEvent)},
|
||||
{ 409, -1, -1, sizeof(::grpc::ApiCertIssueEvent)},
|
||||
{ 415, -1, -1, sizeof(::grpc::UserEvent)},
|
||||
{ 425, -1, -1, sizeof(::grpc::ToggleSplitModeFinishedEvent)},
|
||||
{ 432, -1, -1, sizeof(::grpc::UserDisconnectedEvent)},
|
||||
{ 439, -1, -1, sizeof(::grpc::UserChangedEvent)},
|
||||
{ 331, -1, -1, sizeof(::grpc::MailSettingsErrorEvent)},
|
||||
{ 338, -1, -1, sizeof(::grpc::UseSslForSmtpFinishedEvent)},
|
||||
{ 344, -1, -1, sizeof(::grpc::UseSslForImapFinishedEvent)},
|
||||
{ 350, -1, -1, sizeof(::grpc::ChangePortsFinishedEvent)},
|
||||
{ 356, -1, -1, sizeof(::grpc::KeychainEvent)},
|
||||
{ 366, -1, -1, sizeof(::grpc::ChangeKeychainFinishedEvent)},
|
||||
{ 372, -1, -1, sizeof(::grpc::HasNoKeychainEvent)},
|
||||
{ 378, -1, -1, sizeof(::grpc::RebuildKeychainEvent)},
|
||||
{ 384, -1, -1, sizeof(::grpc::MailEvent)},
|
||||
{ 395, -1, -1, sizeof(::grpc::NoActiveKeyForRecipientEvent)},
|
||||
{ 402, -1, -1, sizeof(::grpc::AddressChangedEvent)},
|
||||
{ 409, -1, -1, sizeof(::grpc::AddressChangedLogoutEvent)},
|
||||
{ 416, -1, -1, sizeof(::grpc::ApiCertIssueEvent)},
|
||||
{ 422, -1, -1, sizeof(::grpc::UserEvent)},
|
||||
{ 432, -1, -1, sizeof(::grpc::ToggleSplitModeFinishedEvent)},
|
||||
{ 439, -1, -1, sizeof(::grpc::UserDisconnectedEvent)},
|
||||
{ 446, -1, -1, sizeof(::grpc::UserChangedEvent)},
|
||||
};
|
||||
|
||||
static const ::_pb::Message* const file_default_instances[] = {
|
||||
@ -1311,6 +1330,7 @@ static const ::_pb::Message* const file_default_instances[] = {
|
||||
&::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::_KeychainEvent_default_instance_._instance,
|
||||
&::grpc::_ChangeKeychainFinishedEvent_default_instance_._instance,
|
||||
@ -1416,156 +1436,162 @@ const char descriptor_table_protodef_bridge_2eproto[] PROTOBUF_SECTION_VARIABLE(
|
||||
"grpc.CacheErrorType\"!\n\037CacheLocationChan"
|
||||
"geSuccessEvent\"4\n\035ChangeLocalCacheFinish"
|
||||
"edEvent\022\023\n\013willRestart\030\001 \001(\010\"$\n\024DiskCach"
|
||||
"ePathChanged\022\014\n\004path\030\001 \001(\t\"\315\001\n\021MailSetti"
|
||||
"ePathChanged\022\014\n\004path\030\001 \001(\t\"\220\002\n\021MailSetti"
|
||||
"ngsEvent\022-\n\005error\030\001 \001(\0132\034.grpc.MailSetti"
|
||||
"ngsErrorEventH\000\022A\n\025useSslForSmtpFinished"
|
||||
"\030\002 \001(\0132 .grpc.UseSslForSmtpFinishedEvent"
|
||||
"H\000\022=\n\023changePortsFinished\030\003 \001(\0132\036.grpc.C"
|
||||
"hangePortsFinishedEventH\000B\007\n\005event\"C\n\026Ma"
|
||||
"ilSettingsErrorEvent\022)\n\004type\030\001 \001(\0162\033.grp"
|
||||
"c.MailSettingsErrorType\"\034\n\032UseSslForSmtp"
|
||||
"FinishedEvent\"\032\n\030ChangePortsFinishedEven"
|
||||
"t\"\307\001\n\rKeychainEvent\022C\n\026changeKeychainFin"
|
||||
"ished\030\001 \001(\0132!.grpc.ChangeKeychainFinishe"
|
||||
"dEventH\000\0221\n\rhasNoKeychain\030\002 \001(\0132\030.grpc.H"
|
||||
"asNoKeychainEventH\000\0225\n\017rebuildKeychain\030\003"
|
||||
" \001(\0132\032.grpc.RebuildKeychainEventH\000B\007\n\005ev"
|
||||
"ent\"\035\n\033ChangeKeychainFinishedEvent\"\024\n\022Ha"
|
||||
"sNoKeychainEvent\"\026\n\024RebuildKeychainEvent"
|
||||
"\"\207\002\n\tMailEvent\022J\n\034noActiveKeyForRecipien"
|
||||
"tEvent\030\001 \001(\0132\".grpc.NoActiveKeyForRecipi"
|
||||
"entEventH\000\0223\n\016addressChanged\030\002 \001(\0132\031.grp"
|
||||
"c.AddressChangedEventH\000\022\?\n\024addressChange"
|
||||
"dLogout\030\003 \001(\0132\037.grpc.AddressChangedLogou"
|
||||
"tEventH\000\022/\n\014apiCertIssue\030\006 \001(\0132\027.grpc.Ap"
|
||||
"iCertIssueEventH\000B\007\n\005event\"-\n\034NoActiveKe"
|
||||
"yForRecipientEvent\022\r\n\005email\030\001 \001(\t\"&\n\023Add"
|
||||
"ressChangedEvent\022\017\n\007address\030\001 \001(\t\",\n\031Add"
|
||||
"ressChangedLogoutEvent\022\017\n\007address\030\001 \001(\t\""
|
||||
"\023\n\021ApiCertIssueEvent\"\303\001\n\tUserEvent\022E\n\027to"
|
||||
"ggleSplitModeFinished\030\001 \001(\0132\".grpc.Toggl"
|
||||
"eSplitModeFinishedEventH\000\0227\n\020userDisconn"
|
||||
"ected\030\002 \001(\0132\033.grpc.UserDisconnectedEvent"
|
||||
"H\000\022-\n\013userChanged\030\003 \001(\0132\026.grpc.UserChang"
|
||||
"edEventH\000B\007\n\005event\".\n\034ToggleSplitModeFin"
|
||||
"ishedEvent\022\016\n\006userID\030\001 \001(\t\")\n\025UserDiscon"
|
||||
"nectedEvent\022\020\n\010username\030\001 \001(\t\"\"\n\020UserCha"
|
||||
"ngedEvent\022\016\n\006userID\030\001 \001(\t*q\n\010LogLevel\022\r\n"
|
||||
"\tLOG_PANIC\020\000\022\r\n\tLOG_FATAL\020\001\022\r\n\tLOG_ERROR"
|
||||
"\020\002\022\014\n\010LOG_WARN\020\003\022\014\n\010LOG_INFO\020\004\022\r\n\tLOG_DE"
|
||||
"BUG\020\005\022\r\n\tLOG_TRACE\020\006*\242\001\n\016LoginErrorType\022"
|
||||
"\033\n\027USERNAME_PASSWORD_ERROR\020\000\022\r\n\tFREE_USE"
|
||||
"R\020\001\022\024\n\020CONNECTION_ERROR\020\002\022\r\n\tTFA_ERROR\020\003"
|
||||
"\022\r\n\tTFA_ABORT\020\004\022\027\n\023TWO_PASSWORDS_ERROR\020\005"
|
||||
"\022\027\n\023TWO_PASSWORDS_ABORT\020\006*[\n\017UpdateError"
|
||||
"Type\022\027\n\023UPDATE_MANUAL_ERROR\020\000\022\026\n\022UPDATE_"
|
||||
"FORCE_ERROR\020\001\022\027\n\023UPDATE_SILENT_ERROR\020\002*W"
|
||||
"\n\016CacheErrorType\022\033\n\027CACHE_UNAVAILABLE_ER"
|
||||
"ROR\020\000\022\031\n\025CACHE_CANT_MOVE_ERROR\020\001\022\r\n\tDISK"
|
||||
"_FULL\020\002*A\n\025MailSettingsErrorType\022\023\n\017IMAP"
|
||||
"_PORT_ISSUE\020\000\022\023\n\017SMTP_PORT_ISSUE\020\0012\233\037\n\006B"
|
||||
"ridge\022I\n\013CheckTokens\022\034.google.protobuf.S"
|
||||
"tringValue\032\034.google.protobuf.StringValue"
|
||||
"\022\?\n\013AddLogEntry\022\030.grpc.AddLogEntryReques"
|
||||
"t\032\026.google.protobuf.Empty\022:\n\010GuiReady\022\026."
|
||||
"google.protobuf.Empty\032\026.google.protobuf."
|
||||
"Empty\0226\n\004Quit\022\026.google.protobuf.Empty\032\026."
|
||||
"google.protobuf.Empty\0229\n\007Restart\022\026.googl"
|
||||
"e.protobuf.Empty\032\026.google.protobuf.Empty"
|
||||
"\022C\n\rShowOnStartup\022\026.google.protobuf.Empt"
|
||||
"y\032\032.google.protobuf.BoolValue\022F\n\020ShowSpl"
|
||||
"ashScreen\022\026.google.protobuf.Empty\032\032.goog"
|
||||
"le.protobuf.BoolValue\022E\n\017IsFirstGuiStart"
|
||||
"\022\026.google.protobuf.Empty\032\032.google.protob"
|
||||
"uf.BoolValue\022F\n\020SetIsAutostartOn\022\032.googl"
|
||||
"e.protobuf.BoolValue\032\026.google.protobuf.E"
|
||||
"mpty\022C\n\rIsAutostartOn\022\026.google.protobuf."
|
||||
"Empty\032\032.google.protobuf.BoolValue\022F\n\020Set"
|
||||
"IsBetaEnabled\022\032.google.protobuf.BoolValu"
|
||||
"e\032\026.google.protobuf.Empty\022C\n\rIsBetaEnabl"
|
||||
"ed\022\026.google.protobuf.Empty\032\032.google.prot"
|
||||
"obuf.BoolValue\022I\n\023SetIsAllMailVisible\022\032."
|
||||
"google.protobuf.BoolValue\032\026.google.proto"
|
||||
"buf.Empty\022F\n\020IsAllMailVisible\022\026.google.p"
|
||||
"rotobuf.Empty\032\032.google.protobuf.BoolValu"
|
||||
"e\022<\n\004GoOs\022\026.google.protobuf.Empty\032\034.goog"
|
||||
"le.protobuf.StringValue\022>\n\014TriggerReset\022"
|
||||
"\026.google.protobuf.Empty\032\026.google.protobu"
|
||||
"f.Empty\022\?\n\007Version\022\026.google.protobuf.Emp"
|
||||
"ty\032\034.google.protobuf.StringValue\022@\n\010Logs"
|
||||
"Path\022\026.google.protobuf.Empty\032\034.google.pr"
|
||||
"otobuf.StringValue\022C\n\013LicensePath\022\026.goog"
|
||||
"le.protobuf.Empty\032\034.google.protobuf.Stri"
|
||||
"ngValue\022L\n\024ReleaseNotesPageLink\022\026.google"
|
||||
".protobuf.Empty\032\034.google.protobuf.String"
|
||||
"Value\022N\n\026DependencyLicensesLink\022\026.google"
|
||||
".protobuf.Empty\032\034.google.protobuf.String"
|
||||
"Value\022G\n\017LandingPageLink\022\026.google.protob"
|
||||
"uf.Empty\032\034.google.protobuf.StringValue\022J"
|
||||
"\n\022SetColorSchemeName\022\034.google.protobuf.S"
|
||||
"tringValue\032\026.google.protobuf.Empty\022G\n\017Co"
|
||||
"lorSchemeName\022\026.google.protobuf.Empty\032\034."
|
||||
"google.protobuf.StringValue\022J\n\022CurrentEm"
|
||||
"ailClient\022\026.google.protobuf.Empty\032\034.goog"
|
||||
"le.protobuf.StringValue\022;\n\tReportBug\022\026.g"
|
||||
"rpc.ReportBugRequest\032\026.google.protobuf.E"
|
||||
"mpty\022E\n\rForceLauncher\022\034.google.protobuf."
|
||||
"StringValue\032\026.google.protobuf.Empty\022I\n\021S"
|
||||
"etMainExecutable\022\034.google.protobuf.Strin"
|
||||
"gValue\032\026.google.protobuf.Empty\0223\n\005Login\022"
|
||||
"\022.grpc.LoginRequest\032\026.google.protobuf.Em"
|
||||
"pty\0226\n\010Login2FA\022\022.grpc.LoginRequest\032\026.go"
|
||||
"ogle.protobuf.Empty\022=\n\017Login2Passwords\022\022"
|
||||
".grpc.LoginRequest\032\026.google.protobuf.Emp"
|
||||
"ty\022=\n\nLoginAbort\022\027.grpc.LoginAbortReques"
|
||||
"t\032\026.google.protobuf.Empty\022=\n\013CheckUpdate"
|
||||
"\022\026.google.protobuf.Empty\032\026.google.protob"
|
||||
"uf.Empty\022\?\n\rInstallUpdate\022\026.google.proto"
|
||||
"buf.Empty\032\026.google.protobuf.Empty\022L\n\026Set"
|
||||
"IsAutomaticUpdateOn\022\032.google.protobuf.Bo"
|
||||
"olValue\032\026.google.protobuf.Empty\022I\n\023IsAut"
|
||||
"omaticUpdateOn\022\026.google.protobuf.Empty\032\032"
|
||||
".google.protobuf.BoolValue\022E\n\rDiskCacheP"
|
||||
"ath\022\026.google.protobuf.Empty\032\034.google.pro"
|
||||
"tobuf.StringValue\022I\n\020ChangeLocalCache\022\035."
|
||||
"grpc.ChangeLocalCacheRequest\032\026.google.pr"
|
||||
"otobuf.Empty\022E\n\017SetIsDoHEnabled\022\032.google"
|
||||
".protobuf.BoolValue\032\026.google.protobuf.Em"
|
||||
"pty\022B\n\014IsDoHEnabled\022\026.google.protobuf.Em"
|
||||
"pty\032\032.google.protobuf.BoolValue\022F\n\020SetUs"
|
||||
"eSslForSmtp\022\032.google.protobuf.BoolValue\032"
|
||||
"\026.google.protobuf.Empty\022C\n\rUseSslForSmtp"
|
||||
"\022\026.google.protobuf.Empty\032\032.google.protob"
|
||||
"uf.BoolValue\022@\n\010Hostname\022\026.google.protob"
|
||||
"uf.Empty\032\034.google.protobuf.StringValue\022\?"
|
||||
"\n\010ImapPort\022\026.google.protobuf.Empty\032\033.goo"
|
||||
"gle.protobuf.Int32Value\022\?\n\010SmtpPort\022\026.go"
|
||||
"ogle.protobuf.Empty\032\033.google.protobuf.In"
|
||||
"t32Value\022\?\n\013ChangePorts\022\030.grpc.ChangePor"
|
||||
"tsRequest\032\026.google.protobuf.Empty\022E\n\nIsP"
|
||||
"ortFree\022\033.google.protobuf.Int32Value\032\032.g"
|
||||
"oogle.protobuf.BoolValue\022N\n\022AvailableKey"
|
||||
"chains\022\026.google.protobuf.Empty\032 .grpc.Av"
|
||||
"ailableKeychainsResponse\022J\n\022SetCurrentKe"
|
||||
"ychain\022\034.google.protobuf.StringValue\032\026.g"
|
||||
"oogle.protobuf.Empty\022G\n\017CurrentKeychain\022"
|
||||
"\026.google.protobuf.Empty\032\034.google.protobu"
|
||||
"f.StringValue\022=\n\013GetUserList\022\026.google.pr"
|
||||
"otobuf.Empty\032\026.grpc.UserListResponse\0223\n\007"
|
||||
"GetUser\022\034.google.protobuf.StringValue\032\n."
|
||||
"grpc.User\022F\n\020SetUserSplitMode\022\032.grpc.Use"
|
||||
"rSplitModeRequest\032\026.google.protobuf.Empt"
|
||||
"y\022B\n\nLogoutUser\022\034.google.protobuf.String"
|
||||
"Value\032\026.google.protobuf.Empty\022B\n\nRemoveU"
|
||||
"ser\022\034.google.protobuf.StringValue\032\026.goog"
|
||||
"le.protobuf.Empty\022Q\n\026ConfigureUserAppleM"
|
||||
"ail\022\037.grpc.ConfigureAppleMailRequest\032\026.g"
|
||||
"oogle.protobuf.Empty\022\?\n\016RunEventStream\022\030"
|
||||
".grpc.EventStreamRequest\032\021.grpc.StreamEv"
|
||||
"ent0\001\022A\n\017StopEventStream\022\026.google.protob"
|
||||
"uf.Empty\032\026.google.protobuf.EmptyB6Z4gith"
|
||||
"ub.com/ProtonMail/proton-bridge/v2/inter"
|
||||
"nal/grpcb\006proto3"
|
||||
"hangePortsFinishedEventH\000\022A\n\025useSslForIm"
|
||||
"apFinished\030\004 \001(\0132 .grpc.UseSslForImapFin"
|
||||
"ishedEventH\000B\007\n\005event\"C\n\026MailSettingsErr"
|
||||
"orEvent\022)\n\004type\030\001 \001(\0162\033.grpc.MailSetting"
|
||||
"sErrorType\"\034\n\032UseSslForSmtpFinishedEvent"
|
||||
"\"\034\n\032UseSslForImapFinishedEvent\"\032\n\030Change"
|
||||
"PortsFinishedEvent\"\307\001\n\rKeychainEvent\022C\n\026"
|
||||
"changeKeychainFinished\030\001 \001(\0132!.grpc.Chan"
|
||||
"geKeychainFinishedEventH\000\0221\n\rhasNoKeycha"
|
||||
"in\030\002 \001(\0132\030.grpc.HasNoKeychainEventH\000\0225\n\017"
|
||||
"rebuildKeychain\030\003 \001(\0132\032.grpc.RebuildKeyc"
|
||||
"hainEventH\000B\007\n\005event\"\035\n\033ChangeKeychainFi"
|
||||
"nishedEvent\"\024\n\022HasNoKeychainEvent\"\026\n\024Reb"
|
||||
"uildKeychainEvent\"\207\002\n\tMailEvent\022J\n\034noAct"
|
||||
"iveKeyForRecipientEvent\030\001 \001(\0132\".grpc.NoA"
|
||||
"ctiveKeyForRecipientEventH\000\0223\n\016addressCh"
|
||||
"anged\030\002 \001(\0132\031.grpc.AddressChangedEventH\000"
|
||||
"\022\?\n\024addressChangedLogout\030\003 \001(\0132\037.grpc.Ad"
|
||||
"dressChangedLogoutEventH\000\022/\n\014apiCertIssu"
|
||||
"e\030\006 \001(\0132\027.grpc.ApiCertIssueEventH\000B\007\n\005ev"
|
||||
"ent\"-\n\034NoActiveKeyForRecipientEvent\022\r\n\005e"
|
||||
"mail\030\001 \001(\t\"&\n\023AddressChangedEvent\022\017\n\007add"
|
||||
"ress\030\001 \001(\t\",\n\031AddressChangedLogoutEvent\022"
|
||||
"\017\n\007address\030\001 \001(\t\"\023\n\021ApiCertIssueEvent\"\303\001"
|
||||
"\n\tUserEvent\022E\n\027toggleSplitModeFinished\030\001"
|
||||
" \001(\0132\".grpc.ToggleSplitModeFinishedEvent"
|
||||
"H\000\0227\n\020userDisconnected\030\002 \001(\0132\033.grpc.User"
|
||||
"DisconnectedEventH\000\022-\n\013userChanged\030\003 \001(\013"
|
||||
"2\026.grpc.UserChangedEventH\000B\007\n\005event\".\n\034T"
|
||||
"oggleSplitModeFinishedEvent\022\016\n\006userID\030\001 "
|
||||
"\001(\t\")\n\025UserDisconnectedEvent\022\020\n\010username"
|
||||
"\030\001 \001(\t\"\"\n\020UserChangedEvent\022\016\n\006userID\030\001 \001"
|
||||
"(\t*q\n\010LogLevel\022\r\n\tLOG_PANIC\020\000\022\r\n\tLOG_FAT"
|
||||
"AL\020\001\022\r\n\tLOG_ERROR\020\002\022\014\n\010LOG_WARN\020\003\022\014\n\010LOG"
|
||||
"_INFO\020\004\022\r\n\tLOG_DEBUG\020\005\022\r\n\tLOG_TRACE\020\006*\242\001"
|
||||
"\n\016LoginErrorType\022\033\n\027USERNAME_PASSWORD_ER"
|
||||
"ROR\020\000\022\r\n\tFREE_USER\020\001\022\024\n\020CONNECTION_ERROR"
|
||||
"\020\002\022\r\n\tTFA_ERROR\020\003\022\r\n\tTFA_ABORT\020\004\022\027\n\023TWO_"
|
||||
"PASSWORDS_ERROR\020\005\022\027\n\023TWO_PASSWORDS_ABORT"
|
||||
"\020\006*[\n\017UpdateErrorType\022\027\n\023UPDATE_MANUAL_E"
|
||||
"RROR\020\000\022\026\n\022UPDATE_FORCE_ERROR\020\001\022\027\n\023UPDATE"
|
||||
"_SILENT_ERROR\020\002*W\n\016CacheErrorType\022\033\n\027CAC"
|
||||
"HE_UNAVAILABLE_ERROR\020\000\022\031\n\025CACHE_CANT_MOV"
|
||||
"E_ERROR\020\001\022\r\n\tDISK_FULL\020\002*A\n\025MailSettings"
|
||||
"ErrorType\022\023\n\017IMAP_PORT_ISSUE\020\000\022\023\n\017SMTP_P"
|
||||
"ORT_ISSUE\020\0012\250 \n\006Bridge\022I\n\013CheckTokens\022\034."
|
||||
"google.protobuf.StringValue\032\034.google.pro"
|
||||
"tobuf.StringValue\022\?\n\013AddLogEntry\022\030.grpc."
|
||||
"AddLogEntryRequest\032\026.google.protobuf.Emp"
|
||||
"ty\022:\n\010GuiReady\022\026.google.protobuf.Empty\032\026"
|
||||
".google.protobuf.Empty\0226\n\004Quit\022\026.google."
|
||||
"protobuf.Empty\032\026.google.protobuf.Empty\0229"
|
||||
"\n\007Restart\022\026.google.protobuf.Empty\032\026.goog"
|
||||
"le.protobuf.Empty\022C\n\rShowOnStartup\022\026.goo"
|
||||
"gle.protobuf.Empty\032\032.google.protobuf.Boo"
|
||||
"lValue\022F\n\020ShowSplashScreen\022\026.google.prot"
|
||||
"obuf.Empty\032\032.google.protobuf.BoolValue\022E"
|
||||
"\n\017IsFirstGuiStart\022\026.google.protobuf.Empt"
|
||||
"y\032\032.google.protobuf.BoolValue\022F\n\020SetIsAu"
|
||||
"tostartOn\022\032.google.protobuf.BoolValue\032\026."
|
||||
"google.protobuf.Empty\022C\n\rIsAutostartOn\022\026"
|
||||
".google.protobuf.Empty\032\032.google.protobuf"
|
||||
".BoolValue\022F\n\020SetIsBetaEnabled\022\032.google."
|
||||
"protobuf.BoolValue\032\026.google.protobuf.Emp"
|
||||
"ty\022C\n\rIsBetaEnabled\022\026.google.protobuf.Em"
|
||||
"pty\032\032.google.protobuf.BoolValue\022I\n\023SetIs"
|
||||
"AllMailVisible\022\032.google.protobuf.BoolVal"
|
||||
"ue\032\026.google.protobuf.Empty\022F\n\020IsAllMailV"
|
||||
"isible\022\026.google.protobuf.Empty\032\032.google."
|
||||
"protobuf.BoolValue\022<\n\004GoOs\022\026.google.prot"
|
||||
"obuf.Empty\032\034.google.protobuf.StringValue"
|
||||
"\022>\n\014TriggerReset\022\026.google.protobuf.Empty"
|
||||
"\032\026.google.protobuf.Empty\022\?\n\007Version\022\026.go"
|
||||
"ogle.protobuf.Empty\032\034.google.protobuf.St"
|
||||
"ringValue\022@\n\010LogsPath\022\026.google.protobuf."
|
||||
"Empty\032\034.google.protobuf.StringValue\022C\n\013L"
|
||||
"icensePath\022\026.google.protobuf.Empty\032\034.goo"
|
||||
"gle.protobuf.StringValue\022L\n\024ReleaseNotes"
|
||||
"PageLink\022\026.google.protobuf.Empty\032\034.googl"
|
||||
"e.protobuf.StringValue\022N\n\026DependencyLice"
|
||||
"nsesLink\022\026.google.protobuf.Empty\032\034.googl"
|
||||
"e.protobuf.StringValue\022G\n\017LandingPageLin"
|
||||
"k\022\026.google.protobuf.Empty\032\034.google.proto"
|
||||
"buf.StringValue\022J\n\022SetColorSchemeName\022\034."
|
||||
"google.protobuf.StringValue\032\026.google.pro"
|
||||
"tobuf.Empty\022G\n\017ColorSchemeName\022\026.google."
|
||||
"protobuf.Empty\032\034.google.protobuf.StringV"
|
||||
"alue\022J\n\022CurrentEmailClient\022\026.google.prot"
|
||||
"obuf.Empty\032\034.google.protobuf.StringValue"
|
||||
"\022;\n\tReportBug\022\026.grpc.ReportBugRequest\032\026."
|
||||
"google.protobuf.Empty\022E\n\rForceLauncher\022\034"
|
||||
".google.protobuf.StringValue\032\026.google.pr"
|
||||
"otobuf.Empty\022I\n\021SetMainExecutable\022\034.goog"
|
||||
"le.protobuf.StringValue\032\026.google.protobu"
|
||||
"f.Empty\0223\n\005Login\022\022.grpc.LoginRequest\032\026.g"
|
||||
"oogle.protobuf.Empty\0226\n\010Login2FA\022\022.grpc."
|
||||
"LoginRequest\032\026.google.protobuf.Empty\022=\n\017"
|
||||
"Login2Passwords\022\022.grpc.LoginRequest\032\026.go"
|
||||
"ogle.protobuf.Empty\022=\n\nLoginAbort\022\027.grpc"
|
||||
".LoginAbortRequest\032\026.google.protobuf.Emp"
|
||||
"ty\022=\n\013CheckUpdate\022\026.google.protobuf.Empt"
|
||||
"y\032\026.google.protobuf.Empty\022\?\n\rInstallUpda"
|
||||
"te\022\026.google.protobuf.Empty\032\026.google.prot"
|
||||
"obuf.Empty\022L\n\026SetIsAutomaticUpdateOn\022\032.g"
|
||||
"oogle.protobuf.BoolValue\032\026.google.protob"
|
||||
"uf.Empty\022I\n\023IsAutomaticUpdateOn\022\026.google"
|
||||
".protobuf.Empty\032\032.google.protobuf.BoolVa"
|
||||
"lue\022E\n\rDiskCachePath\022\026.google.protobuf.E"
|
||||
"mpty\032\034.google.protobuf.StringValue\022I\n\020Ch"
|
||||
"angeLocalCache\022\035.grpc.ChangeLocalCacheRe"
|
||||
"quest\032\026.google.protobuf.Empty\022E\n\017SetIsDo"
|
||||
"HEnabled\022\032.google.protobuf.BoolValue\032\026.g"
|
||||
"oogle.protobuf.Empty\022B\n\014IsDoHEnabled\022\026.g"
|
||||
"oogle.protobuf.Empty\032\032.google.protobuf.B"
|
||||
"oolValue\022F\n\020SetUseSslForSmtp\022\032.google.pr"
|
||||
"otobuf.BoolValue\032\026.google.protobuf.Empty"
|
||||
"\022C\n\rUseSslForSmtp\022\026.google.protobuf.Empt"
|
||||
"y\032\032.google.protobuf.BoolValue\022F\n\020SetUseS"
|
||||
"slForImap\022\032.google.protobuf.BoolValue\032\026."
|
||||
"google.protobuf.Empty\022C\n\rUseSslForImap\022\026"
|
||||
".google.protobuf.Empty\032\032.google.protobuf"
|
||||
".BoolValue\022@\n\010Hostname\022\026.google.protobuf"
|
||||
".Empty\032\034.google.protobuf.StringValue\022\?\n\010"
|
||||
"ImapPort\022\026.google.protobuf.Empty\032\033.googl"
|
||||
"e.protobuf.Int32Value\022\?\n\010SmtpPort\022\026.goog"
|
||||
"le.protobuf.Empty\032\033.google.protobuf.Int3"
|
||||
"2Value\022\?\n\013ChangePorts\022\030.grpc.ChangePorts"
|
||||
"Request\032\026.google.protobuf.Empty\022E\n\nIsPor"
|
||||
"tFree\022\033.google.protobuf.Int32Value\032\032.goo"
|
||||
"gle.protobuf.BoolValue\022N\n\022AvailableKeych"
|
||||
"ains\022\026.google.protobuf.Empty\032 .grpc.Avai"
|
||||
"lableKeychainsResponse\022J\n\022SetCurrentKeyc"
|
||||
"hain\022\034.google.protobuf.StringValue\032\026.goo"
|
||||
"gle.protobuf.Empty\022G\n\017CurrentKeychain\022\026."
|
||||
"google.protobuf.Empty\032\034.google.protobuf."
|
||||
"StringValue\022=\n\013GetUserList\022\026.google.prot"
|
||||
"obuf.Empty\032\026.grpc.UserListResponse\0223\n\007Ge"
|
||||
"tUser\022\034.google.protobuf.StringValue\032\n.gr"
|
||||
"pc.User\022F\n\020SetUserSplitMode\022\032.grpc.UserS"
|
||||
"plitModeRequest\032\026.google.protobuf.Empty\022"
|
||||
"B\n\nLogoutUser\022\034.google.protobuf.StringVa"
|
||||
"lue\032\026.google.protobuf.Empty\022B\n\nRemoveUse"
|
||||
"r\022\034.google.protobuf.StringValue\032\026.google"
|
||||
".protobuf.Empty\022Q\n\026ConfigureUserAppleMai"
|
||||
"l\022\037.grpc.ConfigureAppleMailRequest\032\026.goo"
|
||||
"gle.protobuf.Empty\022\?\n\016RunEventStream\022\030.g"
|
||||
"rpc.EventStreamRequest\032\021.grpc.StreamEven"
|
||||
"t0\001\022A\n\017StopEventStream\022\026.google.protobuf"
|
||||
".Empty\032\026.google.protobuf.EmptyB6Z4github"
|
||||
".com/ProtonMail/proton-bridge/v2/interna"
|
||||
"l/grpcb\006proto3"
|
||||
;
|
||||
static const ::_pbi::DescriptorTable* const descriptor_table_bridge_2eproto_deps[2] = {
|
||||
&::descriptor_table_google_2fprotobuf_2fempty_2eproto,
|
||||
@ -1573,9 +1599,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, 9496, descriptor_table_protodef_bridge_2eproto,
|
||||
false, false, 9734, descriptor_table_protodef_bridge_2eproto,
|
||||
"bridge.proto",
|
||||
&descriptor_table_bridge_2eproto_once, descriptor_table_bridge_2eproto_deps, 2, 57,
|
||||
&descriptor_table_bridge_2eproto_once, descriptor_table_bridge_2eproto_deps, 2, 58,
|
||||
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,
|
||||
@ -10122,6 +10148,7 @@ class MailSettingsEvent::_Internal {
|
||||
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);
|
||||
};
|
||||
|
||||
const ::grpc::MailSettingsErrorEvent&
|
||||
@ -10136,6 +10163,10 @@ const ::grpc::ChangePortsFinishedEvent&
|
||||
MailSettingsEvent::_Internal::changeportsfinished(const MailSettingsEvent* msg) {
|
||||
return *msg->_impl_.event_.changeportsfinished_;
|
||||
}
|
||||
const ::grpc::UseSslForImapFinishedEvent&
|
||||
MailSettingsEvent::_Internal::usesslforimapfinished(const MailSettingsEvent* msg) {
|
||||
return *msg->_impl_.event_.usesslforimapfinished_;
|
||||
}
|
||||
void MailSettingsEvent::set_allocated_error(::grpc::MailSettingsErrorEvent* error) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||
clear_event();
|
||||
@ -10181,6 +10212,21 @@ void MailSettingsEvent::set_allocated_changeportsfinished(::grpc::ChangePortsFin
|
||||
}
|
||||
// @@protoc_insertion_point(field_set_allocated:grpc.MailSettingsEvent.changePortsFinished)
|
||||
}
|
||||
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,
|
||||
bool is_message_owned)
|
||||
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
||||
@ -10213,6 +10259,11 @@ MailSettingsEvent::MailSettingsEvent(const MailSettingsEvent& from)
|
||||
from._internal_changeportsfinished());
|
||||
break;
|
||||
}
|
||||
case kUseSslForImapFinished: {
|
||||
_this->_internal_mutable_usesslforimapfinished()->::grpc::UseSslForImapFinishedEvent::MergeFrom(
|
||||
from._internal_usesslforimapfinished());
|
||||
break;
|
||||
}
|
||||
case EVENT_NOT_SET: {
|
||||
break;
|
||||
}
|
||||
@ -10273,6 +10324,12 @@ void MailSettingsEvent::clear_event() {
|
||||
}
|
||||
break;
|
||||
}
|
||||
case kUseSslForImapFinished: {
|
||||
if (GetArenaForAllocation() == nullptr) {
|
||||
delete _impl_.event_.usesslforimapfinished_;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case EVENT_NOT_SET: {
|
||||
break;
|
||||
}
|
||||
@ -10321,6 +10378,14 @@ const char* MailSettingsEvent::_InternalParse(const char* ptr, ::_pbi::ParseCont
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// .grpc.UseSslForImapFinishedEvent useSslForImapFinished = 4;
|
||||
case 4:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
|
||||
ptr = ctx->ParseMessage(_internal_mutable_usesslforimapfinished(), ptr);
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
default:
|
||||
goto handle_unusual;
|
||||
} // switch
|
||||
@ -10371,6 +10436,13 @@ uint8_t* MailSettingsEvent::_InternalSerialize(
|
||||
_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);
|
||||
}
|
||||
|
||||
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);
|
||||
@ -10409,6 +10481,13 @@ size_t MailSettingsEvent::ByteSizeLong() const {
|
||||
*_impl_.event_.changeportsfinished_);
|
||||
break;
|
||||
}
|
||||
// .grpc.UseSslForImapFinishedEvent useSslForImapFinished = 4;
|
||||
case kUseSslForImapFinished: {
|
||||
total_size += 1 +
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||
*_impl_.event_.usesslforimapfinished_);
|
||||
break;
|
||||
}
|
||||
case EVENT_NOT_SET: {
|
||||
break;
|
||||
}
|
||||
@ -10447,6 +10526,11 @@ void MailSettingsEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, cons
|
||||
from._internal_changeportsfinished());
|
||||
break;
|
||||
}
|
||||
case kUseSslForImapFinished: {
|
||||
_this->_internal_mutable_usesslforimapfinished()->::grpc::UseSslForImapFinishedEvent::MergeFrom(
|
||||
from._internal_usesslforimapfinished());
|
||||
break;
|
||||
}
|
||||
case EVENT_NOT_SET: {
|
||||
break;
|
||||
}
|
||||
@ -10701,6 +10785,46 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UseSslForSmtpFinishedEvent::Ge
|
||||
|
||||
// ===================================================================
|
||||
|
||||
class UseSslForImapFinishedEvent::_Internal {
|
||||
public:
|
||||
};
|
||||
|
||||
UseSslForImapFinishedEvent::UseSslForImapFinishedEvent(::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)
|
||||
}
|
||||
UseSslForImapFinishedEvent::UseSslForImapFinishedEvent(const UseSslForImapFinishedEvent& from)
|
||||
: ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() {
|
||||
UseSslForImapFinishedEvent* const _this = this; (void)_this;
|
||||
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
// @@protoc_insertion_point(copy_constructor:grpc.UseSslForImapFinishedEvent)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UseSslForImapFinishedEvent::_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_; }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata UseSslForImapFinishedEvent::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once,
|
||||
file_level_metadata_bridge_2eproto[43]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
|
||||
class ChangePortsFinishedEvent::_Internal {
|
||||
public:
|
||||
};
|
||||
@ -10736,7 +10860,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ChangePortsFinishedEvent::GetC
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata ChangePortsFinishedEvent::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once,
|
||||
file_level_metadata_bridge_2eproto[43]);
|
||||
file_level_metadata_bridge_2eproto[44]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
@ -11099,7 +11223,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[44]);
|
||||
file_level_metadata_bridge_2eproto[45]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
@ -11139,7 +11263,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[45]);
|
||||
file_level_metadata_bridge_2eproto[46]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
@ -11179,7 +11303,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[46]);
|
||||
file_level_metadata_bridge_2eproto[47]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
@ -11219,7 +11343,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[47]);
|
||||
file_level_metadata_bridge_2eproto[48]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
@ -11640,7 +11764,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[48]);
|
||||
file_level_metadata_bridge_2eproto[49]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
@ -11843,7 +11967,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[49]);
|
||||
file_level_metadata_bridge_2eproto[50]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
@ -12046,7 +12170,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[50]);
|
||||
file_level_metadata_bridge_2eproto[51]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
@ -12249,7 +12373,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[51]);
|
||||
file_level_metadata_bridge_2eproto[52]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
@ -12289,7 +12413,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[52]);
|
||||
file_level_metadata_bridge_2eproto[53]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
@ -12652,7 +12776,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[53]);
|
||||
file_level_metadata_bridge_2eproto[54]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
@ -12855,7 +12979,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[54]);
|
||||
file_level_metadata_bridge_2eproto[55]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
@ -13058,7 +13182,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[55]);
|
||||
file_level_metadata_bridge_2eproto[56]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
@ -13261,7 +13385,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[56]);
|
||||
file_level_metadata_bridge_2eproto[57]);
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(namespace_scope)
|
||||
@ -13439,6 +13563,10 @@ template<> PROTOBUF_NOINLINE ::grpc::UseSslForSmtpFinishedEvent*
|
||||
Arena::CreateMaybeMessage< ::grpc::UseSslForSmtpFinishedEvent >(Arena* arena) {
|
||||
return Arena::CreateMessageInternal< ::grpc::UseSslForSmtpFinishedEvent >(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);
|
||||
|
||||
@ -199,6 +199,9 @@ 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_;
|
||||
@ -272,6 +275,7 @@ 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*);
|
||||
@ -7117,6 +7121,7 @@ class MailSettingsEvent final :
|
||||
kError = 1,
|
||||
kUseSslForSmtpFinished = 2,
|
||||
kChangePortsFinished = 3,
|
||||
kUseSslForImapFinished = 4,
|
||||
EVENT_NOT_SET = 0,
|
||||
};
|
||||
|
||||
@ -7201,6 +7206,7 @@ class MailSettingsEvent final :
|
||||
kErrorFieldNumber = 1,
|
||||
kUseSslForSmtpFinishedFieldNumber = 2,
|
||||
kChangePortsFinishedFieldNumber = 3,
|
||||
kUseSslForImapFinishedFieldNumber = 4,
|
||||
};
|
||||
// .grpc.MailSettingsErrorEvent error = 1;
|
||||
bool has_error() const;
|
||||
@ -7256,6 +7262,24 @@ class MailSettingsEvent final :
|
||||
::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 clear_event();
|
||||
EventCase event_case() const;
|
||||
// @@protoc_insertion_point(class_scope:grpc.MailSettingsEvent)
|
||||
@ -7264,6 +7288,7 @@ class MailSettingsEvent final :
|
||||
void set_has_error();
|
||||
void set_has_usesslforsmtpfinished();
|
||||
void set_has_changeportsfinished();
|
||||
void set_has_usesslforimapfinished();
|
||||
|
||||
inline bool has_event() const;
|
||||
inline void clear_has_event();
|
||||
@ -7278,6 +7303,7 @@ class MailSettingsEvent final :
|
||||
::grpc::MailSettingsErrorEvent* error_;
|
||||
::grpc::UseSslForSmtpFinishedEvent* usesslforsmtpfinished_;
|
||||
::grpc::ChangePortsFinishedEvent* changeportsfinished_;
|
||||
::grpc::UseSslForImapFinishedEvent* usesslforimapfinished_;
|
||||
} event_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
uint32_t _oneof_case_[1];
|
||||
@ -7554,6 +7580,124 @@ class UseSslForSmtpFinishedEvent final :
|
||||
};
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
class UseSslForImapFinishedEvent final :
|
||||
public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:grpc.UseSslForImapFinishedEvent) */ {
|
||||
public:
|
||||
inline UseSslForImapFinishedEvent() : UseSslForImapFinishedEvent(nullptr) {}
|
||||
explicit PROTOBUF_CONSTEXPR UseSslForImapFinishedEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
||||
|
||||
UseSslForImapFinishedEvent(const UseSslForImapFinishedEvent& from);
|
||||
UseSslForImapFinishedEvent(UseSslForImapFinishedEvent&& from) noexcept
|
||||
: UseSslForImapFinishedEvent() {
|
||||
*this = ::std::move(from);
|
||||
}
|
||||
|
||||
inline UseSslForImapFinishedEvent& operator=(const UseSslForImapFinishedEvent& from) {
|
||||
CopyFrom(from);
|
||||
return *this;
|
||||
}
|
||||
inline UseSslForImapFinishedEvent& operator=(UseSslForImapFinishedEvent&& 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 UseSslForImapFinishedEvent& default_instance() {
|
||||
return *internal_default_instance();
|
||||
}
|
||||
static inline const UseSslForImapFinishedEvent* internal_default_instance() {
|
||||
return reinterpret_cast<const UseSslForImapFinishedEvent*>(
|
||||
&_UseSslForImapFinishedEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
43;
|
||||
|
||||
friend void swap(UseSslForImapFinishedEvent& a, UseSslForImapFinishedEvent& b) {
|
||||
a.Swap(&b);
|
||||
}
|
||||
inline void Swap(UseSslForImapFinishedEvent* 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(UseSslForImapFinishedEvent* other) {
|
||||
if (other == this) return;
|
||||
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
||||
InternalSwap(other);
|
||||
}
|
||||
|
||||
// implements Message ----------------------------------------------
|
||||
|
||||
UseSslForImapFinishedEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
||||
return CreateMaybeMessage<UseSslForImapFinishedEvent>(arena);
|
||||
}
|
||||
using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
|
||||
inline void CopyFrom(const UseSslForImapFinishedEvent& from) {
|
||||
::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from);
|
||||
}
|
||||
using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
|
||||
void MergeFrom(const UseSslForImapFinishedEvent& 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.UseSslForImapFinishedEvent";
|
||||
}
|
||||
protected:
|
||||
explicit UseSslForImapFinishedEvent(::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.UseSslForImapFinishedEvent)
|
||||
private:
|
||||
class _Internal;
|
||||
|
||||
template <typename T> 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:
|
||||
@ -7601,7 +7745,7 @@ class ChangePortsFinishedEvent final :
|
||||
&_ChangePortsFinishedEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
43;
|
||||
44;
|
||||
|
||||
friend void swap(ChangePortsFinishedEvent& a, ChangePortsFinishedEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -7727,7 +7871,7 @@ class KeychainEvent final :
|
||||
&_KeychainEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
44;
|
||||
45;
|
||||
|
||||
friend void swap(KeychainEvent& a, KeychainEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -7937,7 +8081,7 @@ class ChangeKeychainFinishedEvent final :
|
||||
&_ChangeKeychainFinishedEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
45;
|
||||
46;
|
||||
|
||||
friend void swap(ChangeKeychainFinishedEvent& a, ChangeKeychainFinishedEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -8055,7 +8199,7 @@ class HasNoKeychainEvent final :
|
||||
&_HasNoKeychainEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
46;
|
||||
47;
|
||||
|
||||
friend void swap(HasNoKeychainEvent& a, HasNoKeychainEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -8173,7 +8317,7 @@ class RebuildKeychainEvent final :
|
||||
&_RebuildKeychainEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
47;
|
||||
48;
|
||||
|
||||
friend void swap(RebuildKeychainEvent& a, RebuildKeychainEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -8300,7 +8444,7 @@ class MailEvent final :
|
||||
&_MailEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
48;
|
||||
49;
|
||||
|
||||
friend void swap(MailEvent& a, MailEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -8532,7 +8676,7 @@ class NoActiveKeyForRecipientEvent final :
|
||||
&_NoActiveKeyForRecipientEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
49;
|
||||
50;
|
||||
|
||||
friend void swap(NoActiveKeyForRecipientEvent& a, NoActiveKeyForRecipientEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -8685,7 +8829,7 @@ class AddressChangedEvent final :
|
||||
&_AddressChangedEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
50;
|
||||
51;
|
||||
|
||||
friend void swap(AddressChangedEvent& a, AddressChangedEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -8838,7 +8982,7 @@ class AddressChangedLogoutEvent final :
|
||||
&_AddressChangedLogoutEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
51;
|
||||
52;
|
||||
|
||||
friend void swap(AddressChangedLogoutEvent& a, AddressChangedLogoutEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -8990,7 +9134,7 @@ class ApiCertIssueEvent final :
|
||||
&_ApiCertIssueEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
52;
|
||||
53;
|
||||
|
||||
friend void swap(ApiCertIssueEvent& a, ApiCertIssueEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -9116,7 +9260,7 @@ class UserEvent final :
|
||||
&_UserEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
53;
|
||||
54;
|
||||
|
||||
friend void swap(UserEvent& a, UserEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -9327,7 +9471,7 @@ class ToggleSplitModeFinishedEvent final :
|
||||
&_ToggleSplitModeFinishedEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
54;
|
||||
55;
|
||||
|
||||
friend void swap(ToggleSplitModeFinishedEvent& a, ToggleSplitModeFinishedEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -9480,7 +9624,7 @@ class UserDisconnectedEvent final :
|
||||
&_UserDisconnectedEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
55;
|
||||
56;
|
||||
|
||||
friend void swap(UserDisconnectedEvent& a, UserDisconnectedEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -9633,7 +9777,7 @@ class UserChangedEvent final :
|
||||
&_UserChangedEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
56;
|
||||
57;
|
||||
|
||||
friend void swap(UserChangedEvent& a, UserChangedEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -14282,6 +14426,80 @@ inline ::grpc::ChangePortsFinishedEvent* MailSettingsEvent::mutable_changeportsf
|
||||
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 {
|
||||
return event_case() != EVENT_NOT_SET;
|
||||
}
|
||||
@ -14321,6 +14539,10 @@ inline void MailSettingsErrorEvent::set_type(::grpc::MailSettingsErrorType value
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// UseSslForImapFinishedEvent
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// ChangePortsFinishedEvent
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
@ -15557,6 +15779,8 @@ inline void UserChangedEvent::set_allocated_userid(std::string* userid) {
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
|
||||
// @@protoc_insertion_point(namespace_scope)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user