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