mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-17 23:56:56 +00:00
chore(GODT-2442): improve naming, remove unrelated changes
This commit is contained in:
2
Makefile
2
Makefile
@ -369,6 +369,6 @@ clean: clean-vendor clean-gui clean-vcpkg
|
|||||||
.PHONY: generate
|
.PHONY: generate
|
||||||
generate:
|
generate:
|
||||||
go generate ./...
|
go generate ./...
|
||||||
$(MAKE) add-license
|
$(MAKE) build
|
||||||
|
|
||||||
.FORCE:
|
.FORCE:
|
||||||
|
|||||||
@ -315,8 +315,7 @@ func (bridge *Bridge) SendBadEventUserFeedback(_ context.Context, userID string,
|
|||||||
logrus.WithError(rerr).Error("Failed to report feedback failure")
|
logrus.WithError(rerr).Error("Failed to report feedback failure")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Cannot recover from this
|
return ErrNoSuchUser
|
||||||
panic(ErrNoSuchUser)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if doResync {
|
if doResync {
|
||||||
|
|||||||
@ -17,8 +17,8 @@
|
|||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.28.1
|
// protoc-gen-go v1.28.0
|
||||||
// protoc v3.21.12
|
// protoc v3.21.3
|
||||||
// source: focus.proto
|
// source: focus.proto
|
||||||
|
|
||||||
package proto
|
package proto
|
||||||
|
|||||||
@ -1,24 +1,7 @@
|
|||||||
// Copyright (c) 2022 Proton Technologies AG
|
|
||||||
//
|
|
||||||
// This file is part of ProtonMail Bridge.
|
|
||||||
//
|
|
||||||
// ProtonMail 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.
|
|
||||||
//
|
|
||||||
// ProtonMail 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 ProtonMail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// - protoc-gen-go-grpc v1.3.0
|
// - protoc-gen-go-grpc v1.2.0
|
||||||
// - protoc v3.21.12
|
// - protoc v3.21.3
|
||||||
// source: focus.proto
|
// source: focus.proto
|
||||||
|
|
||||||
package proto
|
package proto
|
||||||
@ -36,11 +19,6 @@ import (
|
|||||||
// Requires gRPC-Go v1.32.0 or later.
|
// Requires gRPC-Go v1.32.0 or later.
|
||||||
const _ = grpc.SupportPackageIsVersion7
|
const _ = grpc.SupportPackageIsVersion7
|
||||||
|
|
||||||
const (
|
|
||||||
Focus_Raise_FullMethodName = "/focus.Focus/Raise"
|
|
||||||
Focus_Version_FullMethodName = "/focus.Focus/Version"
|
|
||||||
)
|
|
||||||
|
|
||||||
// FocusClient is the client API for Focus service.
|
// FocusClient is the client API for Focus service.
|
||||||
//
|
//
|
||||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
|
||||||
@ -59,7 +37,7 @@ func NewFocusClient(cc grpc.ClientConnInterface) FocusClient {
|
|||||||
|
|
||||||
func (c *focusClient) Raise(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) {
|
func (c *focusClient) Raise(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) {
|
||||||
out := new(emptypb.Empty)
|
out := new(emptypb.Empty)
|
||||||
err := c.cc.Invoke(ctx, Focus_Raise_FullMethodName, in, out, opts...)
|
err := c.cc.Invoke(ctx, "/focus.Focus/Raise", in, out, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@ -68,7 +46,7 @@ func (c *focusClient) Raise(ctx context.Context, in *emptypb.Empty, opts ...grpc
|
|||||||
|
|
||||||
func (c *focusClient) Version(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VersionResponse, error) {
|
func (c *focusClient) Version(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VersionResponse, error) {
|
||||||
out := new(VersionResponse)
|
out := new(VersionResponse)
|
||||||
err := c.cc.Invoke(ctx, Focus_Version_FullMethodName, in, out, opts...)
|
err := c.cc.Invoke(ctx, "/focus.Focus/Version", in, out, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@ -117,7 +95,7 @@ func _Focus_Raise_Handler(srv interface{}, ctx context.Context, dec func(interfa
|
|||||||
}
|
}
|
||||||
info := &grpc.UnaryServerInfo{
|
info := &grpc.UnaryServerInfo{
|
||||||
Server: srv,
|
Server: srv,
|
||||||
FullMethod: Focus_Raise_FullMethodName,
|
FullMethod: "/focus.Focus/Raise",
|
||||||
}
|
}
|
||||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||||
return srv.(FocusServer).Raise(ctx, req.(*emptypb.Empty))
|
return srv.(FocusServer).Raise(ctx, req.(*emptypb.Empty))
|
||||||
@ -135,7 +113,7 @@ func _Focus_Version_Handler(srv interface{}, ctx context.Context, dec func(inter
|
|||||||
}
|
}
|
||||||
info := &grpc.UnaryServerInfo{
|
info := &grpc.UnaryServerInfo{
|
||||||
Server: srv,
|
Server: srv,
|
||||||
FullMethod: Focus_Version_FullMethodName,
|
FullMethod: "/focus.Focus/Version",
|
||||||
}
|
}
|
||||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||||
return srv.(FocusServer).Version(ctx, req.(*emptypb.Empty))
|
return srv.(FocusServer).Version(ctx, req.(*emptypb.Empty))
|
||||||
|
|||||||
@ -71,6 +71,7 @@ static const char* Bridge_method_names[] = {
|
|||||||
"/grpc.Bridge/GetUserList",
|
"/grpc.Bridge/GetUserList",
|
||||||
"/grpc.Bridge/GetUser",
|
"/grpc.Bridge/GetUser",
|
||||||
"/grpc.Bridge/SetUserSplitMode",
|
"/grpc.Bridge/SetUserSplitMode",
|
||||||
|
"/grpc.Bridge/SendBadEventUserFeedback",
|
||||||
"/grpc.Bridge/LogoutUser",
|
"/grpc.Bridge/LogoutUser",
|
||||||
"/grpc.Bridge/RemoveUser",
|
"/grpc.Bridge/RemoveUser",
|
||||||
"/grpc.Bridge/ConfigureUserAppleMail",
|
"/grpc.Bridge/ConfigureUserAppleMail",
|
||||||
@ -134,11 +135,12 @@ Bridge::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, co
|
|||||||
, rpcmethod_GetUserList_(Bridge_method_names[46], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
, rpcmethod_GetUserList_(Bridge_method_names[46], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||||
, rpcmethod_GetUser_(Bridge_method_names[47], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
, rpcmethod_GetUser_(Bridge_method_names[47], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||||
, rpcmethod_SetUserSplitMode_(Bridge_method_names[48], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
, rpcmethod_SetUserSplitMode_(Bridge_method_names[48], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||||
, rpcmethod_LogoutUser_(Bridge_method_names[49], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
, rpcmethod_SendBadEventUserFeedback_(Bridge_method_names[49], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||||
, rpcmethod_RemoveUser_(Bridge_method_names[50], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
, rpcmethod_LogoutUser_(Bridge_method_names[50], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||||
, rpcmethod_ConfigureUserAppleMail_(Bridge_method_names[51], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
, rpcmethod_RemoveUser_(Bridge_method_names[51], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||||
, rpcmethod_RunEventStream_(Bridge_method_names[52], options.suffix_for_stats(),::grpc::internal::RpcMethod::SERVER_STREAMING, channel)
|
, rpcmethod_ConfigureUserAppleMail_(Bridge_method_names[52], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||||
, rpcmethod_StopEventStream_(Bridge_method_names[53], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
, rpcmethod_RunEventStream_(Bridge_method_names[53], options.suffix_for_stats(),::grpc::internal::RpcMethod::SERVER_STREAMING, channel)
|
||||||
|
, rpcmethod_StopEventStream_(Bridge_method_names[54], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
::grpc::Status Bridge::Stub::CheckTokens(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::google::protobuf::StringValue* response) {
|
::grpc::Status Bridge::Stub::CheckTokens(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::google::protobuf::StringValue* response) {
|
||||||
@ -1268,6 +1270,29 @@ void Bridge::Stub::async::SetUserSplitMode(::grpc::ClientContext* context, const
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
::grpc::Status Bridge::Stub::SendBadEventUserFeedback(::grpc::ClientContext* context, const ::grpc::UserBadEventFeedbackRequest& request, ::google::protobuf::Empty* response) {
|
||||||
|
return ::grpc::internal::BlockingUnaryCall< ::grpc::UserBadEventFeedbackRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_SendBadEventUserFeedback_, context, request, response);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Bridge::Stub::async::SendBadEventUserFeedback(::grpc::ClientContext* context, const ::grpc::UserBadEventFeedbackRequest* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)> f) {
|
||||||
|
::grpc::internal::CallbackUnaryCall< ::grpc::UserBadEventFeedbackRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_SendBadEventUserFeedback_, context, request, response, std::move(f));
|
||||||
|
}
|
||||||
|
|
||||||
|
void Bridge::Stub::async::SendBadEventUserFeedback(::grpc::ClientContext* context, const ::grpc::UserBadEventFeedbackRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) {
|
||||||
|
::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_SendBadEventUserFeedback_, context, request, response, reactor);
|
||||||
|
}
|
||||||
|
|
||||||
|
::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* Bridge::Stub::PrepareAsyncSendBadEventUserFeedbackRaw(::grpc::ClientContext* context, const ::grpc::UserBadEventFeedbackRequest& request, ::grpc::CompletionQueue* cq) {
|
||||||
|
return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::google::protobuf::Empty, ::grpc::UserBadEventFeedbackRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_SendBadEventUserFeedback_, context, request);
|
||||||
|
}
|
||||||
|
|
||||||
|
::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* Bridge::Stub::AsyncSendBadEventUserFeedbackRaw(::grpc::ClientContext* context, const ::grpc::UserBadEventFeedbackRequest& request, ::grpc::CompletionQueue* cq) {
|
||||||
|
auto* result =
|
||||||
|
this->PrepareAsyncSendBadEventUserFeedbackRaw(context, request, cq);
|
||||||
|
result->StartCall();
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
::grpc::Status Bridge::Stub::LogoutUser(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::google::protobuf::Empty* response) {
|
::grpc::Status Bridge::Stub::LogoutUser(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::google::protobuf::Empty* response) {
|
||||||
return ::grpc::internal::BlockingUnaryCall< ::google::protobuf::StringValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_LogoutUser_, context, request, response);
|
return ::grpc::internal::BlockingUnaryCall< ::google::protobuf::StringValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_LogoutUser_, context, request, response);
|
||||||
}
|
}
|
||||||
@ -1870,12 +1895,12 @@ Bridge::Service::Service() {
|
|||||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||||
Bridge_method_names[49],
|
Bridge_method_names[49],
|
||||||
::grpc::internal::RpcMethod::NORMAL_RPC,
|
::grpc::internal::RpcMethod::NORMAL_RPC,
|
||||||
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::StringValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::grpc::UserBadEventFeedbackRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
||||||
[](Bridge::Service* service,
|
[](Bridge::Service* service,
|
||||||
::grpc::ServerContext* ctx,
|
::grpc::ServerContext* ctx,
|
||||||
const ::google::protobuf::StringValue* req,
|
const ::grpc::UserBadEventFeedbackRequest* req,
|
||||||
::google::protobuf::Empty* resp) {
|
::google::protobuf::Empty* resp) {
|
||||||
return service->LogoutUser(ctx, req, resp);
|
return service->SendBadEventUserFeedback(ctx, req, resp);
|
||||||
}, this)));
|
}, this)));
|
||||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||||
Bridge_method_names[50],
|
Bridge_method_names[50],
|
||||||
@ -1885,11 +1910,21 @@ Bridge::Service::Service() {
|
|||||||
::grpc::ServerContext* ctx,
|
::grpc::ServerContext* ctx,
|
||||||
const ::google::protobuf::StringValue* req,
|
const ::google::protobuf::StringValue* req,
|
||||||
::google::protobuf::Empty* resp) {
|
::google::protobuf::Empty* resp) {
|
||||||
return service->RemoveUser(ctx, req, resp);
|
return service->LogoutUser(ctx, req, resp);
|
||||||
}, this)));
|
}, this)));
|
||||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||||
Bridge_method_names[51],
|
Bridge_method_names[51],
|
||||||
::grpc::internal::RpcMethod::NORMAL_RPC,
|
::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,
|
||||||
|
::grpc::ServerContext* ctx,
|
||||||
|
const ::google::protobuf::StringValue* req,
|
||||||
|
::google::protobuf::Empty* resp) {
|
||||||
|
return service->RemoveUser(ctx, req, resp);
|
||||||
|
}, this)));
|
||||||
|
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||||
|
Bridge_method_names[52],
|
||||||
|
::grpc::internal::RpcMethod::NORMAL_RPC,
|
||||||
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::grpc::ConfigureAppleMailRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::grpc::ConfigureAppleMailRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
||||||
[](Bridge::Service* service,
|
[](Bridge::Service* service,
|
||||||
::grpc::ServerContext* ctx,
|
::grpc::ServerContext* ctx,
|
||||||
@ -1898,7 +1933,7 @@ Bridge::Service::Service() {
|
|||||||
return service->ConfigureUserAppleMail(ctx, req, resp);
|
return service->ConfigureUserAppleMail(ctx, req, resp);
|
||||||
}, this)));
|
}, this)));
|
||||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||||
Bridge_method_names[52],
|
Bridge_method_names[53],
|
||||||
::grpc::internal::RpcMethod::SERVER_STREAMING,
|
::grpc::internal::RpcMethod::SERVER_STREAMING,
|
||||||
new ::grpc::internal::ServerStreamingHandler< Bridge::Service, ::grpc::EventStreamRequest, ::grpc::StreamEvent>(
|
new ::grpc::internal::ServerStreamingHandler< Bridge::Service, ::grpc::EventStreamRequest, ::grpc::StreamEvent>(
|
||||||
[](Bridge::Service* service,
|
[](Bridge::Service* service,
|
||||||
@ -1908,7 +1943,7 @@ Bridge::Service::Service() {
|
|||||||
return service->RunEventStream(ctx, req, writer);
|
return service->RunEventStream(ctx, req, writer);
|
||||||
}, this)));
|
}, this)));
|
||||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||||
Bridge_method_names[53],
|
Bridge_method_names[54],
|
||||||
::grpc::internal::RpcMethod::NORMAL_RPC,
|
::grpc::internal::RpcMethod::NORMAL_RPC,
|
||||||
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
||||||
[](Bridge::Service* service,
|
[](Bridge::Service* service,
|
||||||
@ -2265,6 +2300,13 @@ Bridge::Service::~Service() {
|
|||||||
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
::grpc::Status Bridge::Service::SendBadEventUserFeedback(::grpc::ServerContext* context, const ::grpc::UserBadEventFeedbackRequest* request, ::google::protobuf::Empty* response) {
|
||||||
|
(void) context;
|
||||||
|
(void) request;
|
||||||
|
(void) response;
|
||||||
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
||||||
|
}
|
||||||
|
|
||||||
::grpc::Status Bridge::Service::LogoutUser(::grpc::ServerContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response) {
|
::grpc::Status Bridge::Service::LogoutUser(::grpc::ServerContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response) {
|
||||||
(void) context;
|
(void) context;
|
||||||
(void) request;
|
(void) request;
|
||||||
|
|||||||
@ -407,6 +407,13 @@ class Bridge final {
|
|||||||
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> PrepareAsyncSetUserSplitMode(::grpc::ClientContext* context, const ::grpc::UserSplitModeRequest& request, ::grpc::CompletionQueue* cq) {
|
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> PrepareAsyncSetUserSplitMode(::grpc::ClientContext* context, const ::grpc::UserSplitModeRequest& request, ::grpc::CompletionQueue* cq) {
|
||||||
return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(PrepareAsyncSetUserSplitModeRaw(context, request, cq));
|
return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(PrepareAsyncSetUserSplitModeRaw(context, request, cq));
|
||||||
}
|
}
|
||||||
|
virtual ::grpc::Status SendBadEventUserFeedback(::grpc::ClientContext* context, const ::grpc::UserBadEventFeedbackRequest& request, ::google::protobuf::Empty* response) = 0;
|
||||||
|
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> AsyncSendBadEventUserFeedback(::grpc::ClientContext* context, const ::grpc::UserBadEventFeedbackRequest& request, ::grpc::CompletionQueue* cq) {
|
||||||
|
return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(AsyncSendBadEventUserFeedbackRaw(context, request, cq));
|
||||||
|
}
|
||||||
|
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> PrepareAsyncSendBadEventUserFeedback(::grpc::ClientContext* context, const ::grpc::UserBadEventFeedbackRequest& request, ::grpc::CompletionQueue* cq) {
|
||||||
|
return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(PrepareAsyncSendBadEventUserFeedbackRaw(context, request, cq));
|
||||||
|
}
|
||||||
virtual ::grpc::Status LogoutUser(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::google::protobuf::Empty* response) = 0;
|
virtual ::grpc::Status LogoutUser(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::google::protobuf::Empty* response) = 0;
|
||||||
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> AsyncLogoutUser(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) {
|
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> AsyncLogoutUser(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) {
|
||||||
return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(AsyncLogoutUserRaw(context, request, cq));
|
return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(AsyncLogoutUserRaw(context, request, cq));
|
||||||
@ -555,6 +562,8 @@ class Bridge final {
|
|||||||
virtual void GetUser(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::grpc::User* response, ::grpc::ClientUnaryReactor* reactor) = 0;
|
virtual void GetUser(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::grpc::User* response, ::grpc::ClientUnaryReactor* reactor) = 0;
|
||||||
virtual void SetUserSplitMode(::grpc::ClientContext* context, const ::grpc::UserSplitModeRequest* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)>) = 0;
|
virtual void SetUserSplitMode(::grpc::ClientContext* context, const ::grpc::UserSplitModeRequest* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)>) = 0;
|
||||||
virtual void SetUserSplitMode(::grpc::ClientContext* context, const ::grpc::UserSplitModeRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) = 0;
|
virtual void SetUserSplitMode(::grpc::ClientContext* context, const ::grpc::UserSplitModeRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) = 0;
|
||||||
|
virtual void SendBadEventUserFeedback(::grpc::ClientContext* context, const ::grpc::UserBadEventFeedbackRequest* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)>) = 0;
|
||||||
|
virtual void SendBadEventUserFeedback(::grpc::ClientContext* context, const ::grpc::UserBadEventFeedbackRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) = 0;
|
||||||
virtual void LogoutUser(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)>) = 0;
|
virtual void LogoutUser(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)>) = 0;
|
||||||
virtual void LogoutUser(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) = 0;
|
virtual void LogoutUser(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) = 0;
|
||||||
virtual void RemoveUser(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)>) = 0;
|
virtual void RemoveUser(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)>) = 0;
|
||||||
@ -669,6 +678,8 @@ class Bridge final {
|
|||||||
virtual ::grpc::ClientAsyncResponseReaderInterface< ::grpc::User>* PrepareAsyncGetUserRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) = 0;
|
virtual ::grpc::ClientAsyncResponseReaderInterface< ::grpc::User>* PrepareAsyncGetUserRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) = 0;
|
||||||
virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncSetUserSplitModeRaw(::grpc::ClientContext* context, const ::grpc::UserSplitModeRequest& request, ::grpc::CompletionQueue* cq) = 0;
|
virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncSetUserSplitModeRaw(::grpc::ClientContext* context, const ::grpc::UserSplitModeRequest& request, ::grpc::CompletionQueue* cq) = 0;
|
||||||
virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* PrepareAsyncSetUserSplitModeRaw(::grpc::ClientContext* context, const ::grpc::UserSplitModeRequest& request, ::grpc::CompletionQueue* cq) = 0;
|
virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* PrepareAsyncSetUserSplitModeRaw(::grpc::ClientContext* context, const ::grpc::UserSplitModeRequest& request, ::grpc::CompletionQueue* cq) = 0;
|
||||||
|
virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncSendBadEventUserFeedbackRaw(::grpc::ClientContext* context, const ::grpc::UserBadEventFeedbackRequest& request, ::grpc::CompletionQueue* cq) = 0;
|
||||||
|
virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* PrepareAsyncSendBadEventUserFeedbackRaw(::grpc::ClientContext* context, const ::grpc::UserBadEventFeedbackRequest& request, ::grpc::CompletionQueue* cq) = 0;
|
||||||
virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncLogoutUserRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) = 0;
|
virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncLogoutUserRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) = 0;
|
||||||
virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* PrepareAsyncLogoutUserRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) = 0;
|
virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* PrepareAsyncLogoutUserRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) = 0;
|
||||||
virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncRemoveUserRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) = 0;
|
virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncRemoveUserRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) = 0;
|
||||||
@ -1027,6 +1038,13 @@ class Bridge final {
|
|||||||
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> PrepareAsyncSetUserSplitMode(::grpc::ClientContext* context, const ::grpc::UserSplitModeRequest& request, ::grpc::CompletionQueue* cq) {
|
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> PrepareAsyncSetUserSplitMode(::grpc::ClientContext* context, const ::grpc::UserSplitModeRequest& request, ::grpc::CompletionQueue* cq) {
|
||||||
return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(PrepareAsyncSetUserSplitModeRaw(context, request, cq));
|
return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(PrepareAsyncSetUserSplitModeRaw(context, request, cq));
|
||||||
}
|
}
|
||||||
|
::grpc::Status SendBadEventUserFeedback(::grpc::ClientContext* context, const ::grpc::UserBadEventFeedbackRequest& request, ::google::protobuf::Empty* response) override;
|
||||||
|
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> AsyncSendBadEventUserFeedback(::grpc::ClientContext* context, const ::grpc::UserBadEventFeedbackRequest& request, ::grpc::CompletionQueue* cq) {
|
||||||
|
return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(AsyncSendBadEventUserFeedbackRaw(context, request, cq));
|
||||||
|
}
|
||||||
|
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> PrepareAsyncSendBadEventUserFeedback(::grpc::ClientContext* context, const ::grpc::UserBadEventFeedbackRequest& request, ::grpc::CompletionQueue* cq) {
|
||||||
|
return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(PrepareAsyncSendBadEventUserFeedbackRaw(context, request, cq));
|
||||||
|
}
|
||||||
::grpc::Status LogoutUser(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::google::protobuf::Empty* response) override;
|
::grpc::Status LogoutUser(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::google::protobuf::Empty* response) override;
|
||||||
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> AsyncLogoutUser(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) {
|
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> AsyncLogoutUser(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) {
|
||||||
return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(AsyncLogoutUserRaw(context, request, cq));
|
return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(AsyncLogoutUserRaw(context, request, cq));
|
||||||
@ -1165,6 +1183,8 @@ class Bridge final {
|
|||||||
void GetUser(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::grpc::User* response, ::grpc::ClientUnaryReactor* reactor) override;
|
void GetUser(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::grpc::User* response, ::grpc::ClientUnaryReactor* reactor) override;
|
||||||
void SetUserSplitMode(::grpc::ClientContext* context, const ::grpc::UserSplitModeRequest* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)>) override;
|
void SetUserSplitMode(::grpc::ClientContext* context, const ::grpc::UserSplitModeRequest* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)>) override;
|
||||||
void SetUserSplitMode(::grpc::ClientContext* context, const ::grpc::UserSplitModeRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) override;
|
void SetUserSplitMode(::grpc::ClientContext* context, const ::grpc::UserSplitModeRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) override;
|
||||||
|
void SendBadEventUserFeedback(::grpc::ClientContext* context, const ::grpc::UserBadEventFeedbackRequest* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)>) override;
|
||||||
|
void SendBadEventUserFeedback(::grpc::ClientContext* context, const ::grpc::UserBadEventFeedbackRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) override;
|
||||||
void LogoutUser(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)>) override;
|
void LogoutUser(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)>) override;
|
||||||
void LogoutUser(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) override;
|
void LogoutUser(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) override;
|
||||||
void RemoveUser(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)>) override;
|
void RemoveUser(::grpc::ClientContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)>) override;
|
||||||
@ -1283,6 +1303,8 @@ class Bridge final {
|
|||||||
::grpc::ClientAsyncResponseReader< ::grpc::User>* PrepareAsyncGetUserRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) override;
|
::grpc::ClientAsyncResponseReader< ::grpc::User>* PrepareAsyncGetUserRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) override;
|
||||||
::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncSetUserSplitModeRaw(::grpc::ClientContext* context, const ::grpc::UserSplitModeRequest& request, ::grpc::CompletionQueue* cq) override;
|
::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncSetUserSplitModeRaw(::grpc::ClientContext* context, const ::grpc::UserSplitModeRequest& request, ::grpc::CompletionQueue* cq) override;
|
||||||
::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* PrepareAsyncSetUserSplitModeRaw(::grpc::ClientContext* context, const ::grpc::UserSplitModeRequest& request, ::grpc::CompletionQueue* cq) override;
|
::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* PrepareAsyncSetUserSplitModeRaw(::grpc::ClientContext* context, const ::grpc::UserSplitModeRequest& request, ::grpc::CompletionQueue* cq) override;
|
||||||
|
::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncSendBadEventUserFeedbackRaw(::grpc::ClientContext* context, const ::grpc::UserBadEventFeedbackRequest& request, ::grpc::CompletionQueue* cq) override;
|
||||||
|
::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* PrepareAsyncSendBadEventUserFeedbackRaw(::grpc::ClientContext* context, const ::grpc::UserBadEventFeedbackRequest& request, ::grpc::CompletionQueue* cq) override;
|
||||||
::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncLogoutUserRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) override;
|
::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncLogoutUserRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) override;
|
||||||
::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* PrepareAsyncLogoutUserRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) override;
|
::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* PrepareAsyncLogoutUserRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) override;
|
||||||
::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncRemoveUserRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) override;
|
::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncRemoveUserRaw(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::grpc::CompletionQueue* cq) override;
|
||||||
@ -1343,6 +1365,7 @@ class Bridge final {
|
|||||||
const ::grpc::internal::RpcMethod rpcmethod_GetUserList_;
|
const ::grpc::internal::RpcMethod rpcmethod_GetUserList_;
|
||||||
const ::grpc::internal::RpcMethod rpcmethod_GetUser_;
|
const ::grpc::internal::RpcMethod rpcmethod_GetUser_;
|
||||||
const ::grpc::internal::RpcMethod rpcmethod_SetUserSplitMode_;
|
const ::grpc::internal::RpcMethod rpcmethod_SetUserSplitMode_;
|
||||||
|
const ::grpc::internal::RpcMethod rpcmethod_SendBadEventUserFeedback_;
|
||||||
const ::grpc::internal::RpcMethod rpcmethod_LogoutUser_;
|
const ::grpc::internal::RpcMethod rpcmethod_LogoutUser_;
|
||||||
const ::grpc::internal::RpcMethod rpcmethod_RemoveUser_;
|
const ::grpc::internal::RpcMethod rpcmethod_RemoveUser_;
|
||||||
const ::grpc::internal::RpcMethod rpcmethod_ConfigureUserAppleMail_;
|
const ::grpc::internal::RpcMethod rpcmethod_ConfigureUserAppleMail_;
|
||||||
@ -1412,6 +1435,7 @@ class Bridge final {
|
|||||||
virtual ::grpc::Status GetUserList(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::grpc::UserListResponse* response);
|
virtual ::grpc::Status GetUserList(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::grpc::UserListResponse* response);
|
||||||
virtual ::grpc::Status GetUser(::grpc::ServerContext* context, const ::google::protobuf::StringValue* request, ::grpc::User* response);
|
virtual ::grpc::Status GetUser(::grpc::ServerContext* context, const ::google::protobuf::StringValue* request, ::grpc::User* response);
|
||||||
virtual ::grpc::Status SetUserSplitMode(::grpc::ServerContext* context, const ::grpc::UserSplitModeRequest* request, ::google::protobuf::Empty* response);
|
virtual ::grpc::Status SetUserSplitMode(::grpc::ServerContext* context, const ::grpc::UserSplitModeRequest* request, ::google::protobuf::Empty* response);
|
||||||
|
virtual ::grpc::Status SendBadEventUserFeedback(::grpc::ServerContext* context, const ::grpc::UserBadEventFeedbackRequest* request, ::google::protobuf::Empty* response);
|
||||||
virtual ::grpc::Status LogoutUser(::grpc::ServerContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response);
|
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 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);
|
virtual ::grpc::Status ConfigureUserAppleMail(::grpc::ServerContext* context, const ::grpc::ConfigureAppleMailRequest* request, ::google::protobuf::Empty* response);
|
||||||
@ -2401,12 +2425,32 @@ class Bridge final {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
template <class BaseClass>
|
template <class BaseClass>
|
||||||
|
class WithAsyncMethod_SendBadEventUserFeedback : public BaseClass {
|
||||||
|
private:
|
||||||
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
|
public:
|
||||||
|
WithAsyncMethod_SendBadEventUserFeedback() {
|
||||||
|
::grpc::Service::MarkMethodAsync(49);
|
||||||
|
}
|
||||||
|
~WithAsyncMethod_SendBadEventUserFeedback() override {
|
||||||
|
BaseClassMustBeDerivedFromService(this);
|
||||||
|
}
|
||||||
|
// disable synchronous version of this method
|
||||||
|
::grpc::Status SendBadEventUserFeedback(::grpc::ServerContext* /*context*/, const ::grpc::UserBadEventFeedbackRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override {
|
||||||
|
abort();
|
||||||
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
||||||
|
}
|
||||||
|
void RequestSendBadEventUserFeedback(::grpc::ServerContext* context, ::grpc::UserBadEventFeedbackRequest* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
|
||||||
|
::grpc::Service::RequestAsyncUnary(49, context, request, response, new_call_cq, notification_cq, tag);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
template <class BaseClass>
|
||||||
class WithAsyncMethod_LogoutUser : public BaseClass {
|
class WithAsyncMethod_LogoutUser : public BaseClass {
|
||||||
private:
|
private:
|
||||||
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
public:
|
public:
|
||||||
WithAsyncMethod_LogoutUser() {
|
WithAsyncMethod_LogoutUser() {
|
||||||
::grpc::Service::MarkMethodAsync(49);
|
::grpc::Service::MarkMethodAsync(50);
|
||||||
}
|
}
|
||||||
~WithAsyncMethod_LogoutUser() override {
|
~WithAsyncMethod_LogoutUser() override {
|
||||||
BaseClassMustBeDerivedFromService(this);
|
BaseClassMustBeDerivedFromService(this);
|
||||||
@ -2417,7 +2461,7 @@ class Bridge final {
|
|||||||
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
||||||
}
|
}
|
||||||
void RequestLogoutUser(::grpc::ServerContext* context, ::google::protobuf::StringValue* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
|
void RequestLogoutUser(::grpc::ServerContext* context, ::google::protobuf::StringValue* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
|
||||||
::grpc::Service::RequestAsyncUnary(49, context, request, response, new_call_cq, notification_cq, tag);
|
::grpc::Service::RequestAsyncUnary(50, context, request, response, new_call_cq, notification_cq, tag);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
template <class BaseClass>
|
template <class BaseClass>
|
||||||
@ -2426,7 +2470,7 @@ class Bridge final {
|
|||||||
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
public:
|
public:
|
||||||
WithAsyncMethod_RemoveUser() {
|
WithAsyncMethod_RemoveUser() {
|
||||||
::grpc::Service::MarkMethodAsync(50);
|
::grpc::Service::MarkMethodAsync(51);
|
||||||
}
|
}
|
||||||
~WithAsyncMethod_RemoveUser() override {
|
~WithAsyncMethod_RemoveUser() override {
|
||||||
BaseClassMustBeDerivedFromService(this);
|
BaseClassMustBeDerivedFromService(this);
|
||||||
@ -2437,7 +2481,7 @@ class Bridge final {
|
|||||||
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
||||||
}
|
}
|
||||||
void RequestRemoveUser(::grpc::ServerContext* context, ::google::protobuf::StringValue* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
|
void RequestRemoveUser(::grpc::ServerContext* context, ::google::protobuf::StringValue* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
|
||||||
::grpc::Service::RequestAsyncUnary(50, context, request, response, new_call_cq, notification_cq, tag);
|
::grpc::Service::RequestAsyncUnary(51, context, request, response, new_call_cq, notification_cq, tag);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
template <class BaseClass>
|
template <class BaseClass>
|
||||||
@ -2446,7 +2490,7 @@ class Bridge final {
|
|||||||
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
public:
|
public:
|
||||||
WithAsyncMethod_ConfigureUserAppleMail() {
|
WithAsyncMethod_ConfigureUserAppleMail() {
|
||||||
::grpc::Service::MarkMethodAsync(51);
|
::grpc::Service::MarkMethodAsync(52);
|
||||||
}
|
}
|
||||||
~WithAsyncMethod_ConfigureUserAppleMail() override {
|
~WithAsyncMethod_ConfigureUserAppleMail() override {
|
||||||
BaseClassMustBeDerivedFromService(this);
|
BaseClassMustBeDerivedFromService(this);
|
||||||
@ -2457,7 +2501,7 @@ class Bridge final {
|
|||||||
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
||||||
}
|
}
|
||||||
void RequestConfigureUserAppleMail(::grpc::ServerContext* context, ::grpc::ConfigureAppleMailRequest* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
|
void RequestConfigureUserAppleMail(::grpc::ServerContext* context, ::grpc::ConfigureAppleMailRequest* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
|
||||||
::grpc::Service::RequestAsyncUnary(51, context, request, response, new_call_cq, notification_cq, tag);
|
::grpc::Service::RequestAsyncUnary(52, context, request, response, new_call_cq, notification_cq, tag);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
template <class BaseClass>
|
template <class BaseClass>
|
||||||
@ -2466,7 +2510,7 @@ class Bridge final {
|
|||||||
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
public:
|
public:
|
||||||
WithAsyncMethod_RunEventStream() {
|
WithAsyncMethod_RunEventStream() {
|
||||||
::grpc::Service::MarkMethodAsync(52);
|
::grpc::Service::MarkMethodAsync(53);
|
||||||
}
|
}
|
||||||
~WithAsyncMethod_RunEventStream() override {
|
~WithAsyncMethod_RunEventStream() override {
|
||||||
BaseClassMustBeDerivedFromService(this);
|
BaseClassMustBeDerivedFromService(this);
|
||||||
@ -2477,7 +2521,7 @@ class Bridge final {
|
|||||||
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
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) {
|
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(52, context, request, writer, new_call_cq, notification_cq, tag);
|
::grpc::Service::RequestAsyncServerStreaming(53, context, request, writer, new_call_cq, notification_cq, tag);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
template <class BaseClass>
|
template <class BaseClass>
|
||||||
@ -2486,7 +2530,7 @@ class Bridge final {
|
|||||||
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
public:
|
public:
|
||||||
WithAsyncMethod_StopEventStream() {
|
WithAsyncMethod_StopEventStream() {
|
||||||
::grpc::Service::MarkMethodAsync(53);
|
::grpc::Service::MarkMethodAsync(54);
|
||||||
}
|
}
|
||||||
~WithAsyncMethod_StopEventStream() override {
|
~WithAsyncMethod_StopEventStream() override {
|
||||||
BaseClassMustBeDerivedFromService(this);
|
BaseClassMustBeDerivedFromService(this);
|
||||||
@ -2497,10 +2541,10 @@ class Bridge final {
|
|||||||
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
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) {
|
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(53, context, request, response, new_call_cq, notification_cq, tag);
|
::grpc::Service::RequestAsyncUnary(54, context, request, response, new_call_cq, notification_cq, tag);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
typedef WithAsyncMethod_CheckTokens<WithAsyncMethod_AddLogEntry<WithAsyncMethod_GuiReady<WithAsyncMethod_Quit<WithAsyncMethod_Restart<WithAsyncMethod_ShowOnStartup<WithAsyncMethod_SetIsAutostartOn<WithAsyncMethod_IsAutostartOn<WithAsyncMethod_SetIsBetaEnabled<WithAsyncMethod_IsBetaEnabled<WithAsyncMethod_SetIsAllMailVisible<WithAsyncMethod_IsAllMailVisible<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_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_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;
|
||||||
template <class BaseClass>
|
template <class BaseClass>
|
||||||
class WithCallbackMethod_CheckTokens : public BaseClass {
|
class WithCallbackMethod_CheckTokens : public BaseClass {
|
||||||
private:
|
private:
|
||||||
@ -3825,18 +3869,45 @@ class Bridge final {
|
|||||||
::grpc::CallbackServerContext* /*context*/, const ::grpc::UserSplitModeRequest* /*request*/, ::google::protobuf::Empty* /*response*/) { return nullptr; }
|
::grpc::CallbackServerContext* /*context*/, const ::grpc::UserSplitModeRequest* /*request*/, ::google::protobuf::Empty* /*response*/) { return nullptr; }
|
||||||
};
|
};
|
||||||
template <class BaseClass>
|
template <class BaseClass>
|
||||||
|
class WithCallbackMethod_SendBadEventUserFeedback : public BaseClass {
|
||||||
|
private:
|
||||||
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
|
public:
|
||||||
|
WithCallbackMethod_SendBadEventUserFeedback() {
|
||||||
|
::grpc::Service::MarkMethodCallback(49,
|
||||||
|
new ::grpc::internal::CallbackUnaryHandler< ::grpc::UserBadEventFeedbackRequest, ::google::protobuf::Empty>(
|
||||||
|
[this](
|
||||||
|
::grpc::CallbackServerContext* context, const ::grpc::UserBadEventFeedbackRequest* request, ::google::protobuf::Empty* response) { return this->SendBadEventUserFeedback(context, request, response); }));}
|
||||||
|
void SetMessageAllocatorFor_SendBadEventUserFeedback(
|
||||||
|
::grpc::MessageAllocator< ::grpc::UserBadEventFeedbackRequest, ::google::protobuf::Empty>* allocator) {
|
||||||
|
::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(49);
|
||||||
|
static_cast<::grpc::internal::CallbackUnaryHandler< ::grpc::UserBadEventFeedbackRequest, ::google::protobuf::Empty>*>(handler)
|
||||||
|
->SetMessageAllocator(allocator);
|
||||||
|
}
|
||||||
|
~WithCallbackMethod_SendBadEventUserFeedback() override {
|
||||||
|
BaseClassMustBeDerivedFromService(this);
|
||||||
|
}
|
||||||
|
// disable synchronous version of this method
|
||||||
|
::grpc::Status SendBadEventUserFeedback(::grpc::ServerContext* /*context*/, const ::grpc::UserBadEventFeedbackRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override {
|
||||||
|
abort();
|
||||||
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
||||||
|
}
|
||||||
|
virtual ::grpc::ServerUnaryReactor* SendBadEventUserFeedback(
|
||||||
|
::grpc::CallbackServerContext* /*context*/, const ::grpc::UserBadEventFeedbackRequest* /*request*/, ::google::protobuf::Empty* /*response*/) { return nullptr; }
|
||||||
|
};
|
||||||
|
template <class BaseClass>
|
||||||
class WithCallbackMethod_LogoutUser : public BaseClass {
|
class WithCallbackMethod_LogoutUser : public BaseClass {
|
||||||
private:
|
private:
|
||||||
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
public:
|
public:
|
||||||
WithCallbackMethod_LogoutUser() {
|
WithCallbackMethod_LogoutUser() {
|
||||||
::grpc::Service::MarkMethodCallback(49,
|
::grpc::Service::MarkMethodCallback(50,
|
||||||
new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::StringValue, ::google::protobuf::Empty>(
|
new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::StringValue, ::google::protobuf::Empty>(
|
||||||
[this](
|
[this](
|
||||||
::grpc::CallbackServerContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response) { return this->LogoutUser(context, request, response); }));}
|
::grpc::CallbackServerContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response) { return this->LogoutUser(context, request, response); }));}
|
||||||
void SetMessageAllocatorFor_LogoutUser(
|
void SetMessageAllocatorFor_LogoutUser(
|
||||||
::grpc::MessageAllocator< ::google::protobuf::StringValue, ::google::protobuf::Empty>* allocator) {
|
::grpc::MessageAllocator< ::google::protobuf::StringValue, ::google::protobuf::Empty>* allocator) {
|
||||||
::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(49);
|
::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(50);
|
||||||
static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::StringValue, ::google::protobuf::Empty>*>(handler)
|
static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::StringValue, ::google::protobuf::Empty>*>(handler)
|
||||||
->SetMessageAllocator(allocator);
|
->SetMessageAllocator(allocator);
|
||||||
}
|
}
|
||||||
@ -3857,13 +3928,13 @@ class Bridge final {
|
|||||||
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
public:
|
public:
|
||||||
WithCallbackMethod_RemoveUser() {
|
WithCallbackMethod_RemoveUser() {
|
||||||
::grpc::Service::MarkMethodCallback(50,
|
::grpc::Service::MarkMethodCallback(51,
|
||||||
new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::StringValue, ::google::protobuf::Empty>(
|
new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::StringValue, ::google::protobuf::Empty>(
|
||||||
[this](
|
[this](
|
||||||
::grpc::CallbackServerContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response) { return this->RemoveUser(context, request, response); }));}
|
::grpc::CallbackServerContext* context, const ::google::protobuf::StringValue* request, ::google::protobuf::Empty* response) { return this->RemoveUser(context, request, response); }));}
|
||||||
void SetMessageAllocatorFor_RemoveUser(
|
void SetMessageAllocatorFor_RemoveUser(
|
||||||
::grpc::MessageAllocator< ::google::protobuf::StringValue, ::google::protobuf::Empty>* allocator) {
|
::grpc::MessageAllocator< ::google::protobuf::StringValue, ::google::protobuf::Empty>* allocator) {
|
||||||
::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(50);
|
::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(51);
|
||||||
static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::StringValue, ::google::protobuf::Empty>*>(handler)
|
static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::StringValue, ::google::protobuf::Empty>*>(handler)
|
||||||
->SetMessageAllocator(allocator);
|
->SetMessageAllocator(allocator);
|
||||||
}
|
}
|
||||||
@ -3884,13 +3955,13 @@ class Bridge final {
|
|||||||
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
public:
|
public:
|
||||||
WithCallbackMethod_ConfigureUserAppleMail() {
|
WithCallbackMethod_ConfigureUserAppleMail() {
|
||||||
::grpc::Service::MarkMethodCallback(51,
|
::grpc::Service::MarkMethodCallback(52,
|
||||||
new ::grpc::internal::CallbackUnaryHandler< ::grpc::ConfigureAppleMailRequest, ::google::protobuf::Empty>(
|
new ::grpc::internal::CallbackUnaryHandler< ::grpc::ConfigureAppleMailRequest, ::google::protobuf::Empty>(
|
||||||
[this](
|
[this](
|
||||||
::grpc::CallbackServerContext* context, const ::grpc::ConfigureAppleMailRequest* request, ::google::protobuf::Empty* response) { return this->ConfigureUserAppleMail(context, request, response); }));}
|
::grpc::CallbackServerContext* context, const ::grpc::ConfigureAppleMailRequest* request, ::google::protobuf::Empty* response) { return this->ConfigureUserAppleMail(context, request, response); }));}
|
||||||
void SetMessageAllocatorFor_ConfigureUserAppleMail(
|
void SetMessageAllocatorFor_ConfigureUserAppleMail(
|
||||||
::grpc::MessageAllocator< ::grpc::ConfigureAppleMailRequest, ::google::protobuf::Empty>* allocator) {
|
::grpc::MessageAllocator< ::grpc::ConfigureAppleMailRequest, ::google::protobuf::Empty>* allocator) {
|
||||||
::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(51);
|
::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(52);
|
||||||
static_cast<::grpc::internal::CallbackUnaryHandler< ::grpc::ConfigureAppleMailRequest, ::google::protobuf::Empty>*>(handler)
|
static_cast<::grpc::internal::CallbackUnaryHandler< ::grpc::ConfigureAppleMailRequest, ::google::protobuf::Empty>*>(handler)
|
||||||
->SetMessageAllocator(allocator);
|
->SetMessageAllocator(allocator);
|
||||||
}
|
}
|
||||||
@ -3911,7 +3982,7 @@ class Bridge final {
|
|||||||
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
public:
|
public:
|
||||||
WithCallbackMethod_RunEventStream() {
|
WithCallbackMethod_RunEventStream() {
|
||||||
::grpc::Service::MarkMethodCallback(52,
|
::grpc::Service::MarkMethodCallback(53,
|
||||||
new ::grpc::internal::CallbackServerStreamingHandler< ::grpc::EventStreamRequest, ::grpc::StreamEvent>(
|
new ::grpc::internal::CallbackServerStreamingHandler< ::grpc::EventStreamRequest, ::grpc::StreamEvent>(
|
||||||
[this](
|
[this](
|
||||||
::grpc::CallbackServerContext* context, const ::grpc::EventStreamRequest* request) { return this->RunEventStream(context, request); }));
|
::grpc::CallbackServerContext* context, const ::grpc::EventStreamRequest* request) { return this->RunEventStream(context, request); }));
|
||||||
@ -3933,13 +4004,13 @@ class Bridge final {
|
|||||||
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
public:
|
public:
|
||||||
WithCallbackMethod_StopEventStream() {
|
WithCallbackMethod_StopEventStream() {
|
||||||
::grpc::Service::MarkMethodCallback(53,
|
::grpc::Service::MarkMethodCallback(54,
|
||||||
new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::Empty>(
|
new ::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::Empty>(
|
||||||
[this](
|
[this](
|
||||||
::grpc::CallbackServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Empty* response) { return this->StopEventStream(context, request, response); }));}
|
::grpc::CallbackServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::Empty* response) { return this->StopEventStream(context, request, response); }));}
|
||||||
void SetMessageAllocatorFor_StopEventStream(
|
void SetMessageAllocatorFor_StopEventStream(
|
||||||
::grpc::MessageAllocator< ::google::protobuf::Empty, ::google::protobuf::Empty>* allocator) {
|
::grpc::MessageAllocator< ::google::protobuf::Empty, ::google::protobuf::Empty>* allocator) {
|
||||||
::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(53);
|
::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(54);
|
||||||
static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::Empty>*>(handler)
|
static_cast<::grpc::internal::CallbackUnaryHandler< ::google::protobuf::Empty, ::google::protobuf::Empty>*>(handler)
|
||||||
->SetMessageAllocator(allocator);
|
->SetMessageAllocator(allocator);
|
||||||
}
|
}
|
||||||
@ -3954,7 +4025,7 @@ class Bridge final {
|
|||||||
virtual ::grpc::ServerUnaryReactor* StopEventStream(
|
virtual ::grpc::ServerUnaryReactor* StopEventStream(
|
||||||
::grpc::CallbackServerContext* /*context*/, const ::google::protobuf::Empty* /*request*/, ::google::protobuf::Empty* /*response*/) { return nullptr; }
|
::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_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_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_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 CallbackService ExperimentalCallbackService;
|
typedef CallbackService ExperimentalCallbackService;
|
||||||
template <class BaseClass>
|
template <class BaseClass>
|
||||||
class WithGenericMethod_CheckTokens : public BaseClass {
|
class WithGenericMethod_CheckTokens : public BaseClass {
|
||||||
@ -4790,12 +4861,29 @@ class Bridge final {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
template <class BaseClass>
|
template <class BaseClass>
|
||||||
|
class WithGenericMethod_SendBadEventUserFeedback : public BaseClass {
|
||||||
|
private:
|
||||||
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
|
public:
|
||||||
|
WithGenericMethod_SendBadEventUserFeedback() {
|
||||||
|
::grpc::Service::MarkMethodGeneric(49);
|
||||||
|
}
|
||||||
|
~WithGenericMethod_SendBadEventUserFeedback() override {
|
||||||
|
BaseClassMustBeDerivedFromService(this);
|
||||||
|
}
|
||||||
|
// disable synchronous version of this method
|
||||||
|
::grpc::Status SendBadEventUserFeedback(::grpc::ServerContext* /*context*/, const ::grpc::UserBadEventFeedbackRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override {
|
||||||
|
abort();
|
||||||
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
||||||
|
}
|
||||||
|
};
|
||||||
|
template <class BaseClass>
|
||||||
class WithGenericMethod_LogoutUser : public BaseClass {
|
class WithGenericMethod_LogoutUser : public BaseClass {
|
||||||
private:
|
private:
|
||||||
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
public:
|
public:
|
||||||
WithGenericMethod_LogoutUser() {
|
WithGenericMethod_LogoutUser() {
|
||||||
::grpc::Service::MarkMethodGeneric(49);
|
::grpc::Service::MarkMethodGeneric(50);
|
||||||
}
|
}
|
||||||
~WithGenericMethod_LogoutUser() override {
|
~WithGenericMethod_LogoutUser() override {
|
||||||
BaseClassMustBeDerivedFromService(this);
|
BaseClassMustBeDerivedFromService(this);
|
||||||
@ -4812,7 +4900,7 @@ class Bridge final {
|
|||||||
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
public:
|
public:
|
||||||
WithGenericMethod_RemoveUser() {
|
WithGenericMethod_RemoveUser() {
|
||||||
::grpc::Service::MarkMethodGeneric(50);
|
::grpc::Service::MarkMethodGeneric(51);
|
||||||
}
|
}
|
||||||
~WithGenericMethod_RemoveUser() override {
|
~WithGenericMethod_RemoveUser() override {
|
||||||
BaseClassMustBeDerivedFromService(this);
|
BaseClassMustBeDerivedFromService(this);
|
||||||
@ -4829,7 +4917,7 @@ class Bridge final {
|
|||||||
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
public:
|
public:
|
||||||
WithGenericMethod_ConfigureUserAppleMail() {
|
WithGenericMethod_ConfigureUserAppleMail() {
|
||||||
::grpc::Service::MarkMethodGeneric(51);
|
::grpc::Service::MarkMethodGeneric(52);
|
||||||
}
|
}
|
||||||
~WithGenericMethod_ConfigureUserAppleMail() override {
|
~WithGenericMethod_ConfigureUserAppleMail() override {
|
||||||
BaseClassMustBeDerivedFromService(this);
|
BaseClassMustBeDerivedFromService(this);
|
||||||
@ -4846,7 +4934,7 @@ class Bridge final {
|
|||||||
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
public:
|
public:
|
||||||
WithGenericMethod_RunEventStream() {
|
WithGenericMethod_RunEventStream() {
|
||||||
::grpc::Service::MarkMethodGeneric(52);
|
::grpc::Service::MarkMethodGeneric(53);
|
||||||
}
|
}
|
||||||
~WithGenericMethod_RunEventStream() override {
|
~WithGenericMethod_RunEventStream() override {
|
||||||
BaseClassMustBeDerivedFromService(this);
|
BaseClassMustBeDerivedFromService(this);
|
||||||
@ -4863,7 +4951,7 @@ class Bridge final {
|
|||||||
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
public:
|
public:
|
||||||
WithGenericMethod_StopEventStream() {
|
WithGenericMethod_StopEventStream() {
|
||||||
::grpc::Service::MarkMethodGeneric(53);
|
::grpc::Service::MarkMethodGeneric(54);
|
||||||
}
|
}
|
||||||
~WithGenericMethod_StopEventStream() override {
|
~WithGenericMethod_StopEventStream() override {
|
||||||
BaseClassMustBeDerivedFromService(this);
|
BaseClassMustBeDerivedFromService(this);
|
||||||
@ -5855,12 +5943,32 @@ class Bridge final {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
template <class BaseClass>
|
template <class BaseClass>
|
||||||
|
class WithRawMethod_SendBadEventUserFeedback : public BaseClass {
|
||||||
|
private:
|
||||||
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
|
public:
|
||||||
|
WithRawMethod_SendBadEventUserFeedback() {
|
||||||
|
::grpc::Service::MarkMethodRaw(49);
|
||||||
|
}
|
||||||
|
~WithRawMethod_SendBadEventUserFeedback() override {
|
||||||
|
BaseClassMustBeDerivedFromService(this);
|
||||||
|
}
|
||||||
|
// disable synchronous version of this method
|
||||||
|
::grpc::Status SendBadEventUserFeedback(::grpc::ServerContext* /*context*/, const ::grpc::UserBadEventFeedbackRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override {
|
||||||
|
abort();
|
||||||
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
||||||
|
}
|
||||||
|
void RequestSendBadEventUserFeedback(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
|
||||||
|
::grpc::Service::RequestAsyncUnary(49, context, request, response, new_call_cq, notification_cq, tag);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
template <class BaseClass>
|
||||||
class WithRawMethod_LogoutUser : public BaseClass {
|
class WithRawMethod_LogoutUser : public BaseClass {
|
||||||
private:
|
private:
|
||||||
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
public:
|
public:
|
||||||
WithRawMethod_LogoutUser() {
|
WithRawMethod_LogoutUser() {
|
||||||
::grpc::Service::MarkMethodRaw(49);
|
::grpc::Service::MarkMethodRaw(50);
|
||||||
}
|
}
|
||||||
~WithRawMethod_LogoutUser() override {
|
~WithRawMethod_LogoutUser() override {
|
||||||
BaseClassMustBeDerivedFromService(this);
|
BaseClassMustBeDerivedFromService(this);
|
||||||
@ -5871,7 +5979,7 @@ class Bridge final {
|
|||||||
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
||||||
}
|
}
|
||||||
void RequestLogoutUser(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
|
void RequestLogoutUser(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
|
||||||
::grpc::Service::RequestAsyncUnary(49, context, request, response, new_call_cq, notification_cq, tag);
|
::grpc::Service::RequestAsyncUnary(50, context, request, response, new_call_cq, notification_cq, tag);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
template <class BaseClass>
|
template <class BaseClass>
|
||||||
@ -5880,7 +5988,7 @@ class Bridge final {
|
|||||||
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
public:
|
public:
|
||||||
WithRawMethod_RemoveUser() {
|
WithRawMethod_RemoveUser() {
|
||||||
::grpc::Service::MarkMethodRaw(50);
|
::grpc::Service::MarkMethodRaw(51);
|
||||||
}
|
}
|
||||||
~WithRawMethod_RemoveUser() override {
|
~WithRawMethod_RemoveUser() override {
|
||||||
BaseClassMustBeDerivedFromService(this);
|
BaseClassMustBeDerivedFromService(this);
|
||||||
@ -5891,7 +5999,7 @@ class Bridge final {
|
|||||||
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
||||||
}
|
}
|
||||||
void RequestRemoveUser(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
|
void RequestRemoveUser(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
|
||||||
::grpc::Service::RequestAsyncUnary(50, context, request, response, new_call_cq, notification_cq, tag);
|
::grpc::Service::RequestAsyncUnary(51, context, request, response, new_call_cq, notification_cq, tag);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
template <class BaseClass>
|
template <class BaseClass>
|
||||||
@ -5900,7 +6008,7 @@ class Bridge final {
|
|||||||
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
public:
|
public:
|
||||||
WithRawMethod_ConfigureUserAppleMail() {
|
WithRawMethod_ConfigureUserAppleMail() {
|
||||||
::grpc::Service::MarkMethodRaw(51);
|
::grpc::Service::MarkMethodRaw(52);
|
||||||
}
|
}
|
||||||
~WithRawMethod_ConfigureUserAppleMail() override {
|
~WithRawMethod_ConfigureUserAppleMail() override {
|
||||||
BaseClassMustBeDerivedFromService(this);
|
BaseClassMustBeDerivedFromService(this);
|
||||||
@ -5911,7 +6019,7 @@ class Bridge final {
|
|||||||
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
||||||
}
|
}
|
||||||
void RequestConfigureUserAppleMail(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
|
void RequestConfigureUserAppleMail(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
|
||||||
::grpc::Service::RequestAsyncUnary(51, context, request, response, new_call_cq, notification_cq, tag);
|
::grpc::Service::RequestAsyncUnary(52, context, request, response, new_call_cq, notification_cq, tag);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
template <class BaseClass>
|
template <class BaseClass>
|
||||||
@ -5920,7 +6028,7 @@ class Bridge final {
|
|||||||
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
public:
|
public:
|
||||||
WithRawMethod_RunEventStream() {
|
WithRawMethod_RunEventStream() {
|
||||||
::grpc::Service::MarkMethodRaw(52);
|
::grpc::Service::MarkMethodRaw(53);
|
||||||
}
|
}
|
||||||
~WithRawMethod_RunEventStream() override {
|
~WithRawMethod_RunEventStream() override {
|
||||||
BaseClassMustBeDerivedFromService(this);
|
BaseClassMustBeDerivedFromService(this);
|
||||||
@ -5931,7 +6039,7 @@ class Bridge final {
|
|||||||
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
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) {
|
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(52, context, request, writer, new_call_cq, notification_cq, tag);
|
::grpc::Service::RequestAsyncServerStreaming(53, context, request, writer, new_call_cq, notification_cq, tag);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
template <class BaseClass>
|
template <class BaseClass>
|
||||||
@ -5940,7 +6048,7 @@ class Bridge final {
|
|||||||
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
public:
|
public:
|
||||||
WithRawMethod_StopEventStream() {
|
WithRawMethod_StopEventStream() {
|
||||||
::grpc::Service::MarkMethodRaw(53);
|
::grpc::Service::MarkMethodRaw(54);
|
||||||
}
|
}
|
||||||
~WithRawMethod_StopEventStream() override {
|
~WithRawMethod_StopEventStream() override {
|
||||||
BaseClassMustBeDerivedFromService(this);
|
BaseClassMustBeDerivedFromService(this);
|
||||||
@ -5951,7 +6059,7 @@ class Bridge final {
|
|||||||
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
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) {
|
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(53, context, request, response, new_call_cq, notification_cq, tag);
|
::grpc::Service::RequestAsyncUnary(54, context, request, response, new_call_cq, notification_cq, tag);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
template <class BaseClass>
|
template <class BaseClass>
|
||||||
@ -7033,12 +7141,34 @@ class Bridge final {
|
|||||||
::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; }
|
::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; }
|
||||||
};
|
};
|
||||||
template <class BaseClass>
|
template <class BaseClass>
|
||||||
|
class WithRawCallbackMethod_SendBadEventUserFeedback : public BaseClass {
|
||||||
|
private:
|
||||||
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
|
public:
|
||||||
|
WithRawCallbackMethod_SendBadEventUserFeedback() {
|
||||||
|
::grpc::Service::MarkMethodRawCallback(49,
|
||||||
|
new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
|
||||||
|
[this](
|
||||||
|
::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->SendBadEventUserFeedback(context, request, response); }));
|
||||||
|
}
|
||||||
|
~WithRawCallbackMethod_SendBadEventUserFeedback() override {
|
||||||
|
BaseClassMustBeDerivedFromService(this);
|
||||||
|
}
|
||||||
|
// disable synchronous version of this method
|
||||||
|
::grpc::Status SendBadEventUserFeedback(::grpc::ServerContext* /*context*/, const ::grpc::UserBadEventFeedbackRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override {
|
||||||
|
abort();
|
||||||
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
||||||
|
}
|
||||||
|
virtual ::grpc::ServerUnaryReactor* SendBadEventUserFeedback(
|
||||||
|
::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; }
|
||||||
|
};
|
||||||
|
template <class BaseClass>
|
||||||
class WithRawCallbackMethod_LogoutUser : public BaseClass {
|
class WithRawCallbackMethod_LogoutUser : public BaseClass {
|
||||||
private:
|
private:
|
||||||
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
public:
|
public:
|
||||||
WithRawCallbackMethod_LogoutUser() {
|
WithRawCallbackMethod_LogoutUser() {
|
||||||
::grpc::Service::MarkMethodRawCallback(49,
|
::grpc::Service::MarkMethodRawCallback(50,
|
||||||
new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
|
new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
|
||||||
[this](
|
[this](
|
||||||
::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->LogoutUser(context, request, response); }));
|
::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->LogoutUser(context, request, response); }));
|
||||||
@ -7060,7 +7190,7 @@ class Bridge final {
|
|||||||
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
public:
|
public:
|
||||||
WithRawCallbackMethod_RemoveUser() {
|
WithRawCallbackMethod_RemoveUser() {
|
||||||
::grpc::Service::MarkMethodRawCallback(50,
|
::grpc::Service::MarkMethodRawCallback(51,
|
||||||
new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
|
new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
|
||||||
[this](
|
[this](
|
||||||
::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->RemoveUser(context, request, response); }));
|
::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->RemoveUser(context, request, response); }));
|
||||||
@ -7082,7 +7212,7 @@ class Bridge final {
|
|||||||
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
public:
|
public:
|
||||||
WithRawCallbackMethod_ConfigureUserAppleMail() {
|
WithRawCallbackMethod_ConfigureUserAppleMail() {
|
||||||
::grpc::Service::MarkMethodRawCallback(51,
|
::grpc::Service::MarkMethodRawCallback(52,
|
||||||
new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
|
new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
|
||||||
[this](
|
[this](
|
||||||
::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->ConfigureUserAppleMail(context, request, response); }));
|
::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->ConfigureUserAppleMail(context, request, response); }));
|
||||||
@ -7104,7 +7234,7 @@ class Bridge final {
|
|||||||
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
public:
|
public:
|
||||||
WithRawCallbackMethod_RunEventStream() {
|
WithRawCallbackMethod_RunEventStream() {
|
||||||
::grpc::Service::MarkMethodRawCallback(52,
|
::grpc::Service::MarkMethodRawCallback(53,
|
||||||
new ::grpc::internal::CallbackServerStreamingHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
|
new ::grpc::internal::CallbackServerStreamingHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
|
||||||
[this](
|
[this](
|
||||||
::grpc::CallbackServerContext* context, const::grpc::ByteBuffer* request) { return this->RunEventStream(context, request); }));
|
::grpc::CallbackServerContext* context, const::grpc::ByteBuffer* request) { return this->RunEventStream(context, request); }));
|
||||||
@ -7126,7 +7256,7 @@ class Bridge final {
|
|||||||
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
public:
|
public:
|
||||||
WithRawCallbackMethod_StopEventStream() {
|
WithRawCallbackMethod_StopEventStream() {
|
||||||
::grpc::Service::MarkMethodRawCallback(53,
|
::grpc::Service::MarkMethodRawCallback(54,
|
||||||
new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
|
new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
|
||||||
[this](
|
[this](
|
||||||
::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->StopEventStream(context, request, response); }));
|
::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->StopEventStream(context, request, response); }));
|
||||||
@ -8466,12 +8596,39 @@ class Bridge final {
|
|||||||
virtual ::grpc::Status StreamedSetUserSplitMode(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::grpc::UserSplitModeRequest,::google::protobuf::Empty>* server_unary_streamer) = 0;
|
virtual ::grpc::Status StreamedSetUserSplitMode(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::grpc::UserSplitModeRequest,::google::protobuf::Empty>* server_unary_streamer) = 0;
|
||||||
};
|
};
|
||||||
template <class BaseClass>
|
template <class BaseClass>
|
||||||
|
class WithStreamedUnaryMethod_SendBadEventUserFeedback : public BaseClass {
|
||||||
|
private:
|
||||||
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
|
public:
|
||||||
|
WithStreamedUnaryMethod_SendBadEventUserFeedback() {
|
||||||
|
::grpc::Service::MarkMethodStreamed(49,
|
||||||
|
new ::grpc::internal::StreamedUnaryHandler<
|
||||||
|
::grpc::UserBadEventFeedbackRequest, ::google::protobuf::Empty>(
|
||||||
|
[this](::grpc::ServerContext* context,
|
||||||
|
::grpc::ServerUnaryStreamer<
|
||||||
|
::grpc::UserBadEventFeedbackRequest, ::google::protobuf::Empty>* streamer) {
|
||||||
|
return this->StreamedSendBadEventUserFeedback(context,
|
||||||
|
streamer);
|
||||||
|
}));
|
||||||
|
}
|
||||||
|
~WithStreamedUnaryMethod_SendBadEventUserFeedback() override {
|
||||||
|
BaseClassMustBeDerivedFromService(this);
|
||||||
|
}
|
||||||
|
// disable regular version of this method
|
||||||
|
::grpc::Status SendBadEventUserFeedback(::grpc::ServerContext* /*context*/, const ::grpc::UserBadEventFeedbackRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override {
|
||||||
|
abort();
|
||||||
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
||||||
|
}
|
||||||
|
// replace default version of method with streamed unary
|
||||||
|
virtual ::grpc::Status StreamedSendBadEventUserFeedback(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::grpc::UserBadEventFeedbackRequest,::google::protobuf::Empty>* server_unary_streamer) = 0;
|
||||||
|
};
|
||||||
|
template <class BaseClass>
|
||||||
class WithStreamedUnaryMethod_LogoutUser : public BaseClass {
|
class WithStreamedUnaryMethod_LogoutUser : public BaseClass {
|
||||||
private:
|
private:
|
||||||
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
public:
|
public:
|
||||||
WithStreamedUnaryMethod_LogoutUser() {
|
WithStreamedUnaryMethod_LogoutUser() {
|
||||||
::grpc::Service::MarkMethodStreamed(49,
|
::grpc::Service::MarkMethodStreamed(50,
|
||||||
new ::grpc::internal::StreamedUnaryHandler<
|
new ::grpc::internal::StreamedUnaryHandler<
|
||||||
::google::protobuf::StringValue, ::google::protobuf::Empty>(
|
::google::protobuf::StringValue, ::google::protobuf::Empty>(
|
||||||
[this](::grpc::ServerContext* context,
|
[this](::grpc::ServerContext* context,
|
||||||
@ -8498,7 +8655,7 @@ class Bridge final {
|
|||||||
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
public:
|
public:
|
||||||
WithStreamedUnaryMethod_RemoveUser() {
|
WithStreamedUnaryMethod_RemoveUser() {
|
||||||
::grpc::Service::MarkMethodStreamed(50,
|
::grpc::Service::MarkMethodStreamed(51,
|
||||||
new ::grpc::internal::StreamedUnaryHandler<
|
new ::grpc::internal::StreamedUnaryHandler<
|
||||||
::google::protobuf::StringValue, ::google::protobuf::Empty>(
|
::google::protobuf::StringValue, ::google::protobuf::Empty>(
|
||||||
[this](::grpc::ServerContext* context,
|
[this](::grpc::ServerContext* context,
|
||||||
@ -8525,7 +8682,7 @@ class Bridge final {
|
|||||||
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
public:
|
public:
|
||||||
WithStreamedUnaryMethod_ConfigureUserAppleMail() {
|
WithStreamedUnaryMethod_ConfigureUserAppleMail() {
|
||||||
::grpc::Service::MarkMethodStreamed(51,
|
::grpc::Service::MarkMethodStreamed(52,
|
||||||
new ::grpc::internal::StreamedUnaryHandler<
|
new ::grpc::internal::StreamedUnaryHandler<
|
||||||
::grpc::ConfigureAppleMailRequest, ::google::protobuf::Empty>(
|
::grpc::ConfigureAppleMailRequest, ::google::protobuf::Empty>(
|
||||||
[this](::grpc::ServerContext* context,
|
[this](::grpc::ServerContext* context,
|
||||||
@ -8552,7 +8709,7 @@ class Bridge final {
|
|||||||
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
public:
|
public:
|
||||||
WithStreamedUnaryMethod_StopEventStream() {
|
WithStreamedUnaryMethod_StopEventStream() {
|
||||||
::grpc::Service::MarkMethodStreamed(53,
|
::grpc::Service::MarkMethodStreamed(54,
|
||||||
new ::grpc::internal::StreamedUnaryHandler<
|
new ::grpc::internal::StreamedUnaryHandler<
|
||||||
::google::protobuf::Empty, ::google::protobuf::Empty>(
|
::google::protobuf::Empty, ::google::protobuf::Empty>(
|
||||||
[this](::grpc::ServerContext* context,
|
[this](::grpc::ServerContext* context,
|
||||||
@ -8573,14 +8730,14 @@ class Bridge final {
|
|||||||
// replace default version of method with streamed unary
|
// 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;
|
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_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_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_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;
|
||||||
template <class BaseClass>
|
template <class BaseClass>
|
||||||
class WithSplitStreamingMethod_RunEventStream : public BaseClass {
|
class WithSplitStreamingMethod_RunEventStream : public BaseClass {
|
||||||
private:
|
private:
|
||||||
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
|
||||||
public:
|
public:
|
||||||
WithSplitStreamingMethod_RunEventStream() {
|
WithSplitStreamingMethod_RunEventStream() {
|
||||||
::grpc::Service::MarkMethodStreamed(52,
|
::grpc::Service::MarkMethodStreamed(53,
|
||||||
new ::grpc::internal::SplitServerStreamingHandler<
|
new ::grpc::internal::SplitServerStreamingHandler<
|
||||||
::grpc::EventStreamRequest, ::grpc::StreamEvent>(
|
::grpc::EventStreamRequest, ::grpc::StreamEvent>(
|
||||||
[this](::grpc::ServerContext* context,
|
[this](::grpc::ServerContext* context,
|
||||||
@ -8602,7 +8759,7 @@ class Bridge final {
|
|||||||
virtual ::grpc::Status StreamedRunEventStream(::grpc::ServerContext* context, ::grpc::ServerSplitStreamer< ::grpc::EventStreamRequest,::grpc::StreamEvent>* server_split_streamer) = 0;
|
virtual ::grpc::Status StreamedRunEventStream(::grpc::ServerContext* context, ::grpc::ServerSplitStreamer< ::grpc::EventStreamRequest,::grpc::StreamEvent>* server_split_streamer) = 0;
|
||||||
};
|
};
|
||||||
typedef WithSplitStreamingMethod_RunEventStream<Service > SplitStreamedService;
|
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_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_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_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;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace grpc
|
} // namespace grpc
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -208,6 +208,9 @@ extern UserDefaultTypeInternal _User_default_instance_;
|
|||||||
class UserBadEvent;
|
class UserBadEvent;
|
||||||
struct UserBadEventDefaultTypeInternal;
|
struct UserBadEventDefaultTypeInternal;
|
||||||
extern UserBadEventDefaultTypeInternal _UserBadEvent_default_instance_;
|
extern UserBadEventDefaultTypeInternal _UserBadEvent_default_instance_;
|
||||||
|
class UserBadEventFeedbackRequest;
|
||||||
|
struct UserBadEventFeedbackRequestDefaultTypeInternal;
|
||||||
|
extern UserBadEventFeedbackRequestDefaultTypeInternal _UserBadEventFeedbackRequest_default_instance_;
|
||||||
class UserChangedEvent;
|
class UserChangedEvent;
|
||||||
struct UserChangedEventDefaultTypeInternal;
|
struct UserChangedEventDefaultTypeInternal;
|
||||||
extern UserChangedEventDefaultTypeInternal _UserChangedEvent_default_instance_;
|
extern UserChangedEventDefaultTypeInternal _UserChangedEvent_default_instance_;
|
||||||
@ -278,6 +281,7 @@ template<> ::grpc::UpdateSilentRestartNeeded* Arena::CreateMaybeMessage<::grpc::
|
|||||||
template<> ::grpc::UpdateVersionChanged* Arena::CreateMaybeMessage<::grpc::UpdateVersionChanged>(Arena*);
|
template<> ::grpc::UpdateVersionChanged* Arena::CreateMaybeMessage<::grpc::UpdateVersionChanged>(Arena*);
|
||||||
template<> ::grpc::User* Arena::CreateMaybeMessage<::grpc::User>(Arena*);
|
template<> ::grpc::User* Arena::CreateMaybeMessage<::grpc::User>(Arena*);
|
||||||
template<> ::grpc::UserBadEvent* Arena::CreateMaybeMessage<::grpc::UserBadEvent>(Arena*);
|
template<> ::grpc::UserBadEvent* Arena::CreateMaybeMessage<::grpc::UserBadEvent>(Arena*);
|
||||||
|
template<> ::grpc::UserBadEventFeedbackRequest* Arena::CreateMaybeMessage<::grpc::UserBadEventFeedbackRequest>(Arena*);
|
||||||
template<> ::grpc::UserChangedEvent* Arena::CreateMaybeMessage<::grpc::UserChangedEvent>(Arena*);
|
template<> ::grpc::UserChangedEvent* Arena::CreateMaybeMessage<::grpc::UserChangedEvent>(Arena*);
|
||||||
template<> ::grpc::UserDisconnectedEvent* Arena::CreateMaybeMessage<::grpc::UserDisconnectedEvent>(Arena*);
|
template<> ::grpc::UserDisconnectedEvent* Arena::CreateMaybeMessage<::grpc::UserDisconnectedEvent>(Arena*);
|
||||||
template<> ::grpc::UserEvent* Arena::CreateMaybeMessage<::grpc::UserEvent>(Arena*);
|
template<> ::grpc::UserEvent* Arena::CreateMaybeMessage<::grpc::UserEvent>(Arena*);
|
||||||
@ -2138,6 +2142,170 @@ class UserSplitModeRequest final :
|
|||||||
};
|
};
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
class UserBadEventFeedbackRequest final :
|
||||||
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:grpc.UserBadEventFeedbackRequest) */ {
|
||||||
|
public:
|
||||||
|
inline UserBadEventFeedbackRequest() : UserBadEventFeedbackRequest(nullptr) {}
|
||||||
|
~UserBadEventFeedbackRequest() override;
|
||||||
|
explicit PROTOBUF_CONSTEXPR UserBadEventFeedbackRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
||||||
|
|
||||||
|
UserBadEventFeedbackRequest(const UserBadEventFeedbackRequest& from);
|
||||||
|
UserBadEventFeedbackRequest(UserBadEventFeedbackRequest&& from) noexcept
|
||||||
|
: UserBadEventFeedbackRequest() {
|
||||||
|
*this = ::std::move(from);
|
||||||
|
}
|
||||||
|
|
||||||
|
inline UserBadEventFeedbackRequest& operator=(const UserBadEventFeedbackRequest& from) {
|
||||||
|
CopyFrom(from);
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
inline UserBadEventFeedbackRequest& operator=(UserBadEventFeedbackRequest&& 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 UserBadEventFeedbackRequest& default_instance() {
|
||||||
|
return *internal_default_instance();
|
||||||
|
}
|
||||||
|
static inline const UserBadEventFeedbackRequest* internal_default_instance() {
|
||||||
|
return reinterpret_cast<const UserBadEventFeedbackRequest*>(
|
||||||
|
&_UserBadEventFeedbackRequest_default_instance_);
|
||||||
|
}
|
||||||
|
static constexpr int kIndexInFileMessages =
|
||||||
|
9;
|
||||||
|
|
||||||
|
friend void swap(UserBadEventFeedbackRequest& a, UserBadEventFeedbackRequest& b) {
|
||||||
|
a.Swap(&b);
|
||||||
|
}
|
||||||
|
inline void Swap(UserBadEventFeedbackRequest* 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(UserBadEventFeedbackRequest* other) {
|
||||||
|
if (other == this) return;
|
||||||
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
||||||
|
InternalSwap(other);
|
||||||
|
}
|
||||||
|
|
||||||
|
// implements Message ----------------------------------------------
|
||||||
|
|
||||||
|
UserBadEventFeedbackRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
||||||
|
return CreateMaybeMessage<UserBadEventFeedbackRequest>(arena);
|
||||||
|
}
|
||||||
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
||||||
|
void CopyFrom(const UserBadEventFeedbackRequest& from);
|
||||||
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
||||||
|
void MergeFrom( const UserBadEventFeedbackRequest& from) {
|
||||||
|
UserBadEventFeedbackRequest::MergeImpl(*this, from);
|
||||||
|
}
|
||||||
|
private:
|
||||||
|
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
|
||||||
|
public:
|
||||||
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
||||||
|
bool IsInitialized() const final;
|
||||||
|
|
||||||
|
size_t ByteSizeLong() const final;
|
||||||
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
||||||
|
uint8_t* _InternalSerialize(
|
||||||
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
||||||
|
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
|
||||||
|
|
||||||
|
private:
|
||||||
|
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
|
||||||
|
void SharedDtor();
|
||||||
|
void SetCachedSize(int size) const final;
|
||||||
|
void InternalSwap(UserBadEventFeedbackRequest* other);
|
||||||
|
|
||||||
|
private:
|
||||||
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
||||||
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
||||||
|
return "grpc.UserBadEventFeedbackRequest";
|
||||||
|
}
|
||||||
|
protected:
|
||||||
|
explicit UserBadEventFeedbackRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||||
|
bool is_message_owned = false);
|
||||||
|
public:
|
||||||
|
|
||||||
|
static const ClassData _class_data_;
|
||||||
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
|
||||||
|
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
||||||
|
|
||||||
|
// nested types ----------------------------------------------------
|
||||||
|
|
||||||
|
// accessors -------------------------------------------------------
|
||||||
|
|
||||||
|
enum : int {
|
||||||
|
kUserIDFieldNumber = 1,
|
||||||
|
kDoResyncFieldNumber = 2,
|
||||||
|
};
|
||||||
|
// string userID = 1;
|
||||||
|
void clear_userid();
|
||||||
|
const std::string& userid() const;
|
||||||
|
template <typename ArgT0 = const std::string&, typename... ArgT>
|
||||||
|
void set_userid(ArgT0&& arg0, ArgT... args);
|
||||||
|
std::string* mutable_userid();
|
||||||
|
PROTOBUF_NODISCARD std::string* release_userid();
|
||||||
|
void set_allocated_userid(std::string* userid);
|
||||||
|
private:
|
||||||
|
const std::string& _internal_userid() const;
|
||||||
|
inline PROTOBUF_ALWAYS_INLINE void _internal_set_userid(const std::string& value);
|
||||||
|
std::string* _internal_mutable_userid();
|
||||||
|
public:
|
||||||
|
|
||||||
|
// bool doResync = 2;
|
||||||
|
void clear_doresync();
|
||||||
|
bool doresync() const;
|
||||||
|
void set_doresync(bool value);
|
||||||
|
private:
|
||||||
|
bool _internal_doresync() const;
|
||||||
|
void _internal_set_doresync(bool value);
|
||||||
|
public:
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(class_scope:grpc.UserBadEventFeedbackRequest)
|
||||||
|
private:
|
||||||
|
class _Internal;
|
||||||
|
|
||||||
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
||||||
|
typedef void InternalArenaConstructable_;
|
||||||
|
typedef void DestructorSkippable_;
|
||||||
|
struct Impl_ {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr userid_;
|
||||||
|
bool doresync_;
|
||||||
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||||
|
};
|
||||||
|
union { Impl_ _impl_; };
|
||||||
|
friend struct ::TableStruct_bridge_2eproto;
|
||||||
|
};
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
class UserListResponse final :
|
class UserListResponse final :
|
||||||
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:grpc.UserListResponse) */ {
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:grpc.UserListResponse) */ {
|
||||||
public:
|
public:
|
||||||
@ -2186,7 +2354,7 @@ class UserListResponse final :
|
|||||||
&_UserListResponse_default_instance_);
|
&_UserListResponse_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
9;
|
10;
|
||||||
|
|
||||||
friend void swap(UserListResponse& a, UserListResponse& b) {
|
friend void swap(UserListResponse& a, UserListResponse& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -2343,7 +2511,7 @@ class ConfigureAppleMailRequest final :
|
|||||||
&_ConfigureAppleMailRequest_default_instance_);
|
&_ConfigureAppleMailRequest_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
10;
|
11;
|
||||||
|
|
||||||
friend void swap(ConfigureAppleMailRequest& a, ConfigureAppleMailRequest& b) {
|
friend void swap(ConfigureAppleMailRequest& a, ConfigureAppleMailRequest& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -2512,7 +2680,7 @@ class EventStreamRequest final :
|
|||||||
&_EventStreamRequest_default_instance_);
|
&_EventStreamRequest_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
11;
|
12;
|
||||||
|
|
||||||
friend void swap(EventStreamRequest& a, EventStreamRequest& b) {
|
friend void swap(EventStreamRequest& a, EventStreamRequest& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -2678,7 +2846,7 @@ class StreamEvent final :
|
|||||||
&_StreamEvent_default_instance_);
|
&_StreamEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
12;
|
13;
|
||||||
|
|
||||||
friend void swap(StreamEvent& a, StreamEvent& b) {
|
friend void swap(StreamEvent& a, StreamEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -3026,7 +3194,7 @@ class AppEvent final :
|
|||||||
&_AppEvent_default_instance_);
|
&_AppEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
13;
|
14;
|
||||||
|
|
||||||
friend void swap(AppEvent& a, AppEvent& b) {
|
friend void swap(AppEvent& a, AppEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -3321,7 +3489,7 @@ class InternetStatusEvent final :
|
|||||||
&_InternetStatusEvent_default_instance_);
|
&_InternetStatusEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
14;
|
15;
|
||||||
|
|
||||||
friend void swap(InternetStatusEvent& a, InternetStatusEvent& b) {
|
friend void swap(InternetStatusEvent& a, InternetStatusEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -3468,7 +3636,7 @@ class ToggleAutostartFinishedEvent final :
|
|||||||
&_ToggleAutostartFinishedEvent_default_instance_);
|
&_ToggleAutostartFinishedEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
15;
|
16;
|
||||||
|
|
||||||
friend void swap(ToggleAutostartFinishedEvent& a, ToggleAutostartFinishedEvent& b) {
|
friend void swap(ToggleAutostartFinishedEvent& a, ToggleAutostartFinishedEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -3586,7 +3754,7 @@ class ResetFinishedEvent final :
|
|||||||
&_ResetFinishedEvent_default_instance_);
|
&_ResetFinishedEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
16;
|
17;
|
||||||
|
|
||||||
friend void swap(ResetFinishedEvent& a, ResetFinishedEvent& b) {
|
friend void swap(ResetFinishedEvent& a, ResetFinishedEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -3704,7 +3872,7 @@ class ReportBugFinishedEvent final :
|
|||||||
&_ReportBugFinishedEvent_default_instance_);
|
&_ReportBugFinishedEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
17;
|
18;
|
||||||
|
|
||||||
friend void swap(ReportBugFinishedEvent& a, ReportBugFinishedEvent& b) {
|
friend void swap(ReportBugFinishedEvent& a, ReportBugFinishedEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -3822,7 +3990,7 @@ class ReportBugSuccessEvent final :
|
|||||||
&_ReportBugSuccessEvent_default_instance_);
|
&_ReportBugSuccessEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
18;
|
19;
|
||||||
|
|
||||||
friend void swap(ReportBugSuccessEvent& a, ReportBugSuccessEvent& b) {
|
friend void swap(ReportBugSuccessEvent& a, ReportBugSuccessEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -3940,7 +4108,7 @@ class ReportBugErrorEvent final :
|
|||||||
&_ReportBugErrorEvent_default_instance_);
|
&_ReportBugErrorEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
19;
|
20;
|
||||||
|
|
||||||
friend void swap(ReportBugErrorEvent& a, ReportBugErrorEvent& b) {
|
friend void swap(ReportBugErrorEvent& a, ReportBugErrorEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -4058,7 +4226,7 @@ class ShowMainWindowEvent final :
|
|||||||
&_ShowMainWindowEvent_default_instance_);
|
&_ShowMainWindowEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
20;
|
21;
|
||||||
|
|
||||||
friend void swap(ShowMainWindowEvent& a, ShowMainWindowEvent& b) {
|
friend void swap(ShowMainWindowEvent& a, ShowMainWindowEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -4186,7 +4354,7 @@ class LoginEvent final :
|
|||||||
&_LoginEvent_default_instance_);
|
&_LoginEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
21;
|
22;
|
||||||
|
|
||||||
friend void swap(LoginEvent& a, LoginEvent& b) {
|
friend void swap(LoginEvent& a, LoginEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -4439,7 +4607,7 @@ class LoginErrorEvent final :
|
|||||||
&_LoginErrorEvent_default_instance_);
|
&_LoginErrorEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
22;
|
23;
|
||||||
|
|
||||||
friend void swap(LoginErrorEvent& a, LoginErrorEvent& b) {
|
friend void swap(LoginErrorEvent& a, LoginErrorEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -4603,7 +4771,7 @@ class LoginTfaRequestedEvent final :
|
|||||||
&_LoginTfaRequestedEvent_default_instance_);
|
&_LoginTfaRequestedEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
23;
|
24;
|
||||||
|
|
||||||
friend void swap(LoginTfaRequestedEvent& a, LoginTfaRequestedEvent& b) {
|
friend void swap(LoginTfaRequestedEvent& a, LoginTfaRequestedEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -4755,7 +4923,7 @@ class LoginTwoPasswordsRequestedEvent final :
|
|||||||
&_LoginTwoPasswordsRequestedEvent_default_instance_);
|
&_LoginTwoPasswordsRequestedEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
24;
|
25;
|
||||||
|
|
||||||
friend void swap(LoginTwoPasswordsRequestedEvent& a, LoginTwoPasswordsRequestedEvent& b) {
|
friend void swap(LoginTwoPasswordsRequestedEvent& a, LoginTwoPasswordsRequestedEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -4874,7 +5042,7 @@ class LoginFinishedEvent final :
|
|||||||
&_LoginFinishedEvent_default_instance_);
|
&_LoginFinishedEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
25;
|
26;
|
||||||
|
|
||||||
friend void swap(LoginFinishedEvent& a, LoginFinishedEvent& b) {
|
friend void swap(LoginFinishedEvent& a, LoginFinishedEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -5050,7 +5218,7 @@ class UpdateEvent final :
|
|||||||
&_UpdateEvent_default_instance_);
|
&_UpdateEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
26;
|
27;
|
||||||
|
|
||||||
friend void swap(UpdateEvent& a, UpdateEvent& b) {
|
friend void swap(UpdateEvent& a, UpdateEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -5366,7 +5534,7 @@ class UpdateErrorEvent final :
|
|||||||
&_UpdateErrorEvent_default_instance_);
|
&_UpdateErrorEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
27;
|
28;
|
||||||
|
|
||||||
friend void swap(UpdateErrorEvent& a, UpdateErrorEvent& b) {
|
friend void swap(UpdateErrorEvent& a, UpdateErrorEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -5514,7 +5682,7 @@ class UpdateManualReadyEvent final :
|
|||||||
&_UpdateManualReadyEvent_default_instance_);
|
&_UpdateManualReadyEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
28;
|
29;
|
||||||
|
|
||||||
friend void swap(UpdateManualReadyEvent& a, UpdateManualReadyEvent& b) {
|
friend void swap(UpdateManualReadyEvent& a, UpdateManualReadyEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -5666,7 +5834,7 @@ class UpdateManualRestartNeededEvent final :
|
|||||||
&_UpdateManualRestartNeededEvent_default_instance_);
|
&_UpdateManualRestartNeededEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
29;
|
30;
|
||||||
|
|
||||||
friend void swap(UpdateManualRestartNeededEvent& a, UpdateManualRestartNeededEvent& b) {
|
friend void swap(UpdateManualRestartNeededEvent& a, UpdateManualRestartNeededEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -5785,7 +5953,7 @@ class UpdateForceEvent final :
|
|||||||
&_UpdateForceEvent_default_instance_);
|
&_UpdateForceEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
30;
|
31;
|
||||||
|
|
||||||
friend void swap(UpdateForceEvent& a, UpdateForceEvent& b) {
|
friend void swap(UpdateForceEvent& a, UpdateForceEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -5937,7 +6105,7 @@ class UpdateSilentRestartNeeded final :
|
|||||||
&_UpdateSilentRestartNeeded_default_instance_);
|
&_UpdateSilentRestartNeeded_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
31;
|
32;
|
||||||
|
|
||||||
friend void swap(UpdateSilentRestartNeeded& a, UpdateSilentRestartNeeded& b) {
|
friend void swap(UpdateSilentRestartNeeded& a, UpdateSilentRestartNeeded& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -6055,7 +6223,7 @@ class UpdateIsLatestVersion final :
|
|||||||
&_UpdateIsLatestVersion_default_instance_);
|
&_UpdateIsLatestVersion_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
32;
|
33;
|
||||||
|
|
||||||
friend void swap(UpdateIsLatestVersion& a, UpdateIsLatestVersion& b) {
|
friend void swap(UpdateIsLatestVersion& a, UpdateIsLatestVersion& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -6173,7 +6341,7 @@ class UpdateCheckFinished final :
|
|||||||
&_UpdateCheckFinished_default_instance_);
|
&_UpdateCheckFinished_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
33;
|
34;
|
||||||
|
|
||||||
friend void swap(UpdateCheckFinished& a, UpdateCheckFinished& b) {
|
friend void swap(UpdateCheckFinished& a, UpdateCheckFinished& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -6291,7 +6459,7 @@ class UpdateVersionChanged final :
|
|||||||
&_UpdateVersionChanged_default_instance_);
|
&_UpdateVersionChanged_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
34;
|
35;
|
||||||
|
|
||||||
friend void swap(UpdateVersionChanged& a, UpdateVersionChanged& b) {
|
friend void swap(UpdateVersionChanged& a, UpdateVersionChanged& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -6417,7 +6585,7 @@ class DiskCacheEvent final :
|
|||||||
&_DiskCacheEvent_default_instance_);
|
&_DiskCacheEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
35;
|
36;
|
||||||
|
|
||||||
friend void swap(DiskCacheEvent& a, DiskCacheEvent& b) {
|
friend void swap(DiskCacheEvent& a, DiskCacheEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -6628,7 +6796,7 @@ class DiskCacheErrorEvent final :
|
|||||||
&_DiskCacheErrorEvent_default_instance_);
|
&_DiskCacheErrorEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
36;
|
37;
|
||||||
|
|
||||||
friend void swap(DiskCacheErrorEvent& a, DiskCacheErrorEvent& b) {
|
friend void swap(DiskCacheErrorEvent& a, DiskCacheErrorEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -6776,7 +6944,7 @@ class DiskCachePathChangedEvent final :
|
|||||||
&_DiskCachePathChangedEvent_default_instance_);
|
&_DiskCachePathChangedEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
37;
|
38;
|
||||||
|
|
||||||
friend void swap(DiskCachePathChangedEvent& a, DiskCachePathChangedEvent& b) {
|
friend void swap(DiskCachePathChangedEvent& a, DiskCachePathChangedEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -6928,7 +7096,7 @@ class DiskCachePathChangeFinishedEvent final :
|
|||||||
&_DiskCachePathChangeFinishedEvent_default_instance_);
|
&_DiskCachePathChangeFinishedEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
38;
|
39;
|
||||||
|
|
||||||
friend void swap(DiskCachePathChangeFinishedEvent& a, DiskCachePathChangeFinishedEvent& b) {
|
friend void swap(DiskCachePathChangeFinishedEvent& a, DiskCachePathChangeFinishedEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -7054,7 +7222,7 @@ class MailServerSettingsEvent final :
|
|||||||
&_MailServerSettingsEvent_default_instance_);
|
&_MailServerSettingsEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
39;
|
40;
|
||||||
|
|
||||||
friend void swap(MailServerSettingsEvent& a, MailServerSettingsEvent& b) {
|
friend void swap(MailServerSettingsEvent& a, MailServerSettingsEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -7265,7 +7433,7 @@ class MailServerSettingsErrorEvent final :
|
|||||||
&_MailServerSettingsErrorEvent_default_instance_);
|
&_MailServerSettingsErrorEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
40;
|
41;
|
||||||
|
|
||||||
friend void swap(MailServerSettingsErrorEvent& a, MailServerSettingsErrorEvent& b) {
|
friend void swap(MailServerSettingsErrorEvent& a, MailServerSettingsErrorEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -7413,7 +7581,7 @@ class MailServerSettingsChangedEvent final :
|
|||||||
&_MailServerSettingsChangedEvent_default_instance_);
|
&_MailServerSettingsChangedEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
41;
|
42;
|
||||||
|
|
||||||
friend void swap(MailServerSettingsChangedEvent& a, MailServerSettingsChangedEvent& b) {
|
friend void swap(MailServerSettingsChangedEvent& a, MailServerSettingsChangedEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -7569,7 +7737,7 @@ class ChangeMailServerSettingsFinishedEvent final :
|
|||||||
&_ChangeMailServerSettingsFinishedEvent_default_instance_);
|
&_ChangeMailServerSettingsFinishedEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
42;
|
43;
|
||||||
|
|
||||||
friend void swap(ChangeMailServerSettingsFinishedEvent& a, ChangeMailServerSettingsFinishedEvent& b) {
|
friend void swap(ChangeMailServerSettingsFinishedEvent& a, ChangeMailServerSettingsFinishedEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -7695,7 +7863,7 @@ class KeychainEvent final :
|
|||||||
&_KeychainEvent_default_instance_);
|
&_KeychainEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
43;
|
44;
|
||||||
|
|
||||||
friend void swap(KeychainEvent& a, KeychainEvent& b) {
|
friend void swap(KeychainEvent& a, KeychainEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -7905,7 +8073,7 @@ class ChangeKeychainFinishedEvent final :
|
|||||||
&_ChangeKeychainFinishedEvent_default_instance_);
|
&_ChangeKeychainFinishedEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
44;
|
45;
|
||||||
|
|
||||||
friend void swap(ChangeKeychainFinishedEvent& a, ChangeKeychainFinishedEvent& b) {
|
friend void swap(ChangeKeychainFinishedEvent& a, ChangeKeychainFinishedEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -8023,7 +8191,7 @@ class HasNoKeychainEvent final :
|
|||||||
&_HasNoKeychainEvent_default_instance_);
|
&_HasNoKeychainEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
45;
|
46;
|
||||||
|
|
||||||
friend void swap(HasNoKeychainEvent& a, HasNoKeychainEvent& b) {
|
friend void swap(HasNoKeychainEvent& a, HasNoKeychainEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -8141,7 +8309,7 @@ class RebuildKeychainEvent final :
|
|||||||
&_RebuildKeychainEvent_default_instance_);
|
&_RebuildKeychainEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
46;
|
47;
|
||||||
|
|
||||||
friend void swap(RebuildKeychainEvent& a, RebuildKeychainEvent& b) {
|
friend void swap(RebuildKeychainEvent& a, RebuildKeychainEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -8268,7 +8436,7 @@ class MailEvent final :
|
|||||||
&_MailEvent_default_instance_);
|
&_MailEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
47;
|
48;
|
||||||
|
|
||||||
friend void swap(MailEvent& a, MailEvent& b) {
|
friend void swap(MailEvent& a, MailEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -8500,7 +8668,7 @@ class NoActiveKeyForRecipientEvent final :
|
|||||||
&_NoActiveKeyForRecipientEvent_default_instance_);
|
&_NoActiveKeyForRecipientEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
48;
|
49;
|
||||||
|
|
||||||
friend void swap(NoActiveKeyForRecipientEvent& a, NoActiveKeyForRecipientEvent& b) {
|
friend void swap(NoActiveKeyForRecipientEvent& a, NoActiveKeyForRecipientEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -8653,7 +8821,7 @@ class AddressChangedEvent final :
|
|||||||
&_AddressChangedEvent_default_instance_);
|
&_AddressChangedEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
49;
|
50;
|
||||||
|
|
||||||
friend void swap(AddressChangedEvent& a, AddressChangedEvent& b) {
|
friend void swap(AddressChangedEvent& a, AddressChangedEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -8806,7 +8974,7 @@ class AddressChangedLogoutEvent final :
|
|||||||
&_AddressChangedLogoutEvent_default_instance_);
|
&_AddressChangedLogoutEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
50;
|
51;
|
||||||
|
|
||||||
friend void swap(AddressChangedLogoutEvent& a, AddressChangedLogoutEvent& b) {
|
friend void swap(AddressChangedLogoutEvent& a, AddressChangedLogoutEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -8958,7 +9126,7 @@ class ApiCertIssueEvent final :
|
|||||||
&_ApiCertIssueEvent_default_instance_);
|
&_ApiCertIssueEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
51;
|
52;
|
||||||
|
|
||||||
friend void swap(ApiCertIssueEvent& a, ApiCertIssueEvent& b) {
|
friend void swap(ApiCertIssueEvent& a, ApiCertIssueEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -9085,7 +9253,7 @@ class UserEvent final :
|
|||||||
&_UserEvent_default_instance_);
|
&_UserEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
52;
|
53;
|
||||||
|
|
||||||
friend void swap(UserEvent& a, UserEvent& b) {
|
friend void swap(UserEvent& a, UserEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -9317,7 +9485,7 @@ class ToggleSplitModeFinishedEvent final :
|
|||||||
&_ToggleSplitModeFinishedEvent_default_instance_);
|
&_ToggleSplitModeFinishedEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
53;
|
54;
|
||||||
|
|
||||||
friend void swap(ToggleSplitModeFinishedEvent& a, ToggleSplitModeFinishedEvent& b) {
|
friend void swap(ToggleSplitModeFinishedEvent& a, ToggleSplitModeFinishedEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -9470,7 +9638,7 @@ class UserDisconnectedEvent final :
|
|||||||
&_UserDisconnectedEvent_default_instance_);
|
&_UserDisconnectedEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
54;
|
55;
|
||||||
|
|
||||||
friend void swap(UserDisconnectedEvent& a, UserDisconnectedEvent& b) {
|
friend void swap(UserDisconnectedEvent& a, UserDisconnectedEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -9623,7 +9791,7 @@ class UserChangedEvent final :
|
|||||||
&_UserChangedEvent_default_instance_);
|
&_UserChangedEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
55;
|
56;
|
||||||
|
|
||||||
friend void swap(UserChangedEvent& a, UserChangedEvent& b) {
|
friend void swap(UserChangedEvent& a, UserChangedEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -9776,7 +9944,7 @@ class UserBadEvent final :
|
|||||||
&_UserBadEvent_default_instance_);
|
&_UserBadEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
56;
|
57;
|
||||||
|
|
||||||
friend void swap(UserBadEvent& a, UserBadEvent& b) {
|
friend void swap(UserBadEvent& a, UserBadEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -9945,7 +10113,7 @@ class GenericErrorEvent final :
|
|||||||
&_GenericErrorEvent_default_instance_);
|
&_GenericErrorEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
57;
|
58;
|
||||||
|
|
||||||
friend void swap(GenericErrorEvent& a, GenericErrorEvent& b) {
|
friend void swap(GenericErrorEvent& a, GenericErrorEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -11228,6 +11396,80 @@ inline void UserSplitModeRequest::set_active(bool value) {
|
|||||||
|
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
// UserBadEventFeedbackRequest
|
||||||
|
|
||||||
|
// string userID = 1;
|
||||||
|
inline void UserBadEventFeedbackRequest::clear_userid() {
|
||||||
|
_impl_.userid_.ClearToEmpty();
|
||||||
|
}
|
||||||
|
inline const std::string& UserBadEventFeedbackRequest::userid() const {
|
||||||
|
// @@protoc_insertion_point(field_get:grpc.UserBadEventFeedbackRequest.userID)
|
||||||
|
return _internal_userid();
|
||||||
|
}
|
||||||
|
template <typename ArgT0, typename... ArgT>
|
||||||
|
inline PROTOBUF_ALWAYS_INLINE
|
||||||
|
void UserBadEventFeedbackRequest::set_userid(ArgT0&& arg0, ArgT... args) {
|
||||||
|
|
||||||
|
_impl_.userid_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
||||||
|
// @@protoc_insertion_point(field_set:grpc.UserBadEventFeedbackRequest.userID)
|
||||||
|
}
|
||||||
|
inline std::string* UserBadEventFeedbackRequest::mutable_userid() {
|
||||||
|
std::string* _s = _internal_mutable_userid();
|
||||||
|
// @@protoc_insertion_point(field_mutable:grpc.UserBadEventFeedbackRequest.userID)
|
||||||
|
return _s;
|
||||||
|
}
|
||||||
|
inline const std::string& UserBadEventFeedbackRequest::_internal_userid() const {
|
||||||
|
return _impl_.userid_.Get();
|
||||||
|
}
|
||||||
|
inline void UserBadEventFeedbackRequest::_internal_set_userid(const std::string& value) {
|
||||||
|
|
||||||
|
_impl_.userid_.Set(value, GetArenaForAllocation());
|
||||||
|
}
|
||||||
|
inline std::string* UserBadEventFeedbackRequest::_internal_mutable_userid() {
|
||||||
|
|
||||||
|
return _impl_.userid_.Mutable(GetArenaForAllocation());
|
||||||
|
}
|
||||||
|
inline std::string* UserBadEventFeedbackRequest::release_userid() {
|
||||||
|
// @@protoc_insertion_point(field_release:grpc.UserBadEventFeedbackRequest.userID)
|
||||||
|
return _impl_.userid_.Release();
|
||||||
|
}
|
||||||
|
inline void UserBadEventFeedbackRequest::set_allocated_userid(std::string* userid) {
|
||||||
|
if (userid != nullptr) {
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
}
|
||||||
|
_impl_.userid_.SetAllocated(userid, GetArenaForAllocation());
|
||||||
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||||
|
if (_impl_.userid_.IsDefault()) {
|
||||||
|
_impl_.userid_.Set("", GetArenaForAllocation());
|
||||||
|
}
|
||||||
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||||
|
// @@protoc_insertion_point(field_set_allocated:grpc.UserBadEventFeedbackRequest.userID)
|
||||||
|
}
|
||||||
|
|
||||||
|
// bool doResync = 2;
|
||||||
|
inline void UserBadEventFeedbackRequest::clear_doresync() {
|
||||||
|
_impl_.doresync_ = false;
|
||||||
|
}
|
||||||
|
inline bool UserBadEventFeedbackRequest::_internal_doresync() const {
|
||||||
|
return _impl_.doresync_;
|
||||||
|
}
|
||||||
|
inline bool UserBadEventFeedbackRequest::doresync() const {
|
||||||
|
// @@protoc_insertion_point(field_get:grpc.UserBadEventFeedbackRequest.doResync)
|
||||||
|
return _internal_doresync();
|
||||||
|
}
|
||||||
|
inline void UserBadEventFeedbackRequest::_internal_set_doresync(bool value) {
|
||||||
|
|
||||||
|
_impl_.doresync_ = value;
|
||||||
|
}
|
||||||
|
inline void UserBadEventFeedbackRequest::set_doresync(bool value) {
|
||||||
|
_internal_set_doresync(value);
|
||||||
|
// @@protoc_insertion_point(field_set:grpc.UserBadEventFeedbackRequest.doResync)
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
// UserListResponse
|
// UserListResponse
|
||||||
|
|
||||||
// repeated .grpc.User users = 1;
|
// repeated .grpc.User users = 1;
|
||||||
@ -16144,6 +16386,8 @@ inline void GenericErrorEvent::set_code(::grpc::ErrorCode value) {
|
|||||||
|
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// @@protoc_insertion_point(namespace_scope)
|
// @@protoc_insertion_point(namespace_scope)
|
||||||
|
|
||||||
|
|||||||
@ -92,10 +92,10 @@ func (user *User) handleRefreshEvent(ctx context.Context, refresh proton.Refresh
|
|||||||
// Re-sync messages after the user, address and label refresh.
|
// Re-sync messages after the user, address and label refresh.
|
||||||
defer user.goSync()
|
defer user.goSync()
|
||||||
|
|
||||||
return user.syncUserAddressesAndLabels(ctx)
|
return user.syncUserAddressesLabelsAndClearSync(ctx)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (user *User) syncUserAddressesAndLabels(ctx context.Context) error {
|
func (user *User) syncUserAddressesLabelsAndClearSync(ctx context.Context) error {
|
||||||
return safe.LockRet(func() error {
|
return safe.LockRet(func() error {
|
||||||
// Fetch latest user info.
|
// Fetch latest user info.
|
||||||
apiUser, err := user.client.GetUser(ctx)
|
apiUser, err := user.client.GetUser(ctx)
|
||||||
|
|||||||
@ -307,7 +307,7 @@ func (user *User) BadEventAbort() {
|
|||||||
|
|
||||||
// BadEventFeedbackResync sends user feedback whether should do message re-sync.
|
// BadEventFeedbackResync sends user feedback whether should do message re-sync.
|
||||||
func (user *User) BadEventFeedbackResync(ctx context.Context) {
|
func (user *User) BadEventFeedbackResync(ctx context.Context) {
|
||||||
if err := user.syncUserAddressesAndLabels(ctx); err != nil {
|
if err := user.syncUserAddressesLabelsAndClearSync(ctx); err != nil {
|
||||||
user.log.WithError(err).Error("Bad event resync failed")
|
user.log.WithError(err).Error("Bad event resync failed")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -523,14 +523,6 @@ func (user *User) clearSyncStatus() error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (user *User) LockEvents() {
|
|
||||||
user.eventLock.Lock()
|
|
||||||
}
|
|
||||||
|
|
||||||
func (user *User) UnlockEvents() {
|
|
||||||
user.eventLock.Unlock()
|
|
||||||
}
|
|
||||||
|
|
||||||
// Logout logs the user out from the API.
|
// Logout logs the user out from the API.
|
||||||
func (user *User) Logout(ctx context.Context, withAPI bool) error {
|
func (user *User) Logout(ctx context.Context, withAPI bool) error {
|
||||||
user.log.WithField("withAPI", withAPI).Info("Logging out user")
|
user.log.WithField("withAPI", withAPI).Info("Logging out user")
|
||||||
@ -647,17 +639,6 @@ func (user *User) doEventPoll(ctx context.Context) error {
|
|||||||
user.eventLock.Lock()
|
user.eventLock.Lock()
|
||||||
defer user.eventLock.Unlock()
|
defer user.eventLock.Unlock()
|
||||||
|
|
||||||
eventID := user.vault.EventID()
|
|
||||||
if eventID == "" {
|
|
||||||
err := errors.New("current eventID is empty")
|
|
||||||
user.eventCh.Enqueue(events.UncategorizedEventError{ // this might be bad event.. I hope sync is ongoing
|
|
||||||
UserID: user.ID(),
|
|
||||||
Error: err,
|
|
||||||
})
|
|
||||||
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
|
|
||||||
event, err := user.client.GetEvent(ctx, user.vault.EventID())
|
event, err := user.client.GetEvent(ctx, user.vault.EventID())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("failed to get event (caused by %T): %w", internal.ErrCause(err), err)
|
return fmt.Errorf("failed to get event (caused by %T): %w", internal.ErrCause(err), err)
|
||||||
|
|||||||
Reference in New Issue
Block a user