github.com/cloudwan/edgelq-sdk@v1.15.4/devices/resources/v1alpha2/provisioning_policy/provisioning_policy.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/devices/proto/v1alpha2/provisioning_policy.proto 3 // DO NOT EDIT!!! 4 5 package provisioning_policy 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 device "github.com/cloudwan/edgelq-sdk/devices/resources/v1alpha2/device" 21 project "github.com/cloudwan/edgelq-sdk/devices/resources/v1alpha2/project" 22 iam_condition "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/condition" 23 iam_role "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/role" 24 iam_service_account "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/service_account" 25 meta "github.com/cloudwan/goten-sdk/types/meta" 26 ) 27 28 // Reference imports to suppress errors if they are not otherwise used. 29 var ( 30 _ = fmt.Errorf 31 _ = reflect.Method{} 32 _ = sync.Once{} 33 34 _ = protojson.MarshalOptions{} 35 _ = proto.MarshalOptions{} 36 _ = preflect.Value{} 37 _ = protoimpl.DescBuilder{} 38 ) 39 40 // make sure we're using proto imports 41 var ( 42 _ = &device.Device{} 43 _ = &project.Project{} 44 _ = &iam_condition.Condition{} 45 _ = &iam_role.Role{} 46 _ = &iam_service_account.ServiceAccount{} 47 _ = &meta.Meta{} 48 ) 49 50 const ( 51 // Verify that this generated code is sufficiently up-to-date. 52 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 53 // Verify that runtime/protoimpl is sufficiently up-to-date. 54 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 55 ) 56 57 type ProvisioningPolicy_Mode int32 58 59 const ( 60 // Mode is not defined, devices will do nothing when the policy is 61 // configured in this mode. 62 ProvisioningPolicy_MODE_UNSPECIFIED ProvisioningPolicy_Mode = 0 63 // Devices will create Device resources automatically without any human 64 // interaction. 65 ProvisioningPolicy_UNATTENDED ProvisioningPolicy_Mode = 1 66 // Devices will create ProvisioningApprovalRequests so that users can 67 // approve. 68 ProvisioningPolicy_MANUAL_APPROVAL ProvisioningPolicy_Mode = 2 69 ) 70 71 var ( 72 ProvisioningPolicy_Mode_name = map[int32]string{ 73 0: "MODE_UNSPECIFIED", 74 1: "UNATTENDED", 75 2: "MANUAL_APPROVAL", 76 } 77 78 ProvisioningPolicy_Mode_value = map[string]int32{ 79 "MODE_UNSPECIFIED": 0, 80 "UNATTENDED": 1, 81 "MANUAL_APPROVAL": 2, 82 } 83 ) 84 85 func (x ProvisioningPolicy_Mode) Enum() *ProvisioningPolicy_Mode { 86 p := new(ProvisioningPolicy_Mode) 87 *p = x 88 return p 89 } 90 91 func (x ProvisioningPolicy_Mode) String() string { 92 return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x)) 93 } 94 95 func (ProvisioningPolicy_Mode) Descriptor() preflect.EnumDescriptor { 96 return edgelq_devices_proto_v1alpha2_provisioning_policy_proto_enumTypes[0].Descriptor() 97 } 98 99 func (ProvisioningPolicy_Mode) Type() preflect.EnumType { 100 return &edgelq_devices_proto_v1alpha2_provisioning_policy_proto_enumTypes[0] 101 } 102 103 func (x ProvisioningPolicy_Mode) Number() preflect.EnumNumber { 104 return preflect.EnumNumber(x) 105 } 106 107 // Deprecated, Use ProvisioningPolicy_Mode.ProtoReflect.Descriptor instead. 108 func (ProvisioningPolicy_Mode) EnumDescriptor() ([]byte, []int) { 109 return edgelq_devices_proto_v1alpha2_provisioning_policy_proto_rawDescGZIP(), []int{0, 0} 110 } 111 112 // ProvisioningPolicy Resource 113 type ProvisioningPolicy struct { 114 state protoimpl.MessageState 115 sizeCache protoimpl.SizeCache 116 unknownFields protoimpl.UnknownFields 117 // Name of ProvisioningPolicy 118 // When creating a new instance, this field is optional and if not provided, 119 // it will be generated automatically. Last ID segment must conform to the 120 // following regex: [a-z][a-z0-9\-]{0,28}[a-z0-9] 121 Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 122 // Display Name 123 DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 124 Spec *ProvisioningPolicy_Spec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"` 125 Status *ProvisioningPolicy_Status `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` 126 Metadata *meta.Meta `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` 127 } 128 129 func (m *ProvisioningPolicy) Reset() { 130 *m = ProvisioningPolicy{} 131 if protoimpl.UnsafeEnabled { 132 mi := &edgelq_devices_proto_v1alpha2_provisioning_policy_proto_msgTypes[0] 133 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 134 ms.StoreMessageInfo(mi) 135 } 136 } 137 138 func (m *ProvisioningPolicy) String() string { 139 return protoimpl.X.MessageStringOf(m) 140 } 141 142 func (*ProvisioningPolicy) ProtoMessage() {} 143 144 func (m *ProvisioningPolicy) ProtoReflect() preflect.Message { 145 mi := &edgelq_devices_proto_v1alpha2_provisioning_policy_proto_msgTypes[0] 146 if protoimpl.UnsafeEnabled && m != nil { 147 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 148 if ms.LoadMessageInfo() == nil { 149 ms.StoreMessageInfo(mi) 150 } 151 return ms 152 } 153 return mi.MessageOf(m) 154 } 155 156 func (*ProvisioningPolicy) GotenMessage() {} 157 158 // Deprecated, Use ProvisioningPolicy.ProtoReflect.Descriptor instead. 159 func (*ProvisioningPolicy) Descriptor() ([]byte, []int) { 160 return edgelq_devices_proto_v1alpha2_provisioning_policy_proto_rawDescGZIP(), []int{0} 161 } 162 163 func (m *ProvisioningPolicy) Unmarshal(b []byte) error { 164 return proto.Unmarshal(b, m) 165 } 166 167 func (m *ProvisioningPolicy) Marshal() ([]byte, error) { 168 return proto.Marshal(m) 169 } 170 171 func (m *ProvisioningPolicy) MarshalJSON() ([]byte, error) { 172 return protojson.MarshalOptions{}.Marshal(m) 173 } 174 175 func (m *ProvisioningPolicy) UnmarshalJSON(data []byte) error { 176 return protojson.Unmarshal(data, m) 177 } 178 179 func (m *ProvisioningPolicy) GetName() *Name { 180 if m != nil { 181 return m.Name 182 } 183 return nil 184 } 185 186 func (m *ProvisioningPolicy) GetDisplayName() string { 187 if m != nil { 188 return m.DisplayName 189 } 190 return "" 191 } 192 193 func (m *ProvisioningPolicy) GetSpec() *ProvisioningPolicy_Spec { 194 if m != nil { 195 return m.Spec 196 } 197 return nil 198 } 199 200 func (m *ProvisioningPolicy) GetStatus() *ProvisioningPolicy_Status { 201 if m != nil { 202 return m.Status 203 } 204 return nil 205 } 206 207 func (m *ProvisioningPolicy) GetMetadata() *meta.Meta { 208 if m != nil { 209 return m.Metadata 210 } 211 return nil 212 } 213 214 func (m *ProvisioningPolicy) SetName(fv *Name) { 215 if m == nil { 216 panic(fmt.Errorf("can't set %s on nil %s", "Name", "ProvisioningPolicy")) 217 } 218 m.Name = fv 219 } 220 221 func (m *ProvisioningPolicy) SetDisplayName(fv string) { 222 if m == nil { 223 panic(fmt.Errorf("can't set %s on nil %s", "DisplayName", "ProvisioningPolicy")) 224 } 225 m.DisplayName = fv 226 } 227 228 func (m *ProvisioningPolicy) SetSpec(fv *ProvisioningPolicy_Spec) { 229 if m == nil { 230 panic(fmt.Errorf("can't set %s on nil %s", "Spec", "ProvisioningPolicy")) 231 } 232 m.Spec = fv 233 } 234 235 func (m *ProvisioningPolicy) SetStatus(fv *ProvisioningPolicy_Status) { 236 if m == nil { 237 panic(fmt.Errorf("can't set %s on nil %s", "Status", "ProvisioningPolicy")) 238 } 239 m.Status = fv 240 } 241 242 func (m *ProvisioningPolicy) SetMetadata(fv *meta.Meta) { 243 if m == nil { 244 panic(fmt.Errorf("can't set %s on nil %s", "Metadata", "ProvisioningPolicy")) 245 } 246 m.Metadata = fv 247 } 248 249 type ProvisioningPolicy_Spec struct { 250 state protoimpl.MessageState 251 sizeCache protoimpl.SizeCache 252 unknownFields protoimpl.UnknownFields 253 // Provisioning mode. 254 Mode ProvisioningPolicy_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=ntt.devices.v1alpha2.ProvisioningPolicy_Mode" json:"mode,omitempty"` 255 // The service account associated with the policy. 256 // Devices have to have a key of this service account to conduct 257 // self-provisioning. 258 ServiceAccount *iam_service_account.Reference `protobuf:"bytes,2,opt,customtype=Reference,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` 259 // Template for device name. 260 DeviceNameFormat string `protobuf:"bytes,3,opt,name=device_name_format,json=deviceNameFormat,proto3" json:"device_name_format,omitempty"` 261 // Deprecated: Use template instead. 262 // labels that provisioned Device resources will have. 263 Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 264 // Template for Devices to be generated. 265 // Used only on Device resource creation, changing the value won't affect 266 // existing Device resources. 267 Template *ProvisioningPolicy_Spec_Template `protobuf:"bytes,5,opt,name=template,proto3" json:"template,omitempty"` 268 // Device hardware identity paths (fields) to use for matching pre-existing 269 // device resources when provisioning. 270 IdentityFieldPaths []string `protobuf:"bytes,6,rep,name=identity_field_paths,json=identityFieldPaths,proto3" json:"identity_field_paths,omitempty"` 271 // Role that the newly created service account should be bound to. 272 // If not specified, will use the default value of 273 // "roles/devices-device-agent". 274 Role *iam_role.Reference `protobuf:"bytes,7,opt,customtype=Reference,name=role,proto3" json:"role,omitempty"` 275 // Condition for the role binding for the default role. 276 // If not specified, will use the default value of 277 // "device-isolation". 278 Condition *iam_condition.Reference `protobuf:"bytes,8,opt,customtype=Reference,name=condition,proto3" json:"condition,omitempty"` 279 } 280 281 func (m *ProvisioningPolicy_Spec) Reset() { 282 *m = ProvisioningPolicy_Spec{} 283 if protoimpl.UnsafeEnabled { 284 mi := &edgelq_devices_proto_v1alpha2_provisioning_policy_proto_msgTypes[1] 285 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 286 ms.StoreMessageInfo(mi) 287 } 288 } 289 290 func (m *ProvisioningPolicy_Spec) String() string { 291 return protoimpl.X.MessageStringOf(m) 292 } 293 294 func (*ProvisioningPolicy_Spec) ProtoMessage() {} 295 296 func (m *ProvisioningPolicy_Spec) ProtoReflect() preflect.Message { 297 mi := &edgelq_devices_proto_v1alpha2_provisioning_policy_proto_msgTypes[1] 298 if protoimpl.UnsafeEnabled && m != nil { 299 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 300 if ms.LoadMessageInfo() == nil { 301 ms.StoreMessageInfo(mi) 302 } 303 return ms 304 } 305 return mi.MessageOf(m) 306 } 307 308 func (*ProvisioningPolicy_Spec) GotenMessage() {} 309 310 // Deprecated, Use ProvisioningPolicy_Spec.ProtoReflect.Descriptor instead. 311 func (*ProvisioningPolicy_Spec) Descriptor() ([]byte, []int) { 312 return edgelq_devices_proto_v1alpha2_provisioning_policy_proto_rawDescGZIP(), []int{0, 0} 313 } 314 315 func (m *ProvisioningPolicy_Spec) Unmarshal(b []byte) error { 316 return proto.Unmarshal(b, m) 317 } 318 319 func (m *ProvisioningPolicy_Spec) Marshal() ([]byte, error) { 320 return proto.Marshal(m) 321 } 322 323 func (m *ProvisioningPolicy_Spec) MarshalJSON() ([]byte, error) { 324 return protojson.MarshalOptions{}.Marshal(m) 325 } 326 327 func (m *ProvisioningPolicy_Spec) UnmarshalJSON(data []byte) error { 328 return protojson.Unmarshal(data, m) 329 } 330 331 func (m *ProvisioningPolicy_Spec) GetMode() ProvisioningPolicy_Mode { 332 if m != nil { 333 return m.Mode 334 } 335 return ProvisioningPolicy_MODE_UNSPECIFIED 336 } 337 338 func (m *ProvisioningPolicy_Spec) GetServiceAccount() *iam_service_account.Reference { 339 if m != nil { 340 return m.ServiceAccount 341 } 342 return nil 343 } 344 345 func (m *ProvisioningPolicy_Spec) GetDeviceNameFormat() string { 346 if m != nil { 347 return m.DeviceNameFormat 348 } 349 return "" 350 } 351 352 func (m *ProvisioningPolicy_Spec) GetLabels() map[string]string { 353 if m != nil { 354 return m.Labels 355 } 356 return nil 357 } 358 359 func (m *ProvisioningPolicy_Spec) GetTemplate() *ProvisioningPolicy_Spec_Template { 360 if m != nil { 361 return m.Template 362 } 363 return nil 364 } 365 366 func (m *ProvisioningPolicy_Spec) GetIdentityFieldPaths() []string { 367 if m != nil { 368 return m.IdentityFieldPaths 369 } 370 return nil 371 } 372 373 func (m *ProvisioningPolicy_Spec) GetRole() *iam_role.Reference { 374 if m != nil { 375 return m.Role 376 } 377 return nil 378 } 379 380 func (m *ProvisioningPolicy_Spec) GetCondition() *iam_condition.Reference { 381 if m != nil { 382 return m.Condition 383 } 384 return nil 385 } 386 387 func (m *ProvisioningPolicy_Spec) SetMode(fv ProvisioningPolicy_Mode) { 388 if m == nil { 389 panic(fmt.Errorf("can't set %s on nil %s", "Mode", "ProvisioningPolicy_Spec")) 390 } 391 m.Mode = fv 392 } 393 394 func (m *ProvisioningPolicy_Spec) SetServiceAccount(fv *iam_service_account.Reference) { 395 if m == nil { 396 panic(fmt.Errorf("can't set %s on nil %s", "ServiceAccount", "ProvisioningPolicy_Spec")) 397 } 398 m.ServiceAccount = fv 399 } 400 401 func (m *ProvisioningPolicy_Spec) SetDeviceNameFormat(fv string) { 402 if m == nil { 403 panic(fmt.Errorf("can't set %s on nil %s", "DeviceNameFormat", "ProvisioningPolicy_Spec")) 404 } 405 m.DeviceNameFormat = fv 406 } 407 408 func (m *ProvisioningPolicy_Spec) SetLabels(fv map[string]string) { 409 if m == nil { 410 panic(fmt.Errorf("can't set %s on nil %s", "Labels", "ProvisioningPolicy_Spec")) 411 } 412 m.Labels = fv 413 } 414 415 func (m *ProvisioningPolicy_Spec) SetTemplate(fv *ProvisioningPolicy_Spec_Template) { 416 if m == nil { 417 panic(fmt.Errorf("can't set %s on nil %s", "Template", "ProvisioningPolicy_Spec")) 418 } 419 m.Template = fv 420 } 421 422 func (m *ProvisioningPolicy_Spec) SetIdentityFieldPaths(fv []string) { 423 if m == nil { 424 panic(fmt.Errorf("can't set %s on nil %s", "IdentityFieldPaths", "ProvisioningPolicy_Spec")) 425 } 426 m.IdentityFieldPaths = fv 427 } 428 429 func (m *ProvisioningPolicy_Spec) SetRole(fv *iam_role.Reference) { 430 if m == nil { 431 panic(fmt.Errorf("can't set %s on nil %s", "Role", "ProvisioningPolicy_Spec")) 432 } 433 m.Role = fv 434 } 435 436 func (m *ProvisioningPolicy_Spec) SetCondition(fv *iam_condition.Reference) { 437 if m == nil { 438 panic(fmt.Errorf("can't set %s on nil %s", "Condition", "ProvisioningPolicy_Spec")) 439 } 440 m.Condition = fv 441 } 442 443 type ProvisioningPolicy_Status struct { 444 state protoimpl.MessageState 445 sizeCache protoimpl.SizeCache 446 unknownFields protoimpl.UnknownFields 447 } 448 449 func (m *ProvisioningPolicy_Status) Reset() { 450 *m = ProvisioningPolicy_Status{} 451 if protoimpl.UnsafeEnabled { 452 mi := &edgelq_devices_proto_v1alpha2_provisioning_policy_proto_msgTypes[2] 453 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 454 ms.StoreMessageInfo(mi) 455 } 456 } 457 458 func (m *ProvisioningPolicy_Status) String() string { 459 return protoimpl.X.MessageStringOf(m) 460 } 461 462 func (*ProvisioningPolicy_Status) ProtoMessage() {} 463 464 func (m *ProvisioningPolicy_Status) ProtoReflect() preflect.Message { 465 mi := &edgelq_devices_proto_v1alpha2_provisioning_policy_proto_msgTypes[2] 466 if protoimpl.UnsafeEnabled && m != nil { 467 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 468 if ms.LoadMessageInfo() == nil { 469 ms.StoreMessageInfo(mi) 470 } 471 return ms 472 } 473 return mi.MessageOf(m) 474 } 475 476 func (*ProvisioningPolicy_Status) GotenMessage() {} 477 478 // Deprecated, Use ProvisioningPolicy_Status.ProtoReflect.Descriptor instead. 479 func (*ProvisioningPolicy_Status) Descriptor() ([]byte, []int) { 480 return edgelq_devices_proto_v1alpha2_provisioning_policy_proto_rawDescGZIP(), []int{0, 1} 481 } 482 483 func (m *ProvisioningPolicy_Status) Unmarshal(b []byte) error { 484 return proto.Unmarshal(b, m) 485 } 486 487 func (m *ProvisioningPolicy_Status) Marshal() ([]byte, error) { 488 return proto.Marshal(m) 489 } 490 491 func (m *ProvisioningPolicy_Status) MarshalJSON() ([]byte, error) { 492 return protojson.MarshalOptions{}.Marshal(m) 493 } 494 495 func (m *ProvisioningPolicy_Status) UnmarshalJSON(data []byte) error { 496 return protojson.Unmarshal(data, m) 497 } 498 499 type ProvisioningPolicy_Spec_Template struct { 500 state protoimpl.MessageState 501 sizeCache protoimpl.SizeCache 502 unknownFields protoimpl.UnknownFields 503 Metadata *meta.Meta `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` 504 // service_account will be ignored. 505 Spec *device.Device_Spec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` 506 PublicListingSpec *device.Device_PublicListingSpec `protobuf:"bytes,3,opt,name=public_listing_spec,json=publicListingSpec,proto3" json:"public_listing_spec,omitempty"` 507 } 508 509 func (m *ProvisioningPolicy_Spec_Template) Reset() { 510 *m = ProvisioningPolicy_Spec_Template{} 511 if protoimpl.UnsafeEnabled { 512 mi := &edgelq_devices_proto_v1alpha2_provisioning_policy_proto_msgTypes[4] 513 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 514 ms.StoreMessageInfo(mi) 515 } 516 } 517 518 func (m *ProvisioningPolicy_Spec_Template) String() string { 519 return protoimpl.X.MessageStringOf(m) 520 } 521 522 func (*ProvisioningPolicy_Spec_Template) ProtoMessage() {} 523 524 func (m *ProvisioningPolicy_Spec_Template) ProtoReflect() preflect.Message { 525 mi := &edgelq_devices_proto_v1alpha2_provisioning_policy_proto_msgTypes[4] 526 if protoimpl.UnsafeEnabled && m != nil { 527 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 528 if ms.LoadMessageInfo() == nil { 529 ms.StoreMessageInfo(mi) 530 } 531 return ms 532 } 533 return mi.MessageOf(m) 534 } 535 536 func (*ProvisioningPolicy_Spec_Template) GotenMessage() {} 537 538 // Deprecated, Use ProvisioningPolicy_Spec_Template.ProtoReflect.Descriptor instead. 539 func (*ProvisioningPolicy_Spec_Template) Descriptor() ([]byte, []int) { 540 return edgelq_devices_proto_v1alpha2_provisioning_policy_proto_rawDescGZIP(), []int{0, 0, 1} 541 } 542 543 func (m *ProvisioningPolicy_Spec_Template) Unmarshal(b []byte) error { 544 return proto.Unmarshal(b, m) 545 } 546 547 func (m *ProvisioningPolicy_Spec_Template) Marshal() ([]byte, error) { 548 return proto.Marshal(m) 549 } 550 551 func (m *ProvisioningPolicy_Spec_Template) MarshalJSON() ([]byte, error) { 552 return protojson.MarshalOptions{}.Marshal(m) 553 } 554 555 func (m *ProvisioningPolicy_Spec_Template) UnmarshalJSON(data []byte) error { 556 return protojson.Unmarshal(data, m) 557 } 558 559 func (m *ProvisioningPolicy_Spec_Template) GetMetadata() *meta.Meta { 560 if m != nil { 561 return m.Metadata 562 } 563 return nil 564 } 565 566 func (m *ProvisioningPolicy_Spec_Template) GetSpec() *device.Device_Spec { 567 if m != nil { 568 return m.Spec 569 } 570 return nil 571 } 572 573 func (m *ProvisioningPolicy_Spec_Template) GetPublicListingSpec() *device.Device_PublicListingSpec { 574 if m != nil { 575 return m.PublicListingSpec 576 } 577 return nil 578 } 579 580 func (m *ProvisioningPolicy_Spec_Template) SetMetadata(fv *meta.Meta) { 581 if m == nil { 582 panic(fmt.Errorf("can't set %s on nil %s", "Metadata", "ProvisioningPolicy_Spec_Template")) 583 } 584 m.Metadata = fv 585 } 586 587 func (m *ProvisioningPolicy_Spec_Template) SetSpec(fv *device.Device_Spec) { 588 if m == nil { 589 panic(fmt.Errorf("can't set %s on nil %s", "Spec", "ProvisioningPolicy_Spec_Template")) 590 } 591 m.Spec = fv 592 } 593 594 func (m *ProvisioningPolicy_Spec_Template) SetPublicListingSpec(fv *device.Device_PublicListingSpec) { 595 if m == nil { 596 panic(fmt.Errorf("can't set %s on nil %s", "PublicListingSpec", "ProvisioningPolicy_Spec_Template")) 597 } 598 m.PublicListingSpec = fv 599 } 600 601 var edgelq_devices_proto_v1alpha2_provisioning_policy_proto preflect.FileDescriptor 602 603 var edgelq_devices_proto_v1alpha2_provisioning_policy_proto_rawDesc = []byte{ 604 0x0a, 0x37, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 605 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 606 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 607 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x6e, 0x74, 0x74, 0x2e, 0x64, 608 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x1a, 609 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 610 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 611 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 612 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 613 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 614 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 615 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 616 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 617 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 618 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 619 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 620 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 621 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 622 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x70, 0x72, 623 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 624 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 625 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 626 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 627 0x6f, 0x1a, 0x29, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 628 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 629 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x65, 0x64, 630 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 631 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x64, 0x65, 0x76, 0x69, 632 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd7, 0x0c, 0x0a, 0x12, 0x50, 0x72, 0x6f, 633 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 634 0x2e, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1a, 0xb2, 635 0xda, 0x21, 0x16, 0x0a, 0x14, 0x0a, 0x12, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 636 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 637 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 638 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 639 0x6d, 0x65, 0x12, 0x41, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 640 0x32, 0x2d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 641 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 642 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x53, 0x70, 0x65, 0x63, 0x52, 643 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x47, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 644 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 645 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x50, 0x72, 0x6f, 646 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 647 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2d, 648 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 649 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 650 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0xc6, 0x06, 651 0x0a, 0x04, 0x53, 0x70, 0x65, 0x63, 0x12, 0x41, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x01, 652 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 653 0x65, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x50, 0x72, 0x6f, 0x76, 654 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x4d, 655 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x50, 0x0a, 0x0f, 0x73, 0x65, 0x72, 656 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 657 0x28, 0x09, 0x42, 0x27, 0xb2, 0xda, 0x21, 0x23, 0x12, 0x21, 0x0a, 0x1d, 0x69, 0x61, 0x6d, 0x2e, 658 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 659 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x10, 0x01, 0x52, 0x0e, 0x73, 0x65, 0x72, 660 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x64, 661 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 662 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 663 0x61, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x51, 0x0a, 0x06, 0x6c, 0x61, 0x62, 664 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 665 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 666 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 667 0x69, 0x63, 0x79, 0x2e, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 668 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x52, 0x0a, 0x08, 669 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 670 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x61, 671 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 672 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x54, 0x65, 673 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 674 0x12, 0x3a, 0x0a, 0x14, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x66, 0x69, 0x65, 675 0x6c, 0x64, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x42, 0x08, 676 0xca, 0xc6, 0x27, 0x04, 0x42, 0x02, 0x18, 0x01, 0x52, 0x12, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 677 0x74, 0x79, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x3a, 0x0a, 0x04, 678 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x26, 0xfa, 0x41, 0x06, 0x0a, 679 0x04, 0x52, 0x6f, 0x6c, 0x65, 0xb2, 0xda, 0x21, 0x19, 0x12, 0x17, 0x0a, 0x13, 0x69, 0x61, 0x6d, 680 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x6f, 0x6c, 0x65, 681 0x10, 0x01, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x4e, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 682 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xfa, 0x41, 0x0b, 683 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0xb2, 0xda, 0x21, 0x1e, 0x12, 684 0x1c, 0x0a, 0x18, 0x69, 0x61, 0x6d, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 685 0x6d, 0x2f, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x01, 0x52, 0x09, 0x63, 686 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 687 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 688 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 689 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 690 0x02, 0x38, 0x01, 0x1a, 0xd0, 0x01, 0x0a, 0x08, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 691 0x12, 0x2d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 692 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 693 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 694 0x35, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 695 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 696 0x70, 0x68, 0x61, 0x32, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x70, 0x65, 0x63, 697 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x5e, 0x0a, 0x13, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 698 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x03, 0x20, 699 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 700 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 701 0x65, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x53, 702 0x70, 0x65, 0x63, 0x52, 0x11, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4c, 0x69, 0x73, 0x74, 0x69, 703 0x6e, 0x67, 0x53, 0x70, 0x65, 0x63, 0x1a, 0x08, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 704 0x22, 0x41, 0x0a, 0x04, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x4f, 0x44, 0x45, 705 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 706 0x0a, 0x0a, 0x55, 0x4e, 0x41, 0x54, 0x54, 0x45, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x01, 0x12, 0x13, 707 0x0a, 0x0f, 0x4d, 0x41, 0x4e, 0x55, 0x41, 0x4c, 0x5f, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x41, 708 0x4c, 0x10, 0x02, 0x3a, 0x9c, 0x03, 0xea, 0x41, 0x77, 0x0a, 0x25, 0x64, 0x65, 0x76, 0x69, 0x63, 709 0x65, 0x73, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 710 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 711 0x12, 0x4e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 712 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x72, 0x65, 713 0x67, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 714 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x76, 715 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x7d, 716 0x92, 0xd9, 0x21, 0x51, 0x0a, 0x14, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 717 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x14, 0x70, 0x72, 0x6f, 0x76, 718 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 719 0x1a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x18, 0x67, 0x6f, 0x74, 0x65, 0x6e, 720 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x52, 0x65, 0x67, 721 0x69, 0x6f, 0x6e, 0x38, 0x05, 0xb2, 0xdf, 0x21, 0x8c, 0x01, 0x0a, 0x89, 0x01, 0x0a, 0x86, 0x01, 722 0x0a, 0x06, 0x62, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x33, 723 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 724 0x74, 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2d, 0x2f, 0x70, 0x72, 0x6f, 725 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 726 0x73, 0x2f, 0x2d, 0x1a, 0x3a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 727 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 728 0x7b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 729 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x2d, 0x2a, 730 0x05, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0xda, 0x94, 0x23, 0x08, 0x12, 0x06, 0x0a, 0x04, 0x6e, 0x61, 731 0x6d, 0x65, 0xc2, 0x85, 0x2c, 0x2c, 0x22, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x0c, 0x64, 0x69, 732 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x04, 0x73, 0x70, 0x65, 0x63, 733 0x2a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 734 0x74, 0x61, 0x42, 0xeb, 0x02, 0xe8, 0xde, 0x21, 0x01, 0xd2, 0xff, 0xd0, 0x02, 0x62, 0x0a, 0x19, 735 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 736 0x69, 0x63, 0x79, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 737 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 738 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x73, 0x74, 739 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x70, 0x72, 0x6f, 740 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 741 0xa2, 0x80, 0xd1, 0x02, 0x64, 0x0a, 0x1a, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 742 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 743 0x73, 0x12, 0x46, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 744 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 745 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x31, 0x61, 746 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 747 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 748 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 749 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x42, 0x17, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 750 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 751 0x01, 0x5a, 0x5d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 752 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 753 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 754 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 755 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x3b, 0x70, 0x72, 0x6f, 756 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 757 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 758 } 759 760 var ( 761 edgelq_devices_proto_v1alpha2_provisioning_policy_proto_rawDescOnce sync.Once 762 edgelq_devices_proto_v1alpha2_provisioning_policy_proto_rawDescData = edgelq_devices_proto_v1alpha2_provisioning_policy_proto_rawDesc 763 ) 764 765 func edgelq_devices_proto_v1alpha2_provisioning_policy_proto_rawDescGZIP() []byte { 766 edgelq_devices_proto_v1alpha2_provisioning_policy_proto_rawDescOnce.Do(func() { 767 edgelq_devices_proto_v1alpha2_provisioning_policy_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_devices_proto_v1alpha2_provisioning_policy_proto_rawDescData) 768 }) 769 return edgelq_devices_proto_v1alpha2_provisioning_policy_proto_rawDescData 770 } 771 772 var edgelq_devices_proto_v1alpha2_provisioning_policy_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 773 var edgelq_devices_proto_v1alpha2_provisioning_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 774 var edgelq_devices_proto_v1alpha2_provisioning_policy_proto_goTypes = []interface{}{ 775 (ProvisioningPolicy_Mode)(0), // 0: ntt.devices.v1alpha2.ProvisioningPolicy_Mode 776 (*ProvisioningPolicy)(nil), // 1: ntt.devices.v1alpha2.ProvisioningPolicy 777 (*ProvisioningPolicy_Spec)(nil), // 2: ntt.devices.v1alpha2.ProvisioningPolicy.Spec 778 (*ProvisioningPolicy_Status)(nil), // 3: ntt.devices.v1alpha2.ProvisioningPolicy.Status 779 nil, // 4: ntt.devices.v1alpha2.ProvisioningPolicy.Spec.LabelsEntry 780 (*ProvisioningPolicy_Spec_Template)(nil), // 5: ntt.devices.v1alpha2.ProvisioningPolicy.Spec.Template 781 (*meta.Meta)(nil), // 6: goten.types.Meta 782 (*device.Device_Spec)(nil), // 7: ntt.devices.v1alpha2.Device.Spec 783 (*device.Device_PublicListingSpec)(nil), // 8: ntt.devices.v1alpha2.Device.PublicListingSpec 784 } 785 var edgelq_devices_proto_v1alpha2_provisioning_policy_proto_depIdxs = []int32{ 786 2, // 0: ntt.devices.v1alpha2.ProvisioningPolicy.spec:type_name -> ntt.devices.v1alpha2.ProvisioningPolicy.Spec 787 3, // 1: ntt.devices.v1alpha2.ProvisioningPolicy.status:type_name -> ntt.devices.v1alpha2.ProvisioningPolicy.Status 788 6, // 2: ntt.devices.v1alpha2.ProvisioningPolicy.metadata:type_name -> goten.types.Meta 789 0, // 3: ntt.devices.v1alpha2.ProvisioningPolicy.Spec.mode:type_name -> ntt.devices.v1alpha2.ProvisioningPolicy_Mode 790 4, // 4: ntt.devices.v1alpha2.ProvisioningPolicy.Spec.labels:type_name -> ntt.devices.v1alpha2.ProvisioningPolicy.Spec.LabelsEntry 791 5, // 5: ntt.devices.v1alpha2.ProvisioningPolicy.Spec.template:type_name -> ntt.devices.v1alpha2.ProvisioningPolicy.Spec.Template 792 6, // 6: ntt.devices.v1alpha2.ProvisioningPolicy.Spec.Template.metadata:type_name -> goten.types.Meta 793 7, // 7: ntt.devices.v1alpha2.ProvisioningPolicy.Spec.Template.spec:type_name -> ntt.devices.v1alpha2.Device.Spec 794 8, // 8: ntt.devices.v1alpha2.ProvisioningPolicy.Spec.Template.public_listing_spec:type_name -> ntt.devices.v1alpha2.Device.PublicListingSpec 795 9, // [9:9] is the sub-list for method output_type 796 9, // [9:9] is the sub-list for method input_type 797 9, // [9:9] is the sub-list for extension type_name 798 9, // [9:9] is the sub-list for extension extendee 799 0, // [0:9] is the sub-list for field type_name 800 } 801 802 func init() { edgelq_devices_proto_v1alpha2_provisioning_policy_proto_init() } 803 func edgelq_devices_proto_v1alpha2_provisioning_policy_proto_init() { 804 if edgelq_devices_proto_v1alpha2_provisioning_policy_proto != nil { 805 return 806 } 807 if !protoimpl.UnsafeEnabled { 808 809 edgelq_devices_proto_v1alpha2_provisioning_policy_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 810 switch v := v.(*ProvisioningPolicy); i { 811 case 0: 812 return &v.state 813 case 1: 814 return &v.sizeCache 815 case 2: 816 return &v.unknownFields 817 default: 818 return nil 819 } 820 } 821 edgelq_devices_proto_v1alpha2_provisioning_policy_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 822 switch v := v.(*ProvisioningPolicy_Spec); i { 823 case 0: 824 return &v.state 825 case 1: 826 return &v.sizeCache 827 case 2: 828 return &v.unknownFields 829 default: 830 return nil 831 } 832 } 833 edgelq_devices_proto_v1alpha2_provisioning_policy_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 834 switch v := v.(*ProvisioningPolicy_Status); i { 835 case 0: 836 return &v.state 837 case 1: 838 return &v.sizeCache 839 case 2: 840 return &v.unknownFields 841 default: 842 return nil 843 } 844 } 845 edgelq_devices_proto_v1alpha2_provisioning_policy_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 846 switch v := v.(*ProvisioningPolicy_Spec_Template); i { 847 case 0: 848 return &v.state 849 case 1: 850 return &v.sizeCache 851 case 2: 852 return &v.unknownFields 853 default: 854 return nil 855 } 856 } 857 } 858 859 type x struct{} 860 out := protoimpl.TypeBuilder{ 861 File: protoimpl.DescBuilder{ 862 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 863 RawDescriptor: edgelq_devices_proto_v1alpha2_provisioning_policy_proto_rawDesc, 864 NumEnums: 1, 865 NumMessages: 5, 866 NumExtensions: 0, 867 NumServices: 0, 868 }, 869 GoTypes: edgelq_devices_proto_v1alpha2_provisioning_policy_proto_goTypes, 870 DependencyIndexes: edgelq_devices_proto_v1alpha2_provisioning_policy_proto_depIdxs, 871 EnumInfos: edgelq_devices_proto_v1alpha2_provisioning_policy_proto_enumTypes, 872 MessageInfos: edgelq_devices_proto_v1alpha2_provisioning_policy_proto_msgTypes, 873 }.Build() 874 edgelq_devices_proto_v1alpha2_provisioning_policy_proto = out.File 875 edgelq_devices_proto_v1alpha2_provisioning_policy_proto_rawDesc = nil 876 edgelq_devices_proto_v1alpha2_provisioning_policy_proto_goTypes = nil 877 edgelq_devices_proto_v1alpha2_provisioning_policy_proto_depIdxs = nil 878 }