forked from Silverfish/proton-bridge
GODT-1672: Forward QML log to bridge.
This commit is contained in:
@ -49,6 +49,9 @@ struct TableStruct_bridge_2eproto {
|
||||
};
|
||||
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_bridge_2eproto;
|
||||
namespace grpc {
|
||||
class AddLogEntryRequest;
|
||||
struct AddLogEntryRequestDefaultTypeInternal;
|
||||
extern AddLogEntryRequestDefaultTypeInternal _AddLogEntryRequest_default_instance_;
|
||||
class AddressChangedEvent;
|
||||
struct AddressChangedEventDefaultTypeInternal;
|
||||
extern AddressChangedEventDefaultTypeInternal _AddressChangedEvent_default_instance_;
|
||||
@ -219,6 +222,7 @@ struct UserSplitModeRequestDefaultTypeInternal;
|
||||
extern UserSplitModeRequestDefaultTypeInternal _UserSplitModeRequest_default_instance_;
|
||||
} // namespace grpc
|
||||
PROTOBUF_NAMESPACE_OPEN
|
||||
template<> ::grpc::AddLogEntryRequest* Arena::CreateMaybeMessage<::grpc::AddLogEntryRequest>(Arena*);
|
||||
template<> ::grpc::AddressChangedEvent* Arena::CreateMaybeMessage<::grpc::AddressChangedEvent>(Arena*);
|
||||
template<> ::grpc::AddressChangedLogoutEvent* Arena::CreateMaybeMessage<::grpc::AddressChangedLogoutEvent>(Arena*);
|
||||
template<> ::grpc::ApiCertIssueEvent* Arena::CreateMaybeMessage<::grpc::ApiCertIssueEvent>(Arena*);
|
||||
@ -278,6 +282,36 @@ template<> ::grpc::UserSplitModeRequest* Arena::CreateMaybeMessage<::grpc::UserS
|
||||
PROTOBUF_NAMESPACE_CLOSE
|
||||
namespace grpc {
|
||||
|
||||
enum LogLevel : int {
|
||||
PANIC = 0,
|
||||
FATAL = 1,
|
||||
ERROR = 2,
|
||||
WARN = 3,
|
||||
INFO = 4,
|
||||
DEBUG = 5,
|
||||
TRACE = 6,
|
||||
LogLevel_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
|
||||
LogLevel_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
|
||||
};
|
||||
bool LogLevel_IsValid(int value);
|
||||
constexpr LogLevel LogLevel_MIN = PANIC;
|
||||
constexpr LogLevel LogLevel_MAX = TRACE;
|
||||
constexpr int LogLevel_ARRAYSIZE = LogLevel_MAX + 1;
|
||||
|
||||
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* LogLevel_descriptor();
|
||||
template<typename T>
|
||||
inline const std::string& LogLevel_Name(T enum_t_value) {
|
||||
static_assert(::std::is_same<T, LogLevel>::value ||
|
||||
::std::is_integral<T>::value,
|
||||
"Incorrect type passed to function LogLevel_Name.");
|
||||
return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
|
||||
LogLevel_descriptor(), enum_t_value);
|
||||
}
|
||||
inline bool LogLevel_Parse(
|
||||
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LogLevel* value) {
|
||||
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<LogLevel>(
|
||||
LogLevel_descriptor(), name, value);
|
||||
}
|
||||
enum LoginErrorType : int {
|
||||
USERNAME_PASSWORD_ERROR = 0,
|
||||
FREE_USER = 1,
|
||||
@ -387,6 +421,186 @@ inline bool MailSettingsErrorType_Parse(
|
||||
}
|
||||
// ===================================================================
|
||||
|
||||
class AddLogEntryRequest final :
|
||||
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:grpc.AddLogEntryRequest) */ {
|
||||
public:
|
||||
inline AddLogEntryRequest() : AddLogEntryRequest(nullptr) {}
|
||||
~AddLogEntryRequest() override;
|
||||
explicit PROTOBUF_CONSTEXPR AddLogEntryRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
||||
|
||||
AddLogEntryRequest(const AddLogEntryRequest& from);
|
||||
AddLogEntryRequest(AddLogEntryRequest&& from) noexcept
|
||||
: AddLogEntryRequest() {
|
||||
*this = ::std::move(from);
|
||||
}
|
||||
|
||||
inline AddLogEntryRequest& operator=(const AddLogEntryRequest& from) {
|
||||
CopyFrom(from);
|
||||
return *this;
|
||||
}
|
||||
inline AddLogEntryRequest& operator=(AddLogEntryRequest&& 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 AddLogEntryRequest& default_instance() {
|
||||
return *internal_default_instance();
|
||||
}
|
||||
static inline const AddLogEntryRequest* internal_default_instance() {
|
||||
return reinterpret_cast<const AddLogEntryRequest*>(
|
||||
&_AddLogEntryRequest_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
0;
|
||||
|
||||
friend void swap(AddLogEntryRequest& a, AddLogEntryRequest& b) {
|
||||
a.Swap(&b);
|
||||
}
|
||||
inline void Swap(AddLogEntryRequest* 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(AddLogEntryRequest* other) {
|
||||
if (other == this) return;
|
||||
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
||||
InternalSwap(other);
|
||||
}
|
||||
|
||||
// implements Message ----------------------------------------------
|
||||
|
||||
AddLogEntryRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
||||
return CreateMaybeMessage<AddLogEntryRequest>(arena);
|
||||
}
|
||||
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
||||
void CopyFrom(const AddLogEntryRequest& from);
|
||||
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
||||
void MergeFrom( const AddLogEntryRequest& from) {
|
||||
AddLogEntryRequest::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(AddLogEntryRequest* other);
|
||||
|
||||
private:
|
||||
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
||||
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
||||
return "grpc.AddLogEntryRequest";
|
||||
}
|
||||
protected:
|
||||
explicit AddLogEntryRequest(::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 {
|
||||
kPackageFieldNumber = 2,
|
||||
kMessageFieldNumber = 3,
|
||||
kLevelFieldNumber = 1,
|
||||
};
|
||||
// string package = 2;
|
||||
void clear_package();
|
||||
const std::string& package() const;
|
||||
template <typename ArgT0 = const std::string&, typename... ArgT>
|
||||
void set_package(ArgT0&& arg0, ArgT... args);
|
||||
std::string* mutable_package();
|
||||
PROTOBUF_NODISCARD std::string* release_package();
|
||||
void set_allocated_package(std::string* package);
|
||||
private:
|
||||
const std::string& _internal_package() const;
|
||||
inline PROTOBUF_ALWAYS_INLINE void _internal_set_package(const std::string& value);
|
||||
std::string* _internal_mutable_package();
|
||||
public:
|
||||
|
||||
// string message = 3;
|
||||
void clear_message();
|
||||
const std::string& message() const;
|
||||
template <typename ArgT0 = const std::string&, typename... ArgT>
|
||||
void set_message(ArgT0&& arg0, ArgT... args);
|
||||
std::string* mutable_message();
|
||||
PROTOBUF_NODISCARD std::string* release_message();
|
||||
void set_allocated_message(std::string* message);
|
||||
private:
|
||||
const std::string& _internal_message() const;
|
||||
inline PROTOBUF_ALWAYS_INLINE void _internal_set_message(const std::string& value);
|
||||
std::string* _internal_mutable_message();
|
||||
public:
|
||||
|
||||
// .grpc.LogLevel level = 1;
|
||||
void clear_level();
|
||||
::grpc::LogLevel level() const;
|
||||
void set_level(::grpc::LogLevel value);
|
||||
private:
|
||||
::grpc::LogLevel _internal_level() const;
|
||||
void _internal_set_level(::grpc::LogLevel value);
|
||||
public:
|
||||
|
||||
// @@protoc_insertion_point(class_scope:grpc.AddLogEntryRequest)
|
||||
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 package_;
|
||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_;
|
||||
int level_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
};
|
||||
union { Impl_ _impl_; };
|
||||
friend struct ::TableStruct_bridge_2eproto;
|
||||
};
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
class ReportBugRequest final :
|
||||
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:grpc.ReportBugRequest) */ {
|
||||
public:
|
||||
@ -435,7 +649,7 @@ class ReportBugRequest final :
|
||||
&_ReportBugRequest_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
0;
|
||||
1;
|
||||
|
||||
friend void swap(ReportBugRequest& a, ReportBugRequest& b) {
|
||||
a.Swap(&b);
|
||||
@ -663,7 +877,7 @@ class LoginRequest final :
|
||||
&_LoginRequest_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
1;
|
||||
2;
|
||||
|
||||
friend void swap(LoginRequest& a, LoginRequest& b) {
|
||||
a.Swap(&b);
|
||||
@ -832,7 +1046,7 @@ class LoginAbortRequest final :
|
||||
&_LoginAbortRequest_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
2;
|
||||
3;
|
||||
|
||||
friend void swap(LoginAbortRequest& a, LoginAbortRequest& b) {
|
||||
a.Swap(&b);
|
||||
@ -985,7 +1199,7 @@ class ChangeLocalCacheRequest final :
|
||||
&_ChangeLocalCacheRequest_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
3;
|
||||
4;
|
||||
|
||||
friend void swap(ChangeLocalCacheRequest& a, ChangeLocalCacheRequest& b) {
|
||||
a.Swap(&b);
|
||||
@ -1149,7 +1363,7 @@ class ChangePortsRequest final :
|
||||
&_ChangePortsRequest_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
4;
|
||||
5;
|
||||
|
||||
friend void swap(ChangePortsRequest& a, ChangePortsRequest& b) {
|
||||
a.Swap(&b);
|
||||
@ -1308,7 +1522,7 @@ class AvailableKeychainsResponse final :
|
||||
&_AvailableKeychainsResponse_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
5;
|
||||
6;
|
||||
|
||||
friend void swap(AvailableKeychainsResponse& a, AvailableKeychainsResponse& b) {
|
||||
a.Swap(&b);
|
||||
@ -1471,7 +1685,7 @@ class User final :
|
||||
&_User_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
6;
|
||||
7;
|
||||
|
||||
friend void swap(User& a, User& b) {
|
||||
a.Swap(&b);
|
||||
@ -1753,7 +1967,7 @@ class UserSplitModeRequest final :
|
||||
&_UserSplitModeRequest_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
7;
|
||||
8;
|
||||
|
||||
friend void swap(UserSplitModeRequest& a, UserSplitModeRequest& b) {
|
||||
a.Swap(&b);
|
||||
@ -1917,7 +2131,7 @@ class UserListResponse final :
|
||||
&_UserListResponse_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
8;
|
||||
9;
|
||||
|
||||
friend void swap(UserListResponse& a, UserListResponse& b) {
|
||||
a.Swap(&b);
|
||||
@ -2074,7 +2288,7 @@ class ConfigureAppleMailRequest final :
|
||||
&_ConfigureAppleMailRequest_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
9;
|
||||
10;
|
||||
|
||||
friend void swap(ConfigureAppleMailRequest& a, ConfigureAppleMailRequest& b) {
|
||||
a.Swap(&b);
|
||||
@ -2243,7 +2457,7 @@ class EventStreamRequest final :
|
||||
&_EventStreamRequest_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
10;
|
||||
11;
|
||||
|
||||
friend void swap(EventStreamRequest& a, EventStreamRequest& b) {
|
||||
a.Swap(&b);
|
||||
@ -2408,7 +2622,7 @@ class StreamEvent final :
|
||||
&_StreamEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
11;
|
||||
12;
|
||||
|
||||
friend void swap(StreamEvent& a, StreamEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -2735,7 +2949,7 @@ class AppEvent final :
|
||||
&_AppEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
12;
|
||||
13;
|
||||
|
||||
friend void swap(AppEvent& a, AppEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -3030,7 +3244,7 @@ class InternetStatusEvent final :
|
||||
&_InternetStatusEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
13;
|
||||
14;
|
||||
|
||||
friend void swap(InternetStatusEvent& a, InternetStatusEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -3177,7 +3391,7 @@ class ToggleAutostartFinishedEvent final :
|
||||
&_ToggleAutostartFinishedEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
14;
|
||||
15;
|
||||
|
||||
friend void swap(ToggleAutostartFinishedEvent& a, ToggleAutostartFinishedEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -3295,7 +3509,7 @@ class ResetFinishedEvent final :
|
||||
&_ResetFinishedEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
15;
|
||||
16;
|
||||
|
||||
friend void swap(ResetFinishedEvent& a, ResetFinishedEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -3413,7 +3627,7 @@ class ReportBugFinishedEvent final :
|
||||
&_ReportBugFinishedEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
16;
|
||||
17;
|
||||
|
||||
friend void swap(ReportBugFinishedEvent& a, ReportBugFinishedEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -3531,7 +3745,7 @@ class ReportBugSuccessEvent final :
|
||||
&_ReportBugSuccessEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
17;
|
||||
18;
|
||||
|
||||
friend void swap(ReportBugSuccessEvent& a, ReportBugSuccessEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -3649,7 +3863,7 @@ class ReportBugErrorEvent final :
|
||||
&_ReportBugErrorEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
18;
|
||||
19;
|
||||
|
||||
friend void swap(ReportBugErrorEvent& a, ReportBugErrorEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -3767,7 +3981,7 @@ class ShowMainWindowEvent final :
|
||||
&_ShowMainWindowEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
19;
|
||||
20;
|
||||
|
||||
friend void swap(ShowMainWindowEvent& a, ShowMainWindowEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -3895,7 +4109,7 @@ class LoginEvent final :
|
||||
&_LoginEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
20;
|
||||
21;
|
||||
|
||||
friend void swap(LoginEvent& a, LoginEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -4148,7 +4362,7 @@ class LoginErrorEvent final :
|
||||
&_LoginErrorEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
21;
|
||||
22;
|
||||
|
||||
friend void swap(LoginErrorEvent& a, LoginErrorEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -4312,7 +4526,7 @@ class LoginTfaRequestedEvent final :
|
||||
&_LoginTfaRequestedEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
22;
|
||||
23;
|
||||
|
||||
friend void swap(LoginTfaRequestedEvent& a, LoginTfaRequestedEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -4464,7 +4678,7 @@ class LoginTwoPasswordsRequestedEvent final :
|
||||
&_LoginTwoPasswordsRequestedEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
23;
|
||||
24;
|
||||
|
||||
friend void swap(LoginTwoPasswordsRequestedEvent& a, LoginTwoPasswordsRequestedEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -4583,7 +4797,7 @@ class LoginFinishedEvent final :
|
||||
&_LoginFinishedEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
24;
|
||||
25;
|
||||
|
||||
friend void swap(LoginFinishedEvent& a, LoginFinishedEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -4747,7 +4961,7 @@ class UpdateEvent final :
|
||||
&_UpdateEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
25;
|
||||
26;
|
||||
|
||||
friend void swap(UpdateEvent& a, UpdateEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -5042,7 +5256,7 @@ class UpdateErrorEvent final :
|
||||
&_UpdateErrorEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
26;
|
||||
27;
|
||||
|
||||
friend void swap(UpdateErrorEvent& a, UpdateErrorEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -5190,7 +5404,7 @@ class UpdateManualReadyEvent final :
|
||||
&_UpdateManualReadyEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
27;
|
||||
28;
|
||||
|
||||
friend void swap(UpdateManualReadyEvent& a, UpdateManualReadyEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -5342,7 +5556,7 @@ class UpdateManualRestartNeededEvent final :
|
||||
&_UpdateManualRestartNeededEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
28;
|
||||
29;
|
||||
|
||||
friend void swap(UpdateManualRestartNeededEvent& a, UpdateManualRestartNeededEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -5461,7 +5675,7 @@ class UpdateForceEvent final :
|
||||
&_UpdateForceEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
29;
|
||||
30;
|
||||
|
||||
friend void swap(UpdateForceEvent& a, UpdateForceEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -5613,7 +5827,7 @@ class UpdateSilentRestartNeeded final :
|
||||
&_UpdateSilentRestartNeeded_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
30;
|
||||
31;
|
||||
|
||||
friend void swap(UpdateSilentRestartNeeded& a, UpdateSilentRestartNeeded& b) {
|
||||
a.Swap(&b);
|
||||
@ -5731,7 +5945,7 @@ class UpdateIsLatestVersion final :
|
||||
&_UpdateIsLatestVersion_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
31;
|
||||
32;
|
||||
|
||||
friend void swap(UpdateIsLatestVersion& a, UpdateIsLatestVersion& b) {
|
||||
a.Swap(&b);
|
||||
@ -5849,7 +6063,7 @@ class UpdateCheckFinished final :
|
||||
&_UpdateCheckFinished_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
32;
|
||||
33;
|
||||
|
||||
friend void swap(UpdateCheckFinished& a, UpdateCheckFinished& b) {
|
||||
a.Swap(&b);
|
||||
@ -5977,7 +6191,7 @@ class CacheEvent final :
|
||||
&_CacheEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
33;
|
||||
34;
|
||||
|
||||
friend void swap(CacheEvent& a, CacheEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -6230,7 +6444,7 @@ class CacheErrorEvent final :
|
||||
&_CacheErrorEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
34;
|
||||
35;
|
||||
|
||||
friend void swap(CacheErrorEvent& a, CacheErrorEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -6377,7 +6591,7 @@ class CacheLocationChangeSuccessEvent final :
|
||||
&_CacheLocationChangeSuccessEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
35;
|
||||
36;
|
||||
|
||||
friend void swap(CacheLocationChangeSuccessEvent& a, CacheLocationChangeSuccessEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -6495,7 +6709,7 @@ class ChangeLocalCacheFinishedEvent final :
|
||||
&_ChangeLocalCacheFinishedEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
36;
|
||||
37;
|
||||
|
||||
friend void swap(ChangeLocalCacheFinishedEvent& a, ChangeLocalCacheFinishedEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -6614,7 +6828,7 @@ class IsCacheOnDiskEnabledChanged final :
|
||||
&_IsCacheOnDiskEnabledChanged_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
37;
|
||||
38;
|
||||
|
||||
friend void swap(IsCacheOnDiskEnabledChanged& a, IsCacheOnDiskEnabledChanged& b) {
|
||||
a.Swap(&b);
|
||||
@ -6762,7 +6976,7 @@ class DiskCachePathChanged final :
|
||||
&_DiskCachePathChanged_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
38;
|
||||
39;
|
||||
|
||||
friend void swap(DiskCachePathChanged& a, DiskCachePathChanged& b) {
|
||||
a.Swap(&b);
|
||||
@ -6922,7 +7136,7 @@ class MailSettingsEvent final :
|
||||
&_MailSettingsEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
39;
|
||||
40;
|
||||
|
||||
friend void swap(MailSettingsEvent& a, MailSettingsEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -7133,7 +7347,7 @@ class MailSettingsErrorEvent final :
|
||||
&_MailSettingsErrorEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
40;
|
||||
41;
|
||||
|
||||
friend void swap(MailSettingsErrorEvent& a, MailSettingsErrorEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -7280,7 +7494,7 @@ class UseSslForSmtpFinishedEvent final :
|
||||
&_UseSslForSmtpFinishedEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
41;
|
||||
42;
|
||||
|
||||
friend void swap(UseSslForSmtpFinishedEvent& a, UseSslForSmtpFinishedEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -7398,7 +7612,7 @@ class ChangePortsFinishedEvent final :
|
||||
&_ChangePortsFinishedEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
42;
|
||||
43;
|
||||
|
||||
friend void swap(ChangePortsFinishedEvent& a, ChangePortsFinishedEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -7524,7 +7738,7 @@ class KeychainEvent final :
|
||||
&_KeychainEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
43;
|
||||
44;
|
||||
|
||||
friend void swap(KeychainEvent& a, KeychainEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -7734,7 +7948,7 @@ class ChangeKeychainFinishedEvent final :
|
||||
&_ChangeKeychainFinishedEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
44;
|
||||
45;
|
||||
|
||||
friend void swap(ChangeKeychainFinishedEvent& a, ChangeKeychainFinishedEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -7852,7 +8066,7 @@ class HasNoKeychainEvent final :
|
||||
&_HasNoKeychainEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
45;
|
||||
46;
|
||||
|
||||
friend void swap(HasNoKeychainEvent& a, HasNoKeychainEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -7970,7 +8184,7 @@ class RebuildKeychainEvent final :
|
||||
&_RebuildKeychainEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
46;
|
||||
47;
|
||||
|
||||
friend void swap(RebuildKeychainEvent& a, RebuildKeychainEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -8097,7 +8311,7 @@ class MailEvent final :
|
||||
&_MailEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
47;
|
||||
48;
|
||||
|
||||
friend void swap(MailEvent& a, MailEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -8329,7 +8543,7 @@ class NoActiveKeyForRecipientEvent final :
|
||||
&_NoActiveKeyForRecipientEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
48;
|
||||
49;
|
||||
|
||||
friend void swap(NoActiveKeyForRecipientEvent& a, NoActiveKeyForRecipientEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -8482,7 +8696,7 @@ class AddressChangedEvent final :
|
||||
&_AddressChangedEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
49;
|
||||
50;
|
||||
|
||||
friend void swap(AddressChangedEvent& a, AddressChangedEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -8635,7 +8849,7 @@ class AddressChangedLogoutEvent final :
|
||||
&_AddressChangedLogoutEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
50;
|
||||
51;
|
||||
|
||||
friend void swap(AddressChangedLogoutEvent& a, AddressChangedLogoutEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -8787,7 +9001,7 @@ class ApiCertIssueEvent final :
|
||||
&_ApiCertIssueEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
51;
|
||||
52;
|
||||
|
||||
friend void swap(ApiCertIssueEvent& a, ApiCertIssueEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -8913,7 +9127,7 @@ class UserEvent final :
|
||||
&_UserEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
52;
|
||||
53;
|
||||
|
||||
friend void swap(UserEvent& a, UserEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -9124,7 +9338,7 @@ class ToggleSplitModeFinishedEvent final :
|
||||
&_ToggleSplitModeFinishedEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
53;
|
||||
54;
|
||||
|
||||
friend void swap(ToggleSplitModeFinishedEvent& a, ToggleSplitModeFinishedEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -9277,7 +9491,7 @@ class UserDisconnectedEvent final :
|
||||
&_UserDisconnectedEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
54;
|
||||
55;
|
||||
|
||||
friend void swap(UserDisconnectedEvent& a, UserDisconnectedEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -9430,7 +9644,7 @@ class UserChangedEvent final :
|
||||
&_UserChangedEvent_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
55;
|
||||
56;
|
||||
|
||||
friend void swap(UserChangedEvent& a, UserChangedEvent& b) {
|
||||
a.Swap(&b);
|
||||
@ -9542,6 +9756,130 @@ class UserChangedEvent final :
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
||||
#endif // __GNUC__
|
||||
// AddLogEntryRequest
|
||||
|
||||
// .grpc.LogLevel level = 1;
|
||||
inline void AddLogEntryRequest::clear_level() {
|
||||
_impl_.level_ = 0;
|
||||
}
|
||||
inline ::grpc::LogLevel AddLogEntryRequest::_internal_level() const {
|
||||
return static_cast< ::grpc::LogLevel >(_impl_.level_);
|
||||
}
|
||||
inline ::grpc::LogLevel AddLogEntryRequest::level() const {
|
||||
// @@protoc_insertion_point(field_get:grpc.AddLogEntryRequest.level)
|
||||
return _internal_level();
|
||||
}
|
||||
inline void AddLogEntryRequest::_internal_set_level(::grpc::LogLevel value) {
|
||||
|
||||
_impl_.level_ = value;
|
||||
}
|
||||
inline void AddLogEntryRequest::set_level(::grpc::LogLevel value) {
|
||||
_internal_set_level(value);
|
||||
// @@protoc_insertion_point(field_set:grpc.AddLogEntryRequest.level)
|
||||
}
|
||||
|
||||
// string package = 2;
|
||||
inline void AddLogEntryRequest::clear_package() {
|
||||
_impl_.package_.ClearToEmpty();
|
||||
}
|
||||
inline const std::string& AddLogEntryRequest::package() const {
|
||||
// @@protoc_insertion_point(field_get:grpc.AddLogEntryRequest.package)
|
||||
return _internal_package();
|
||||
}
|
||||
template <typename ArgT0, typename... ArgT>
|
||||
inline PROTOBUF_ALWAYS_INLINE
|
||||
void AddLogEntryRequest::set_package(ArgT0&& arg0, ArgT... args) {
|
||||
|
||||
_impl_.package_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
||||
// @@protoc_insertion_point(field_set:grpc.AddLogEntryRequest.package)
|
||||
}
|
||||
inline std::string* AddLogEntryRequest::mutable_package() {
|
||||
std::string* _s = _internal_mutable_package();
|
||||
// @@protoc_insertion_point(field_mutable:grpc.AddLogEntryRequest.package)
|
||||
return _s;
|
||||
}
|
||||
inline const std::string& AddLogEntryRequest::_internal_package() const {
|
||||
return _impl_.package_.Get();
|
||||
}
|
||||
inline void AddLogEntryRequest::_internal_set_package(const std::string& value) {
|
||||
|
||||
_impl_.package_.Set(value, GetArenaForAllocation());
|
||||
}
|
||||
inline std::string* AddLogEntryRequest::_internal_mutable_package() {
|
||||
|
||||
return _impl_.package_.Mutable(GetArenaForAllocation());
|
||||
}
|
||||
inline std::string* AddLogEntryRequest::release_package() {
|
||||
// @@protoc_insertion_point(field_release:grpc.AddLogEntryRequest.package)
|
||||
return _impl_.package_.Release();
|
||||
}
|
||||
inline void AddLogEntryRequest::set_allocated_package(std::string* package) {
|
||||
if (package != nullptr) {
|
||||
|
||||
} else {
|
||||
|
||||
}
|
||||
_impl_.package_.SetAllocated(package, GetArenaForAllocation());
|
||||
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
if (_impl_.package_.IsDefault()) {
|
||||
_impl_.package_.Set("", GetArenaForAllocation());
|
||||
}
|
||||
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
// @@protoc_insertion_point(field_set_allocated:grpc.AddLogEntryRequest.package)
|
||||
}
|
||||
|
||||
// string message = 3;
|
||||
inline void AddLogEntryRequest::clear_message() {
|
||||
_impl_.message_.ClearToEmpty();
|
||||
}
|
||||
inline const std::string& AddLogEntryRequest::message() const {
|
||||
// @@protoc_insertion_point(field_get:grpc.AddLogEntryRequest.message)
|
||||
return _internal_message();
|
||||
}
|
||||
template <typename ArgT0, typename... ArgT>
|
||||
inline PROTOBUF_ALWAYS_INLINE
|
||||
void AddLogEntryRequest::set_message(ArgT0&& arg0, ArgT... args) {
|
||||
|
||||
_impl_.message_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
||||
// @@protoc_insertion_point(field_set:grpc.AddLogEntryRequest.message)
|
||||
}
|
||||
inline std::string* AddLogEntryRequest::mutable_message() {
|
||||
std::string* _s = _internal_mutable_message();
|
||||
// @@protoc_insertion_point(field_mutable:grpc.AddLogEntryRequest.message)
|
||||
return _s;
|
||||
}
|
||||
inline const std::string& AddLogEntryRequest::_internal_message() const {
|
||||
return _impl_.message_.Get();
|
||||
}
|
||||
inline void AddLogEntryRequest::_internal_set_message(const std::string& value) {
|
||||
|
||||
_impl_.message_.Set(value, GetArenaForAllocation());
|
||||
}
|
||||
inline std::string* AddLogEntryRequest::_internal_mutable_message() {
|
||||
|
||||
return _impl_.message_.Mutable(GetArenaForAllocation());
|
||||
}
|
||||
inline std::string* AddLogEntryRequest::release_message() {
|
||||
// @@protoc_insertion_point(field_release:grpc.AddLogEntryRequest.message)
|
||||
return _impl_.message_.Release();
|
||||
}
|
||||
inline void AddLogEntryRequest::set_allocated_message(std::string* message) {
|
||||
if (message != nullptr) {
|
||||
|
||||
} else {
|
||||
|
||||
}
|
||||
_impl_.message_.SetAllocated(message, GetArenaForAllocation());
|
||||
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
if (_impl_.message_.IsDefault()) {
|
||||
_impl_.message_.Set("", GetArenaForAllocation());
|
||||
}
|
||||
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
// @@protoc_insertion_point(field_set_allocated:grpc.AddLogEntryRequest.message)
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// ReportBugRequest
|
||||
|
||||
// string osType = 1;
|
||||
@ -15248,6 +15586,8 @@ inline void UserChangedEvent::set_allocated_userid(std::string* userid) {
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
|
||||
// @@protoc_insertion_point(namespace_scope)
|
||||
|
||||
@ -15255,6 +15595,11 @@ inline void UserChangedEvent::set_allocated_userid(std::string* userid) {
|
||||
|
||||
PROTOBUF_NAMESPACE_OPEN
|
||||
|
||||
template <> struct is_proto_enum< ::grpc::LogLevel> : ::std::true_type {};
|
||||
template <>
|
||||
inline const EnumDescriptor* GetEnumDescriptor< ::grpc::LogLevel>() {
|
||||
return ::grpc::LogLevel_descriptor();
|
||||
}
|
||||
template <> struct is_proto_enum< ::grpc::LoginErrorType> : ::std::true_type {};
|
||||
template <>
|
||||
inline const EnumDescriptor* GetEnumDescriptor< ::grpc::LoginErrorType>() {
|
||||
|
||||
Reference in New Issue
Block a user