github.com/status-im/status-go@v1.1.0/protocol/protobuf/community_privileged_user_sync_message.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.31.0 4 // protoc v3.20.3 5 // source: community_privileged_user_sync_message.proto 6 7 package protobuf 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14 ) 15 16 const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21 ) 22 23 type CommunityPrivilegedUserSyncMessage_EventType int32 24 25 const ( 26 CommunityPrivilegedUserSyncMessage_UNKNOWN CommunityPrivilegedUserSyncMessage_EventType = 0 27 CommunityPrivilegedUserSyncMessage_CONTROL_NODE_ACCEPT_REQUEST_TO_JOIN CommunityPrivilegedUserSyncMessage_EventType = 1 28 CommunityPrivilegedUserSyncMessage_CONTROL_NODE_REJECT_REQUEST_TO_JOIN CommunityPrivilegedUserSyncMessage_EventType = 2 29 CommunityPrivilegedUserSyncMessage_CONTROL_NODE_ALL_SYNC_REQUESTS_TO_JOIN CommunityPrivilegedUserSyncMessage_EventType = 3 30 CommunityPrivilegedUserSyncMessage_CONTROL_NODE_MEMBER_EDIT_SHARED_ADDRESSES CommunityPrivilegedUserSyncMessage_EventType = 4 31 ) 32 33 // Enum value maps for CommunityPrivilegedUserSyncMessage_EventType. 34 var ( 35 CommunityPrivilegedUserSyncMessage_EventType_name = map[int32]string{ 36 0: "UNKNOWN", 37 1: "CONTROL_NODE_ACCEPT_REQUEST_TO_JOIN", 38 2: "CONTROL_NODE_REJECT_REQUEST_TO_JOIN", 39 3: "CONTROL_NODE_ALL_SYNC_REQUESTS_TO_JOIN", 40 4: "CONTROL_NODE_MEMBER_EDIT_SHARED_ADDRESSES", 41 } 42 CommunityPrivilegedUserSyncMessage_EventType_value = map[string]int32{ 43 "UNKNOWN": 0, 44 "CONTROL_NODE_ACCEPT_REQUEST_TO_JOIN": 1, 45 "CONTROL_NODE_REJECT_REQUEST_TO_JOIN": 2, 46 "CONTROL_NODE_ALL_SYNC_REQUESTS_TO_JOIN": 3, 47 "CONTROL_NODE_MEMBER_EDIT_SHARED_ADDRESSES": 4, 48 } 49 ) 50 51 func (x CommunityPrivilegedUserSyncMessage_EventType) Enum() *CommunityPrivilegedUserSyncMessage_EventType { 52 p := new(CommunityPrivilegedUserSyncMessage_EventType) 53 *p = x 54 return p 55 } 56 57 func (x CommunityPrivilegedUserSyncMessage_EventType) String() string { 58 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 59 } 60 61 func (CommunityPrivilegedUserSyncMessage_EventType) Descriptor() protoreflect.EnumDescriptor { 62 return file_community_privileged_user_sync_message_proto_enumTypes[0].Descriptor() 63 } 64 65 func (CommunityPrivilegedUserSyncMessage_EventType) Type() protoreflect.EnumType { 66 return &file_community_privileged_user_sync_message_proto_enumTypes[0] 67 } 68 69 func (x CommunityPrivilegedUserSyncMessage_EventType) Number() protoreflect.EnumNumber { 70 return protoreflect.EnumNumber(x) 71 } 72 73 // Deprecated: Use CommunityPrivilegedUserSyncMessage_EventType.Descriptor instead. 74 func (CommunityPrivilegedUserSyncMessage_EventType) EnumDescriptor() ([]byte, []int) { 75 return file_community_privileged_user_sync_message_proto_rawDescGZIP(), []int{1, 0} 76 } 77 78 type SyncCommunityEditSharedAddresses struct { 79 state protoimpl.MessageState 80 sizeCache protoimpl.SizeCache 81 unknownFields protoimpl.UnknownFields 82 83 PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` 84 EditSharedAddress *CommunityEditSharedAddresses `protobuf:"bytes,2,opt,name=edit_shared_address,json=editSharedAddress,proto3" json:"edit_shared_address,omitempty"` 85 } 86 87 func (x *SyncCommunityEditSharedAddresses) Reset() { 88 *x = SyncCommunityEditSharedAddresses{} 89 if protoimpl.UnsafeEnabled { 90 mi := &file_community_privileged_user_sync_message_proto_msgTypes[0] 91 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 92 ms.StoreMessageInfo(mi) 93 } 94 } 95 96 func (x *SyncCommunityEditSharedAddresses) String() string { 97 return protoimpl.X.MessageStringOf(x) 98 } 99 100 func (*SyncCommunityEditSharedAddresses) ProtoMessage() {} 101 102 func (x *SyncCommunityEditSharedAddresses) ProtoReflect() protoreflect.Message { 103 mi := &file_community_privileged_user_sync_message_proto_msgTypes[0] 104 if protoimpl.UnsafeEnabled && x != nil { 105 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 106 if ms.LoadMessageInfo() == nil { 107 ms.StoreMessageInfo(mi) 108 } 109 return ms 110 } 111 return mi.MessageOf(x) 112 } 113 114 // Deprecated: Use SyncCommunityEditSharedAddresses.ProtoReflect.Descriptor instead. 115 func (*SyncCommunityEditSharedAddresses) Descriptor() ([]byte, []int) { 116 return file_community_privileged_user_sync_message_proto_rawDescGZIP(), []int{0} 117 } 118 119 func (x *SyncCommunityEditSharedAddresses) GetPublicKey() string { 120 if x != nil { 121 return x.PublicKey 122 } 123 return "" 124 } 125 126 func (x *SyncCommunityEditSharedAddresses) GetEditSharedAddress() *CommunityEditSharedAddresses { 127 if x != nil { 128 return x.EditSharedAddress 129 } 130 return nil 131 } 132 133 type CommunityPrivilegedUserSyncMessage struct { 134 state protoimpl.MessageState 135 sizeCache protoimpl.SizeCache 136 unknownFields protoimpl.UnknownFields 137 138 Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` 139 Type CommunityPrivilegedUserSyncMessage_EventType `protobuf:"varint,2,opt,name=type,proto3,enum=protobuf.CommunityPrivilegedUserSyncMessage_EventType" json:"type,omitempty"` 140 CommunityId []byte `protobuf:"bytes,3,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` 141 RequestToJoin map[string]*CommunityRequestToJoin `protobuf:"bytes,4,rep,name=request_to_join,json=requestToJoin,proto3" json:"request_to_join,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 142 SyncRequestsToJoin []*SyncCommunityRequestsToJoin `protobuf:"bytes,5,rep,name=sync_requests_to_join,json=syncRequestsToJoin,proto3" json:"sync_requests_to_join,omitempty"` 143 SyncEditSharedAddresses *SyncCommunityEditSharedAddresses `protobuf:"bytes,6,opt,name=sync_edit_shared_addresses,json=syncEditSharedAddresses,proto3" json:"sync_edit_shared_addresses,omitempty"` 144 } 145 146 func (x *CommunityPrivilegedUserSyncMessage) Reset() { 147 *x = CommunityPrivilegedUserSyncMessage{} 148 if protoimpl.UnsafeEnabled { 149 mi := &file_community_privileged_user_sync_message_proto_msgTypes[1] 150 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 151 ms.StoreMessageInfo(mi) 152 } 153 } 154 155 func (x *CommunityPrivilegedUserSyncMessage) String() string { 156 return protoimpl.X.MessageStringOf(x) 157 } 158 159 func (*CommunityPrivilegedUserSyncMessage) ProtoMessage() {} 160 161 func (x *CommunityPrivilegedUserSyncMessage) ProtoReflect() protoreflect.Message { 162 mi := &file_community_privileged_user_sync_message_proto_msgTypes[1] 163 if protoimpl.UnsafeEnabled && x != nil { 164 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 165 if ms.LoadMessageInfo() == nil { 166 ms.StoreMessageInfo(mi) 167 } 168 return ms 169 } 170 return mi.MessageOf(x) 171 } 172 173 // Deprecated: Use CommunityPrivilegedUserSyncMessage.ProtoReflect.Descriptor instead. 174 func (*CommunityPrivilegedUserSyncMessage) Descriptor() ([]byte, []int) { 175 return file_community_privileged_user_sync_message_proto_rawDescGZIP(), []int{1} 176 } 177 178 func (x *CommunityPrivilegedUserSyncMessage) GetClock() uint64 { 179 if x != nil { 180 return x.Clock 181 } 182 return 0 183 } 184 185 func (x *CommunityPrivilegedUserSyncMessage) GetType() CommunityPrivilegedUserSyncMessage_EventType { 186 if x != nil { 187 return x.Type 188 } 189 return CommunityPrivilegedUserSyncMessage_UNKNOWN 190 } 191 192 func (x *CommunityPrivilegedUserSyncMessage) GetCommunityId() []byte { 193 if x != nil { 194 return x.CommunityId 195 } 196 return nil 197 } 198 199 func (x *CommunityPrivilegedUserSyncMessage) GetRequestToJoin() map[string]*CommunityRequestToJoin { 200 if x != nil { 201 return x.RequestToJoin 202 } 203 return nil 204 } 205 206 func (x *CommunityPrivilegedUserSyncMessage) GetSyncRequestsToJoin() []*SyncCommunityRequestsToJoin { 207 if x != nil { 208 return x.SyncRequestsToJoin 209 } 210 return nil 211 } 212 213 func (x *CommunityPrivilegedUserSyncMessage) GetSyncEditSharedAddresses() *SyncCommunityEditSharedAddresses { 214 if x != nil { 215 return x.SyncEditSharedAddresses 216 } 217 return nil 218 } 219 220 var File_community_privileged_user_sync_message_proto protoreflect.FileDescriptor 221 222 var file_community_privileged_user_sync_message_proto_rawDesc = []byte{ 223 0x0a, 0x2c, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x70, 0x72, 0x69, 0x76, 224 0x69, 0x6c, 0x65, 0x67, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x79, 0x6e, 0x63, 225 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 226 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x11, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 227 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0d, 0x70, 0x61, 0x69, 228 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x99, 0x01, 0x0a, 0x20, 0x53, 229 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x45, 0x64, 0x69, 0x74, 230 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 231 0x1d, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 232 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x56, 233 0x0a, 0x13, 0x65, 0x64, 0x69, 0x74, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x5f, 0x61, 0x64, 234 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x70, 0x72, 235 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 236 0x45, 0x64, 0x69, 0x74, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 237 0x73, 0x65, 0x73, 0x52, 0x11, 0x65, 0x64, 0x69, 0x74, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x41, 238 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x81, 0x06, 0x0a, 0x22, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 239 0x6e, 0x69, 0x74, 0x79, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x64, 0x55, 0x73, 240 0x65, 0x72, 0x53, 0x79, 0x6e, 0x63, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 241 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 242 0x6f, 0x63, 0x6b, 0x12, 0x4a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 243 0x0e, 0x32, 0x36, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 244 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x64, 245 0x55, 0x73, 0x65, 0x72, 0x53, 0x79, 0x6e, 0x63, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 246 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 247 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 248 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 249 0x49, 0x64, 0x12, 0x67, 0x0a, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x74, 0x6f, 250 0x5f, 0x6a, 0x6f, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x70, 0x72, 251 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 252 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x53, 0x79, 253 0x6e, 0x63, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 254 0x74, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x72, 0x65, 255 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x12, 0x58, 0x0a, 0x15, 0x73, 256 0x79, 0x6e, 0x63, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 257 0x6a, 0x6f, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, 258 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 259 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 260 0x6e, 0x52, 0x12, 0x73, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x54, 261 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x12, 0x67, 0x0a, 0x1a, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x65, 0x64, 262 0x69, 0x74, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 263 0x73, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 264 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 265 0x74, 0x79, 0x45, 0x64, 0x69, 0x74, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 266 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x17, 0x73, 0x79, 0x6e, 0x63, 0x45, 0x64, 0x69, 0x74, 0x53, 267 0x68, 0x61, 0x72, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x1a, 0x62, 268 0x0a, 0x12, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x45, 269 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 270 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x36, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 271 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 272 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 273 0x74, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 274 0x38, 0x01, 0x22, 0xc5, 0x01, 0x0a, 0x09, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 275 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x27, 0x0a, 276 0x23, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x4f, 0x4c, 0x5f, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x41, 0x43, 277 0x43, 0x45, 0x50, 0x54, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x54, 0x4f, 0x5f, 278 0x4a, 0x4f, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x27, 0x0a, 0x23, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x4f, 279 0x4c, 0x5f, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x52, 0x45, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x52, 0x45, 280 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x54, 0x4f, 0x5f, 0x4a, 0x4f, 0x49, 0x4e, 0x10, 0x02, 0x12, 281 0x2a, 0x0a, 0x26, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x4f, 0x4c, 0x5f, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 282 0x41, 0x4c, 0x4c, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 283 0x53, 0x5f, 0x54, 0x4f, 0x5f, 0x4a, 0x4f, 0x49, 0x4e, 0x10, 0x03, 0x12, 0x2d, 0x0a, 0x29, 0x43, 284 0x4f, 0x4e, 0x54, 0x52, 0x4f, 0x4c, 0x5f, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 285 0x45, 0x52, 0x5f, 0x45, 0x44, 0x49, 0x54, 0x5f, 0x53, 0x48, 0x41, 0x52, 0x45, 0x44, 0x5f, 0x41, 286 0x44, 0x44, 0x52, 0x45, 0x53, 0x53, 0x45, 0x53, 0x10, 0x04, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 287 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 288 0x33, 289 } 290 291 var ( 292 file_community_privileged_user_sync_message_proto_rawDescOnce sync.Once 293 file_community_privileged_user_sync_message_proto_rawDescData = file_community_privileged_user_sync_message_proto_rawDesc 294 ) 295 296 func file_community_privileged_user_sync_message_proto_rawDescGZIP() []byte { 297 file_community_privileged_user_sync_message_proto_rawDescOnce.Do(func() { 298 file_community_privileged_user_sync_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_community_privileged_user_sync_message_proto_rawDescData) 299 }) 300 return file_community_privileged_user_sync_message_proto_rawDescData 301 } 302 303 var file_community_privileged_user_sync_message_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 304 var file_community_privileged_user_sync_message_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 305 var file_community_privileged_user_sync_message_proto_goTypes = []interface{}{ 306 (CommunityPrivilegedUserSyncMessage_EventType)(0), // 0: protobuf.CommunityPrivilegedUserSyncMessage.EventType 307 (*SyncCommunityEditSharedAddresses)(nil), // 1: protobuf.SyncCommunityEditSharedAddresses 308 (*CommunityPrivilegedUserSyncMessage)(nil), // 2: protobuf.CommunityPrivilegedUserSyncMessage 309 nil, // 3: protobuf.CommunityPrivilegedUserSyncMessage.RequestToJoinEntry 310 (*CommunityEditSharedAddresses)(nil), // 4: protobuf.CommunityEditSharedAddresses 311 (*SyncCommunityRequestsToJoin)(nil), // 5: protobuf.SyncCommunityRequestsToJoin 312 (*CommunityRequestToJoin)(nil), // 6: protobuf.CommunityRequestToJoin 313 } 314 var file_community_privileged_user_sync_message_proto_depIdxs = []int32{ 315 4, // 0: protobuf.SyncCommunityEditSharedAddresses.edit_shared_address:type_name -> protobuf.CommunityEditSharedAddresses 316 0, // 1: protobuf.CommunityPrivilegedUserSyncMessage.type:type_name -> protobuf.CommunityPrivilegedUserSyncMessage.EventType 317 3, // 2: protobuf.CommunityPrivilegedUserSyncMessage.request_to_join:type_name -> protobuf.CommunityPrivilegedUserSyncMessage.RequestToJoinEntry 318 5, // 3: protobuf.CommunityPrivilegedUserSyncMessage.sync_requests_to_join:type_name -> protobuf.SyncCommunityRequestsToJoin 319 1, // 4: protobuf.CommunityPrivilegedUserSyncMessage.sync_edit_shared_addresses:type_name -> protobuf.SyncCommunityEditSharedAddresses 320 6, // 5: protobuf.CommunityPrivilegedUserSyncMessage.RequestToJoinEntry.value:type_name -> protobuf.CommunityRequestToJoin 321 6, // [6:6] is the sub-list for method output_type 322 6, // [6:6] is the sub-list for method input_type 323 6, // [6:6] is the sub-list for extension type_name 324 6, // [6:6] is the sub-list for extension extendee 325 0, // [0:6] is the sub-list for field type_name 326 } 327 328 func init() { file_community_privileged_user_sync_message_proto_init() } 329 func file_community_privileged_user_sync_message_proto_init() { 330 if File_community_privileged_user_sync_message_proto != nil { 331 return 332 } 333 file_communities_proto_init() 334 file_pairing_proto_init() 335 if !protoimpl.UnsafeEnabled { 336 file_community_privileged_user_sync_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 337 switch v := v.(*SyncCommunityEditSharedAddresses); i { 338 case 0: 339 return &v.state 340 case 1: 341 return &v.sizeCache 342 case 2: 343 return &v.unknownFields 344 default: 345 return nil 346 } 347 } 348 file_community_privileged_user_sync_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 349 switch v := v.(*CommunityPrivilegedUserSyncMessage); i { 350 case 0: 351 return &v.state 352 case 1: 353 return &v.sizeCache 354 case 2: 355 return &v.unknownFields 356 default: 357 return nil 358 } 359 } 360 } 361 type x struct{} 362 out := protoimpl.TypeBuilder{ 363 File: protoimpl.DescBuilder{ 364 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 365 RawDescriptor: file_community_privileged_user_sync_message_proto_rawDesc, 366 NumEnums: 1, 367 NumMessages: 3, 368 NumExtensions: 0, 369 NumServices: 0, 370 }, 371 GoTypes: file_community_privileged_user_sync_message_proto_goTypes, 372 DependencyIndexes: file_community_privileged_user_sync_message_proto_depIdxs, 373 EnumInfos: file_community_privileged_user_sync_message_proto_enumTypes, 374 MessageInfos: file_community_privileged_user_sync_message_proto_msgTypes, 375 }.Build() 376 File_community_privileged_user_sync_message_proto = out.File 377 file_community_privileged_user_sync_message_proto_rawDesc = nil 378 file_community_privileged_user_sync_message_proto_goTypes = nil 379 file_community_privileged_user_sync_message_proto_depIdxs = nil 380 }