github.com/cloudwan/edgelq-sdk@v1.15.4/cellular-api/resources/v1/contract/contract_change.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/cellular-api/proto/v1/contract_change.proto 3 // DO NOT EDIT!!! 4 5 package contract 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 // ContractChange is used by Watch notifications Responses to describe change of 48 // single Contract One of Added, Modified, Removed 49 type ContractChange struct { 50 state protoimpl.MessageState 51 sizeCache protoimpl.SizeCache 52 unknownFields protoimpl.UnknownFields 53 // Contract change 54 // 55 // Types that are valid to be assigned to ChangeType: 56 // *ContractChange_Added_ 57 // *ContractChange_Modified_ 58 // *ContractChange_Current_ 59 // *ContractChange_Removed_ 60 ChangeType isContractChange_ChangeType `protobuf_oneof:"change_type"` 61 } 62 63 func (m *ContractChange) Reset() { 64 *m = ContractChange{} 65 if protoimpl.UnsafeEnabled { 66 mi := &edgelq_cellular_api_proto_v1_contract_change_proto_msgTypes[0] 67 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 68 ms.StoreMessageInfo(mi) 69 } 70 } 71 72 func (m *ContractChange) String() string { 73 return protoimpl.X.MessageStringOf(m) 74 } 75 76 func (*ContractChange) ProtoMessage() {} 77 78 func (m *ContractChange) ProtoReflect() preflect.Message { 79 mi := &edgelq_cellular_api_proto_v1_contract_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 (*ContractChange) GotenMessage() {} 91 92 // Deprecated, Use ContractChange.ProtoReflect.Descriptor instead. 93 func (*ContractChange) Descriptor() ([]byte, []int) { 94 return edgelq_cellular_api_proto_v1_contract_change_proto_rawDescGZIP(), []int{0} 95 } 96 97 func (m *ContractChange) Unmarshal(b []byte) error { 98 return proto.Unmarshal(b, m) 99 } 100 101 func (m *ContractChange) Marshal() ([]byte, error) { 102 return proto.Marshal(m) 103 } 104 105 func (m *ContractChange) MarshalJSON() ([]byte, error) { 106 return protojson.MarshalOptions{}.Marshal(m) 107 } 108 109 func (m *ContractChange) UnmarshalJSON(data []byte) error { 110 return protojson.Unmarshal(data, m) 111 } 112 113 type isContractChange_ChangeType interface { 114 isContractChange_ChangeType() 115 } 116 117 type ContractChange_Added_ struct { 118 // Added is returned when watched document is added, either created or 119 // enters Query view 120 Added *ContractChange_Added `protobuf:"bytes,1,opt,name=added,proto3,oneof"` 121 } 122 type ContractChange_Modified_ struct { 123 // Modified is returned when watched document is modified 124 Modified *ContractChange_Modified `protobuf:"bytes,2,opt,name=modified,proto3,oneof"` 125 } 126 type ContractChange_Current_ struct { 127 // Current is returned in stateless watch when document enters query view or 128 // is modified within. 129 Current *ContractChange_Current `protobuf:"bytes,4,opt,name=current,proto3,oneof"` 130 } 131 type ContractChange_Removed_ struct { 132 // Removed is returned when Contract is deleted or leaves Query view 133 Removed *ContractChange_Removed `protobuf:"bytes,3,opt,name=removed,proto3,oneof"` 134 } 135 136 func (*ContractChange_Added_) isContractChange_ChangeType() {} 137 func (*ContractChange_Modified_) isContractChange_ChangeType() {} 138 func (*ContractChange_Current_) isContractChange_ChangeType() {} 139 func (*ContractChange_Removed_) isContractChange_ChangeType() {} 140 func (m *ContractChange) GetChangeType() isContractChange_ChangeType { 141 if m != nil { 142 return m.ChangeType 143 } 144 return nil 145 } 146 func (m *ContractChange) GetAdded() *ContractChange_Added { 147 if x, ok := m.GetChangeType().(*ContractChange_Added_); ok { 148 return x.Added 149 } 150 return nil 151 } 152 func (m *ContractChange) GetModified() *ContractChange_Modified { 153 if x, ok := m.GetChangeType().(*ContractChange_Modified_); ok { 154 return x.Modified 155 } 156 return nil 157 } 158 func (m *ContractChange) GetCurrent() *ContractChange_Current { 159 if x, ok := m.GetChangeType().(*ContractChange_Current_); ok { 160 return x.Current 161 } 162 return nil 163 } 164 func (m *ContractChange) GetRemoved() *ContractChange_Removed { 165 if x, ok := m.GetChangeType().(*ContractChange_Removed_); ok { 166 return x.Removed 167 } 168 return nil 169 } 170 func (m *ContractChange) SetChangeType(ofv isContractChange_ChangeType) { 171 if m == nil { 172 panic(fmt.Errorf("can't set %s on nil %s", "isContractChange_ChangeType", "ContractChange")) 173 } 174 m.ChangeType = ofv 175 } 176 func (m *ContractChange) SetAdded(fv *ContractChange_Added) { 177 m.SetChangeType(&ContractChange_Added_{Added: fv}) 178 } 179 func (m *ContractChange) SetModified(fv *ContractChange_Modified) { 180 m.SetChangeType(&ContractChange_Modified_{Modified: fv}) 181 } 182 func (m *ContractChange) SetCurrent(fv *ContractChange_Current) { 183 m.SetChangeType(&ContractChange_Current_{Current: fv}) 184 } 185 func (m *ContractChange) SetRemoved(fv *ContractChange_Removed) { 186 m.SetChangeType(&ContractChange_Removed_{Removed: fv}) 187 } 188 189 // Contract has been added to query view 190 type ContractChange_Added struct { 191 state protoimpl.MessageState 192 sizeCache protoimpl.SizeCache 193 unknownFields protoimpl.UnknownFields 194 Contract *Contract `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"` 195 // Integer describing index of added Contract 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 *ContractChange_Added) Reset() { 200 *m = ContractChange_Added{} 201 if protoimpl.UnsafeEnabled { 202 mi := &edgelq_cellular_api_proto_v1_contract_change_proto_msgTypes[1] 203 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 204 ms.StoreMessageInfo(mi) 205 } 206 } 207 208 func (m *ContractChange_Added) String() string { 209 return protoimpl.X.MessageStringOf(m) 210 } 211 212 func (*ContractChange_Added) ProtoMessage() {} 213 214 func (m *ContractChange_Added) ProtoReflect() preflect.Message { 215 mi := &edgelq_cellular_api_proto_v1_contract_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 (*ContractChange_Added) GotenMessage() {} 227 228 // Deprecated, Use ContractChange_Added.ProtoReflect.Descriptor instead. 229 func (*ContractChange_Added) Descriptor() ([]byte, []int) { 230 return edgelq_cellular_api_proto_v1_contract_change_proto_rawDescGZIP(), []int{0, 0} 231 } 232 233 func (m *ContractChange_Added) Unmarshal(b []byte) error { 234 return proto.Unmarshal(b, m) 235 } 236 237 func (m *ContractChange_Added) Marshal() ([]byte, error) { 238 return proto.Marshal(m) 239 } 240 241 func (m *ContractChange_Added) MarshalJSON() ([]byte, error) { 242 return protojson.MarshalOptions{}.Marshal(m) 243 } 244 245 func (m *ContractChange_Added) UnmarshalJSON(data []byte) error { 246 return protojson.Unmarshal(data, m) 247 } 248 249 func (m *ContractChange_Added) GetContract() *Contract { 250 if m != nil { 251 return m.Contract 252 } 253 return nil 254 } 255 256 func (m *ContractChange_Added) GetViewIndex() int32 { 257 if m != nil { 258 return m.ViewIndex 259 } 260 return int32(0) 261 } 262 263 func (m *ContractChange_Added) SetContract(fv *Contract) { 264 if m == nil { 265 panic(fmt.Errorf("can't set %s on nil %s", "Contract", "ContractChange_Added")) 266 } 267 m.Contract = fv 268 } 269 270 func (m *ContractChange_Added) SetViewIndex(fv int32) { 271 if m == nil { 272 panic(fmt.Errorf("can't set %s on nil %s", "ViewIndex", "ContractChange_Added")) 273 } 274 m.ViewIndex = fv 275 } 276 277 // Contract changed some of it's fields - contains either full document or 278 // masked change 279 type ContractChange_Modified struct { 280 state protoimpl.MessageState 281 sizeCache protoimpl.SizeCache 282 unknownFields protoimpl.UnknownFields 283 // Name of modified Contract 284 Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 285 // New version of Contract or masked difference, depending on mask_changes 286 // instrumentation of issued [WatchContractRequest] or 287 // [WatchContractsRequest] 288 Contract *Contract `protobuf:"bytes,2,opt,name=contract,proto3" json:"contract,omitempty"` 289 // Used when mask_changes is set, contains field paths of modified 290 // properties. 291 FieldMask *Contract_FieldMask `protobuf:"bytes,3,opt,customtype=Contract_FieldMask,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` 292 // Previous view index specifies previous position of modified Contract. 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 Contract 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 *ContractChange_Modified) Reset() { 301 *m = ContractChange_Modified{} 302 if protoimpl.UnsafeEnabled { 303 mi := &edgelq_cellular_api_proto_v1_contract_change_proto_msgTypes[2] 304 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 305 ms.StoreMessageInfo(mi) 306 } 307 } 308 309 func (m *ContractChange_Modified) String() string { 310 return protoimpl.X.MessageStringOf(m) 311 } 312 313 func (*ContractChange_Modified) ProtoMessage() {} 314 315 func (m *ContractChange_Modified) ProtoReflect() preflect.Message { 316 mi := &edgelq_cellular_api_proto_v1_contract_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 (*ContractChange_Modified) GotenMessage() {} 328 329 // Deprecated, Use ContractChange_Modified.ProtoReflect.Descriptor instead. 330 func (*ContractChange_Modified) Descriptor() ([]byte, []int) { 331 return edgelq_cellular_api_proto_v1_contract_change_proto_rawDescGZIP(), []int{0, 1} 332 } 333 334 func (m *ContractChange_Modified) Unmarshal(b []byte) error { 335 return proto.Unmarshal(b, m) 336 } 337 338 func (m *ContractChange_Modified) Marshal() ([]byte, error) { 339 return proto.Marshal(m) 340 } 341 342 func (m *ContractChange_Modified) MarshalJSON() ([]byte, error) { 343 return protojson.MarshalOptions{}.Marshal(m) 344 } 345 346 func (m *ContractChange_Modified) UnmarshalJSON(data []byte) error { 347 return protojson.Unmarshal(data, m) 348 } 349 350 func (m *ContractChange_Modified) GetName() *Name { 351 if m != nil { 352 return m.Name 353 } 354 return nil 355 } 356 357 func (m *ContractChange_Modified) GetContract() *Contract { 358 if m != nil { 359 return m.Contract 360 } 361 return nil 362 } 363 364 func (m *ContractChange_Modified) GetFieldMask() *Contract_FieldMask { 365 if m != nil { 366 return m.FieldMask 367 } 368 return nil 369 } 370 371 func (m *ContractChange_Modified) GetPreviousViewIndex() int32 { 372 if m != nil { 373 return m.PreviousViewIndex 374 } 375 return int32(0) 376 } 377 378 func (m *ContractChange_Modified) GetViewIndex() int32 { 379 if m != nil { 380 return m.ViewIndex 381 } 382 return int32(0) 383 } 384 385 func (m *ContractChange_Modified) SetName(fv *Name) { 386 if m == nil { 387 panic(fmt.Errorf("can't set %s on nil %s", "Name", "ContractChange_Modified")) 388 } 389 m.Name = fv 390 } 391 392 func (m *ContractChange_Modified) SetContract(fv *Contract) { 393 if m == nil { 394 panic(fmt.Errorf("can't set %s on nil %s", "Contract", "ContractChange_Modified")) 395 } 396 m.Contract = fv 397 } 398 399 func (m *ContractChange_Modified) SetFieldMask(fv *Contract_FieldMask) { 400 if m == nil { 401 panic(fmt.Errorf("can't set %s on nil %s", "FieldMask", "ContractChange_Modified")) 402 } 403 m.FieldMask = fv 404 } 405 406 func (m *ContractChange_Modified) SetPreviousViewIndex(fv int32) { 407 if m == nil { 408 panic(fmt.Errorf("can't set %s on nil %s", "PreviousViewIndex", "ContractChange_Modified")) 409 } 410 m.PreviousViewIndex = fv 411 } 412 413 func (m *ContractChange_Modified) SetViewIndex(fv int32) { 414 if m == nil { 415 panic(fmt.Errorf("can't set %s on nil %s", "ViewIndex", "ContractChange_Modified")) 416 } 417 m.ViewIndex = fv 418 } 419 420 // Contract has been added or modified in a query view. Version used for 421 // stateless watching 422 type ContractChange_Current struct { 423 state protoimpl.MessageState 424 sizeCache protoimpl.SizeCache 425 unknownFields protoimpl.UnknownFields 426 Contract *Contract `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"` 427 } 428 429 func (m *ContractChange_Current) Reset() { 430 *m = ContractChange_Current{} 431 if protoimpl.UnsafeEnabled { 432 mi := &edgelq_cellular_api_proto_v1_contract_change_proto_msgTypes[3] 433 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 434 ms.StoreMessageInfo(mi) 435 } 436 } 437 438 func (m *ContractChange_Current) String() string { 439 return protoimpl.X.MessageStringOf(m) 440 } 441 442 func (*ContractChange_Current) ProtoMessage() {} 443 444 func (m *ContractChange_Current) ProtoReflect() preflect.Message { 445 mi := &edgelq_cellular_api_proto_v1_contract_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 (*ContractChange_Current) GotenMessage() {} 457 458 // Deprecated, Use ContractChange_Current.ProtoReflect.Descriptor instead. 459 func (*ContractChange_Current) Descriptor() ([]byte, []int) { 460 return edgelq_cellular_api_proto_v1_contract_change_proto_rawDescGZIP(), []int{0, 2} 461 } 462 463 func (m *ContractChange_Current) Unmarshal(b []byte) error { 464 return proto.Unmarshal(b, m) 465 } 466 467 func (m *ContractChange_Current) Marshal() ([]byte, error) { 468 return proto.Marshal(m) 469 } 470 471 func (m *ContractChange_Current) MarshalJSON() ([]byte, error) { 472 return protojson.MarshalOptions{}.Marshal(m) 473 } 474 475 func (m *ContractChange_Current) UnmarshalJSON(data []byte) error { 476 return protojson.Unmarshal(data, m) 477 } 478 479 func (m *ContractChange_Current) GetContract() *Contract { 480 if m != nil { 481 return m.Contract 482 } 483 return nil 484 } 485 486 func (m *ContractChange_Current) SetContract(fv *Contract) { 487 if m == nil { 488 panic(fmt.Errorf("can't set %s on nil %s", "Contract", "ContractChange_Current")) 489 } 490 m.Contract = fv 491 } 492 493 // Removed is returned when Contract is deleted or leaves Query view 494 type ContractChange_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 Contract 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 *ContractChange_Removed) Reset() { 505 *m = ContractChange_Removed{} 506 if protoimpl.UnsafeEnabled { 507 mi := &edgelq_cellular_api_proto_v1_contract_change_proto_msgTypes[4] 508 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 509 ms.StoreMessageInfo(mi) 510 } 511 } 512 513 func (m *ContractChange_Removed) String() string { 514 return protoimpl.X.MessageStringOf(m) 515 } 516 517 func (*ContractChange_Removed) ProtoMessage() {} 518 519 func (m *ContractChange_Removed) ProtoReflect() preflect.Message { 520 mi := &edgelq_cellular_api_proto_v1_contract_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 (*ContractChange_Removed) GotenMessage() {} 532 533 // Deprecated, Use ContractChange_Removed.ProtoReflect.Descriptor instead. 534 func (*ContractChange_Removed) Descriptor() ([]byte, []int) { 535 return edgelq_cellular_api_proto_v1_contract_change_proto_rawDescGZIP(), []int{0, 3} 536 } 537 538 func (m *ContractChange_Removed) Unmarshal(b []byte) error { 539 return proto.Unmarshal(b, m) 540 } 541 542 func (m *ContractChange_Removed) Marshal() ([]byte, error) { 543 return proto.Marshal(m) 544 } 545 546 func (m *ContractChange_Removed) MarshalJSON() ([]byte, error) { 547 return protojson.MarshalOptions{}.Marshal(m) 548 } 549 550 func (m *ContractChange_Removed) UnmarshalJSON(data []byte) error { 551 return protojson.Unmarshal(data, m) 552 } 553 554 func (m *ContractChange_Removed) GetName() *Name { 555 if m != nil { 556 return m.Name 557 } 558 return nil 559 } 560 561 func (m *ContractChange_Removed) GetViewIndex() int32 { 562 if m != nil { 563 return m.ViewIndex 564 } 565 return int32(0) 566 } 567 568 func (m *ContractChange_Removed) SetName(fv *Name) { 569 if m == nil { 570 panic(fmt.Errorf("can't set %s on nil %s", "Name", "ContractChange_Removed")) 571 } 572 m.Name = fv 573 } 574 575 func (m *ContractChange_Removed) SetViewIndex(fv int32) { 576 if m == nil { 577 panic(fmt.Errorf("can't set %s on nil %s", "ViewIndex", "ContractChange_Removed")) 578 } 579 m.ViewIndex = fv 580 } 581 582 var edgelq_cellular_api_proto_v1_contract_change_proto preflect.FileDescriptor 583 584 var edgelq_cellular_api_proto_v1_contract_change_proto_rawDesc = []byte{ 585 0x0a, 0x32, 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, 0x63, 587 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 588 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x6e, 0x74, 0x74, 0x2e, 0x63, 0x65, 0x6c, 0x6c, 0x75, 0x6c, 589 0x61, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 590 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 591 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 592 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 593 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 594 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 595 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 596 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 597 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 598 0x63, 0x65, 0x6c, 0x6c, 0x75, 0x6c, 0x61, 0x72, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x72, 0x6f, 599 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 600 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd3, 0x06, 0x0a, 0x0e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 601 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x41, 0x0a, 0x05, 0x61, 0x64, 0x64, 0x65, 0x64, 602 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x63, 0x65, 0x6c, 603 0x6c, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 604 0x74, 0x72, 0x61, 0x63, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x65, 605 0x64, 0x48, 0x00, 0x52, 0x05, 0x61, 0x64, 0x64, 0x65, 0x64, 0x12, 0x4a, 0x0a, 0x08, 0x6d, 0x6f, 606 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6e, 607 0x74, 0x74, 0x2e, 0x63, 0x65, 0x6c, 0x6c, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x2e, 608 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 609 0x65, 0x2e, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x6f, 610 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x47, 0x0a, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 611 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x63, 0x65, 612 0x6c, 0x6c, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 613 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x43, 0x75, 0x72, 614 0x72, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x12, 615 0x47, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 616 0x32, 0x2b, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x63, 0x65, 0x6c, 0x6c, 0x75, 0x6c, 0x61, 0x72, 0x5f, 617 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x43, 618 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x48, 0x00, 0x52, 619 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x1a, 0x61, 0x0a, 0x05, 0x41, 0x64, 0x64, 0x65, 620 0x64, 0x12, 0x39, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x18, 0x01, 0x20, 621 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x63, 0x65, 0x6c, 0x6c, 0x75, 0x6c, 622 0x61, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 623 0x63, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 624 0x76, 0x69, 0x65, 0x77, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 625 0x52, 0x09, 0x76, 0x69, 0x65, 0x77, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x1a, 0x87, 0x02, 0x0a, 0x08, 626 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x24, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 627 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x10, 0xb2, 0xda, 0x21, 0x0c, 0x0a, 0x0a, 0x0a, 0x08, 628 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x39, 629 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 630 0x32, 0x1d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x63, 0x65, 0x6c, 0x6c, 0x75, 0x6c, 0x61, 0x72, 0x5f, 631 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 632 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x4b, 0x0a, 0x0a, 0x66, 0x69, 0x65, 633 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 634 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 635 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x10, 0xb2, 0xda, 0x21, 0x0c, 0x32, 636 0x0a, 0x0a, 0x08, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x09, 0x66, 0x69, 0x65, 637 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x2e, 0x0a, 0x13, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 638 0x75, 0x73, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 639 0x01, 0x28, 0x05, 0x52, 0x11, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x56, 0x69, 0x65, 640 0x77, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x69, 641 0x6e, 0x64, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x76, 0x69, 0x65, 0x77, 642 0x49, 0x6e, 0x64, 0x65, 0x78, 0x1a, 0x44, 0x0a, 0x07, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 643 0x12, 0x39, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 644 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x63, 0x65, 0x6c, 0x6c, 0x75, 0x6c, 0x61, 645 0x72, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 646 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x4e, 0x0a, 0x07, 0x52, 647 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x24, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 648 0x20, 0x01, 0x28, 0x09, 0x42, 0x10, 0xb2, 0xda, 0x21, 0x0c, 0x0a, 0x0a, 0x0a, 0x08, 0x43, 0x6f, 649 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 650 0x76, 0x69, 0x65, 0x77, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 651 0x52, 0x09, 0x76, 0x69, 0x65, 0x77, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x3a, 0x0e, 0x9a, 0xd9, 0x21, 652 0x0a, 0x0a, 0x08, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x42, 0x0d, 0x0a, 0x0b, 0x63, 653 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x42, 0x7f, 0xe8, 0xde, 0x21, 0x00, 654 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x63, 0x65, 0x6c, 0x6c, 0x75, 0x6c, 655 0x61, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x42, 0x13, 0x43, 0x6f, 656 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 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, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 661 0x63, 0x74, 0x3b, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 662 0x74, 0x6f, 0x33, 663 } 664 665 var ( 666 edgelq_cellular_api_proto_v1_contract_change_proto_rawDescOnce sync.Once 667 edgelq_cellular_api_proto_v1_contract_change_proto_rawDescData = edgelq_cellular_api_proto_v1_contract_change_proto_rawDesc 668 ) 669 670 func edgelq_cellular_api_proto_v1_contract_change_proto_rawDescGZIP() []byte { 671 edgelq_cellular_api_proto_v1_contract_change_proto_rawDescOnce.Do(func() { 672 edgelq_cellular_api_proto_v1_contract_change_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_cellular_api_proto_v1_contract_change_proto_rawDescData) 673 }) 674 return edgelq_cellular_api_proto_v1_contract_change_proto_rawDescData 675 } 676 677 var edgelq_cellular_api_proto_v1_contract_change_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 678 var edgelq_cellular_api_proto_v1_contract_change_proto_goTypes = []interface{}{ 679 (*ContractChange)(nil), // 0: ntt.cellular_api.v1.ContractChange 680 (*ContractChange_Added)(nil), // 1: ntt.cellular_api.v1.ContractChange.Added 681 (*ContractChange_Modified)(nil), // 2: ntt.cellular_api.v1.ContractChange.Modified 682 (*ContractChange_Current)(nil), // 3: ntt.cellular_api.v1.ContractChange.Current 683 (*ContractChange_Removed)(nil), // 4: ntt.cellular_api.v1.ContractChange.Removed 684 (*Contract)(nil), // 5: ntt.cellular_api.v1.Contract 685 (*Contract_FieldMask)(nil), // 6: ntt.cellular_api.v1.Contract_FieldMask 686 } 687 var edgelq_cellular_api_proto_v1_contract_change_proto_depIdxs = []int32{ 688 1, // 0: ntt.cellular_api.v1.ContractChange.added:type_name -> ntt.cellular_api.v1.ContractChange.Added 689 2, // 1: ntt.cellular_api.v1.ContractChange.modified:type_name -> ntt.cellular_api.v1.ContractChange.Modified 690 3, // 2: ntt.cellular_api.v1.ContractChange.current:type_name -> ntt.cellular_api.v1.ContractChange.Current 691 4, // 3: ntt.cellular_api.v1.ContractChange.removed:type_name -> ntt.cellular_api.v1.ContractChange.Removed 692 5, // 4: ntt.cellular_api.v1.ContractChange.Added.contract:type_name -> ntt.cellular_api.v1.Contract 693 5, // 5: ntt.cellular_api.v1.ContractChange.Modified.contract:type_name -> ntt.cellular_api.v1.Contract 694 6, // 6: ntt.cellular_api.v1.ContractChange.Modified.field_mask:type_name -> ntt.cellular_api.v1.Contract_FieldMask 695 5, // 7: ntt.cellular_api.v1.ContractChange.Current.contract:type_name -> ntt.cellular_api.v1.Contract 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_contract_change_proto_init() } 704 func edgelq_cellular_api_proto_v1_contract_change_proto_init() { 705 if edgelq_cellular_api_proto_v1_contract_change_proto != nil { 706 return 707 } 708 if !protoimpl.UnsafeEnabled { 709 710 edgelq_cellular_api_proto_v1_contract_change_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 711 switch v := v.(*ContractChange); 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_contract_change_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 723 switch v := v.(*ContractChange_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_contract_change_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 735 switch v := v.(*ContractChange_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_contract_change_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 747 switch v := v.(*ContractChange_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_contract_change_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 759 switch v := v.(*ContractChange_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_contract_change_proto_msgTypes[0].OneofWrappers = []interface{}{ 773 (*ContractChange_Added_)(nil), 774 (*ContractChange_Modified_)(nil), 775 (*ContractChange_Current_)(nil), 776 (*ContractChange_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_contract_change_proto_rawDesc, 783 NumEnums: 0, 784 NumMessages: 5, 785 NumExtensions: 0, 786 NumServices: 0, 787 }, 788 GoTypes: edgelq_cellular_api_proto_v1_contract_change_proto_goTypes, 789 DependencyIndexes: edgelq_cellular_api_proto_v1_contract_change_proto_depIdxs, 790 MessageInfos: edgelq_cellular_api_proto_v1_contract_change_proto_msgTypes, 791 }.Build() 792 edgelq_cellular_api_proto_v1_contract_change_proto = out.File 793 edgelq_cellular_api_proto_v1_contract_change_proto_rawDesc = nil 794 edgelq_cellular_api_proto_v1_contract_change_proto_goTypes = nil 795 edgelq_cellular_api_proto_v1_contract_change_proto_depIdxs = nil 796 }