|
|
|
|
@ -449,6 +449,28 @@ class Bridge final {
|
|
|
|
|
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> PrepareAsyncConfigureUserAppleMail(::grpc::ClientContext* context, const ::grpc::ConfigureAppleMailRequest& request, ::grpc::CompletionQueue* cq) {
|
|
|
|
|
return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(PrepareAsyncConfigureUserAppleMailRaw(context, request, cq));
|
|
|
|
|
}
|
|
|
|
|
// Telemetry
|
|
|
|
|
virtual ::grpc::Status ReportBugClicked(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::google::protobuf::Empty* response) = 0;
|
|
|
|
|
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> AsyncReportBugClicked(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) {
|
|
|
|
|
return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(AsyncReportBugClickedRaw(context, request, cq));
|
|
|
|
|
}
|
|
|
|
|
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> PrepareAsyncReportBugClicked(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) {
|
|
|
|
|
return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(PrepareAsyncReportBugClickedRaw(context, request, cq));
|
|
|
|
|
}
|
|
|
|
|
virtual ::grpc::Status AutoconfigClicked(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::google::protobuf::Empty* response) = 0;
|
|
|
|
|
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> AsyncAutoconfigClicked(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) {
|
|
|
|
|
return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(AsyncAutoconfigClickedRaw(context, request, cq));
|
|
|
|
|
}
|
|
|
|
|
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> PrepareAsyncAutoconfigClicked(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) {
|
|
|
|
|
return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(PrepareAsyncAutoconfigClickedRaw(context, request, cq));
|
|
|
|
|
}
|
|
|
|
|
virtual ::grpc::Status KBArticleClicked(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::google::protobuf::Empty* response) = 0;
|
|
|
|
|
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> AsyncKBArticleClicked(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) {
|
|
|
|
|
return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(AsyncKBArticleClickedRaw(context, request, cq));
|
|
|
|
|
}
|
|
|
|
|
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> PrepareAsyncKBArticleClicked(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) {
|
|
|
|
|
return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(PrepareAsyncKBArticleClickedRaw(context, request, cq));
|
|
|
|
|
}
|
|
|
|
|
// Server -> Client event stream
|
|
|
|
|
std::unique_ptr< ::grpc::ClientReaderInterface< ::grpc::StreamEvent>> RunEventStream(::grpc::ClientContext* context, const ::grpc::EventStreamRequest& request) {
|
|
|
|
|
return std::unique_ptr< ::grpc::ClientReaderInterface< ::grpc::StreamEvent>>(RunEventStreamRaw(context, request));
|
|
|
|
|
@ -588,6 +610,13 @@ class Bridge final {
|
|
|
|
|
virtual void RemoveUser(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) = 0;
|
|
|
|
|
virtual void ConfigureUserAppleMail(::grpc::ClientContext* context, const ::grpc::ConfigureAppleMailRequest* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)>) = 0;
|
|
|
|
|
virtual void ConfigureUserAppleMail(::grpc::ClientContext* context, const ::grpc::ConfigureAppleMailRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) = 0;
|
|
|
|
|
// Telemetry
|
|
|
|
|
virtual void ReportBugClicked(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)>) = 0;
|
|
|
|
|
virtual void ReportBugClicked(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) = 0;
|
|
|
|
|
virtual void AutoconfigClicked(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)>) = 0;
|
|
|
|
|
virtual void AutoconfigClicked(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) = 0;
|
|
|
|
|
virtual void KBArticleClicked(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)>) = 0;
|
|
|
|
|
virtual void KBArticleClicked(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) = 0;
|
|
|
|
|
// Server -> Client event stream
|
|
|
|
|
virtual void RunEventStream(::grpc::ClientContext* context, const ::grpc::EventStreamRequest* request, ::grpc::ClientReadReactor< ::grpc::StreamEvent>* reactor) = 0;
|
|
|
|
|
// Keep streaming until StopEventStream is called.
|
|
|
|
|
@ -708,6 +737,12 @@ class Bridge final {
|
|
|
|
|
virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* PrepareAsyncRemoveUserRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) = 0;
|
|
|
|
|
virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncConfigureUserAppleMailRaw(::grpc::ClientContext* context, const ::grpc::ConfigureAppleMailRequest& request, ::grpc::CompletionQueue* cq) = 0;
|
|
|
|
|
virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* PrepareAsyncConfigureUserAppleMailRaw(::grpc::ClientContext* context, const ::grpc::ConfigureAppleMailRequest& request, ::grpc::CompletionQueue* cq) = 0;
|
|
|
|
|
virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncReportBugClickedRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) = 0;
|
|
|
|
|
virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* PrepareAsyncReportBugClickedRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) = 0;
|
|
|
|
|
virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncAutoconfigClickedRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) = 0;
|
|
|
|
|
virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* PrepareAsyncAutoconfigClickedRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) = 0;
|
|
|
|
|
virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncKBArticleClickedRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) = 0;
|
|
|
|
|
virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* PrepareAsyncKBArticleClickedRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) = 0;
|
|
|
|
|
virtual ::grpc::ClientReaderInterface< ::grpc::StreamEvent>* RunEventStreamRaw(::grpc::ClientContext* context, const ::grpc::EventStreamRequest& request) = 0;
|
|
|
|
|
virtual ::grpc::ClientAsyncReaderInterface< ::grpc::StreamEvent>* AsyncRunEventStreamRaw(::grpc::ClientContext* context, const ::grpc::EventStreamRequest& request, ::grpc::CompletionQueue* cq, void* tag) = 0;
|
|
|
|
|
virtual ::grpc::ClientAsyncReaderInterface< ::grpc::StreamEvent>* PrepareAsyncRunEventStreamRaw(::grpc::ClientContext* context, const ::grpc::EventStreamRequest& request, ::grpc::CompletionQueue* cq) = 0;
|
|
|
|
|
@ -1102,6 +1137,27 @@ class Bridge final {
|
|
|
|
|
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> PrepareAsyncConfigureUserAppleMail(::grpc::ClientContext* context, const ::grpc::ConfigureAppleMailRequest& request, ::grpc::CompletionQueue* cq) {
|
|
|
|
|
return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(PrepareAsyncConfigureUserAppleMailRaw(context, request, cq));
|
|
|
|
|
}
|
|
|
|
|
::grpc::Status ReportBugClicked(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::google::protobuf::Empty* response) override;
|
|
|
|
|
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> AsyncReportBugClicked(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) {
|
|
|
|
|
return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(AsyncReportBugClickedRaw(context, request, cq));
|
|
|
|
|
}
|
|
|
|
|
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> PrepareAsyncReportBugClicked(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) {
|
|
|
|
|
return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(PrepareAsyncReportBugClickedRaw(context, request, cq));
|
|
|
|
|
}
|
|
|
|
|
::grpc::Status AutoconfigClicked(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::google::protobuf::Empty* response) override;
|
|
|
|
|
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> AsyncAutoconfigClicked(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) {
|
|
|
|
|
return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(AsyncAutoconfigClickedRaw(context, request, cq));
|
|
|
|
|
}
|
|
|
|
|
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> PrepareAsyncAutoconfigClicked(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) {
|
|
|
|
|
return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(PrepareAsyncAutoconfigClickedRaw(context, request, cq));
|
|
|
|
|
}
|
|
|
|
|
::grpc::Status KBArticleClicked(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::google::protobuf::Empty* response) override;
|
|
|
|
|
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> AsyncKBArticleClicked(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) {
|
|
|
|
|
return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(AsyncKBArticleClickedRaw(context, request, cq));
|
|
|
|
|
}
|
|
|
|
|
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> PrepareAsyncKBArticleClicked(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) {
|
|
|
|
|
return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(PrepareAsyncKBArticleClickedRaw(context, request, cq));
|
|
|
|
|
}
|
|
|
|
|
std::unique_ptr< ::grpc::ClientReader< ::grpc::StreamEvent>> RunEventStream(::grpc::ClientContext* context, const ::grpc::EventStreamRequest& request) {
|
|
|
|
|
return std::unique_ptr< ::grpc::ClientReader< ::grpc::StreamEvent>>(RunEventStreamRaw(context, request));
|
|
|
|
|
}
|
|
|
|
|
@ -1231,6 +1287,12 @@ class Bridge final {
|
|
|
|
|
void RemoveUser(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) override;
|
|
|
|
|
void ConfigureUserAppleMail(::grpc::ClientContext* context, const ::grpc::ConfigureAppleMailRequest* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)>) override;
|
|
|
|
|
void ConfigureUserAppleMail(::grpc::ClientContext* context, const ::grpc::ConfigureAppleMailRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) override;
|
|
|
|
|
void ReportBugClicked(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)>) override;
|
|
|
|
|
void ReportBugClicked(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) override;
|
|
|
|
|
void AutoconfigClicked(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)>) override;
|
|
|
|
|
void AutoconfigClicked(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) override;
|
|
|
|
|
void KBArticleClicked(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)>) override;
|
|
|
|
|
void KBArticleClicked(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) override;
|
|
|
|
|
void RunEventStream(::grpc::ClientContext* context, const ::grpc::EventStreamRequest* request, ::grpc::ClientReadReactor< ::grpc::StreamEvent>* reactor) override;
|
|
|
|
|
void StopEventStream(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)>) override;
|
|
|
|
|
void StopEventStream(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) override;
|
|
|
|
|
@ -1355,6 +1417,12 @@ class Bridge final {
|
|
|
|
|
::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* PrepareAsyncRemoveUserRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) override;
|
|
|
|
|
::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncConfigureUserAppleMailRaw(::grpc::ClientContext* context, const ::grpc::ConfigureAppleMailRequest& request, ::grpc::CompletionQueue* cq) override;
|
|
|
|
|
::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* PrepareAsyncConfigureUserAppleMailRaw(::grpc::ClientContext* context, const ::grpc::ConfigureAppleMailRequest& request, ::grpc::CompletionQueue* cq) override;
|
|
|
|
|
::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncReportBugClickedRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) override;
|
|
|
|
|
::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* PrepareAsyncReportBugClickedRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) override;
|
|
|
|
|
::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncAutoconfigClickedRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) override;
|
|
|
|
|
::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* PrepareAsyncAutoconfigClickedRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) override;
|
|
|
|
|
::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncKBArticleClickedRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) override;
|
|
|
|
|
::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* PrepareAsyncKBArticleClickedRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) override;
|
|
|
|
|
::grpc::ClientReader< ::grpc::StreamEvent>* RunEventStreamRaw(::grpc::ClientContext* context, const ::grpc::EventStreamRequest& request) override;
|
|
|
|
|
::grpc::ClientAsyncReader< ::grpc::StreamEvent>* AsyncRunEventStreamRaw(::grpc::ClientContext* context, const ::grpc::EventStreamRequest& request, ::grpc::CompletionQueue* cq, void* tag) override;
|
|
|
|
|
::grpc::ClientAsyncReader< ::grpc::StreamEvent>* PrepareAsyncRunEventStreamRaw(::grpc::ClientContext* context, const ::grpc::EventStreamRequest& request, ::grpc::CompletionQueue* cq) override;
|
|
|
|
|
@ -1415,6 +1483,9 @@ class Bridge final {
|
|
|
|
|
const ::grpc::internal::RpcMethod rpcmethod_LogoutUser_;
|
|
|
|
|
const ::grpc::internal::RpcMethod rpcmethod_RemoveUser_;
|
|
|
|
|
const ::grpc::internal::RpcMethod rpcmethod_ConfigureUserAppleMail_;
|
|
|
|
|
const ::grpc::internal::RpcMethod rpcmethod_ReportBugClicked_;
|
|
|
|
|
const ::grpc::internal::RpcMethod rpcmethod_AutoconfigClicked_;
|
|
|
|
|
const ::grpc::internal::RpcMethod rpcmethod_KBArticleClicked_;
|
|
|
|
|
const ::grpc::internal::RpcMethod rpcmethod_RunEventStream_;
|
|
|
|
|
const ::grpc::internal::RpcMethod rpcmethod_StopEventStream_;
|
|
|
|
|
};
|
|
|
|
|
@ -1487,6 +1558,10 @@ class Bridge final {
|
|
|
|
|
virtual ::grpc::Status LogoutUser(::grpc::ServerContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response);
|
|
|
|
|
virtual ::grpc::Status RemoveUser(::grpc::ServerContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response);
|
|
|
|
|
virtual ::grpc::Status ConfigureUserAppleMail(::grpc::ServerContext* context, const ::grpc::ConfigureAppleMailRequest* request, ::google::protobuf::Empty* response);
|
|
|
|
|
// Telemetry
|
|
|
|
|
virtual ::grpc::Status ReportBugClicked(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Empty* response);
|
|
|
|
|
virtual ::grpc::Status AutoconfigClicked(::grpc::ServerContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response);
|
|
|
|
|
virtual ::grpc::Status KBArticleClicked(::grpc::ServerContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response);
|
|
|
|
|
// Server -> Client event stream
|
|
|
|
|
virtual ::grpc::Status RunEventStream(::grpc::ServerContext* context, const ::grpc::EventStreamRequest* request, ::grpc::ServerWriter< ::grpc::StreamEvent>* writer);
|
|
|
|
|
// Keep streaming until StopEventStream is called.
|
|
|
|
|
@ -2593,12 +2668,72 @@ class Bridge final {
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
template <class BaseClass>
|
|
|
|
|
class WithAsyncMethod_ReportBugClicked : public BaseClass {
|
|
|
|
|
private:
|
|
|
|
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
|
|
|
|
public:
|
|
|
|
|
WithAsyncMethod_ReportBugClicked() {
|
|
|
|
|
::grpc::Service::MarkMethodAsync(55);
|
|
|
|
|
}
|
|
|
|
|
~WithAsyncMethod_ReportBugClicked() override {
|
|
|
|
|
BaseClassMustBeDerivedFromService(this);
|
|
|
|
|
}
|
|
|
|
|
// disable synchronous version of this method
|
|
|
|
|
::grpc::Status ReportBugClicked(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::Empty* /*response*/) override {
|
|
|
|
|
abort();
|
|
|
|
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
|
|
|
|
}
|
|
|
|
|
void RequestReportBugClicked(::grpc::ServerContext* context, ::google::protobuf::Empty* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
|
|
|
|
|
::grpc::Service::RequestAsyncUnary(55, context, request, response, new_call_cq, notification_cq, tag);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
template <class BaseClass>
|
|
|
|
|
class WithAsyncMethod_AutoconfigClicked : public BaseClass {
|
|
|
|
|
private:
|
|
|
|
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
|
|
|
|
public:
|
|
|
|
|
WithAsyncMethod_AutoconfigClicked() {
|
|
|
|
|
::grpc::Service::MarkMethodAsync(56);
|
|
|
|
|
}
|
|
|
|
|
~WithAsyncMethod_AutoconfigClicked() override {
|
|
|
|
|
BaseClassMustBeDerivedFromService(this);
|
|
|
|
|
}
|
|
|
|
|
// disable synchronous version of this method
|
|
|
|
|
::grpc::Status AutoconfigClicked(::grpc::ServerContext* /*context*/, const ::google::protobuf::StringValue* /*request*/, ::google::protobuf::Empty* /*response*/) override {
|
|
|
|
|
abort();
|
|
|
|
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
|
|
|
|
}
|
|
|
|
|
void RequestAutoconfigClicked(::grpc::ServerContext* context, ::google::protobuf::StringValue* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
|
|
|
|
|
::grpc::Service::RequestAsyncUnary(56, context, request, response, new_call_cq, notification_cq, tag);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
template <class BaseClass>
|
|
|
|
|
class WithAsyncMethod_KBArticleClicked : public BaseClass {
|
|
|
|
|
private:
|
|
|
|
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
|
|
|
|
public:
|
|
|
|
|
WithAsyncMethod_KBArticleClicked() {
|
|
|
|
|
::grpc::Service::MarkMethodAsync(57);
|
|
|
|
|
}
|
|
|
|
|
~WithAsyncMethod_KBArticleClicked() override {
|
|
|
|
|
BaseClassMustBeDerivedFromService(this);
|
|
|
|
|
}
|
|
|
|
|
// disable synchronous version of this method
|
|
|
|
|
::grpc::Status KBArticleClicked(::grpc::ServerContext* /*context*/, const ::google::protobuf::StringValue* /*request*/, ::google::protobuf::Empty* /*response*/) override {
|
|
|
|
|
abort();
|
|
|
|
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
|
|
|
|
}
|
|
|
|
|
void RequestKBArticleClicked(::grpc::ServerContext* context, ::google::protobuf::StringValue* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
|
|
|
|
|
::grpc::Service::RequestAsyncUnary(57, context, request, response, new_call_cq, notification_cq, tag);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
template <class BaseClass>
|
|
|
|
|
class WithAsyncMethod_RunEventStream : public BaseClass {
|
|
|
|
|
private:
|
|
|
|
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
|
|
|
|
public:
|
|
|
|
|
WithAsyncMethod_RunEventStream() {
|
|
|
|
|
::grpc::Service::MarkMethodAsync(55);
|
|
|
|
|
::grpc::Service::MarkMethodAsync(58);
|
|
|
|
|
}
|
|
|
|
|
~WithAsyncMethod_RunEventStream() override {
|
|
|
|
|
BaseClassMustBeDerivedFromService(this);
|
|
|
|
|
@ -2609,7 +2744,7 @@ class Bridge final {
|
|
|
|
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
|
|
|
|
}
|
|
|
|
|
void RequestRunEventStream(::grpc::ServerContext* context, ::grpc::EventStreamRequest* request, ::grpc::ServerAsyncWriter< ::grpc::StreamEvent>* writer, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
|
|
|
|
|
::grpc::Service::RequestAsyncServerStreaming(55, context, request, writer, new_call_cq, notification_cq, tag);
|
|
|
|
|
::grpc::Service::RequestAsyncServerStreaming(58, context, request, writer, new_call_cq, notification_cq, tag);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
template <class BaseClass>
|
|
|
|
|
@ -2618,7 +2753,7 @@ class Bridge final {
|
|
|
|
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
|
|
|
|
public:
|
|
|
|
|
WithAsyncMethod_StopEventStream() {
|
|
|
|
|
::grpc::Service::MarkMethodAsync(56);
|
|
|
|
|
::grpc::Service::MarkMethodAsync(59);
|
|
|
|
|
}
|
|
|
|
|
~WithAsyncMethod_StopEventStream() override {
|
|
|
|
|
BaseClassMustBeDerivedFromService(this);
|
|
|
|
|
@ -2629,10 +2764,10 @@ class Bridge final {
|
|
|
|
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
|
|
|
|
}
|
|
|
|
|
void RequestStopEventStream(::grpc::ServerContext* context, ::google::protobuf::Empty* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
|
|
|
|
|
::grpc::Service::RequestAsyncUnary(56, context, request, response, new_call_cq, notification_cq, tag);
|
|
|
|
|
::grpc::Service::RequestAsyncUnary(59, context, request, response, new_call_cq, notification_cq, tag);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
typedef WithAsyncMethod_CheckTokens<WithAsyncMethod_AddLogEntry<WithAsyncMethod_GuiReady<WithAsyncMethod_Quit<WithAsyncMethod_Restart<WithAsyncMethod_ShowOnStartup<WithAsyncMethod_SetIsAutostartOn<WithAsyncMethod_IsAutostartOn<WithAsyncMethod_SetIsBetaEnabled<WithAsyncMethod_IsBetaEnabled<WithAsyncMethod_SetIsAllMailVisible<WithAsyncMethod_IsAllMailVisible<WithAsyncMethod_SetIsTelemetryDisabled<WithAsyncMethod_IsTelemetryDisabled<WithAsyncMethod_GoOs<WithAsyncMethod_TriggerReset<WithAsyncMethod_Version<WithAsyncMethod_LogsPath<WithAsyncMethod_LicensePath<WithAsyncMethod_ReleaseNotesPageLink<WithAsyncMethod_DependencyLicensesLink<WithAsyncMethod_LandingPageLink<WithAsyncMethod_SetColorSchemeName<WithAsyncMethod_ColorSchemeName<WithAsyncMethod_CurrentEmailClient<WithAsyncMethod_ReportBug<WithAsyncMethod_ExportTLSCertificates<WithAsyncMethod_ForceLauncher<WithAsyncMethod_SetMainExecutable<WithAsyncMethod_Login<WithAsyncMethod_Login2FA<WithAsyncMethod_Login2Passwords<WithAsyncMethod_LoginAbort<WithAsyncMethod_CheckUpdate<WithAsyncMethod_InstallUpdate<WithAsyncMethod_SetIsAutomaticUpdateOn<WithAsyncMethod_IsAutomaticUpdateOn<WithAsyncMethod_DiskCachePath<WithAsyncMethod_SetDiskCachePath<WithAsyncMethod_SetIsDoHEnabled<WithAsyncMethod_IsDoHEnabled<WithAsyncMethod_MailServerSettings<WithAsyncMethod_SetMailServerSettings<WithAsyncMethod_Hostname<WithAsyncMethod_IsPortFree<WithAsyncMethod_AvailableKeychains<WithAsyncMethod_SetCurrentKeychain<WithAsyncMethod_CurrentKeychain<WithAsyncMethod_GetUserList<WithAsyncMethod_GetUser<WithAsyncMethod_SetUserSplitMode<WithAsyncMethod_SendBadEventUserFeedback<WithAsyncMethod_LogoutUser<WithAsyncMethod_RemoveUser<WithAsyncMethod_ConfigureUserAppleMail<WithAsyncMethod_RunEventStream<WithAsyncMethod_StopEventStream<Service > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > AsyncService;
|
|
|
|
|
typedef WithAsyncMethod_CheckTokens<WithAsyncMethod_AddLogEntry<WithAsyncMethod_GuiReady<WithAsyncMethod_Quit<WithAsyncMethod_Restart<WithAsyncMethod_ShowOnStartup<WithAsyncMethod_SetIsAutostartOn<WithAsyncMethod_IsAutostartOn<WithAsyncMethod_SetIsBetaEnabled<WithAsyncMethod_IsBetaEnabled<WithAsyncMethod_SetIsAllMailVisible<WithAsyncMethod_IsAllMailVisible<WithAsyncMethod_SetIsTelemetryDisabled<WithAsyncMethod_IsTelemetryDisabled<WithAsyncMethod_GoOs<WithAsyncMethod_TriggerReset<WithAsyncMethod_Version<WithAsyncMethod_LogsPath<WithAsyncMethod_LicensePath<WithAsyncMethod_ReleaseNotesPageLink<WithAsyncMethod_DependencyLicensesLink<WithAsyncMethod_LandingPageLink<WithAsyncMethod_SetColorSchemeName<WithAsyncMethod_ColorSchemeName<WithAsyncMethod_CurrentEmailClient<WithAsyncMethod_ReportBug<WithAsyncMethod_ExportTLSCertificates<WithAsyncMethod_ForceLauncher<WithAsyncMethod_SetMainExecutable<WithAsyncMethod_Login<WithAsyncMethod_Login2FA<WithAsyncMethod_Login2Passwords<WithAsyncMethod_LoginAbort<WithAsyncMethod_CheckUpdate<WithAsyncMethod_InstallUpdate<WithAsyncMethod_SetIsAutomaticUpdateOn<WithAsyncMethod_IsAutomaticUpdateOn<WithAsyncMethod_DiskCachePath<WithAsyncMethod_SetDiskCachePath<WithAsyncMethod_SetIsDoHEnabled<WithAsyncMethod_IsDoHEnabled<WithAsyncMethod_MailServerSettings<WithAsyncMethod_SetMailServerSettings<WithAsyncMethod_Hostname<WithAsyncMethod_IsPortFree<WithAsyncMethod_AvailableKeychains<WithAsyncMethod_SetCurrentKeychain<WithAsyncMethod_CurrentKeychain<WithAsyncMethod_GetUserList<WithAsyncMethod_GetUser<WithAsyncMethod_SetUserSplitMode<WithAsyncMethod_SendBadEventUserFeedback<WithAsyncMethod_LogoutUser<WithAsyncMethod_RemoveUser<WithAsyncMethod_ConfigureUserAppleMail<WithAsyncMethod_ReportBugClicked<WithAsyncMethod_AutoconfigClicked<WithAsyncMethod_KBArticleClicked<WithAsyncMethod_RunEventStream<WithAsyncMethod_StopEventStream<Service > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > AsyncService;
|
|
|
|
|
template <class BaseClass>
|
|
|
|
|
class WithCallbackMethod_CheckTokens : public BaseClass {
|
|
|
|
|
private:
|
|
|
|
|
@ -4119,12 +4254,93 @@ class Bridge final {
|
|
|
|
|
::grpc::CallbackServerContext* /*context*/, const ::grpc::ConfigureAppleMailRequest* /*request*/, ::google::protobuf::Empty* /*response*/) { return nullptr; }
|
|
|
|
|
};
|
|
|
|
|
template <class BaseClass>
|
|
|
|
|
class WithCallbackMethod_ReportBugClicked : public BaseClass {
|
|
|
|
|
private:
|
|
|
|
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
|
|
|
|
public:
|
|
|
|
|
WithCallbackMethod_ReportBugClicked() {
|
|
|
|
|
::grpc::Service::MarkMethodCallback(55,
|
|
|
|
|
new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::Empty>(
|
|
|
|
|
[this](
|
|
|
|
|
::grpc::CallbackServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Empty* response) { return this->ReportBugClicked(context, request, response); }));}
|
|
|
|
|
void SetMessageAllocatorFor_ReportBugClicked(
|
|
|
|
|
::grpc::MessageAllocator< ::google::protobuf::Empty, ::google::protobuf::Empty>* allocator) {
|
|
|
|
|
::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(55);
|
|
|
|
|
static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::Empty>*>(handler)
|
|
|
|
|
->SetMessageAllocator(allocator);
|
|
|
|
|
}
|
|
|
|
|
~WithCallbackMethod_ReportBugClicked() override {
|
|
|
|
|
BaseClassMustBeDerivedFromService(this);
|
|
|
|
|
}
|
|
|
|
|
// disable synchronous version of this method
|
|
|
|
|
::grpc::Status ReportBugClicked(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::Empty* /*response*/) override {
|
|
|
|
|
abort();
|
|
|
|
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
|
|
|
|
}
|
|
|
|
|
virtual ::grpc::ServerUnaryReactor* ReportBugClicked(
|
|
|
|
|
::grpc::CallbackServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::Empty* /*response*/) { return nullptr; }
|
|
|
|
|
};
|
|
|
|
|
template <class BaseClass>
|
|
|
|
|
class WithCallbackMethod_AutoconfigClicked : public BaseClass {
|
|
|
|
|
private:
|
|
|
|
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
|
|
|
|
public:
|
|
|
|
|
WithCallbackMethod_AutoconfigClicked() {
|
|
|
|
|
::grpc::Service::MarkMethodCallback(56,
|
|
|
|
|
new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::StringValue, ::google::protobuf::Empty>(
|
|
|
|
|
[this](
|
|
|
|
|
::grpc::CallbackServerContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response) { return this->AutoconfigClicked(context, request, response); }));}
|
|
|
|
|
void SetMessageAllocatorFor_AutoconfigClicked(
|
|
|
|
|
::grpc::MessageAllocator< ::google::protobuf::StringValue, ::google::protobuf::Empty>* allocator) {
|
|
|
|
|
::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(56);
|
|
|
|
|
static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::StringValue, ::google::protobuf::Empty>*>(handler)
|
|
|
|
|
->SetMessageAllocator(allocator);
|
|
|
|
|
}
|
|
|
|
|
~WithCallbackMethod_AutoconfigClicked() override {
|
|
|
|
|
BaseClassMustBeDerivedFromService(this);
|
|
|
|
|
}
|
|
|
|
|
// disable synchronous version of this method
|
|
|
|
|
::grpc::Status AutoconfigClicked(::grpc::ServerContext* /*context*/, const ::google::protobuf::StringValue* /*request*/, ::google::protobuf::Empty* /*response*/) override {
|
|
|
|
|
abort();
|
|
|
|
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
|
|
|
|
}
|
|
|
|
|
virtual ::grpc::ServerUnaryReactor* AutoconfigClicked(
|
|
|
|
|
::grpc::CallbackServerContext* /*context*/, const ::google::protobuf::StringValue* /*request*/, ::google::protobuf::Empty* /*response*/) { return nullptr; }
|
|
|
|
|
};
|
|
|
|
|
template <class BaseClass>
|
|
|
|
|
class WithCallbackMethod_KBArticleClicked : public BaseClass {
|
|
|
|
|
private:
|
|
|
|
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
|
|
|
|
public:
|
|
|
|
|
WithCallbackMethod_KBArticleClicked() {
|
|
|
|
|
::grpc::Service::MarkMethodCallback(57,
|
|
|
|
|
new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::StringValue, ::google::protobuf::Empty>(
|
|
|
|
|
[this](
|
|
|
|
|
::grpc::CallbackServerContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response) { return this->KBArticleClicked(context, request, response); }));}
|
|
|
|
|
void SetMessageAllocatorFor_KBArticleClicked(
|
|
|
|
|
::grpc::MessageAllocator< ::google::protobuf::StringValue, ::google::protobuf::Empty>* allocator) {
|
|
|
|
|
::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(57);
|
|
|
|
|
static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::StringValue, ::google::protobuf::Empty>*>(handler)
|
|
|
|
|
->SetMessageAllocator(allocator);
|
|
|
|
|
}
|
|
|
|
|
~WithCallbackMethod_KBArticleClicked() override {
|
|
|
|
|
BaseClassMustBeDerivedFromService(this);
|
|
|
|
|
}
|
|
|
|
|
// disable synchronous version of this method
|
|
|
|
|
::grpc::Status KBArticleClicked(::grpc::ServerContext* /*context*/, const ::google::protobuf::StringValue* /*request*/, ::google::protobuf::Empty* /*response*/) override {
|
|
|
|
|
abort();
|
|
|
|
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
|
|
|
|
}
|
|
|
|
|
virtual ::grpc::ServerUnaryReactor* KBArticleClicked(
|
|
|
|
|
::grpc::CallbackServerContext* /*context*/, const ::google::protobuf::StringValue* /*request*/, ::google::protobuf::Empty* /*response*/) { return nullptr; }
|
|
|
|
|
};
|
|
|
|
|
template <class BaseClass>
|
|
|
|
|
class WithCallbackMethod_RunEventStream : public BaseClass {
|
|
|
|
|
private:
|
|
|
|
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
|
|
|
|
public:
|
|
|
|
|
WithCallbackMethod_RunEventStream() {
|
|
|
|
|
::grpc::Service::MarkMethodCallback(55,
|
|
|
|
|
::grpc::Service::MarkMethodCallback(58,
|
|
|
|
|
new ::grpc::internal::CallbackServerStreamingHandler< ::grpc::EventStreamRequest, ::grpc::StreamEvent>(
|
|
|
|
|
[this](
|
|
|
|
|
::grpc::CallbackServerContext* context, const ::grpc::EventStreamRequest* request) { return this->RunEventStream(context, request); }));
|
|
|
|
|
@ -4146,13 +4362,13 @@ class Bridge final {
|
|
|
|
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
|
|
|
|
public:
|
|
|
|
|
WithCallbackMethod_StopEventStream() {
|
|
|
|
|
::grpc::Service::MarkMethodCallback(56,
|
|
|
|
|
::grpc::Service::MarkMethodCallback(59,
|
|
|
|
|
new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::Empty>(
|
|
|
|
|
[this](
|
|
|
|
|
::grpc::CallbackServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Empty* response) { return this->StopEventStream(context, request, response); }));}
|
|
|
|
|
void SetMessageAllocatorFor_StopEventStream(
|
|
|
|
|
::grpc::MessageAllocator< ::google::protobuf::Empty, ::google::protobuf::Empty>* allocator) {
|
|
|
|
|
::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(56);
|
|
|
|
|
::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(59);
|
|
|
|
|
static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::Empty>*>(handler)
|
|
|
|
|
->SetMessageAllocator(allocator);
|
|
|
|
|
}
|
|
|
|
|
@ -4167,7 +4383,7 @@ class Bridge final {
|
|
|
|
|
virtual ::grpc::ServerUnaryReactor* StopEventStream(
|
|
|
|
|
::grpc::CallbackServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::Empty* /*response*/) { return nullptr; }
|
|
|
|
|
};
|
|
|
|
|
typedef WithCallbackMethod_CheckTokens<WithCallbackMethod_AddLogEntry<WithCallbackMethod_GuiReady<WithCallbackMethod_Quit<WithCallbackMethod_Restart<WithCallbackMethod_ShowOnStartup<WithCallbackMethod_SetIsAutostartOn<WithCallbackMethod_IsAutostartOn<WithCallbackMethod_SetIsBetaEnabled<WithCallbackMethod_IsBetaEnabled<WithCallbackMethod_SetIsAllMailVisible<WithCallbackMethod_IsAllMailVisible<WithCallbackMethod_SetIsTelemetryDisabled<WithCallbackMethod_IsTelemetryDisabled<WithCallbackMethod_GoOs<WithCallbackMethod_TriggerReset<WithCallbackMethod_Version<WithCallbackMethod_LogsPath<WithCallbackMethod_LicensePath<WithCallbackMethod_ReleaseNotesPageLink<WithCallbackMethod_DependencyLicensesLink<WithCallbackMethod_LandingPageLink<WithCallbackMethod_SetColorSchemeName<WithCallbackMethod_ColorSchemeName<WithCallbackMethod_CurrentEmailClient<WithCallbackMethod_ReportBug<WithCallbackMethod_ExportTLSCertificates<WithCallbackMethod_ForceLauncher<WithCallbackMethod_SetMainExecutable<WithCallbackMethod_Login<WithCallbackMethod_Login2FA<WithCallbackMethod_Login2Passwords<WithCallbackMethod_LoginAbort<WithCallbackMethod_CheckUpdate<WithCallbackMethod_InstallUpdate<WithCallbackMethod_SetIsAutomaticUpdateOn<WithCallbackMethod_IsAutomaticUpdateOn<WithCallbackMethod_DiskCachePath<WithCallbackMethod_SetDiskCachePath<WithCallbackMethod_SetIsDoHEnabled<WithCallbackMethod_IsDoHEnabled<WithCallbackMethod_MailServerSettings<WithCallbackMethod_SetMailServerSettings<WithCallbackMethod_Hostname<WithCallbackMethod_IsPortFree<WithCallbackMethod_AvailableKeychains<WithCallbackMethod_SetCurrentKeychain<WithCallbackMethod_CurrentKeychain<WithCallbackMethod_GetUserList<WithCallbackMethod_GetUser<WithCallbackMethod_SetUserSplitMode<WithCallbackMethod_SendBadEventUserFeedback<WithCallbackMethod_LogoutUser<WithCallbackMethod_RemoveUser<WithCallbackMethod_ConfigureUserAppleMail<WithCallbackMethod_RunEventStream<WithCallbackMethod_StopEventStream<Service > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > CallbackService;
|
|
|
|
|
typedef WithCallbackMethod_CheckTokens<WithCallbackMethod_AddLogEntry<WithCallbackMethod_GuiReady<WithCallbackMethod_Quit<WithCallbackMethod_Restart<WithCallbackMethod_ShowOnStartup<WithCallbackMethod_SetIsAutostartOn<WithCallbackMethod_IsAutostartOn<WithCallbackMethod_SetIsBetaEnabled<WithCallbackMethod_IsBetaEnabled<WithCallbackMethod_SetIsAllMailVisible<WithCallbackMethod_IsAllMailVisible<WithCallbackMethod_SetIsTelemetryDisabled<WithCallbackMethod_IsTelemetryDisabled<WithCallbackMethod_GoOs<WithCallbackMethod_TriggerReset<WithCallbackMethod_Version<WithCallbackMethod_LogsPath<WithCallbackMethod_LicensePath<WithCallbackMethod_ReleaseNotesPageLink<WithCallbackMethod_DependencyLicensesLink<WithCallbackMethod_LandingPageLink<WithCallbackMethod_SetColorSchemeName<WithCallbackMethod_ColorSchemeName<WithCallbackMethod_CurrentEmailClient<WithCallbackMethod_ReportBug<WithCallbackMethod_ExportTLSCertificates<WithCallbackMethod_ForceLauncher<WithCallbackMethod_SetMainExecutable<WithCallbackMethod_Login<WithCallbackMethod_Login2FA<WithCallbackMethod_Login2Passwords<WithCallbackMethod_LoginAbort<WithCallbackMethod_CheckUpdate<WithCallbackMethod_InstallUpdate<WithCallbackMethod_SetIsAutomaticUpdateOn<WithCallbackMethod_IsAutomaticUpdateOn<WithCallbackMethod_DiskCachePath<WithCallbackMethod_SetDiskCachePath<WithCallbackMethod_SetIsDoHEnabled<WithCallbackMethod_IsDoHEnabled<WithCallbackMethod_MailServerSettings<WithCallbackMethod_SetMailServerSettings<WithCallbackMethod_Hostname<WithCallbackMethod_IsPortFree<WithCallbackMethod_AvailableKeychains<WithCallbackMethod_SetCurrentKeychain<WithCallbackMethod_CurrentKeychain<WithCallbackMethod_GetUserList<WithCallbackMethod_GetUser<WithCallbackMethod_SetUserSplitMode<WithCallbackMethod_SendBadEventUserFeedback<WithCallbackMethod_LogoutUser<WithCallbackMethod_RemoveUser<WithCallbackMethod_ConfigureUserAppleMail<WithCallbackMethod_ReportBugClicked<WithCallbackMethod_AutoconfigClicked<WithCallbackMethod_KBArticleClicked<WithCallbackMethod_RunEventStream<WithCallbackMethod_StopEventStream<Service > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > CallbackService;
|
|
|
|
|
typedef CallbackService ExperimentalCallbackService;
|
|
|
|
|
template <class BaseClass>
|
|
|
|
|
class WithGenericMethod_CheckTokens : public BaseClass {
|
|
|
|
|
@ -5105,12 +5321,63 @@ class Bridge final {
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
template <class BaseClass>
|
|
|
|
|
class WithGenericMethod_ReportBugClicked : public BaseClass {
|
|
|
|
|
private:
|
|
|
|
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
|
|
|
|
public:
|
|
|
|
|
WithGenericMethod_ReportBugClicked() {
|
|
|
|
|
::grpc::Service::MarkMethodGeneric(55);
|
|
|
|
|
}
|
|
|
|
|
~WithGenericMethod_ReportBugClicked() override {
|
|
|
|
|
BaseClassMustBeDerivedFromService(this);
|
|
|
|
|
}
|
|
|
|
|
// disable synchronous version of this method
|
|
|
|
|
::grpc::Status ReportBugClicked(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::Empty* /*response*/) override {
|
|
|
|
|
abort();
|
|
|
|
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
template <class BaseClass>
|
|
|
|
|
class WithGenericMethod_AutoconfigClicked : public BaseClass {
|
|
|
|
|
private:
|
|
|
|
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
|
|
|
|
public:
|
|
|
|
|
WithGenericMethod_AutoconfigClicked() {
|
|
|
|
|
::grpc::Service::MarkMethodGeneric(56);
|
|
|
|
|
}
|
|
|
|
|
~WithGenericMethod_AutoconfigClicked() override {
|
|
|
|
|
BaseClassMustBeDerivedFromService(this);
|
|
|
|
|
}
|
|
|
|
|
// disable synchronous version of this method
|
|
|
|
|
::grpc::Status AutoconfigClicked(::grpc::ServerContext* /*context*/, const ::google::protobuf::StringValue* /*request*/, ::google::protobuf::Empty* /*response*/) override {
|
|
|
|
|
abort();
|
|
|
|
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
template <class BaseClass>
|
|
|
|
|
class WithGenericMethod_KBArticleClicked : public BaseClass {
|
|
|
|
|
private:
|
|
|
|
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
|
|
|
|
public:
|
|
|
|
|
WithGenericMethod_KBArticleClicked() {
|
|
|
|
|
::grpc::Service::MarkMethodGeneric(57);
|
|
|
|
|
}
|
|
|
|
|
~WithGenericMethod_KBArticleClicked() override {
|
|
|
|
|
BaseClassMustBeDerivedFromService(this);
|
|
|
|
|
}
|
|
|
|
|
// disable synchronous version of this method
|
|
|
|
|
::grpc::Status KBArticleClicked(::grpc::ServerContext* /*context*/, const ::google::protobuf::StringValue* /*request*/, ::google::protobuf::Empty* /*response*/) override {
|
|
|
|
|
abort();
|
|
|
|
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
template <class BaseClass>
|
|
|
|
|
class WithGenericMethod_RunEventStream : public BaseClass {
|
|
|
|
|
private:
|
|
|
|
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
|
|
|
|
public:
|
|
|
|
|
WithGenericMethod_RunEventStream() {
|
|
|
|
|
::grpc::Service::MarkMethodGeneric(55);
|
|
|
|
|
::grpc::Service::MarkMethodGeneric(58);
|
|
|
|
|
}
|
|
|
|
|
~WithGenericMethod_RunEventStream() override {
|
|
|
|
|
BaseClassMustBeDerivedFromService(this);
|
|
|
|
|
@ -5127,7 +5394,7 @@ class Bridge final {
|
|
|
|
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
|
|
|
|
public:
|
|
|
|
|
WithGenericMethod_StopEventStream() {
|
|
|
|
|
::grpc::Service::MarkMethodGeneric(56);
|
|
|
|
|
::grpc::Service::MarkMethodGeneric(59);
|
|
|
|
|
}
|
|
|
|
|
~WithGenericMethod_StopEventStream() override {
|
|
|
|
|
BaseClassMustBeDerivedFromService(this);
|
|
|
|
|
@ -6239,12 +6506,72 @@ class Bridge final {
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
template <class BaseClass>
|
|
|
|
|
class WithRawMethod_ReportBugClicked : public BaseClass {
|
|
|
|
|
private:
|
|
|
|
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
|
|
|
|
public:
|
|
|
|
|
WithRawMethod_ReportBugClicked() {
|
|
|
|
|
::grpc::Service::MarkMethodRaw(55);
|
|
|
|
|
}
|
|
|
|
|
~WithRawMethod_ReportBugClicked() override {
|
|
|
|
|
BaseClassMustBeDerivedFromService(this);
|
|
|
|
|
}
|
|
|
|
|
// disable synchronous version of this method
|
|
|
|
|
::grpc::Status ReportBugClicked(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::Empty* /*response*/) override {
|
|
|
|
|
abort();
|
|
|
|
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
|
|
|
|
}
|
|
|
|
|
void RequestReportBugClicked(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
|
|
|
|
|
::grpc::Service::RequestAsyncUnary(55, context, request, response, new_call_cq, notification_cq, tag);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
template <class BaseClass>
|
|
|
|
|
class WithRawMethod_AutoconfigClicked : public BaseClass {
|
|
|
|
|
private:
|
|
|
|
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
|
|
|
|
public:
|
|
|
|
|
WithRawMethod_AutoconfigClicked() {
|
|
|
|
|
::grpc::Service::MarkMethodRaw(56);
|
|
|
|
|
}
|
|
|
|
|
~WithRawMethod_AutoconfigClicked() override {
|
|
|
|
|
BaseClassMustBeDerivedFromService(this);
|
|
|
|
|
}
|
|
|
|
|
// disable synchronous version of this method
|
|
|
|
|
::grpc::Status AutoconfigClicked(::grpc::ServerContext* /*context*/, const ::google::protobuf::StringValue* /*request*/, ::google::protobuf::Empty* /*response*/) override {
|
|
|
|
|
abort();
|
|
|
|
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
|
|
|
|
}
|
|
|
|
|
void RequestAutoconfigClicked(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
|
|
|
|
|
::grpc::Service::RequestAsyncUnary(56, context, request, response, new_call_cq, notification_cq, tag);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
template <class BaseClass>
|
|
|
|
|
class WithRawMethod_KBArticleClicked : public BaseClass {
|
|
|
|
|
private:
|
|
|
|
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
|
|
|
|
public:
|
|
|
|
|
WithRawMethod_KBArticleClicked() {
|
|
|
|
|
::grpc::Service::MarkMethodRaw(57);
|
|
|
|
|
}
|
|
|
|
|
~WithRawMethod_KBArticleClicked() override {
|
|
|
|
|
BaseClassMustBeDerivedFromService(this);
|
|
|
|
|
}
|
|
|
|
|
// disable synchronous version of this method
|
|
|
|
|
::grpc::Status KBArticleClicked(::grpc::ServerContext* /*context*/, const ::google::protobuf::StringValue* /*request*/, ::google::protobuf::Empty* /*response*/) override {
|
|
|
|
|
abort();
|
|
|
|
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
|
|
|
|
}
|
|
|
|
|
void RequestKBArticleClicked(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
|
|
|
|
|
::grpc::Service::RequestAsyncUnary(57, context, request, response, new_call_cq, notification_cq, tag);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
template <class BaseClass>
|
|
|
|
|
class WithRawMethod_RunEventStream : public BaseClass {
|
|
|
|
|
private:
|
|
|
|
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
|
|
|
|
public:
|
|
|
|
|
WithRawMethod_RunEventStream() {
|
|
|
|
|
::grpc::Service::MarkMethodRaw(55);
|
|
|
|
|
::grpc::Service::MarkMethodRaw(58);
|
|
|
|
|
}
|
|
|
|
|
~WithRawMethod_RunEventStream() override {
|
|
|
|
|
BaseClassMustBeDerivedFromService(this);
|
|
|
|
|
@ -6255,7 +6582,7 @@ class Bridge final {
|
|
|
|
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
|
|
|
|
}
|
|
|
|
|
void RequestRunEventStream(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncWriter< ::grpc::ByteBuffer>* writer, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
|
|
|
|
|
::grpc::Service::RequestAsyncServerStreaming(55, context, request, writer, new_call_cq, notification_cq, tag);
|
|
|
|
|
::grpc::Service::RequestAsyncServerStreaming(58, context, request, writer, new_call_cq, notification_cq, tag);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
template <class BaseClass>
|
|
|
|
|
@ -6264,7 +6591,7 @@ class Bridge final {
|
|
|
|
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
|
|
|
|
public:
|
|
|
|
|
WithRawMethod_StopEventStream() {
|
|
|
|
|
::grpc::Service::MarkMethodRaw(56);
|
|
|
|
|
::grpc::Service::MarkMethodRaw(59);
|
|
|
|
|
}
|
|
|
|
|
~WithRawMethod_StopEventStream() override {
|
|
|
|
|
BaseClassMustBeDerivedFromService(this);
|
|
|
|
|
@ -6275,7 +6602,7 @@ class Bridge final {
|
|
|
|
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
|
|
|
|
}
|
|
|
|
|
void RequestStopEventStream(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
|
|
|
|
|
::grpc::Service::RequestAsyncUnary(56, context, request, response, new_call_cq, notification_cq, tag);
|
|
|
|
|
::grpc::Service::RequestAsyncUnary(59, context, request, response, new_call_cq, notification_cq, tag);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
template <class BaseClass>
|
|
|
|
|
@ -7489,12 +7816,78 @@ class Bridge final {
|
|
|
|
|
::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; }
|
|
|
|
|
};
|
|
|
|
|
template <class BaseClass>
|
|
|
|
|
class WithRawCallbackMethod_ReportBugClicked : public BaseClass {
|
|
|
|
|
private:
|
|
|
|
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
|
|
|
|
public:
|
|
|
|
|
WithRawCallbackMethod_ReportBugClicked() {
|
|
|
|
|
::grpc::Service::MarkMethodRawCallback(55,
|
|
|
|
|
new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
|
|
|
|
|
[this](
|
|
|
|
|
::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->ReportBugClicked(context, request, response); }));
|
|
|
|
|
}
|
|
|
|
|
~WithRawCallbackMethod_ReportBugClicked() override {
|
|
|
|
|
BaseClassMustBeDerivedFromService(this);
|
|
|
|
|
}
|
|
|
|
|
// disable synchronous version of this method
|
|
|
|
|
::grpc::Status ReportBugClicked(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::Empty* /*response*/) override {
|
|
|
|
|
abort();
|
|
|
|
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
|
|
|
|
}
|
|
|
|
|
virtual ::grpc::ServerUnaryReactor* ReportBugClicked(
|
|
|
|
|
::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; }
|
|
|
|
|
};
|
|
|
|
|
template <class BaseClass>
|
|
|
|
|
class WithRawCallbackMethod_AutoconfigClicked : public BaseClass {
|
|
|
|
|
private:
|
|
|
|
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
|
|
|
|
public:
|
|
|
|
|
WithRawCallbackMethod_AutoconfigClicked() {
|
|
|
|
|
::grpc::Service::MarkMethodRawCallback(56,
|
|
|
|
|
new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
|
|
|
|
|
[this](
|
|
|
|
|
::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->AutoconfigClicked(context, request, response); }));
|
|
|
|
|
}
|
|
|
|
|
~WithRawCallbackMethod_AutoconfigClicked() override {
|
|
|
|
|
BaseClassMustBeDerivedFromService(this);
|
|
|
|
|
}
|
|
|
|
|
// disable synchronous version of this method
|
|
|
|
|
::grpc::Status AutoconfigClicked(::grpc::ServerContext* /*context*/, const ::google::protobuf::StringValue* /*request*/, ::google::protobuf::Empty* /*response*/) override {
|
|
|
|
|
abort();
|
|
|
|
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
|
|
|
|
}
|
|
|
|
|
virtual ::grpc::ServerUnaryReactor* AutoconfigClicked(
|
|
|
|
|
::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; }
|
|
|
|
|
};
|
|
|
|
|
template <class BaseClass>
|
|
|
|
|
class WithRawCallbackMethod_KBArticleClicked : public BaseClass {
|
|
|
|
|
private:
|
|
|
|
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
|
|
|
|
public:
|
|
|
|
|
WithRawCallbackMethod_KBArticleClicked() {
|
|
|
|
|
::grpc::Service::MarkMethodRawCallback(57,
|
|
|
|
|
new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
|
|
|
|
|
[this](
|
|
|
|
|
::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->KBArticleClicked(context, request, response); }));
|
|
|
|
|
}
|
|
|
|
|
~WithRawCallbackMethod_KBArticleClicked() override {
|
|
|
|
|
BaseClassMustBeDerivedFromService(this);
|
|
|
|
|
}
|
|
|
|
|
// disable synchronous version of this method
|
|
|
|
|
::grpc::Status KBArticleClicked(::grpc::ServerContext* /*context*/, const ::google::protobuf::StringValue* /*request*/, ::google::protobuf::Empty* /*response*/) override {
|
|
|
|
|
abort();
|
|
|
|
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
|
|
|
|
}
|
|
|
|
|
virtual ::grpc::ServerUnaryReactor* KBArticleClicked(
|
|
|
|
|
::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; }
|
|
|
|
|
};
|
|
|
|
|
template <class BaseClass>
|
|
|
|
|
class WithRawCallbackMethod_RunEventStream : public BaseClass {
|
|
|
|
|
private:
|
|
|
|
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
|
|
|
|
public:
|
|
|
|
|
WithRawCallbackMethod_RunEventStream() {
|
|
|
|
|
::grpc::Service::MarkMethodRawCallback(55,
|
|
|
|
|
::grpc::Service::MarkMethodRawCallback(58,
|
|
|
|
|
new ::grpc::internal::CallbackServerStreamingHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
|
|
|
|
|
[this](
|
|
|
|
|
::grpc::CallbackServerContext* context, const::grpc::ByteBuffer* request) { return this->RunEventStream(context, request); }));
|
|
|
|
|
@ -7516,7 +7909,7 @@ class Bridge final {
|
|
|
|
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
|
|
|
|
public:
|
|
|
|
|
WithRawCallbackMethod_StopEventStream() {
|
|
|
|
|
::grpc::Service::MarkMethodRawCallback(56,
|
|
|
|
|
::grpc::Service::MarkMethodRawCallback(59,
|
|
|
|
|
new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
|
|
|
|
|
[this](
|
|
|
|
|
::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->StopEventStream(context, request, response); }));
|
|
|
|
|
@ -9018,12 +9411,93 @@ class Bridge final {
|
|
|
|
|
virtual ::grpc::Status StreamedConfigureUserAppleMail(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::grpc::ConfigureAppleMailRequest,::google::protobuf::Empty>* server_unary_streamer) = 0;
|
|
|
|
|
};
|
|
|
|
|
template <class BaseClass>
|
|
|
|
|
class WithStreamedUnaryMethod_ReportBugClicked : public BaseClass {
|
|
|
|
|
private:
|
|
|
|
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
|
|
|
|
public:
|
|
|
|
|
WithStreamedUnaryMethod_ReportBugClicked() {
|
|
|
|
|
::grpc::Service::MarkMethodStreamed(55,
|
|
|
|
|
new ::grpc::internal::StreamedUnaryHandler<
|
|
|
|
|
::google::protobuf::Empty, ::google::protobuf::Empty>(
|
|
|
|
|
[this](::grpc::ServerContext* context,
|
|
|
|
|
::grpc::ServerUnaryStreamer<
|
|
|
|
|
::google::protobuf::Empty, ::google::protobuf::Empty>* streamer) {
|
|
|
|
|
return this->StreamedReportBugClicked(context,
|
|
|
|
|
streamer);
|
|
|
|
|
}));
|
|
|
|
|
}
|
|
|
|
|
~WithStreamedUnaryMethod_ReportBugClicked() override {
|
|
|
|
|
BaseClassMustBeDerivedFromService(this);
|
|
|
|
|
}
|
|
|
|
|
// disable regular version of this method
|
|
|
|
|
::grpc::Status ReportBugClicked(::grpc::ServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::Empty* /*response*/) override {
|
|
|
|
|
abort();
|
|
|
|
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
|
|
|
|
}
|
|
|
|
|
// replace default version of method with streamed unary
|
|
|
|
|
virtual ::grpc::Status StreamedReportBugClicked(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::google::protobuf::Empty,::google::protobuf::Empty>* server_unary_streamer) = 0;
|
|
|
|
|
};
|
|
|
|
|
template <class BaseClass>
|
|
|
|
|
class WithStreamedUnaryMethod_AutoconfigClicked : public BaseClass {
|
|
|
|
|
private:
|
|
|
|
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
|
|
|
|
public:
|
|
|
|
|
WithStreamedUnaryMethod_AutoconfigClicked() {
|
|
|
|
|
::grpc::Service::MarkMethodStreamed(56,
|
|
|
|
|
new ::grpc::internal::StreamedUnaryHandler<
|
|
|
|
|
::google::protobuf::StringValue, ::google::protobuf::Empty>(
|
|
|
|
|
[this](::grpc::ServerContext* context,
|
|
|
|
|
::grpc::ServerUnaryStreamer<
|
|
|
|
|
::google::protobuf::StringValue, ::google::protobuf::Empty>* streamer) {
|
|
|
|
|
return this->StreamedAutoconfigClicked(context,
|
|
|
|
|
streamer);
|
|
|
|
|
}));
|
|
|
|
|
}
|
|
|
|
|
~WithStreamedUnaryMethod_AutoconfigClicked() override {
|
|
|
|
|
BaseClassMustBeDerivedFromService(this);
|
|
|
|
|
}
|
|
|
|
|
// disable regular version of this method
|
|
|
|
|
::grpc::Status AutoconfigClicked(::grpc::ServerContext* /*context*/, const ::google::protobuf::StringValue* /*request*/, ::google::protobuf::Empty* /*response*/) override {
|
|
|
|
|
abort();
|
|
|
|
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
|
|
|
|
}
|
|
|
|
|
// replace default version of method with streamed unary
|
|
|
|
|
virtual ::grpc::Status StreamedAutoconfigClicked(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::google::protobuf::StringValue,::google::protobuf::Empty>* server_unary_streamer) = 0;
|
|
|
|
|
};
|
|
|
|
|
template <class BaseClass>
|
|
|
|
|
class WithStreamedUnaryMethod_KBArticleClicked : public BaseClass {
|
|
|
|
|
private:
|
|
|
|
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
|
|
|
|
public:
|
|
|
|
|
WithStreamedUnaryMethod_KBArticleClicked() {
|
|
|
|
|
::grpc::Service::MarkMethodStreamed(57,
|
|
|
|
|
new ::grpc::internal::StreamedUnaryHandler<
|
|
|
|
|
::google::protobuf::StringValue, ::google::protobuf::Empty>(
|
|
|
|
|
[this](::grpc::ServerContext* context,
|
|
|
|
|
::grpc::ServerUnaryStreamer<
|
|
|
|
|
::google::protobuf::StringValue, ::google::protobuf::Empty>* streamer) {
|
|
|
|
|
return this->StreamedKBArticleClicked(context,
|
|
|
|
|
streamer);
|
|
|
|
|
}));
|
|
|
|
|
}
|
|
|
|
|
~WithStreamedUnaryMethod_KBArticleClicked() override {
|
|
|
|
|
BaseClassMustBeDerivedFromService(this);
|
|
|
|
|
}
|
|
|
|
|
// disable regular version of this method
|
|
|
|
|
::grpc::Status KBArticleClicked(::grpc::ServerContext* /*context*/, const ::google::protobuf::StringValue* /*request*/, ::google::protobuf::Empty* /*response*/) override {
|
|
|
|
|
abort();
|
|
|
|
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
|
|
|
|
}
|
|
|
|
|
// replace default version of method with streamed unary
|
|
|
|
|
virtual ::grpc::Status StreamedKBArticleClicked(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::google::protobuf::StringValue,::google::protobuf::Empty>* server_unary_streamer) = 0;
|
|
|
|
|
};
|
|
|
|
|
template <class BaseClass>
|
|
|
|
|
class WithStreamedUnaryMethod_StopEventStream : public BaseClass {
|
|
|
|
|
private:
|
|
|
|
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
|
|
|
|
public:
|
|
|
|
|
WithStreamedUnaryMethod_StopEventStream() {
|
|
|
|
|
::grpc::Service::MarkMethodStreamed(56,
|
|
|
|
|
::grpc::Service::MarkMethodStreamed(59,
|
|
|
|
|
new ::grpc::internal::StreamedUnaryHandler<
|
|
|
|
|
::google::protobuf::Empty, ::google::protobuf::Empty>(
|
|
|
|
|
[this](::grpc::ServerContext* context,
|
|
|
|
|
@ -9044,14 +9518,14 @@ class Bridge final {
|
|
|
|
|
// replace default version of method with streamed unary
|
|
|
|
|
virtual ::grpc::Status StreamedStopEventStream(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::google::protobuf::Empty,::google::protobuf::Empty>* server_unary_streamer) = 0;
|
|
|
|
|
};
|
|
|
|
|
typedef WithStreamedUnaryMethod_CheckTokens<WithStreamedUnaryMethod_AddLogEntry<WithStreamedUnaryMethod_GuiReady<WithStreamedUnaryMethod_Quit<WithStreamedUnaryMethod_Restart<WithStreamedUnaryMethod_ShowOnStartup<WithStreamedUnaryMethod_SetIsAutostartOn<WithStreamedUnaryMethod_IsAutostartOn<WithStreamedUnaryMethod_SetIsBetaEnabled<WithStreamedUnaryMethod_IsBetaEnabled<WithStreamedUnaryMethod_SetIsAllMailVisible<WithStreamedUnaryMethod_IsAllMailVisible<WithStreamedUnaryMethod_SetIsTelemetryDisabled<WithStreamedUnaryMethod_IsTelemetryDisabled<WithStreamedUnaryMethod_GoOs<WithStreamedUnaryMethod_TriggerReset<WithStreamedUnaryMethod_Version<WithStreamedUnaryMethod_LogsPath<WithStreamedUnaryMethod_LicensePath<WithStreamedUnaryMethod_ReleaseNotesPageLink<WithStreamedUnaryMethod_DependencyLicensesLink<WithStreamedUnaryMethod_LandingPageLink<WithStreamedUnaryMethod_SetColorSchemeName<WithStreamedUnaryMethod_ColorSchemeName<WithStreamedUnaryMethod_CurrentEmailClient<WithStreamedUnaryMethod_ReportBug<WithStreamedUnaryMethod_ExportTLSCertificates<WithStreamedUnaryMethod_ForceLauncher<WithStreamedUnaryMethod_SetMainExecutable<WithStreamedUnaryMethod_Login<WithStreamedUnaryMethod_Login2FA<WithStreamedUnaryMethod_Login2Passwords<WithStreamedUnaryMethod_LoginAbort<WithStreamedUnaryMethod_CheckUpdate<WithStreamedUnaryMethod_InstallUpdate<WithStreamedUnaryMethod_SetIsAutomaticUpdateOn<WithStreamedUnaryMethod_IsAutomaticUpdateOn<WithStreamedUnaryMethod_DiskCachePath<WithStreamedUnaryMethod_SetDiskCachePath<WithStreamedUnaryMethod_SetIsDoHEnabled<WithStreamedUnaryMethod_IsDoHEnabled<WithStreamedUnaryMethod_MailServerSettings<WithStreamedUnaryMethod_SetMailServerSettings<WithStreamedUnaryMethod_Hostname<WithStreamedUnaryMethod_IsPortFree<WithStreamedUnaryMethod_AvailableKeychains<WithStreamedUnaryMethod_SetCurrentKeychain<WithStreamedUnaryMethod_CurrentKeychain<WithStreamedUnaryMethod_GetUserList<WithStreamedUnaryMethod_GetUser<WithStreamedUnaryMethod_SetUserSplitMode<WithStreamedUnaryMethod_SendBadEventUserFeedback<WithStreamedUnaryMethod_LogoutUser<WithStreamedUnaryMethod_RemoveUser<WithStreamedUnaryMethod_ConfigureUserAppleMail<WithStreamedUnaryMethod_StopEventStream<Service > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > StreamedUnaryService;
|
|
|
|
|
typedef WithStreamedUnaryMethod_CheckTokens<WithStreamedUnaryMethod_AddLogEntry<WithStreamedUnaryMethod_GuiReady<WithStreamedUnaryMethod_Quit<WithStreamedUnaryMethod_Restart<WithStreamedUnaryMethod_ShowOnStartup<WithStreamedUnaryMethod_SetIsAutostartOn<WithStreamedUnaryMethod_IsAutostartOn<WithStreamedUnaryMethod_SetIsBetaEnabled<WithStreamedUnaryMethod_IsBetaEnabled<WithStreamedUnaryMethod_SetIsAllMailVisible<WithStreamedUnaryMethod_IsAllMailVisible<WithStreamedUnaryMethod_SetIsTelemetryDisabled<WithStreamedUnaryMethod_IsTelemetryDisabled<WithStreamedUnaryMethod_GoOs<WithStreamedUnaryMethod_TriggerReset<WithStreamedUnaryMethod_Version<WithStreamedUnaryMethod_LogsPath<WithStreamedUnaryMethod_LicensePath<WithStreamedUnaryMethod_ReleaseNotesPageLink<WithStreamedUnaryMethod_DependencyLicensesLink<WithStreamedUnaryMethod_LandingPageLink<WithStreamedUnaryMethod_SetColorSchemeName<WithStreamedUnaryMethod_ColorSchemeName<WithStreamedUnaryMethod_CurrentEmailClient<WithStreamedUnaryMethod_ReportBug<WithStreamedUnaryMethod_ExportTLSCertificates<WithStreamedUnaryMethod_ForceLauncher<WithStreamedUnaryMethod_SetMainExecutable<WithStreamedUnaryMethod_Login<WithStreamedUnaryMethod_Login2FA<WithStreamedUnaryMethod_Login2Passwords<WithStreamedUnaryMethod_LoginAbort<WithStreamedUnaryMethod_CheckUpdate<WithStreamedUnaryMethod_InstallUpdate<WithStreamedUnaryMethod_SetIsAutomaticUpdateOn<WithStreamedUnaryMethod_IsAutomaticUpdateOn<WithStreamedUnaryMethod_DiskCachePath<WithStreamedUnaryMethod_SetDiskCachePath<WithStreamedUnaryMethod_SetIsDoHEnabled<WithStreamedUnaryMethod_IsDoHEnabled<WithStreamedUnaryMethod_MailServerSettings<WithStreamedUnaryMethod_SetMailServerSettings<WithStreamedUnaryMethod_Hostname<WithStreamedUnaryMethod_IsPortFree<WithStreamedUnaryMethod_AvailableKeychains<WithStreamedUnaryMethod_SetCurrentKeychain<WithStreamedUnaryMethod_CurrentKeychain<WithStreamedUnaryMethod_GetUserList<WithStreamedUnaryMethod_GetUser<WithStreamedUnaryMethod_SetUserSplitMode<WithStreamedUnaryMethod_SendBadEventUserFeedback<WithStreamedUnaryMethod_LogoutUser<WithStreamedUnaryMethod_RemoveUser<WithStreamedUnaryMethod_ConfigureUserAppleMail<WithStreamedUnaryMethod_ReportBugClicked<WithStreamedUnaryMethod_AutoconfigClicked<WithStreamedUnaryMethod_KBArticleClicked<WithStreamedUnaryMethod_StopEventStream<Service > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > StreamedUnaryService;
|
|
|
|
|
template <class BaseClass>
|
|
|
|
|
class WithSplitStreamingMethod_RunEventStream : public BaseClass {
|
|
|
|
|
private:
|
|
|
|
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
|
|
|
|
public:
|
|
|
|
|
WithSplitStreamingMethod_RunEventStream() {
|
|
|
|
|
::grpc::Service::MarkMethodStreamed(55,
|
|
|
|
|
::grpc::Service::MarkMethodStreamed(58,
|
|
|
|
|
new ::grpc::internal::SplitServerStreamingHandler<
|
|
|
|
|
::grpc::EventStreamRequest, ::grpc::StreamEvent>(
|
|
|
|
|
[this](::grpc::ServerContext* context,
|
|
|
|
|
@ -9073,7 +9547,7 @@ class Bridge final {
|
|
|
|
|
virtual ::grpc::Status StreamedRunEventStream(::grpc::ServerContext* context, ::grpc::ServerSplitStreamer< ::grpc::EventStreamRequest,::grpc::StreamEvent>* server_split_streamer) = 0;
|
|
|
|
|
};
|
|
|
|
|
typedef WithSplitStreamingMethod_RunEventStream<Service > SplitStreamedService;
|
|
|
|
|
typedef WithStreamedUnaryMethod_CheckTokens<WithStreamedUnaryMethod_AddLogEntry<WithStreamedUnaryMethod_GuiReady<WithStreamedUnaryMethod_Quit<WithStreamedUnaryMethod_Restart<WithStreamedUnaryMethod_ShowOnStartup<WithStreamedUnaryMethod_SetIsAutostartOn<WithStreamedUnaryMethod_IsAutostartOn<WithStreamedUnaryMethod_SetIsBetaEnabled<WithStreamedUnaryMethod_IsBetaEnabled<WithStreamedUnaryMethod_SetIsAllMailVisible<WithStreamedUnaryMethod_IsAllMailVisible<WithStreamedUnaryMethod_SetIsTelemetryDisabled<WithStreamedUnaryMethod_IsTelemetryDisabled<WithStreamedUnaryMethod_GoOs<WithStreamedUnaryMethod_TriggerReset<WithStreamedUnaryMethod_Version<WithStreamedUnaryMethod_LogsPath<WithStreamedUnaryMethod_LicensePath<WithStreamedUnaryMethod_ReleaseNotesPageLink<WithStreamedUnaryMethod_DependencyLicensesLink<WithStreamedUnaryMethod_LandingPageLink<WithStreamedUnaryMethod_SetColorSchemeName<WithStreamedUnaryMethod_ColorSchemeName<WithStreamedUnaryMethod_CurrentEmailClient<WithStreamedUnaryMethod_ReportBug<WithStreamedUnaryMethod_ExportTLSCertificates<WithStreamedUnaryMethod_ForceLauncher<WithStreamedUnaryMethod_SetMainExecutable<WithStreamedUnaryMethod_Login<WithStreamedUnaryMethod_Login2FA<WithStreamedUnaryMethod_Login2Passwords<WithStreamedUnaryMethod_LoginAbort<WithStreamedUnaryMethod_CheckUpdate<WithStreamedUnaryMethod_InstallUpdate<WithStreamedUnaryMethod_SetIsAutomaticUpdateOn<WithStreamedUnaryMethod_IsAutomaticUpdateOn<WithStreamedUnaryMethod_DiskCachePath<WithStreamedUnaryMethod_SetDiskCachePath<WithStreamedUnaryMethod_SetIsDoHEnabled<WithStreamedUnaryMethod_IsDoHEnabled<WithStreamedUnaryMethod_MailServerSettings<WithStreamedUnaryMethod_SetMailServerSettings<WithStreamedUnaryMethod_Hostname<WithStreamedUnaryMethod_IsPortFree<WithStreamedUnaryMethod_AvailableKeychains<WithStreamedUnaryMethod_SetCurrentKeychain<WithStreamedUnaryMethod_CurrentKeychain<WithStreamedUnaryMethod_GetUserList<WithStreamedUnaryMethod_GetUser<WithStreamedUnaryMethod_SetUserSplitMode<WithStreamedUnaryMethod_SendBadEventUserFeedback<WithStreamedUnaryMethod_LogoutUser<WithStreamedUnaryMethod_RemoveUser<WithStreamedUnaryMethod_ConfigureUserAppleMail<WithSplitStreamingMethod_RunEventStream<WithStreamedUnaryMethod_StopEventStream<Service > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > StreamedService;
|
|
|
|
|
typedef WithStreamedUnaryMethod_CheckTokens<WithStreamedUnaryMethod_AddLogEntry<WithStreamedUnaryMethod_GuiReady<WithStreamedUnaryMethod_Quit<WithStreamedUnaryMethod_Restart<WithStreamedUnaryMethod_ShowOnStartup<WithStreamedUnaryMethod_SetIsAutostartOn<WithStreamedUnaryMethod_IsAutostartOn<WithStreamedUnaryMethod_SetIsBetaEnabled<WithStreamedUnaryMethod_IsBetaEnabled<WithStreamedUnaryMethod_SetIsAllMailVisible<WithStreamedUnaryMethod_IsAllMailVisible<WithStreamedUnaryMethod_SetIsTelemetryDisabled<WithStreamedUnaryMethod_IsTelemetryDisabled<WithStreamedUnaryMethod_GoOs<WithStreamedUnaryMethod_TriggerReset<WithStreamedUnaryMethod_Version<WithStreamedUnaryMethod_LogsPath<WithStreamedUnaryMethod_LicensePath<WithStreamedUnaryMethod_ReleaseNotesPageLink<WithStreamedUnaryMethod_DependencyLicensesLink<WithStreamedUnaryMethod_LandingPageLink<WithStreamedUnaryMethod_SetColorSchemeName<WithStreamedUnaryMethod_ColorSchemeName<WithStreamedUnaryMethod_CurrentEmailClient<WithStreamedUnaryMethod_ReportBug<WithStreamedUnaryMethod_ExportTLSCertificates<WithStreamedUnaryMethod_ForceLauncher<WithStreamedUnaryMethod_SetMainExecutable<WithStreamedUnaryMethod_Login<WithStreamedUnaryMethod_Login2FA<WithStreamedUnaryMethod_Login2Passwords<WithStreamedUnaryMethod_LoginAbort<WithStreamedUnaryMethod_CheckUpdate<WithStreamedUnaryMethod_InstallUpdate<WithStreamedUnaryMethod_SetIsAutomaticUpdateOn<WithStreamedUnaryMethod_IsAutomaticUpdateOn<WithStreamedUnaryMethod_DiskCachePath<WithStreamedUnaryMethod_SetDiskCachePath<WithStreamedUnaryMethod_SetIsDoHEnabled<WithStreamedUnaryMethod_IsDoHEnabled<WithStreamedUnaryMethod_MailServerSettings<WithStreamedUnaryMethod_SetMailServerSettings<WithStreamedUnaryMethod_Hostname<WithStreamedUnaryMethod_IsPortFree<WithStreamedUnaryMethod_AvailableKeychains<WithStreamedUnaryMethod_SetCurrentKeychain<WithStreamedUnaryMethod_CurrentKeychain<WithStreamedUnaryMethod_GetUserList<WithStreamedUnaryMethod_GetUser<WithStreamedUnaryMethod_SetUserSplitMode<WithStreamedUnaryMethod_SendBadEventUserFeedback<WithStreamedUnaryMethod_LogoutUser<WithStreamedUnaryMethod_RemoveUser<WithStreamedUnaryMethod_ConfigureUserAppleMail<WithStreamedUnaryMethod_ReportBugClicked<WithStreamedUnaryMethod_AutoconfigClicked<WithStreamedUnaryMethod_KBArticleClicked<WithSplitStreamingMethod_RunEventStream<WithStreamedUnaryMethod_StopEventStream<Service > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > StreamedService;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace grpc
|
|
|
|
|
|