diff --git a/internal/frontend/grpc/bridge.pb.go b/internal/frontend/grpc/bridge.pb.go index e3dd3b44..2ac626f1 100644 --- a/internal/frontend/grpc/bridge.pb.go +++ b/internal/frontend/grpc/bridge.pb.go @@ -24,13 +24,12 @@ package grpc import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( @@ -2463,7 +2462,6 @@ type CacheEvent struct { // *CacheEvent_Error // *CacheEvent_LocationChangedSuccess // *CacheEvent_ChangeLocalCacheFinished - // *CacheEvent_IsCacheOnDiskEnabledChanged // *CacheEvent_DiskCachePathChanged Event isCacheEvent_Event `protobuf_oneof:"event"` } @@ -2528,13 +2526,6 @@ func (x *CacheEvent) GetChangeLocalCacheFinished() *ChangeLocalCacheFinishedEven return nil } -func (x *CacheEvent) GetIsCacheOnDiskEnabledChanged() *IsCacheOnDiskEnabledChanged { - if x, ok := x.GetEvent().(*CacheEvent_IsCacheOnDiskEnabledChanged); ok { - return x.IsCacheOnDiskEnabledChanged - } - return nil -} - func (x *CacheEvent) GetDiskCachePathChanged() *DiskCachePathChanged { if x, ok := x.GetEvent().(*CacheEvent_DiskCachePathChanged); ok { return x.DiskCachePathChanged @@ -2558,10 +2549,6 @@ type CacheEvent_ChangeLocalCacheFinished struct { ChangeLocalCacheFinished *ChangeLocalCacheFinishedEvent `protobuf:"bytes,3,opt,name=changeLocalCacheFinished,proto3,oneof"` } -type CacheEvent_IsCacheOnDiskEnabledChanged struct { - IsCacheOnDiskEnabledChanged *IsCacheOnDiskEnabledChanged `protobuf:"bytes,4,opt,name=isCacheOnDiskEnabledChanged,proto3,oneof"` -} - type CacheEvent_DiskCachePathChanged struct { DiskCachePathChanged *DiskCachePathChanged `protobuf:"bytes,5,opt,name=diskCachePathChanged,proto3,oneof"` } @@ -2572,8 +2559,6 @@ func (*CacheEvent_LocationChangedSuccess) isCacheEvent_Event() {} func (*CacheEvent_ChangeLocalCacheFinished) isCacheEvent_Event() {} -func (*CacheEvent_IsCacheOnDiskEnabledChanged) isCacheEvent_Event() {} - func (*CacheEvent_DiskCachePathChanged) isCacheEvent_Event() {} type CacheErrorEvent struct { @@ -2708,53 +2693,6 @@ func (x *ChangeLocalCacheFinishedEvent) GetWillRestart() bool { return false } -type IsCacheOnDiskEnabledChanged struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` -} - -func (x *IsCacheOnDiskEnabledChanged) Reset() { - *x = IsCacheOnDiskEnabledChanged{} - if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IsCacheOnDiskEnabledChanged) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IsCacheOnDiskEnabledChanged) ProtoMessage() {} - -func (x *IsCacheOnDiskEnabledChanged) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use IsCacheOnDiskEnabledChanged.ProtoReflect.Descriptor instead. -func (*IsCacheOnDiskEnabledChanged) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{39} -} - -func (x *IsCacheOnDiskEnabledChanged) GetEnabled() bool { - if x != nil { - return x.Enabled - } - return false -} - type DiskCachePathChanged struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2766,7 +2704,7 @@ type DiskCachePathChanged struct { func (x *DiskCachePathChanged) Reset() { *x = DiskCachePathChanged{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[40] + mi := &file_bridge_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2779,7 +2717,7 @@ func (x *DiskCachePathChanged) String() string { func (*DiskCachePathChanged) ProtoMessage() {} func (x *DiskCachePathChanged) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[40] + mi := &file_bridge_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2792,7 +2730,7 @@ func (x *DiskCachePathChanged) ProtoReflect() protoreflect.Message { // Deprecated: Use DiskCachePathChanged.ProtoReflect.Descriptor instead. func (*DiskCachePathChanged) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{40} + return file_bridge_proto_rawDescGZIP(), []int{39} } func (x *DiskCachePathChanged) GetPath() string { @@ -2820,7 +2758,7 @@ type MailSettingsEvent struct { func (x *MailSettingsEvent) Reset() { *x = MailSettingsEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[41] + mi := &file_bridge_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2833,7 +2771,7 @@ func (x *MailSettingsEvent) String() string { func (*MailSettingsEvent) ProtoMessage() {} func (x *MailSettingsEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[41] + mi := &file_bridge_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2846,7 +2784,7 @@ func (x *MailSettingsEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use MailSettingsEvent.ProtoReflect.Descriptor instead. func (*MailSettingsEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{41} + return file_bridge_proto_rawDescGZIP(), []int{40} } func (m *MailSettingsEvent) GetEvent() isMailSettingsEvent_Event { @@ -2910,7 +2848,7 @@ type MailSettingsErrorEvent struct { func (x *MailSettingsErrorEvent) Reset() { *x = MailSettingsErrorEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[42] + mi := &file_bridge_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2923,7 +2861,7 @@ func (x *MailSettingsErrorEvent) String() string { func (*MailSettingsErrorEvent) ProtoMessage() {} func (x *MailSettingsErrorEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[42] + mi := &file_bridge_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2936,7 +2874,7 @@ func (x *MailSettingsErrorEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use MailSettingsErrorEvent.ProtoReflect.Descriptor instead. func (*MailSettingsErrorEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{42} + return file_bridge_proto_rawDescGZIP(), []int{41} } func (x *MailSettingsErrorEvent) GetType() MailSettingsErrorType { @@ -2955,7 +2893,7 @@ type UseSslForSmtpFinishedEvent struct { func (x *UseSslForSmtpFinishedEvent) Reset() { *x = UseSslForSmtpFinishedEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[43] + mi := &file_bridge_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2968,7 +2906,7 @@ func (x *UseSslForSmtpFinishedEvent) String() string { func (*UseSslForSmtpFinishedEvent) ProtoMessage() {} func (x *UseSslForSmtpFinishedEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[43] + mi := &file_bridge_proto_msgTypes[42] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2981,7 +2919,7 @@ func (x *UseSslForSmtpFinishedEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use UseSslForSmtpFinishedEvent.ProtoReflect.Descriptor instead. func (*UseSslForSmtpFinishedEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{43} + return file_bridge_proto_rawDescGZIP(), []int{42} } type ChangePortsFinishedEvent struct { @@ -2993,7 +2931,7 @@ type ChangePortsFinishedEvent struct { func (x *ChangePortsFinishedEvent) Reset() { *x = ChangePortsFinishedEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[44] + mi := &file_bridge_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3006,7 +2944,7 @@ func (x *ChangePortsFinishedEvent) String() string { func (*ChangePortsFinishedEvent) ProtoMessage() {} func (x *ChangePortsFinishedEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[44] + mi := &file_bridge_proto_msgTypes[43] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3019,7 +2957,7 @@ func (x *ChangePortsFinishedEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use ChangePortsFinishedEvent.ProtoReflect.Descriptor instead. func (*ChangePortsFinishedEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{44} + return file_bridge_proto_rawDescGZIP(), []int{43} } //********************************************************** @@ -3040,7 +2978,7 @@ type KeychainEvent struct { func (x *KeychainEvent) Reset() { *x = KeychainEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[45] + mi := &file_bridge_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3053,7 +2991,7 @@ func (x *KeychainEvent) String() string { func (*KeychainEvent) ProtoMessage() {} func (x *KeychainEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[45] + mi := &file_bridge_proto_msgTypes[44] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3066,7 +3004,7 @@ func (x *KeychainEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use KeychainEvent.ProtoReflect.Descriptor instead. func (*KeychainEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{45} + return file_bridge_proto_rawDescGZIP(), []int{44} } func (m *KeychainEvent) GetEvent() isKeychainEvent_Event { @@ -3128,7 +3066,7 @@ type ChangeKeychainFinishedEvent struct { func (x *ChangeKeychainFinishedEvent) Reset() { *x = ChangeKeychainFinishedEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[46] + mi := &file_bridge_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3141,7 +3079,7 @@ func (x *ChangeKeychainFinishedEvent) String() string { func (*ChangeKeychainFinishedEvent) ProtoMessage() {} func (x *ChangeKeychainFinishedEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[46] + mi := &file_bridge_proto_msgTypes[45] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3154,7 +3092,7 @@ func (x *ChangeKeychainFinishedEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use ChangeKeychainFinishedEvent.ProtoReflect.Descriptor instead. func (*ChangeKeychainFinishedEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{46} + return file_bridge_proto_rawDescGZIP(), []int{45} } type HasNoKeychainEvent struct { @@ -3166,7 +3104,7 @@ type HasNoKeychainEvent struct { func (x *HasNoKeychainEvent) Reset() { *x = HasNoKeychainEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[47] + mi := &file_bridge_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3179,7 +3117,7 @@ func (x *HasNoKeychainEvent) String() string { func (*HasNoKeychainEvent) ProtoMessage() {} func (x *HasNoKeychainEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[47] + mi := &file_bridge_proto_msgTypes[46] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3192,7 +3130,7 @@ func (x *HasNoKeychainEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use HasNoKeychainEvent.ProtoReflect.Descriptor instead. func (*HasNoKeychainEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{47} + return file_bridge_proto_rawDescGZIP(), []int{46} } type RebuildKeychainEvent struct { @@ -3204,7 +3142,7 @@ type RebuildKeychainEvent struct { func (x *RebuildKeychainEvent) Reset() { *x = RebuildKeychainEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[48] + mi := &file_bridge_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3217,7 +3155,7 @@ func (x *RebuildKeychainEvent) String() string { func (*RebuildKeychainEvent) ProtoMessage() {} func (x *RebuildKeychainEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[48] + mi := &file_bridge_proto_msgTypes[47] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3230,7 +3168,7 @@ func (x *RebuildKeychainEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use RebuildKeychainEvent.ProtoReflect.Descriptor instead. func (*RebuildKeychainEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{48} + return file_bridge_proto_rawDescGZIP(), []int{47} } //********************************************************** @@ -3252,7 +3190,7 @@ type MailEvent struct { func (x *MailEvent) Reset() { *x = MailEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[49] + mi := &file_bridge_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3265,7 +3203,7 @@ func (x *MailEvent) String() string { func (*MailEvent) ProtoMessage() {} func (x *MailEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[49] + mi := &file_bridge_proto_msgTypes[48] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3278,7 +3216,7 @@ func (x *MailEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use MailEvent.ProtoReflect.Descriptor instead. func (*MailEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{49} + return file_bridge_proto_rawDescGZIP(), []int{48} } func (m *MailEvent) GetEvent() isMailEvent_Event { @@ -3355,7 +3293,7 @@ type NoActiveKeyForRecipientEvent struct { func (x *NoActiveKeyForRecipientEvent) Reset() { *x = NoActiveKeyForRecipientEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[50] + mi := &file_bridge_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3368,7 +3306,7 @@ func (x *NoActiveKeyForRecipientEvent) String() string { func (*NoActiveKeyForRecipientEvent) ProtoMessage() {} func (x *NoActiveKeyForRecipientEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[50] + mi := &file_bridge_proto_msgTypes[49] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3381,7 +3319,7 @@ func (x *NoActiveKeyForRecipientEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use NoActiveKeyForRecipientEvent.ProtoReflect.Descriptor instead. func (*NoActiveKeyForRecipientEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{50} + return file_bridge_proto_rawDescGZIP(), []int{49} } func (x *NoActiveKeyForRecipientEvent) GetEmail() string { @@ -3402,7 +3340,7 @@ type AddressChangedEvent struct { func (x *AddressChangedEvent) Reset() { *x = AddressChangedEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[51] + mi := &file_bridge_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3415,7 +3353,7 @@ func (x *AddressChangedEvent) String() string { func (*AddressChangedEvent) ProtoMessage() {} func (x *AddressChangedEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[51] + mi := &file_bridge_proto_msgTypes[50] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3428,7 +3366,7 @@ func (x *AddressChangedEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use AddressChangedEvent.ProtoReflect.Descriptor instead. func (*AddressChangedEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{51} + return file_bridge_proto_rawDescGZIP(), []int{50} } func (x *AddressChangedEvent) GetAddress() string { @@ -3449,7 +3387,7 @@ type AddressChangedLogoutEvent struct { func (x *AddressChangedLogoutEvent) Reset() { *x = AddressChangedLogoutEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[52] + mi := &file_bridge_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3462,7 +3400,7 @@ func (x *AddressChangedLogoutEvent) String() string { func (*AddressChangedLogoutEvent) ProtoMessage() {} func (x *AddressChangedLogoutEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[52] + mi := &file_bridge_proto_msgTypes[51] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3475,7 +3413,7 @@ func (x *AddressChangedLogoutEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use AddressChangedLogoutEvent.ProtoReflect.Descriptor instead. func (*AddressChangedLogoutEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{52} + return file_bridge_proto_rawDescGZIP(), []int{51} } func (x *AddressChangedLogoutEvent) GetAddress() string { @@ -3494,7 +3432,7 @@ type ApiCertIssueEvent struct { func (x *ApiCertIssueEvent) Reset() { *x = ApiCertIssueEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[53] + mi := &file_bridge_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3507,7 +3445,7 @@ func (x *ApiCertIssueEvent) String() string { func (*ApiCertIssueEvent) ProtoMessage() {} func (x *ApiCertIssueEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[53] + mi := &file_bridge_proto_msgTypes[52] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3520,7 +3458,7 @@ func (x *ApiCertIssueEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use ApiCertIssueEvent.ProtoReflect.Descriptor instead. func (*ApiCertIssueEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{53} + return file_bridge_proto_rawDescGZIP(), []int{52} } type UserEvent struct { @@ -3538,7 +3476,7 @@ type UserEvent struct { func (x *UserEvent) Reset() { *x = UserEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[54] + mi := &file_bridge_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3551,7 +3489,7 @@ func (x *UserEvent) String() string { func (*UserEvent) ProtoMessage() {} func (x *UserEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[54] + mi := &file_bridge_proto_msgTypes[53] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3564,7 +3502,7 @@ func (x *UserEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use UserEvent.ProtoReflect.Descriptor instead. func (*UserEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{54} + return file_bridge_proto_rawDescGZIP(), []int{53} } func (m *UserEvent) GetEvent() isUserEvent_Event { @@ -3628,7 +3566,7 @@ type ToggleSplitModeFinishedEvent struct { func (x *ToggleSplitModeFinishedEvent) Reset() { *x = ToggleSplitModeFinishedEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[55] + mi := &file_bridge_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3641,7 +3579,7 @@ func (x *ToggleSplitModeFinishedEvent) String() string { func (*ToggleSplitModeFinishedEvent) ProtoMessage() {} func (x *ToggleSplitModeFinishedEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[55] + mi := &file_bridge_proto_msgTypes[54] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3654,7 +3592,7 @@ func (x *ToggleSplitModeFinishedEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use ToggleSplitModeFinishedEvent.ProtoReflect.Descriptor instead. func (*ToggleSplitModeFinishedEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{55} + return file_bridge_proto_rawDescGZIP(), []int{54} } func (x *ToggleSplitModeFinishedEvent) GetUserID() string { @@ -3675,7 +3613,7 @@ type UserDisconnectedEvent struct { func (x *UserDisconnectedEvent) Reset() { *x = UserDisconnectedEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[56] + mi := &file_bridge_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3688,7 +3626,7 @@ func (x *UserDisconnectedEvent) String() string { func (*UserDisconnectedEvent) ProtoMessage() {} func (x *UserDisconnectedEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[56] + mi := &file_bridge_proto_msgTypes[55] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3701,7 +3639,7 @@ func (x *UserDisconnectedEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use UserDisconnectedEvent.ProtoReflect.Descriptor instead. func (*UserDisconnectedEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{56} + return file_bridge_proto_rawDescGZIP(), []int{55} } func (x *UserDisconnectedEvent) GetUsername() string { @@ -3722,7 +3660,7 @@ type UserChangedEvent struct { func (x *UserChangedEvent) Reset() { *x = UserChangedEvent{} if protoimpl.UnsafeEnabled { - mi := &file_bridge_proto_msgTypes[57] + mi := &file_bridge_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3735,7 +3673,7 @@ func (x *UserChangedEvent) String() string { func (*UserChangedEvent) ProtoMessage() {} func (x *UserChangedEvent) ProtoReflect() protoreflect.Message { - mi := &file_bridge_proto_msgTypes[57] + mi := &file_bridge_proto_msgTypes[56] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3748,7 +3686,7 @@ func (x *UserChangedEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use UserChangedEvent.ProtoReflect.Descriptor instead. func (*UserChangedEvent) Descriptor() ([]byte, []int) { - return file_bridge_proto_rawDescGZIP(), []int{57} + return file_bridge_proto_rawDescGZIP(), []int{56} } func (x *UserChangedEvent) GetUserID() string { @@ -4002,7 +3940,7 @@ var file_bridge_proto_rawDesc = []byte{ 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x15, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x22, 0x16, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x22, 0xc1, 0x03, 0x0a, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x22, 0xda, 0x02, 0x0a, 0x0a, 0x43, 0x61, 0x63, 0x68, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x2d, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x45, 0x76, 0x65, 0x6e, @@ -4018,33 +3956,23 @@ var file_bridge_proto_rawDesc = []byte{ 0x67, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x43, 0x61, 0x63, 0x68, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x18, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x6f, 0x63, 0x61, - 0x6c, 0x43, 0x61, 0x63, 0x68, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x65, - 0x0a, 0x1b, 0x69, 0x73, 0x43, 0x61, 0x63, 0x68, 0x65, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x45, - 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x73, 0x43, 0x61, 0x63, - 0x68, 0x65, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x43, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x48, 0x00, 0x52, 0x1b, 0x69, 0x73, 0x43, 0x61, 0x63, 0x68, - 0x65, 0x4f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x43, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x64, 0x12, 0x50, 0x0a, 0x14, 0x64, 0x69, 0x73, 0x6b, 0x43, 0x61, 0x63, - 0x68, 0x65, 0x50, 0x61, 0x74, 0x68, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x43, - 0x61, 0x63, 0x68, 0x65, 0x50, 0x61, 0x74, 0x68, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x48, - 0x00, 0x52, 0x14, 0x64, 0x69, 0x73, 0x6b, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x61, 0x74, 0x68, - 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, - 0x22, 0x3b, 0x0a, 0x0f, 0x43, 0x61, 0x63, 0x68, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x45, 0x72, - 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x21, 0x0a, - 0x1f, 0x43, 0x61, 0x63, 0x68, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, - 0x22, 0x41, 0x0a, 0x1d, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x43, - 0x61, 0x63, 0x68, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x77, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x77, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x74, - 0x61, 0x72, 0x74, 0x22, 0x37, 0x0a, 0x1b, 0x49, 0x73, 0x43, 0x61, 0x63, 0x68, 0x65, 0x4f, 0x6e, - 0x44, 0x69, 0x73, 0x6b, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, - 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, 0x2a, 0x0a, 0x14, + 0x6c, 0x43, 0x61, 0x63, 0x68, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x50, + 0x0a, 0x14, 0x64, 0x69, 0x73, 0x6b, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x61, 0x74, 0x68, 0x43, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, + 0x72, 0x70, 0x63, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x61, 0x74, + 0x68, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x48, 0x00, 0x52, 0x14, 0x64, 0x69, 0x73, 0x6b, + 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x61, 0x74, 0x68, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, + 0x42, 0x07, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x3b, 0x0a, 0x0f, 0x43, 0x61, 0x63, + 0x68, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x70, + 0x63, 0x2e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x21, 0x0a, 0x1f, 0x43, 0x61, 0x63, 0x68, 0x65, 0x4c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x75, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x41, 0x0a, 0x1d, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x43, 0x61, 0x63, 0x68, 0x65, 0x46, 0x69, 0x6e, + 0x69, 0x73, 0x68, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x77, 0x69, + 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0b, 0x77, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x22, 0x2a, 0x0a, 0x14, 0x44, 0x69, 0x73, 0x6b, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x61, 0x74, 0x68, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x80, 0x02, 0x0a, 0x11, 0x4d, 0x61, 0x69, @@ -4454,7 +4382,7 @@ func file_bridge_proto_rawDescGZIP() []byte { } var file_bridge_proto_enumTypes = make([]protoimpl.EnumInfo, 5) -var file_bridge_proto_msgTypes = make([]protoimpl.MessageInfo, 58) +var file_bridge_proto_msgTypes = make([]protoimpl.MessageInfo, 57) var file_bridge_proto_goTypes = []interface{}{ (LogLevel)(0), // 0: grpc.LogLevel (LoginErrorType)(0), // 1: grpc.LoginErrorType @@ -4500,29 +4428,28 @@ var file_bridge_proto_goTypes = []interface{}{ (*CacheErrorEvent)(nil), // 41: grpc.CacheErrorEvent (*CacheLocationChangeSuccessEvent)(nil), // 42: grpc.CacheLocationChangeSuccessEvent (*ChangeLocalCacheFinishedEvent)(nil), // 43: grpc.ChangeLocalCacheFinishedEvent - (*IsCacheOnDiskEnabledChanged)(nil), // 44: grpc.IsCacheOnDiskEnabledChanged - (*DiskCachePathChanged)(nil), // 45: grpc.DiskCachePathChanged - (*MailSettingsEvent)(nil), // 46: grpc.MailSettingsEvent - (*MailSettingsErrorEvent)(nil), // 47: grpc.MailSettingsErrorEvent - (*UseSslForSmtpFinishedEvent)(nil), // 48: grpc.UseSslForSmtpFinishedEvent - (*ChangePortsFinishedEvent)(nil), // 49: grpc.ChangePortsFinishedEvent - (*KeychainEvent)(nil), // 50: grpc.KeychainEvent - (*ChangeKeychainFinishedEvent)(nil), // 51: grpc.ChangeKeychainFinishedEvent - (*HasNoKeychainEvent)(nil), // 52: grpc.HasNoKeychainEvent - (*RebuildKeychainEvent)(nil), // 53: grpc.RebuildKeychainEvent - (*MailEvent)(nil), // 54: grpc.MailEvent - (*NoActiveKeyForRecipientEvent)(nil), // 55: grpc.NoActiveKeyForRecipientEvent - (*AddressChangedEvent)(nil), // 56: grpc.AddressChangedEvent - (*AddressChangedLogoutEvent)(nil), // 57: grpc.AddressChangedLogoutEvent - (*ApiCertIssueEvent)(nil), // 58: grpc.ApiCertIssueEvent - (*UserEvent)(nil), // 59: grpc.UserEvent - (*ToggleSplitModeFinishedEvent)(nil), // 60: grpc.ToggleSplitModeFinishedEvent - (*UserDisconnectedEvent)(nil), // 61: grpc.UserDisconnectedEvent - (*UserChangedEvent)(nil), // 62: grpc.UserChangedEvent - (*wrapperspb.StringValue)(nil), // 63: google.protobuf.StringValue - (*emptypb.Empty)(nil), // 64: google.protobuf.Empty - (*wrapperspb.BoolValue)(nil), // 65: google.protobuf.BoolValue - (*wrapperspb.Int32Value)(nil), // 66: google.protobuf.Int32Value + (*DiskCachePathChanged)(nil), // 44: grpc.DiskCachePathChanged + (*MailSettingsEvent)(nil), // 45: grpc.MailSettingsEvent + (*MailSettingsErrorEvent)(nil), // 46: grpc.MailSettingsErrorEvent + (*UseSslForSmtpFinishedEvent)(nil), // 47: grpc.UseSslForSmtpFinishedEvent + (*ChangePortsFinishedEvent)(nil), // 48: grpc.ChangePortsFinishedEvent + (*KeychainEvent)(nil), // 49: grpc.KeychainEvent + (*ChangeKeychainFinishedEvent)(nil), // 50: grpc.ChangeKeychainFinishedEvent + (*HasNoKeychainEvent)(nil), // 51: grpc.HasNoKeychainEvent + (*RebuildKeychainEvent)(nil), // 52: grpc.RebuildKeychainEvent + (*MailEvent)(nil), // 53: grpc.MailEvent + (*NoActiveKeyForRecipientEvent)(nil), // 54: grpc.NoActiveKeyForRecipientEvent + (*AddressChangedEvent)(nil), // 55: grpc.AddressChangedEvent + (*AddressChangedLogoutEvent)(nil), // 56: grpc.AddressChangedLogoutEvent + (*ApiCertIssueEvent)(nil), // 57: grpc.ApiCertIssueEvent + (*UserEvent)(nil), // 58: grpc.UserEvent + (*ToggleSplitModeFinishedEvent)(nil), // 59: grpc.ToggleSplitModeFinishedEvent + (*UserDisconnectedEvent)(nil), // 60: grpc.UserDisconnectedEvent + (*UserChangedEvent)(nil), // 61: grpc.UserChangedEvent + (*wrapperspb.StringValue)(nil), // 62: google.protobuf.StringValue + (*emptypb.Empty)(nil), // 63: google.protobuf.Empty + (*wrapperspb.BoolValue)(nil), // 64: google.protobuf.BoolValue + (*wrapperspb.Int32Value)(nil), // 65: google.protobuf.Int32Value } var file_bridge_proto_depIdxs = []int32{ 0, // 0: grpc.AddLogEntryRequest.level:type_name -> grpc.LogLevel @@ -4531,10 +4458,10 @@ var file_bridge_proto_depIdxs = []int32{ 26, // 3: grpc.StreamEvent.login:type_name -> grpc.LoginEvent 31, // 4: grpc.StreamEvent.update:type_name -> grpc.UpdateEvent 40, // 5: grpc.StreamEvent.cache:type_name -> grpc.CacheEvent - 46, // 6: grpc.StreamEvent.mailSettings:type_name -> grpc.MailSettingsEvent - 50, // 7: grpc.StreamEvent.keychain:type_name -> grpc.KeychainEvent - 54, // 8: grpc.StreamEvent.mail:type_name -> grpc.MailEvent - 59, // 9: grpc.StreamEvent.user:type_name -> grpc.UserEvent + 45, // 6: grpc.StreamEvent.mailSettings:type_name -> grpc.MailSettingsEvent + 49, // 7: grpc.StreamEvent.keychain:type_name -> grpc.KeychainEvent + 53, // 8: grpc.StreamEvent.mail:type_name -> grpc.MailEvent + 58, // 9: grpc.StreamEvent.user:type_name -> grpc.UserEvent 19, // 10: grpc.AppEvent.internetStatus:type_name -> grpc.InternetStatusEvent 20, // 11: grpc.AppEvent.toggleAutostartFinished:type_name -> grpc.ToggleAutostartFinishedEvent 21, // 12: grpc.AppEvent.resetFinished:type_name -> grpc.ResetFinishedEvent @@ -4560,144 +4487,143 @@ var file_bridge_proto_depIdxs = []int32{ 41, // 32: grpc.CacheEvent.error:type_name -> grpc.CacheErrorEvent 42, // 33: grpc.CacheEvent.locationChangedSuccess:type_name -> grpc.CacheLocationChangeSuccessEvent 43, // 34: grpc.CacheEvent.changeLocalCacheFinished:type_name -> grpc.ChangeLocalCacheFinishedEvent - 44, // 35: grpc.CacheEvent.isCacheOnDiskEnabledChanged:type_name -> grpc.IsCacheOnDiskEnabledChanged - 45, // 36: grpc.CacheEvent.diskCachePathChanged:type_name -> grpc.DiskCachePathChanged - 3, // 37: grpc.CacheErrorEvent.type:type_name -> grpc.CacheErrorType - 47, // 38: grpc.MailSettingsEvent.error:type_name -> grpc.MailSettingsErrorEvent - 48, // 39: grpc.MailSettingsEvent.useSslForSmtpFinished:type_name -> grpc.UseSslForSmtpFinishedEvent - 49, // 40: grpc.MailSettingsEvent.changePortsFinished:type_name -> grpc.ChangePortsFinishedEvent - 4, // 41: grpc.MailSettingsErrorEvent.type:type_name -> grpc.MailSettingsErrorType - 51, // 42: grpc.KeychainEvent.changeKeychainFinished:type_name -> grpc.ChangeKeychainFinishedEvent - 52, // 43: grpc.KeychainEvent.hasNoKeychain:type_name -> grpc.HasNoKeychainEvent - 53, // 44: grpc.KeychainEvent.rebuildKeychain:type_name -> grpc.RebuildKeychainEvent - 55, // 45: grpc.MailEvent.noActiveKeyForRecipientEvent:type_name -> grpc.NoActiveKeyForRecipientEvent - 56, // 46: grpc.MailEvent.addressChanged:type_name -> grpc.AddressChangedEvent - 57, // 47: grpc.MailEvent.addressChangedLogout:type_name -> grpc.AddressChangedLogoutEvent - 58, // 48: grpc.MailEvent.apiCertIssue:type_name -> grpc.ApiCertIssueEvent - 60, // 49: grpc.UserEvent.toggleSplitModeFinished:type_name -> grpc.ToggleSplitModeFinishedEvent - 61, // 50: grpc.UserEvent.userDisconnected:type_name -> grpc.UserDisconnectedEvent - 62, // 51: grpc.UserEvent.userChanged:type_name -> grpc.UserChangedEvent - 63, // 52: grpc.Bridge.CheckTokens:input_type -> google.protobuf.StringValue - 5, // 53: grpc.Bridge.AddLogEntry:input_type -> grpc.AddLogEntryRequest - 64, // 54: grpc.Bridge.GuiReady:input_type -> google.protobuf.Empty - 64, // 55: grpc.Bridge.Quit:input_type -> google.protobuf.Empty - 64, // 56: grpc.Bridge.Restart:input_type -> google.protobuf.Empty - 64, // 57: grpc.Bridge.ShowOnStartup:input_type -> google.protobuf.Empty - 64, // 58: grpc.Bridge.ShowSplashScreen:input_type -> google.protobuf.Empty - 64, // 59: grpc.Bridge.IsFirstGuiStart:input_type -> google.protobuf.Empty - 65, // 60: grpc.Bridge.SetIsAutostartOn:input_type -> google.protobuf.BoolValue - 64, // 61: grpc.Bridge.IsAutostartOn:input_type -> google.protobuf.Empty - 65, // 62: grpc.Bridge.SetIsBetaEnabled:input_type -> google.protobuf.BoolValue - 64, // 63: grpc.Bridge.IsBetaEnabled:input_type -> google.protobuf.Empty - 65, // 64: grpc.Bridge.SetIsAllMailVisible:input_type -> google.protobuf.BoolValue - 64, // 65: grpc.Bridge.IsAllMailVisible:input_type -> google.protobuf.Empty - 64, // 66: grpc.Bridge.GoOs:input_type -> google.protobuf.Empty - 64, // 67: grpc.Bridge.TriggerReset:input_type -> google.protobuf.Empty - 64, // 68: grpc.Bridge.Version:input_type -> google.protobuf.Empty - 64, // 69: grpc.Bridge.LogsPath:input_type -> google.protobuf.Empty - 64, // 70: grpc.Bridge.LicensePath:input_type -> google.protobuf.Empty - 64, // 71: grpc.Bridge.ReleaseNotesPageLink:input_type -> google.protobuf.Empty - 64, // 72: grpc.Bridge.DependencyLicensesLink:input_type -> google.protobuf.Empty - 64, // 73: grpc.Bridge.LandingPageLink:input_type -> google.protobuf.Empty - 63, // 74: grpc.Bridge.SetColorSchemeName:input_type -> google.protobuf.StringValue - 64, // 75: grpc.Bridge.ColorSchemeName:input_type -> google.protobuf.Empty - 64, // 76: grpc.Bridge.CurrentEmailClient:input_type -> google.protobuf.Empty - 6, // 77: grpc.Bridge.ReportBug:input_type -> grpc.ReportBugRequest - 63, // 78: grpc.Bridge.ForceLauncher:input_type -> google.protobuf.StringValue - 63, // 79: grpc.Bridge.SetMainExecutable:input_type -> google.protobuf.StringValue - 7, // 80: grpc.Bridge.Login:input_type -> grpc.LoginRequest - 7, // 81: grpc.Bridge.Login2FA:input_type -> grpc.LoginRequest - 7, // 82: grpc.Bridge.Login2Passwords:input_type -> grpc.LoginRequest - 8, // 83: grpc.Bridge.LoginAbort:input_type -> grpc.LoginAbortRequest - 64, // 84: grpc.Bridge.CheckUpdate:input_type -> google.protobuf.Empty - 64, // 85: grpc.Bridge.InstallUpdate:input_type -> google.protobuf.Empty - 65, // 86: grpc.Bridge.SetIsAutomaticUpdateOn:input_type -> google.protobuf.BoolValue - 64, // 87: grpc.Bridge.IsAutomaticUpdateOn:input_type -> google.protobuf.Empty - 64, // 88: grpc.Bridge.DiskCachePath:input_type -> google.protobuf.Empty - 9, // 89: grpc.Bridge.ChangeLocalCache:input_type -> grpc.ChangeLocalCacheRequest - 65, // 90: grpc.Bridge.SetIsDoHEnabled:input_type -> google.protobuf.BoolValue - 64, // 91: grpc.Bridge.IsDoHEnabled:input_type -> google.protobuf.Empty - 65, // 92: grpc.Bridge.SetUseSslForSmtp:input_type -> google.protobuf.BoolValue - 64, // 93: grpc.Bridge.UseSslForSmtp:input_type -> google.protobuf.Empty - 64, // 94: grpc.Bridge.Hostname:input_type -> google.protobuf.Empty - 64, // 95: grpc.Bridge.ImapPort:input_type -> google.protobuf.Empty - 64, // 96: grpc.Bridge.SmtpPort:input_type -> google.protobuf.Empty - 10, // 97: grpc.Bridge.ChangePorts:input_type -> grpc.ChangePortsRequest - 66, // 98: grpc.Bridge.IsPortFree:input_type -> google.protobuf.Int32Value - 64, // 99: grpc.Bridge.AvailableKeychains:input_type -> google.protobuf.Empty - 63, // 100: grpc.Bridge.SetCurrentKeychain:input_type -> google.protobuf.StringValue - 64, // 101: grpc.Bridge.CurrentKeychain:input_type -> google.protobuf.Empty - 64, // 102: grpc.Bridge.GetUserList:input_type -> google.protobuf.Empty - 63, // 103: grpc.Bridge.GetUser:input_type -> google.protobuf.StringValue - 13, // 104: grpc.Bridge.SetUserSplitMode:input_type -> grpc.UserSplitModeRequest - 63, // 105: grpc.Bridge.LogoutUser:input_type -> google.protobuf.StringValue - 63, // 106: grpc.Bridge.RemoveUser:input_type -> google.protobuf.StringValue - 15, // 107: grpc.Bridge.ConfigureUserAppleMail:input_type -> grpc.ConfigureAppleMailRequest - 16, // 108: grpc.Bridge.RunEventStream:input_type -> grpc.EventStreamRequest - 64, // 109: grpc.Bridge.StopEventStream:input_type -> google.protobuf.Empty - 63, // 110: grpc.Bridge.CheckTokens:output_type -> google.protobuf.StringValue - 64, // 111: grpc.Bridge.AddLogEntry:output_type -> google.protobuf.Empty - 64, // 112: grpc.Bridge.GuiReady:output_type -> google.protobuf.Empty - 64, // 113: grpc.Bridge.Quit:output_type -> google.protobuf.Empty - 64, // 114: grpc.Bridge.Restart:output_type -> google.protobuf.Empty - 65, // 115: grpc.Bridge.ShowOnStartup:output_type -> google.protobuf.BoolValue - 65, // 116: grpc.Bridge.ShowSplashScreen:output_type -> google.protobuf.BoolValue - 65, // 117: grpc.Bridge.IsFirstGuiStart:output_type -> google.protobuf.BoolValue - 64, // 118: grpc.Bridge.SetIsAutostartOn:output_type -> google.protobuf.Empty - 65, // 119: grpc.Bridge.IsAutostartOn:output_type -> google.protobuf.BoolValue - 64, // 120: grpc.Bridge.SetIsBetaEnabled:output_type -> google.protobuf.Empty - 65, // 121: grpc.Bridge.IsBetaEnabled:output_type -> google.protobuf.BoolValue - 64, // 122: grpc.Bridge.SetIsAllMailVisible:output_type -> google.protobuf.Empty - 65, // 123: grpc.Bridge.IsAllMailVisible:output_type -> google.protobuf.BoolValue - 63, // 124: grpc.Bridge.GoOs:output_type -> google.protobuf.StringValue - 64, // 125: grpc.Bridge.TriggerReset:output_type -> google.protobuf.Empty - 63, // 126: grpc.Bridge.Version:output_type -> google.protobuf.StringValue - 63, // 127: grpc.Bridge.LogsPath:output_type -> google.protobuf.StringValue - 63, // 128: grpc.Bridge.LicensePath:output_type -> google.protobuf.StringValue - 63, // 129: grpc.Bridge.ReleaseNotesPageLink:output_type -> google.protobuf.StringValue - 63, // 130: grpc.Bridge.DependencyLicensesLink:output_type -> google.protobuf.StringValue - 63, // 131: grpc.Bridge.LandingPageLink:output_type -> google.protobuf.StringValue - 64, // 132: grpc.Bridge.SetColorSchemeName:output_type -> google.protobuf.Empty - 63, // 133: grpc.Bridge.ColorSchemeName:output_type -> google.protobuf.StringValue - 63, // 134: grpc.Bridge.CurrentEmailClient:output_type -> google.protobuf.StringValue - 64, // 135: grpc.Bridge.ReportBug:output_type -> google.protobuf.Empty - 64, // 136: grpc.Bridge.ForceLauncher:output_type -> google.protobuf.Empty - 64, // 137: grpc.Bridge.SetMainExecutable:output_type -> google.protobuf.Empty - 64, // 138: grpc.Bridge.Login:output_type -> google.protobuf.Empty - 64, // 139: grpc.Bridge.Login2FA:output_type -> google.protobuf.Empty - 64, // 140: grpc.Bridge.Login2Passwords:output_type -> google.protobuf.Empty - 64, // 141: grpc.Bridge.LoginAbort:output_type -> google.protobuf.Empty - 64, // 142: grpc.Bridge.CheckUpdate:output_type -> google.protobuf.Empty - 64, // 143: grpc.Bridge.InstallUpdate:output_type -> google.protobuf.Empty - 64, // 144: grpc.Bridge.SetIsAutomaticUpdateOn:output_type -> google.protobuf.Empty - 65, // 145: grpc.Bridge.IsAutomaticUpdateOn:output_type -> google.protobuf.BoolValue - 63, // 146: grpc.Bridge.DiskCachePath:output_type -> google.protobuf.StringValue - 64, // 147: grpc.Bridge.ChangeLocalCache:output_type -> google.protobuf.Empty - 64, // 148: grpc.Bridge.SetIsDoHEnabled:output_type -> google.protobuf.Empty - 65, // 149: grpc.Bridge.IsDoHEnabled:output_type -> google.protobuf.BoolValue - 64, // 150: grpc.Bridge.SetUseSslForSmtp:output_type -> google.protobuf.Empty - 65, // 151: grpc.Bridge.UseSslForSmtp:output_type -> google.protobuf.BoolValue - 63, // 152: grpc.Bridge.Hostname:output_type -> google.protobuf.StringValue - 66, // 153: grpc.Bridge.ImapPort:output_type -> google.protobuf.Int32Value - 66, // 154: grpc.Bridge.SmtpPort:output_type -> google.protobuf.Int32Value - 64, // 155: grpc.Bridge.ChangePorts:output_type -> google.protobuf.Empty - 65, // 156: grpc.Bridge.IsPortFree:output_type -> google.protobuf.BoolValue - 11, // 157: grpc.Bridge.AvailableKeychains:output_type -> grpc.AvailableKeychainsResponse - 64, // 158: grpc.Bridge.SetCurrentKeychain:output_type -> google.protobuf.Empty - 63, // 159: grpc.Bridge.CurrentKeychain:output_type -> google.protobuf.StringValue - 14, // 160: grpc.Bridge.GetUserList:output_type -> grpc.UserListResponse - 12, // 161: grpc.Bridge.GetUser:output_type -> grpc.User - 64, // 162: grpc.Bridge.SetUserSplitMode:output_type -> google.protobuf.Empty - 64, // 163: grpc.Bridge.LogoutUser:output_type -> google.protobuf.Empty - 64, // 164: grpc.Bridge.RemoveUser:output_type -> google.protobuf.Empty - 64, // 165: grpc.Bridge.ConfigureUserAppleMail:output_type -> google.protobuf.Empty - 17, // 166: grpc.Bridge.RunEventStream:output_type -> grpc.StreamEvent - 64, // 167: grpc.Bridge.StopEventStream:output_type -> google.protobuf.Empty - 110, // [110:168] is the sub-list for method output_type - 52, // [52:110] is the sub-list for method input_type - 52, // [52:52] is the sub-list for extension type_name - 52, // [52:52] is the sub-list for extension extendee - 0, // [0:52] is the sub-list for field type_name + 44, // 35: grpc.CacheEvent.diskCachePathChanged:type_name -> grpc.DiskCachePathChanged + 3, // 36: grpc.CacheErrorEvent.type:type_name -> grpc.CacheErrorType + 46, // 37: grpc.MailSettingsEvent.error:type_name -> grpc.MailSettingsErrorEvent + 47, // 38: grpc.MailSettingsEvent.useSslForSmtpFinished:type_name -> grpc.UseSslForSmtpFinishedEvent + 48, // 39: grpc.MailSettingsEvent.changePortsFinished:type_name -> grpc.ChangePortsFinishedEvent + 4, // 40: grpc.MailSettingsErrorEvent.type:type_name -> grpc.MailSettingsErrorType + 50, // 41: grpc.KeychainEvent.changeKeychainFinished:type_name -> grpc.ChangeKeychainFinishedEvent + 51, // 42: grpc.KeychainEvent.hasNoKeychain:type_name -> grpc.HasNoKeychainEvent + 52, // 43: grpc.KeychainEvent.rebuildKeychain:type_name -> grpc.RebuildKeychainEvent + 54, // 44: grpc.MailEvent.noActiveKeyForRecipientEvent:type_name -> grpc.NoActiveKeyForRecipientEvent + 55, // 45: grpc.MailEvent.addressChanged:type_name -> grpc.AddressChangedEvent + 56, // 46: grpc.MailEvent.addressChangedLogout:type_name -> grpc.AddressChangedLogoutEvent + 57, // 47: grpc.MailEvent.apiCertIssue:type_name -> grpc.ApiCertIssueEvent + 59, // 48: grpc.UserEvent.toggleSplitModeFinished:type_name -> grpc.ToggleSplitModeFinishedEvent + 60, // 49: grpc.UserEvent.userDisconnected:type_name -> grpc.UserDisconnectedEvent + 61, // 50: grpc.UserEvent.userChanged:type_name -> grpc.UserChangedEvent + 62, // 51: grpc.Bridge.CheckTokens:input_type -> google.protobuf.StringValue + 5, // 52: grpc.Bridge.AddLogEntry:input_type -> grpc.AddLogEntryRequest + 63, // 53: grpc.Bridge.GuiReady:input_type -> google.protobuf.Empty + 63, // 54: grpc.Bridge.Quit:input_type -> google.protobuf.Empty + 63, // 55: grpc.Bridge.Restart:input_type -> google.protobuf.Empty + 63, // 56: grpc.Bridge.ShowOnStartup:input_type -> google.protobuf.Empty + 63, // 57: grpc.Bridge.ShowSplashScreen:input_type -> google.protobuf.Empty + 63, // 58: grpc.Bridge.IsFirstGuiStart:input_type -> google.protobuf.Empty + 64, // 59: grpc.Bridge.SetIsAutostartOn:input_type -> google.protobuf.BoolValue + 63, // 60: grpc.Bridge.IsAutostartOn:input_type -> google.protobuf.Empty + 64, // 61: grpc.Bridge.SetIsBetaEnabled:input_type -> google.protobuf.BoolValue + 63, // 62: grpc.Bridge.IsBetaEnabled:input_type -> google.protobuf.Empty + 64, // 63: grpc.Bridge.SetIsAllMailVisible:input_type -> google.protobuf.BoolValue + 63, // 64: grpc.Bridge.IsAllMailVisible:input_type -> google.protobuf.Empty + 63, // 65: grpc.Bridge.GoOs:input_type -> google.protobuf.Empty + 63, // 66: grpc.Bridge.TriggerReset:input_type -> google.protobuf.Empty + 63, // 67: grpc.Bridge.Version:input_type -> google.protobuf.Empty + 63, // 68: grpc.Bridge.LogsPath:input_type -> google.protobuf.Empty + 63, // 69: grpc.Bridge.LicensePath:input_type -> google.protobuf.Empty + 63, // 70: grpc.Bridge.ReleaseNotesPageLink:input_type -> google.protobuf.Empty + 63, // 71: grpc.Bridge.DependencyLicensesLink:input_type -> google.protobuf.Empty + 63, // 72: grpc.Bridge.LandingPageLink:input_type -> google.protobuf.Empty + 62, // 73: grpc.Bridge.SetColorSchemeName:input_type -> google.protobuf.StringValue + 63, // 74: grpc.Bridge.ColorSchemeName:input_type -> google.protobuf.Empty + 63, // 75: grpc.Bridge.CurrentEmailClient:input_type -> google.protobuf.Empty + 6, // 76: grpc.Bridge.ReportBug:input_type -> grpc.ReportBugRequest + 62, // 77: grpc.Bridge.ForceLauncher:input_type -> google.protobuf.StringValue + 62, // 78: grpc.Bridge.SetMainExecutable:input_type -> google.protobuf.StringValue + 7, // 79: grpc.Bridge.Login:input_type -> grpc.LoginRequest + 7, // 80: grpc.Bridge.Login2FA:input_type -> grpc.LoginRequest + 7, // 81: grpc.Bridge.Login2Passwords:input_type -> grpc.LoginRequest + 8, // 82: grpc.Bridge.LoginAbort:input_type -> grpc.LoginAbortRequest + 63, // 83: grpc.Bridge.CheckUpdate:input_type -> google.protobuf.Empty + 63, // 84: grpc.Bridge.InstallUpdate:input_type -> google.protobuf.Empty + 64, // 85: grpc.Bridge.SetIsAutomaticUpdateOn:input_type -> google.protobuf.BoolValue + 63, // 86: grpc.Bridge.IsAutomaticUpdateOn:input_type -> google.protobuf.Empty + 63, // 87: grpc.Bridge.DiskCachePath:input_type -> google.protobuf.Empty + 9, // 88: grpc.Bridge.ChangeLocalCache:input_type -> grpc.ChangeLocalCacheRequest + 64, // 89: grpc.Bridge.SetIsDoHEnabled:input_type -> google.protobuf.BoolValue + 63, // 90: grpc.Bridge.IsDoHEnabled:input_type -> google.protobuf.Empty + 64, // 91: grpc.Bridge.SetUseSslForSmtp:input_type -> google.protobuf.BoolValue + 63, // 92: grpc.Bridge.UseSslForSmtp:input_type -> google.protobuf.Empty + 63, // 93: grpc.Bridge.Hostname:input_type -> google.protobuf.Empty + 63, // 94: grpc.Bridge.ImapPort:input_type -> google.protobuf.Empty + 63, // 95: grpc.Bridge.SmtpPort:input_type -> google.protobuf.Empty + 10, // 96: grpc.Bridge.ChangePorts:input_type -> grpc.ChangePortsRequest + 65, // 97: grpc.Bridge.IsPortFree:input_type -> google.protobuf.Int32Value + 63, // 98: grpc.Bridge.AvailableKeychains:input_type -> google.protobuf.Empty + 62, // 99: grpc.Bridge.SetCurrentKeychain:input_type -> google.protobuf.StringValue + 63, // 100: grpc.Bridge.CurrentKeychain:input_type -> google.protobuf.Empty + 63, // 101: grpc.Bridge.GetUserList:input_type -> google.protobuf.Empty + 62, // 102: grpc.Bridge.GetUser:input_type -> google.protobuf.StringValue + 13, // 103: grpc.Bridge.SetUserSplitMode:input_type -> grpc.UserSplitModeRequest + 62, // 104: grpc.Bridge.LogoutUser:input_type -> google.protobuf.StringValue + 62, // 105: grpc.Bridge.RemoveUser:input_type -> google.protobuf.StringValue + 15, // 106: grpc.Bridge.ConfigureUserAppleMail:input_type -> grpc.ConfigureAppleMailRequest + 16, // 107: grpc.Bridge.RunEventStream:input_type -> grpc.EventStreamRequest + 63, // 108: grpc.Bridge.StopEventStream:input_type -> google.protobuf.Empty + 62, // 109: grpc.Bridge.CheckTokens:output_type -> google.protobuf.StringValue + 63, // 110: grpc.Bridge.AddLogEntry:output_type -> google.protobuf.Empty + 63, // 111: grpc.Bridge.GuiReady:output_type -> google.protobuf.Empty + 63, // 112: grpc.Bridge.Quit:output_type -> google.protobuf.Empty + 63, // 113: grpc.Bridge.Restart:output_type -> google.protobuf.Empty + 64, // 114: grpc.Bridge.ShowOnStartup:output_type -> google.protobuf.BoolValue + 64, // 115: grpc.Bridge.ShowSplashScreen:output_type -> google.protobuf.BoolValue + 64, // 116: grpc.Bridge.IsFirstGuiStart:output_type -> google.protobuf.BoolValue + 63, // 117: grpc.Bridge.SetIsAutostartOn:output_type -> google.protobuf.Empty + 64, // 118: grpc.Bridge.IsAutostartOn:output_type -> google.protobuf.BoolValue + 63, // 119: grpc.Bridge.SetIsBetaEnabled:output_type -> google.protobuf.Empty + 64, // 120: grpc.Bridge.IsBetaEnabled:output_type -> google.protobuf.BoolValue + 63, // 121: grpc.Bridge.SetIsAllMailVisible:output_type -> google.protobuf.Empty + 64, // 122: grpc.Bridge.IsAllMailVisible:output_type -> google.protobuf.BoolValue + 62, // 123: grpc.Bridge.GoOs:output_type -> google.protobuf.StringValue + 63, // 124: grpc.Bridge.TriggerReset:output_type -> google.protobuf.Empty + 62, // 125: grpc.Bridge.Version:output_type -> google.protobuf.StringValue + 62, // 126: grpc.Bridge.LogsPath:output_type -> google.protobuf.StringValue + 62, // 127: grpc.Bridge.LicensePath:output_type -> google.protobuf.StringValue + 62, // 128: grpc.Bridge.ReleaseNotesPageLink:output_type -> google.protobuf.StringValue + 62, // 129: grpc.Bridge.DependencyLicensesLink:output_type -> google.protobuf.StringValue + 62, // 130: grpc.Bridge.LandingPageLink:output_type -> google.protobuf.StringValue + 63, // 131: grpc.Bridge.SetColorSchemeName:output_type -> google.protobuf.Empty + 62, // 132: grpc.Bridge.ColorSchemeName:output_type -> google.protobuf.StringValue + 62, // 133: grpc.Bridge.CurrentEmailClient:output_type -> google.protobuf.StringValue + 63, // 134: grpc.Bridge.ReportBug:output_type -> google.protobuf.Empty + 63, // 135: grpc.Bridge.ForceLauncher:output_type -> google.protobuf.Empty + 63, // 136: grpc.Bridge.SetMainExecutable:output_type -> google.protobuf.Empty + 63, // 137: grpc.Bridge.Login:output_type -> google.protobuf.Empty + 63, // 138: grpc.Bridge.Login2FA:output_type -> google.protobuf.Empty + 63, // 139: grpc.Bridge.Login2Passwords:output_type -> google.protobuf.Empty + 63, // 140: grpc.Bridge.LoginAbort:output_type -> google.protobuf.Empty + 63, // 141: grpc.Bridge.CheckUpdate:output_type -> google.protobuf.Empty + 63, // 142: grpc.Bridge.InstallUpdate:output_type -> google.protobuf.Empty + 63, // 143: grpc.Bridge.SetIsAutomaticUpdateOn:output_type -> google.protobuf.Empty + 64, // 144: grpc.Bridge.IsAutomaticUpdateOn:output_type -> google.protobuf.BoolValue + 62, // 145: grpc.Bridge.DiskCachePath:output_type -> google.protobuf.StringValue + 63, // 146: grpc.Bridge.ChangeLocalCache:output_type -> google.protobuf.Empty + 63, // 147: grpc.Bridge.SetIsDoHEnabled:output_type -> google.protobuf.Empty + 64, // 148: grpc.Bridge.IsDoHEnabled:output_type -> google.protobuf.BoolValue + 63, // 149: grpc.Bridge.SetUseSslForSmtp:output_type -> google.protobuf.Empty + 64, // 150: grpc.Bridge.UseSslForSmtp:output_type -> google.protobuf.BoolValue + 62, // 151: grpc.Bridge.Hostname:output_type -> google.protobuf.StringValue + 65, // 152: grpc.Bridge.ImapPort:output_type -> google.protobuf.Int32Value + 65, // 153: grpc.Bridge.SmtpPort:output_type -> google.protobuf.Int32Value + 63, // 154: grpc.Bridge.ChangePorts:output_type -> google.protobuf.Empty + 64, // 155: grpc.Bridge.IsPortFree:output_type -> google.protobuf.BoolValue + 11, // 156: grpc.Bridge.AvailableKeychains:output_type -> grpc.AvailableKeychainsResponse + 63, // 157: grpc.Bridge.SetCurrentKeychain:output_type -> google.protobuf.Empty + 62, // 158: grpc.Bridge.CurrentKeychain:output_type -> google.protobuf.StringValue + 14, // 159: grpc.Bridge.GetUserList:output_type -> grpc.UserListResponse + 12, // 160: grpc.Bridge.GetUser:output_type -> grpc.User + 63, // 161: grpc.Bridge.SetUserSplitMode:output_type -> google.protobuf.Empty + 63, // 162: grpc.Bridge.LogoutUser:output_type -> google.protobuf.Empty + 63, // 163: grpc.Bridge.RemoveUser:output_type -> google.protobuf.Empty + 63, // 164: grpc.Bridge.ConfigureUserAppleMail:output_type -> google.protobuf.Empty + 17, // 165: grpc.Bridge.RunEventStream:output_type -> grpc.StreamEvent + 63, // 166: grpc.Bridge.StopEventStream:output_type -> google.protobuf.Empty + 109, // [109:167] is the sub-list for method output_type + 51, // [51:109] is the sub-list for method input_type + 51, // [51:51] is the sub-list for extension type_name + 51, // [51:51] is the sub-list for extension extendee + 0, // [0:51] is the sub-list for field type_name } func init() { file_bridge_proto_init() } @@ -5175,18 +5101,6 @@ func file_bridge_proto_init() { } } file_bridge_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsCacheOnDiskEnabledChanged); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_bridge_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DiskCachePathChanged); i { case 0: return &v.state @@ -5198,7 +5112,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MailSettingsEvent); i { case 0: return &v.state @@ -5210,7 +5124,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MailSettingsErrorEvent); i { case 0: return &v.state @@ -5222,7 +5136,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UseSslForSmtpFinishedEvent); i { case 0: return &v.state @@ -5234,7 +5148,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ChangePortsFinishedEvent); i { case 0: return &v.state @@ -5246,7 +5160,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*KeychainEvent); i { case 0: return &v.state @@ -5258,7 +5172,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ChangeKeychainFinishedEvent); i { case 0: return &v.state @@ -5270,7 +5184,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*HasNoKeychainEvent); i { case 0: return &v.state @@ -5282,7 +5196,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RebuildKeychainEvent); i { case 0: return &v.state @@ -5294,7 +5208,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MailEvent); i { case 0: return &v.state @@ -5306,7 +5220,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NoActiveKeyForRecipientEvent); i { case 0: return &v.state @@ -5318,7 +5232,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AddressChangedEvent); i { case 0: return &v.state @@ -5330,7 +5244,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AddressChangedLogoutEvent); i { case 0: return &v.state @@ -5342,7 +5256,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ApiCertIssueEvent); i { case 0: return &v.state @@ -5354,7 +5268,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserEvent); i { case 0: return &v.state @@ -5366,7 +5280,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ToggleSplitModeFinishedEvent); i { case 0: return &v.state @@ -5378,7 +5292,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserDisconnectedEvent); i { case 0: return &v.state @@ -5390,7 +5304,7 @@ func file_bridge_proto_init() { return nil } } - file_bridge_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + file_bridge_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserChangedEvent); i { case 0: return &v.state @@ -5443,26 +5357,25 @@ func file_bridge_proto_init() { (*CacheEvent_Error)(nil), (*CacheEvent_LocationChangedSuccess)(nil), (*CacheEvent_ChangeLocalCacheFinished)(nil), - (*CacheEvent_IsCacheOnDiskEnabledChanged)(nil), (*CacheEvent_DiskCachePathChanged)(nil), } - file_bridge_proto_msgTypes[41].OneofWrappers = []interface{}{ + file_bridge_proto_msgTypes[40].OneofWrappers = []interface{}{ (*MailSettingsEvent_Error)(nil), (*MailSettingsEvent_UseSslForSmtpFinished)(nil), (*MailSettingsEvent_ChangePortsFinished)(nil), } - file_bridge_proto_msgTypes[45].OneofWrappers = []interface{}{ + file_bridge_proto_msgTypes[44].OneofWrappers = []interface{}{ (*KeychainEvent_ChangeKeychainFinished)(nil), (*KeychainEvent_HasNoKeychain)(nil), (*KeychainEvent_RebuildKeychain)(nil), } - file_bridge_proto_msgTypes[49].OneofWrappers = []interface{}{ + file_bridge_proto_msgTypes[48].OneofWrappers = []interface{}{ (*MailEvent_NoActiveKeyForRecipientEvent)(nil), (*MailEvent_AddressChanged)(nil), (*MailEvent_AddressChangedLogout)(nil), (*MailEvent_ApiCertIssue)(nil), } - file_bridge_proto_msgTypes[54].OneofWrappers = []interface{}{ + file_bridge_proto_msgTypes[53].OneofWrappers = []interface{}{ (*UserEvent_ToggleSplitModeFinished)(nil), (*UserEvent_UserDisconnected)(nil), (*UserEvent_UserChanged)(nil), @@ -5473,7 +5386,7 @@ func file_bridge_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_bridge_proto_rawDesc, NumEnums: 5, - NumMessages: 58, + NumMessages: 57, NumExtensions: 0, NumServices: 1, }, diff --git a/internal/frontend/grpc/bridge.proto b/internal/frontend/grpc/bridge.proto index 43490265..cc984ab5 100644 --- a/internal/frontend/grpc/bridge.proto +++ b/internal/frontend/grpc/bridge.proto @@ -344,7 +344,6 @@ message CacheEvent { CacheErrorEvent error = 1; CacheLocationChangeSuccessEvent locationChangedSuccess = 2; ChangeLocalCacheFinishedEvent changeLocalCacheFinished = 3; - IsCacheOnDiskEnabledChanged isCacheOnDiskEnabledChanged = 4; DiskCachePathChanged diskCachePathChanged = 5; } } @@ -365,11 +364,6 @@ message ChangeLocalCacheFinishedEvent { bool willRestart = 1; }; - -message IsCacheOnDiskEnabledChanged { - bool enabled = 1; -} - message DiskCachePathChanged { string path = 1; } diff --git a/internal/frontend/grpc/bridge_grpc.pb.go b/internal/frontend/grpc/bridge_grpc.pb.go index a4d7dc52..6e60a11f 100644 --- a/internal/frontend/grpc/bridge_grpc.pb.go +++ b/internal/frontend/grpc/bridge_grpc.pb.go @@ -8,7 +8,6 @@ package grpc import ( context "context" - grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/internal/frontend/grpc/event_factory.go b/internal/frontend/grpc/event_factory.go index 99c53e5e..202aec15 100644 --- a/internal/frontend/grpc/event_factory.go +++ b/internal/frontend/grpc/event_factory.go @@ -111,10 +111,6 @@ func NewCacheChangeLocalCacheFinishedEvent(willRestart bool) *StreamEvent { }}) } -func NewIsCacheOnDiskEnabledChanged(enabled bool) *StreamEvent { - return cacheEvent(&CacheEvent{Event: &CacheEvent_IsCacheOnDiskEnabledChanged{IsCacheOnDiskEnabledChanged: &IsCacheOnDiskEnabledChanged{Enabled: enabled}}}) -} - func NewDiskCachePathChanged(path string) *StreamEvent { return cacheEvent(&CacheEvent{Event: &CacheEvent_DiskCachePathChanged{DiskCachePathChanged: &DiskCachePathChanged{Path: path}}}) } diff --git a/internal/frontend/grpc/service_stream.go b/internal/frontend/grpc/service_stream.go index f32511fd..187e7f09 100644 --- a/internal/frontend/grpc/service_stream.go +++ b/internal/frontend/grpc/service_stream.go @@ -130,7 +130,6 @@ func (s *Service) StartEventTest() error { //nolint:funlen NewCacheErrorEvent(CacheErrorType_CACHE_UNAVAILABLE_ERROR), NewCacheLocationChangeSuccessEvent(), NewCacheChangeLocalCacheFinishedEvent(true), - NewIsCacheOnDiskEnabledChanged(true), NewDiskCachePathChanged("/dummy/path"), // mail settings