github.com/cloudwan/edgelq-sdk@v1.15.4/cellular-api/resources/v1/sim_card/sim_card_change.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/cellular-api/proto/v1/sim_card_change.proto 3 // DO NOT EDIT!!! 4 5 package sim_card 6 7 import ( 8 "fmt" 9 "reflect" 10 "sync" 11 12 "google.golang.org/protobuf/encoding/protojson" 13 "google.golang.org/protobuf/proto" 14 preflect "google.golang.org/protobuf/reflect/protoreflect" 15 "google.golang.org/protobuf/runtime/protoimpl" 16 ) 17 18 // proto imports 19 import ( 20 iam_project "github.com/cloudwan/edgelq-sdk/iam/resources/v1/project" 21 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 22 ) 23 24 // Reference imports to suppress errors if they are not otherwise used. 25 var ( 26 _ = fmt.Errorf 27 _ = reflect.Method{} 28 _ = sync.Once{} 29 30 _ = protojson.MarshalOptions{} 31 _ = proto.MarshalOptions{} 32 _ = preflect.Value{} 33 _ = protoimpl.DescBuilder{} 34 ) 35 36 // make sure we're using proto imports 37 var ( 38 _ = &iam_project.Project{} 39 _ = &fieldmaskpb.FieldMask{} 40 ) 41 42 const ( 43 // Verify that this generated code is sufficiently up-to-date. 44 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 45 // Verify that runtime/protoimpl is sufficiently up-to-date. 46 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 47 ) 48 49 // SimCardChange is used by Watch notifications Responses to describe change of 50 // single SimCard One of Added, Modified, Removed 51 type SimCardChange struct { 52 state protoimpl.MessageState 53 sizeCache protoimpl.SizeCache 54 unknownFields protoimpl.UnknownFields 55 // SimCard change 56 // 57 // Types that are valid to be assigned to ChangeType: 58 // *SimCardChange_Added_ 59 // *SimCardChange_Modified_ 60 // *SimCardChange_Current_ 61 // *SimCardChange_Removed_ 62 ChangeType isSimCardChange_ChangeType `protobuf_oneof:"change_type"` 63 } 64 65 func (m *SimCardChange) Reset() { 66 *m = SimCardChange{} 67 if protoimpl.UnsafeEnabled { 68 mi := &edgelq_cellular_api_proto_v1_sim_card_change_proto_msgTypes[0] 69 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 70 ms.StoreMessageInfo(mi) 71 } 72 } 73 74 func (m *SimCardChange) String() string { 75 return protoimpl.X.MessageStringOf(m) 76 } 77 78 func (*SimCardChange) ProtoMessage() {} 79 80 func (m *SimCardChange) ProtoReflect() preflect.Message { 81 mi := &edgelq_cellular_api_proto_v1_sim_card_change_proto_msgTypes[0] 82 if protoimpl.UnsafeEnabled && m != nil { 83 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 84 if ms.LoadMessageInfo() == nil { 85 ms.StoreMessageInfo(mi) 86 } 87 return ms 88 } 89 return mi.MessageOf(m) 90 } 91 92 func (*SimCardChange) GotenMessage() {} 93 94 // Deprecated, Use SimCardChange.ProtoReflect.Descriptor instead. 95 func (*SimCardChange) Descriptor() ([]byte, []int) { 96 return edgelq_cellular_api_proto_v1_sim_card_change_proto_rawDescGZIP(), []int{0} 97 } 98 99 func (m *SimCardChange) Unmarshal(b []byte) error { 100 return proto.Unmarshal(b, m) 101 } 102 103 func (m *SimCardChange) Marshal() ([]byte, error) { 104 return proto.Marshal(m) 105 } 106 107 func (m *SimCardChange) MarshalJSON() ([]byte, error) { 108 return protojson.MarshalOptions{}.Marshal(m) 109 } 110 111 func (m *SimCardChange) UnmarshalJSON(data []byte) error { 112 return protojson.Unmarshal(data, m) 113 } 114 115 type isSimCardChange_ChangeType interface { 116 isSimCardChange_ChangeType() 117 } 118 119 type SimCardChange_Added_ struct { 120 // Added is returned when watched document is added, either created or 121 // enters Query view 122 Added *SimCardChange_Added `protobuf:"bytes,1,opt,name=added,proto3,oneof"` 123 } 124 type SimCardChange_Modified_ struct { 125 // Modified is returned when watched document is modified 126 Modified *SimCardChange_Modified `protobuf:"bytes,2,opt,name=modified,proto3,oneof"` 127 } 128 type SimCardChange_Current_ struct { 129 // Current is returned in stateless watch when document enters query view or 130 // is modified within. 131 Current *SimCardChange_Current `protobuf:"bytes,4,opt,name=current,proto3,oneof"` 132 } 133 type SimCardChange_Removed_ struct { 134 // Removed is returned when SimCard is deleted or leaves Query view 135 Removed *SimCardChange_Removed `protobuf:"bytes,3,opt,name=removed,proto3,oneof"` 136 } 137 138 func (*SimCardChange_Added_) isSimCardChange_ChangeType() {} 139 func (*SimCardChange_Modified_) isSimCardChange_ChangeType() {} 140 func (*SimCardChange_Current_) isSimCardChange_ChangeType() {} 141 func (*SimCardChange_Removed_) isSimCardChange_ChangeType() {} 142 func (m *SimCardChange) GetChangeType() isSimCardChange_ChangeType { 143 if m != nil { 144 return m.ChangeType 145 } 146 return nil 147 } 148 func (m *SimCardChange) GetAdded() *SimCardChange_Added { 149 if x, ok := m.GetChangeType().(*SimCardChange_Added_); ok { 150 return x.Added 151 } 152 return nil 153 } 154 func (m *SimCardChange) GetModified() *SimCardChange_Modified { 155 if x, ok := m.GetChangeType().(*SimCardChange_Modified_); ok { 156 return x.Modified 157 } 158 return nil 159 } 160 func (m *SimCardChange) GetCurrent() *SimCardChange_Current { 161 if x, ok := m.GetChangeType().(*SimCardChange_Current_); ok { 162 return x.Current 163 } 164 return nil 165 } 166 func (m *SimCardChange) GetRemoved() *SimCardChange_Removed { 167 if x, ok := m.GetChangeType().(*SimCardChange_Removed_); ok { 168 return x.Removed 169 } 170 return nil 171 } 172 func (m *SimCardChange) SetChangeType(ofv isSimCardChange_ChangeType) { 173 if m == nil { 174 panic(fmt.Errorf("can't set %s on nil %s", "isSimCardChange_ChangeType", "SimCardChange")) 175 } 176 m.ChangeType = ofv 177 } 178 func (m *SimCardChange) SetAdded(fv *SimCardChange_Added) { 179 m.SetChangeType(&SimCardChange_Added_{Added: fv}) 180 } 181 func (m *SimCardChange) SetModified(fv *SimCardChange_Modified) { 182 m.SetChangeType(&SimCardChange_Modified_{Modified: fv}) 183 } 184 func (m *SimCardChange) SetCurrent(fv *SimCardChange_Current) { 185 m.SetChangeType(&SimCardChange_Current_{Current: fv}) 186 } 187 func (m *SimCardChange) SetRemoved(fv *SimCardChange_Removed) { 188 m.SetChangeType(&SimCardChange_Removed_{Removed: fv}) 189 } 190 191 // SimCard has been added to query view 192 type SimCardChange_Added struct { 193 state protoimpl.MessageState 194 sizeCache protoimpl.SizeCache 195 unknownFields protoimpl.UnknownFields 196 SimCard *SimCard `protobuf:"bytes,1,opt,name=sim_card,json=simCard,proto3" json:"sim_card,omitempty"` 197 // Integer describing index of added SimCard in resulting query view. 198 ViewIndex int32 `protobuf:"varint,2,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty"` 199 } 200 201 func (m *SimCardChange_Added) Reset() { 202 *m = SimCardChange_Added{} 203 if protoimpl.UnsafeEnabled { 204 mi := &edgelq_cellular_api_proto_v1_sim_card_change_proto_msgTypes[1] 205 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 206 ms.StoreMessageInfo(mi) 207 } 208 } 209 210 func (m *SimCardChange_Added) String() string { 211 return protoimpl.X.MessageStringOf(m) 212 } 213 214 func (*SimCardChange_Added) ProtoMessage() {} 215 216 func (m *SimCardChange_Added) ProtoReflect() preflect.Message { 217 mi := &edgelq_cellular_api_proto_v1_sim_card_change_proto_msgTypes[1] 218 if protoimpl.UnsafeEnabled && m != nil { 219 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 220 if ms.LoadMessageInfo() == nil { 221 ms.StoreMessageInfo(mi) 222 } 223 return ms 224 } 225 return mi.MessageOf(m) 226 } 227 228 func (*SimCardChange_Added) GotenMessage() {} 229 230 // Deprecated, Use SimCardChange_Added.ProtoReflect.Descriptor instead. 231 func (*SimCardChange_Added) Descriptor() ([]byte, []int) { 232 return edgelq_cellular_api_proto_v1_sim_card_change_proto_rawDescGZIP(), []int{0, 0} 233 } 234 235 func (m *SimCardChange_Added) Unmarshal(b []byte) error { 236 return proto.Unmarshal(b, m) 237 } 238 239 func (m *SimCardChange_Added) Marshal() ([]byte, error) { 240 return proto.Marshal(m) 241 } 242 243 func (m *SimCardChange_Added) MarshalJSON() ([]byte, error) { 244 return protojson.MarshalOptions{}.Marshal(m) 245 } 246 247 func (m *SimCardChange_Added) UnmarshalJSON(data []byte) error { 248 return protojson.Unmarshal(data, m) 249 } 250 251 func (m *SimCardChange_Added) GetSimCard() *SimCard { 252 if m != nil { 253 return m.SimCard 254 } 255 return nil 256 } 257 258 func (m *SimCardChange_Added) GetViewIndex() int32 { 259 if m != nil { 260 return m.ViewIndex 261 } 262 return int32(0) 263 } 264 265 func (m *SimCardChange_Added) SetSimCard(fv *SimCard) { 266 if m == nil { 267 panic(fmt.Errorf("can't set %s on nil %s", "SimCard", "SimCardChange_Added")) 268 } 269 m.SimCard = fv 270 } 271 272 func (m *SimCardChange_Added) SetViewIndex(fv int32) { 273 if m == nil { 274 panic(fmt.Errorf("can't set %s on nil %s", "ViewIndex", "SimCardChange_Added")) 275 } 276 m.ViewIndex = fv 277 } 278 279 // SimCard changed some of it's fields - contains either full document or 280 // masked change 281 type SimCardChange_Modified struct { 282 state protoimpl.MessageState 283 sizeCache protoimpl.SizeCache 284 unknownFields protoimpl.UnknownFields 285 // Name of modified SimCard 286 Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 287 // New version of SimCard or masked difference, depending on mask_changes 288 // instrumentation of issued [WatchSimCardRequest] or [WatchSimCardsRequest] 289 SimCard *SimCard `protobuf:"bytes,2,opt,name=sim_card,json=simCard,proto3" json:"sim_card,omitempty"` 290 // Used when mask_changes is set, contains field paths of modified 291 // properties. 292 FieldMask *SimCard_FieldMask `protobuf:"bytes,3,opt,customtype=SimCard_FieldMask,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` 293 // Previous view index specifies previous position of modified SimCard. 294 // When modification doesn't affect sorted order, value will remain 295 // identical to [view_index]. 296 PreviousViewIndex int32 `protobuf:"varint,4,opt,name=previous_view_index,json=previousViewIndex,proto3" json:"previous_view_index,omitempty"` 297 // Integer specifying SimCard new index in resulting query view. 298 ViewIndex int32 `protobuf:"varint,5,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty"` 299 } 300 301 func (m *SimCardChange_Modified) Reset() { 302 *m = SimCardChange_Modified{} 303 if protoimpl.UnsafeEnabled { 304 mi := &edgelq_cellular_api_proto_v1_sim_card_change_proto_msgTypes[2] 305 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 306 ms.StoreMessageInfo(mi) 307 } 308 } 309 310 func (m *SimCardChange_Modified) String() string { 311 return protoimpl.X.MessageStringOf(m) 312 } 313 314 func (*SimCardChange_Modified) ProtoMessage() {} 315 316 func (m *SimCardChange_Modified) ProtoReflect() preflect.Message { 317 mi := &edgelq_cellular_api_proto_v1_sim_card_change_proto_msgTypes[2] 318 if protoimpl.UnsafeEnabled && m != nil { 319 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 320 if ms.LoadMessageInfo() == nil { 321 ms.StoreMessageInfo(mi) 322 } 323 return ms 324 } 325 return mi.MessageOf(m) 326 } 327 328 func (*SimCardChange_Modified) GotenMessage() {} 329 330 // Deprecated, Use SimCardChange_Modified.ProtoReflect.Descriptor instead. 331 func (*SimCardChange_Modified) Descriptor() ([]byte, []int) { 332 return edgelq_cellular_api_proto_v1_sim_card_change_proto_rawDescGZIP(), []int{0, 1} 333 } 334 335 func (m *SimCardChange_Modified) Unmarshal(b []byte) error { 336 return proto.Unmarshal(b, m) 337 } 338 339 func (m *SimCardChange_Modified) Marshal() ([]byte, error) { 340 return proto.Marshal(m) 341 } 342 343 func (m *SimCardChange_Modified) MarshalJSON() ([]byte, error) { 344 return protojson.MarshalOptions{}.Marshal(m) 345 } 346 347 func (m *SimCardChange_Modified) UnmarshalJSON(data []byte) error { 348 return protojson.Unmarshal(data, m) 349 } 350 351 func (m *SimCardChange_Modified) GetName() *Name { 352 if m != nil { 353 return m.Name 354 } 355 return nil 356 } 357 358 func (m *SimCardChange_Modified) GetSimCard() *SimCard { 359 if m != nil { 360 return m.SimCard 361 } 362 return nil 363 } 364 365 func (m *SimCardChange_Modified) GetFieldMask() *SimCard_FieldMask { 366 if m != nil { 367 return m.FieldMask 368 } 369 return nil 370 } 371 372 func (m *SimCardChange_Modified) GetPreviousViewIndex() int32 { 373 if m != nil { 374 return m.PreviousViewIndex 375 } 376 return int32(0) 377 } 378 379 func (m *SimCardChange_Modified) GetViewIndex() int32 { 380 if m != nil { 381 return m.ViewIndex 382 } 383 return int32(0) 384 } 385 386 func (m *SimCardChange_Modified) SetName(fv *Name) { 387 if m == nil { 388 panic(fmt.Errorf("can't set %s on nil %s", "Name", "SimCardChange_Modified")) 389 } 390 m.Name = fv 391 } 392 393 func (m *SimCardChange_Modified) SetSimCard(fv *SimCard) { 394 if m == nil { 395 panic(fmt.Errorf("can't set %s on nil %s", "SimCard", "SimCardChange_Modified")) 396 } 397 m.SimCard = fv 398 } 399 400 func (m *SimCardChange_Modified) SetFieldMask(fv *SimCard_FieldMask) { 401 if m == nil { 402 panic(fmt.Errorf("can't set %s on nil %s", "FieldMask", "SimCardChange_Modified")) 403 } 404 m.FieldMask = fv 405 } 406 407 func (m *SimCardChange_Modified) SetPreviousViewIndex(fv int32) { 408 if m == nil { 409 panic(fmt.Errorf("can't set %s on nil %s", "PreviousViewIndex", "SimCardChange_Modified")) 410 } 411 m.PreviousViewIndex = fv 412 } 413 414 func (m *SimCardChange_Modified) SetViewIndex(fv int32) { 415 if m == nil { 416 panic(fmt.Errorf("can't set %s on nil %s", "ViewIndex", "SimCardChange_Modified")) 417 } 418 m.ViewIndex = fv 419 } 420 421 // SimCard has been added or modified in a query view. Version used for 422 // stateless watching 423 type SimCardChange_Current struct { 424 state protoimpl.MessageState 425 sizeCache protoimpl.SizeCache 426 unknownFields protoimpl.UnknownFields 427 SimCard *SimCard `protobuf:"bytes,1,opt,name=sim_card,json=simCard,proto3" json:"sim_card,omitempty"` 428 } 429 430 func (m *SimCardChange_Current) Reset() { 431 *m = SimCardChange_Current{} 432 if protoimpl.UnsafeEnabled { 433 mi := &edgelq_cellular_api_proto_v1_sim_card_change_proto_msgTypes[3] 434 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 435 ms.StoreMessageInfo(mi) 436 } 437 } 438 439 func (m *SimCardChange_Current) String() string { 440 return protoimpl.X.MessageStringOf(m) 441 } 442 443 func (*SimCardChange_Current) ProtoMessage() {} 444 445 func (m *SimCardChange_Current) ProtoReflect() preflect.Message { 446 mi := &edgelq_cellular_api_proto_v1_sim_card_change_proto_msgTypes[3] 447 if protoimpl.UnsafeEnabled && m != nil { 448 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 449 if ms.LoadMessageInfo() == nil { 450 ms.StoreMessageInfo(mi) 451 } 452 return ms 453 } 454 return mi.MessageOf(m) 455 } 456 457 func (*SimCardChange_Current) GotenMessage() {} 458 459 // Deprecated, Use SimCardChange_Current.ProtoReflect.Descriptor instead. 460 func (*SimCardChange_Current) Descriptor() ([]byte, []int) { 461 return edgelq_cellular_api_proto_v1_sim_card_change_proto_rawDescGZIP(), []int{0, 2} 462 } 463 464 func (m *SimCardChange_Current) Unmarshal(b []byte) error { 465 return proto.Unmarshal(b, m) 466 } 467 468 func (m *SimCardChange_Current) Marshal() ([]byte, error) { 469 return proto.Marshal(m) 470 } 471 472 func (m *SimCardChange_Current) MarshalJSON() ([]byte, error) { 473 return protojson.MarshalOptions{}.Marshal(m) 474 } 475 476 func (m *SimCardChange_Current) UnmarshalJSON(data []byte) error { 477 return protojson.Unmarshal(data, m) 478 } 479 480 func (m *SimCardChange_Current) GetSimCard() *SimCard { 481 if m != nil { 482 return m.SimCard 483 } 484 return nil 485 } 486 487 func (m *SimCardChange_Current) SetSimCard(fv *SimCard) { 488 if m == nil { 489 panic(fmt.Errorf("can't set %s on nil %s", "SimCard", "SimCardChange_Current")) 490 } 491 m.SimCard = fv 492 } 493 494 // Removed is returned when SimCard is deleted or leaves Query view 495 type SimCardChange_Removed struct { 496 state protoimpl.MessageState 497 sizeCache protoimpl.SizeCache 498 unknownFields protoimpl.UnknownFields 499 Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 500 // Integer specifying removed SimCard index. Not populated in stateless 501 // watch type. 502 ViewIndex int32 `protobuf:"varint,2,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty"` 503 } 504 505 func (m *SimCardChange_Removed) Reset() { 506 *m = SimCardChange_Removed{} 507 if protoimpl.UnsafeEnabled { 508 mi := &edgelq_cellular_api_proto_v1_sim_card_change_proto_msgTypes[4] 509 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 510 ms.StoreMessageInfo(mi) 511 } 512 } 513 514 func (m *SimCardChange_Removed) String() string { 515 return protoimpl.X.MessageStringOf(m) 516 } 517 518 func (*SimCardChange_Removed) ProtoMessage() {} 519 520 func (m *SimCardChange_Removed) ProtoReflect() preflect.Message { 521 mi := &edgelq_cellular_api_proto_v1_sim_card_change_proto_msgTypes[4] 522 if protoimpl.UnsafeEnabled && m != nil { 523 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 524 if ms.LoadMessageInfo() == nil { 525 ms.StoreMessageInfo(mi) 526 } 527 return ms 528 } 529 return mi.MessageOf(m) 530 } 531 532 func (*SimCardChange_Removed) GotenMessage() {} 533 534 // Deprecated, Use SimCardChange_Removed.ProtoReflect.Descriptor instead. 535 func (*SimCardChange_Removed) Descriptor() ([]byte, []int) { 536 return edgelq_cellular_api_proto_v1_sim_card_change_proto_rawDescGZIP(), []int{0, 3} 537 } 538 539 func (m *SimCardChange_Removed) Unmarshal(b []byte) error { 540 return proto.Unmarshal(b, m) 541 } 542 543 func (m *SimCardChange_Removed) Marshal() ([]byte, error) { 544 return proto.Marshal(m) 545 } 546 547 func (m *SimCardChange_Removed) MarshalJSON() ([]byte, error) { 548 return protojson.MarshalOptions{}.Marshal(m) 549 } 550 551 func (m *SimCardChange_Removed) UnmarshalJSON(data []byte) error { 552 return protojson.Unmarshal(data, m) 553 } 554 555 func (m *SimCardChange_Removed) GetName() *Name { 556 if m != nil { 557 return m.Name 558 } 559 return nil 560 } 561 562 func (m *SimCardChange_Removed) GetViewIndex() int32 { 563 if m != nil { 564 return m.ViewIndex 565 } 566 return int32(0) 567 } 568 569 func (m *SimCardChange_Removed) SetName(fv *Name) { 570 if m == nil { 571 panic(fmt.Errorf("can't set %s on nil %s", "Name", "SimCardChange_Removed")) 572 } 573 m.Name = fv 574 } 575 576 func (m *SimCardChange_Removed) SetViewIndex(fv int32) { 577 if m == nil { 578 panic(fmt.Errorf("can't set %s on nil %s", "ViewIndex", "SimCardChange_Removed")) 579 } 580 m.ViewIndex = fv 581 } 582 583 var edgelq_cellular_api_proto_v1_sim_card_change_proto preflect.FileDescriptor 584 585 var edgelq_cellular_api_proto_v1_sim_card_change_proto_rawDesc = []byte{ 586 0x0a, 0x32, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x63, 0x65, 0x6c, 0x6c, 0x75, 0x6c, 0x61, 587 0x72, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x73, 588 0x69, 0x6d, 0x5f, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 589 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x6e, 0x74, 0x74, 0x2e, 0x63, 0x65, 0x6c, 0x6c, 0x75, 0x6c, 590 0x61, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 591 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 592 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 593 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 594 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 595 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 596 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 597 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 598 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 599 0x63, 0x65, 0x6c, 0x6c, 0x75, 0x6c, 0x61, 0x72, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x72, 0x6f, 600 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x69, 0x6d, 0x5f, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x70, 601 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc4, 0x06, 0x0a, 0x0d, 0x53, 0x69, 0x6d, 0x43, 0x61, 0x72, 0x64, 602 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x40, 0x0a, 0x05, 0x61, 0x64, 0x64, 0x65, 0x64, 0x18, 603 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x63, 0x65, 0x6c, 0x6c, 604 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x69, 0x6d, 0x43, 605 0x61, 0x72, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x65, 0x64, 0x48, 606 0x00, 0x52, 0x05, 0x61, 0x64, 0x64, 0x65, 0x64, 0x12, 0x49, 0x0a, 0x08, 0x6d, 0x6f, 0x64, 0x69, 607 0x66, 0x69, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6e, 0x74, 0x74, 608 0x2e, 0x63, 0x65, 0x6c, 0x6c, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 609 0x2e, 0x53, 0x69, 0x6d, 0x43, 0x61, 0x72, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x4d, 610 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x69, 0x66, 611 0x69, 0x65, 0x64, 0x12, 0x46, 0x0a, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x04, 612 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x63, 0x65, 0x6c, 0x6c, 0x75, 613 0x6c, 0x61, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x69, 0x6d, 0x43, 0x61, 614 0x72, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 615 0x48, 0x00, 0x52, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x46, 0x0a, 0x07, 0x72, 616 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6e, 617 0x74, 0x74, 0x2e, 0x63, 0x65, 0x6c, 0x6c, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x2e, 618 0x76, 0x31, 0x2e, 0x53, 0x69, 0x6d, 0x43, 0x61, 0x72, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 619 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x48, 0x00, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x6f, 620 0x76, 0x65, 0x64, 0x1a, 0x5f, 0x0a, 0x05, 0x41, 0x64, 0x64, 0x65, 0x64, 0x12, 0x37, 0x0a, 0x08, 621 0x73, 0x69, 0x6d, 0x5f, 0x63, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 622 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x63, 0x65, 0x6c, 0x6c, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x61, 0x70, 623 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x69, 0x6d, 0x43, 0x61, 0x72, 0x64, 0x52, 0x07, 0x73, 0x69, 624 0x6d, 0x43, 0x61, 0x72, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x69, 0x6e, 625 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x76, 0x69, 0x65, 0x77, 0x49, 626 0x6e, 0x64, 0x65, 0x78, 0x1a, 0x83, 0x02, 0x0a, 0x08, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 627 0x64, 0x12, 0x23, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 628 0x0f, 0xb2, 0xda, 0x21, 0x0b, 0x0a, 0x09, 0x0a, 0x07, 0x53, 0x69, 0x6d, 0x43, 0x61, 0x72, 0x64, 629 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x08, 0x73, 0x69, 0x6d, 0x5f, 0x63, 0x61, 630 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x63, 631 0x65, 0x6c, 0x6c, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 632 0x69, 0x6d, 0x43, 0x61, 0x72, 0x64, 0x52, 0x07, 0x73, 0x69, 0x6d, 0x43, 0x61, 0x72, 0x64, 0x12, 633 0x4a, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 634 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 635 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 636 0x0f, 0xb2, 0xda, 0x21, 0x0b, 0x32, 0x09, 0x0a, 0x07, 0x53, 0x69, 0x6d, 0x43, 0x61, 0x72, 0x64, 637 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x2e, 0x0a, 0x13, 0x70, 638 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x69, 0x6e, 0x64, 639 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 640 0x75, 0x73, 0x56, 0x69, 0x65, 0x77, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 641 0x69, 0x65, 0x77, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 642 0x09, 0x76, 0x69, 0x65, 0x77, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x1a, 0x42, 0x0a, 0x07, 0x43, 0x75, 643 0x72, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x37, 0x0a, 0x08, 0x73, 0x69, 0x6d, 0x5f, 0x63, 0x61, 0x72, 644 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x63, 0x65, 645 0x6c, 0x6c, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x69, 646 0x6d, 0x43, 0x61, 0x72, 0x64, 0x52, 0x07, 0x73, 0x69, 0x6d, 0x43, 0x61, 0x72, 0x64, 0x1a, 0x4d, 647 0x0a, 0x07, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x23, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 648 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0f, 0xb2, 0xda, 0x21, 0x0b, 0x0a, 0x09, 0x0a, 649 0x07, 0x53, 0x69, 0x6d, 0x43, 0x61, 0x72, 0x64, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 650 0x0a, 0x0a, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 651 0x28, 0x05, 0x52, 0x09, 0x76, 0x69, 0x65, 0x77, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x3a, 0x0d, 0x9a, 652 0xd9, 0x21, 0x09, 0x0a, 0x07, 0x53, 0x69, 0x6d, 0x43, 0x61, 0x72, 0x64, 0x42, 0x0d, 0x0a, 0x0b, 653 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x42, 0x7e, 0xe8, 0xde, 0x21, 654 0x00, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x63, 0x65, 0x6c, 0x6c, 0x75, 655 0x6c, 0x61, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x42, 0x12, 0x53, 656 0x69, 0x6d, 0x43, 0x61, 0x72, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 657 0x6f, 0x50, 0x00, 0x5a, 0x46, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 658 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 659 0x63, 0x65, 0x6c, 0x6c, 0x75, 0x6c, 0x61, 0x72, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 660 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x69, 0x6d, 0x5f, 0x63, 0x61, 661 0x72, 0x64, 0x3b, 0x73, 0x69, 0x6d, 0x5f, 0x63, 0x61, 0x72, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 662 0x74, 0x6f, 0x33, 663 } 664 665 var ( 666 edgelq_cellular_api_proto_v1_sim_card_change_proto_rawDescOnce sync.Once 667 edgelq_cellular_api_proto_v1_sim_card_change_proto_rawDescData = edgelq_cellular_api_proto_v1_sim_card_change_proto_rawDesc 668 ) 669 670 func edgelq_cellular_api_proto_v1_sim_card_change_proto_rawDescGZIP() []byte { 671 edgelq_cellular_api_proto_v1_sim_card_change_proto_rawDescOnce.Do(func() { 672 edgelq_cellular_api_proto_v1_sim_card_change_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_cellular_api_proto_v1_sim_card_change_proto_rawDescData) 673 }) 674 return edgelq_cellular_api_proto_v1_sim_card_change_proto_rawDescData 675 } 676 677 var edgelq_cellular_api_proto_v1_sim_card_change_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 678 var edgelq_cellular_api_proto_v1_sim_card_change_proto_goTypes = []interface{}{ 679 (*SimCardChange)(nil), // 0: ntt.cellular_api.v1.SimCardChange 680 (*SimCardChange_Added)(nil), // 1: ntt.cellular_api.v1.SimCardChange.Added 681 (*SimCardChange_Modified)(nil), // 2: ntt.cellular_api.v1.SimCardChange.Modified 682 (*SimCardChange_Current)(nil), // 3: ntt.cellular_api.v1.SimCardChange.Current 683 (*SimCardChange_Removed)(nil), // 4: ntt.cellular_api.v1.SimCardChange.Removed 684 (*SimCard)(nil), // 5: ntt.cellular_api.v1.SimCard 685 (*SimCard_FieldMask)(nil), // 6: ntt.cellular_api.v1.SimCard_FieldMask 686 } 687 var edgelq_cellular_api_proto_v1_sim_card_change_proto_depIdxs = []int32{ 688 1, // 0: ntt.cellular_api.v1.SimCardChange.added:type_name -> ntt.cellular_api.v1.SimCardChange.Added 689 2, // 1: ntt.cellular_api.v1.SimCardChange.modified:type_name -> ntt.cellular_api.v1.SimCardChange.Modified 690 3, // 2: ntt.cellular_api.v1.SimCardChange.current:type_name -> ntt.cellular_api.v1.SimCardChange.Current 691 4, // 3: ntt.cellular_api.v1.SimCardChange.removed:type_name -> ntt.cellular_api.v1.SimCardChange.Removed 692 5, // 4: ntt.cellular_api.v1.SimCardChange.Added.sim_card:type_name -> ntt.cellular_api.v1.SimCard 693 5, // 5: ntt.cellular_api.v1.SimCardChange.Modified.sim_card:type_name -> ntt.cellular_api.v1.SimCard 694 6, // 6: ntt.cellular_api.v1.SimCardChange.Modified.field_mask:type_name -> ntt.cellular_api.v1.SimCard_FieldMask 695 5, // 7: ntt.cellular_api.v1.SimCardChange.Current.sim_card:type_name -> ntt.cellular_api.v1.SimCard 696 8, // [8:8] is the sub-list for method output_type 697 8, // [8:8] is the sub-list for method input_type 698 8, // [8:8] is the sub-list for extension type_name 699 8, // [8:8] is the sub-list for extension extendee 700 0, // [0:8] is the sub-list for field type_name 701 } 702 703 func init() { edgelq_cellular_api_proto_v1_sim_card_change_proto_init() } 704 func edgelq_cellular_api_proto_v1_sim_card_change_proto_init() { 705 if edgelq_cellular_api_proto_v1_sim_card_change_proto != nil { 706 return 707 } 708 if !protoimpl.UnsafeEnabled { 709 710 edgelq_cellular_api_proto_v1_sim_card_change_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 711 switch v := v.(*SimCardChange); i { 712 case 0: 713 return &v.state 714 case 1: 715 return &v.sizeCache 716 case 2: 717 return &v.unknownFields 718 default: 719 return nil 720 } 721 } 722 edgelq_cellular_api_proto_v1_sim_card_change_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 723 switch v := v.(*SimCardChange_Added); i { 724 case 0: 725 return &v.state 726 case 1: 727 return &v.sizeCache 728 case 2: 729 return &v.unknownFields 730 default: 731 return nil 732 } 733 } 734 edgelq_cellular_api_proto_v1_sim_card_change_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 735 switch v := v.(*SimCardChange_Modified); i { 736 case 0: 737 return &v.state 738 case 1: 739 return &v.sizeCache 740 case 2: 741 return &v.unknownFields 742 default: 743 return nil 744 } 745 } 746 edgelq_cellular_api_proto_v1_sim_card_change_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 747 switch v := v.(*SimCardChange_Current); i { 748 case 0: 749 return &v.state 750 case 1: 751 return &v.sizeCache 752 case 2: 753 return &v.unknownFields 754 default: 755 return nil 756 } 757 } 758 edgelq_cellular_api_proto_v1_sim_card_change_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 759 switch v := v.(*SimCardChange_Removed); i { 760 case 0: 761 return &v.state 762 case 1: 763 return &v.sizeCache 764 case 2: 765 return &v.unknownFields 766 default: 767 return nil 768 } 769 } 770 } 771 772 edgelq_cellular_api_proto_v1_sim_card_change_proto_msgTypes[0].OneofWrappers = []interface{}{ 773 (*SimCardChange_Added_)(nil), 774 (*SimCardChange_Modified_)(nil), 775 (*SimCardChange_Current_)(nil), 776 (*SimCardChange_Removed_)(nil), 777 } 778 type x struct{} 779 out := protoimpl.TypeBuilder{ 780 File: protoimpl.DescBuilder{ 781 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 782 RawDescriptor: edgelq_cellular_api_proto_v1_sim_card_change_proto_rawDesc, 783 NumEnums: 0, 784 NumMessages: 5, 785 NumExtensions: 0, 786 NumServices: 0, 787 }, 788 GoTypes: edgelq_cellular_api_proto_v1_sim_card_change_proto_goTypes, 789 DependencyIndexes: edgelq_cellular_api_proto_v1_sim_card_change_proto_depIdxs, 790 MessageInfos: edgelq_cellular_api_proto_v1_sim_card_change_proto_msgTypes, 791 }.Build() 792 edgelq_cellular_api_proto_v1_sim_card_change_proto = out.File 793 edgelq_cellular_api_proto_v1_sim_card_change_proto_rawDesc = nil 794 edgelq_cellular_api_proto_v1_sim_card_change_proto_goTypes = nil 795 edgelq_cellular_api_proto_v1_sim_card_change_proto_depIdxs = nil 796 }