github.com/Axway/agent-sdk@v1.1.101/pkg/watchmanager/proto/apicentral.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.28.1 4 // protoc v3.18.1 5 // source: apicentral.proto 6 7 package proto 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14 ) 15 16 const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21 ) 22 23 type Owner_Type int32 24 25 const ( 26 Owner_TEAM Owner_Type = 0 27 ) 28 29 // Enum value maps for Owner_Type. 30 var ( 31 Owner_Type_name = map[int32]string{ 32 0: "TEAM", 33 } 34 Owner_Type_value = map[string]int32{ 35 "TEAM": 0, 36 } 37 ) 38 39 func (x Owner_Type) Enum() *Owner_Type { 40 p := new(Owner_Type) 41 *p = x 42 return p 43 } 44 45 func (x Owner_Type) String() string { 46 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 47 } 48 49 func (Owner_Type) Descriptor() protoreflect.EnumDescriptor { 50 return file_apicentral_proto_enumTypes[0].Descriptor() 51 } 52 53 func (Owner_Type) Type() protoreflect.EnumType { 54 return &file_apicentral_proto_enumTypes[0] 55 } 56 57 func (x Owner_Type) Number() protoreflect.EnumNumber { 58 return protoreflect.EnumNumber(x) 59 } 60 61 // Deprecated: Use Owner_Type.Descriptor instead. 62 func (Owner_Type) EnumDescriptor() ([]byte, []int) { 63 return file_apicentral_proto_rawDescGZIP(), []int{2, 0} 64 } 65 66 type Reference_Type int32 67 68 const ( 69 Reference_SOFT Reference_Type = 0 70 Reference_HARD Reference_Type = 1 71 ) 72 73 // Enum value maps for Reference_Type. 74 var ( 75 Reference_Type_name = map[int32]string{ 76 0: "SOFT", 77 1: "HARD", 78 } 79 Reference_Type_value = map[string]int32{ 80 "SOFT": 0, 81 "HARD": 1, 82 } 83 ) 84 85 func (x Reference_Type) Enum() *Reference_Type { 86 p := new(Reference_Type) 87 *p = x 88 return p 89 } 90 91 func (x Reference_Type) String() string { 92 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 93 } 94 95 func (Reference_Type) Descriptor() protoreflect.EnumDescriptor { 96 return file_apicentral_proto_enumTypes[1].Descriptor() 97 } 98 99 func (Reference_Type) Type() protoreflect.EnumType { 100 return &file_apicentral_proto_enumTypes[1] 101 } 102 103 func (x Reference_Type) Number() protoreflect.EnumNumber { 104 return protoreflect.EnumNumber(x) 105 } 106 107 // Deprecated: Use Reference_Type.Descriptor instead. 108 func (Reference_Type) EnumDescriptor() ([]byte, []int) { 109 return file_apicentral_proto_rawDescGZIP(), []int{3, 0} 110 } 111 112 // API Server generic resource structure. 113 type ResourceInstance struct { 114 state protoimpl.MessageState 115 sizeCache protoimpl.SizeCache 116 unknownFields protoimpl.UnknownFields 117 118 // Defines the group from which the resource belongs to. The server infers this from the endpoint the client submits the request to. 119 Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` 120 // Resource kind 121 Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` 122 // Name of the resource 123 Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` 124 // Metadata. 125 Metadata *Metadata `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` 126 Attributes map[string]string `protobuf:"bytes,6,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 127 } 128 129 func (x *ResourceInstance) Reset() { 130 *x = ResourceInstance{} 131 if protoimpl.UnsafeEnabled { 132 mi := &file_apicentral_proto_msgTypes[0] 133 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 134 ms.StoreMessageInfo(mi) 135 } 136 } 137 138 func (x *ResourceInstance) String() string { 139 return protoimpl.X.MessageStringOf(x) 140 } 141 142 func (*ResourceInstance) ProtoMessage() {} 143 144 func (x *ResourceInstance) ProtoReflect() protoreflect.Message { 145 mi := &file_apicentral_proto_msgTypes[0] 146 if protoimpl.UnsafeEnabled && x != nil { 147 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 148 if ms.LoadMessageInfo() == nil { 149 ms.StoreMessageInfo(mi) 150 } 151 return ms 152 } 153 return mi.MessageOf(x) 154 } 155 156 // Deprecated: Use ResourceInstance.ProtoReflect.Descriptor instead. 157 func (*ResourceInstance) Descriptor() ([]byte, []int) { 158 return file_apicentral_proto_rawDescGZIP(), []int{0} 159 } 160 161 func (x *ResourceInstance) GetGroup() string { 162 if x != nil { 163 return x.Group 164 } 165 return "" 166 } 167 168 func (x *ResourceInstance) GetKind() string { 169 if x != nil { 170 return x.Kind 171 } 172 return "" 173 } 174 175 func (x *ResourceInstance) GetName() string { 176 if x != nil { 177 return x.Name 178 } 179 return "" 180 } 181 182 func (x *ResourceInstance) GetMetadata() *Metadata { 183 if x != nil { 184 return x.Metadata 185 } 186 return nil 187 } 188 189 func (x *ResourceInstance) GetAttributes() map[string]string { 190 if x != nil { 191 return x.Attributes 192 } 193 return nil 194 } 195 196 // Metadata that all server resources have. Data is generated by the server. 197 type Metadata struct { 198 state protoimpl.MessageState 199 sizeCache protoimpl.SizeCache 200 unknownFields protoimpl.UnknownFields 201 202 // Internal id of the resource. 203 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 204 // The scope where this resource was defined. 205 Scope *Metadata_ScopeKind `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"` 206 // The URL representing this resource object. 207 SelfLink string `protobuf:"bytes,6,opt,name=selfLink,proto3" json:"selfLink,omitempty"` 208 // resource references 209 References []*Reference `protobuf:"bytes,7,rep,name=references,proto3" json:"references,omitempty"` 210 } 211 212 func (x *Metadata) Reset() { 213 *x = Metadata{} 214 if protoimpl.UnsafeEnabled { 215 mi := &file_apicentral_proto_msgTypes[1] 216 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 217 ms.StoreMessageInfo(mi) 218 } 219 } 220 221 func (x *Metadata) String() string { 222 return protoimpl.X.MessageStringOf(x) 223 } 224 225 func (*Metadata) ProtoMessage() {} 226 227 func (x *Metadata) ProtoReflect() protoreflect.Message { 228 mi := &file_apicentral_proto_msgTypes[1] 229 if protoimpl.UnsafeEnabled && x != nil { 230 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 231 if ms.LoadMessageInfo() == nil { 232 ms.StoreMessageInfo(mi) 233 } 234 return ms 235 } 236 return mi.MessageOf(x) 237 } 238 239 // Deprecated: Use Metadata.ProtoReflect.Descriptor instead. 240 func (*Metadata) Descriptor() ([]byte, []int) { 241 return file_apicentral_proto_rawDescGZIP(), []int{1} 242 } 243 244 func (x *Metadata) GetId() string { 245 if x != nil { 246 return x.Id 247 } 248 return "" 249 } 250 251 func (x *Metadata) GetScope() *Metadata_ScopeKind { 252 if x != nil { 253 return x.Scope 254 } 255 return nil 256 } 257 258 func (x *Metadata) GetSelfLink() string { 259 if x != nil { 260 return x.SelfLink 261 } 262 return "" 263 } 264 265 func (x *Metadata) GetReferences() []*Reference { 266 if x != nil { 267 return x.References 268 } 269 return nil 270 } 271 272 // Owner of the resource. 273 type Owner struct { 274 state protoimpl.MessageState 275 sizeCache protoimpl.SizeCache 276 unknownFields protoimpl.UnknownFields 277 278 // Id of the owner of the resource. 279 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 280 // The type of the owner. Defaults to team if not present. 281 Type Owner_Type `protobuf:"varint,2,opt,name=type,proto3,enum=central.events.v1.datamodel.Owner_Type" json:"type,omitempty"` 282 } 283 284 func (x *Owner) Reset() { 285 *x = Owner{} 286 if protoimpl.UnsafeEnabled { 287 mi := &file_apicentral_proto_msgTypes[2] 288 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 289 ms.StoreMessageInfo(mi) 290 } 291 } 292 293 func (x *Owner) String() string { 294 return protoimpl.X.MessageStringOf(x) 295 } 296 297 func (*Owner) ProtoMessage() {} 298 299 func (x *Owner) ProtoReflect() protoreflect.Message { 300 mi := &file_apicentral_proto_msgTypes[2] 301 if protoimpl.UnsafeEnabled && x != nil { 302 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 303 if ms.LoadMessageInfo() == nil { 304 ms.StoreMessageInfo(mi) 305 } 306 return ms 307 } 308 return mi.MessageOf(x) 309 } 310 311 // Deprecated: Use Owner.ProtoReflect.Descriptor instead. 312 func (*Owner) Descriptor() ([]byte, []int) { 313 return file_apicentral_proto_rawDescGZIP(), []int{2} 314 } 315 316 func (x *Owner) GetId() string { 317 if x != nil { 318 return x.Id 319 } 320 return "" 321 } 322 323 func (x *Owner) GetType() Owner_Type { 324 if x != nil { 325 return x.Type 326 } 327 return Owner_TEAM 328 } 329 330 // Reference resource 331 type Reference struct { 332 state protoimpl.MessageState 333 sizeCache protoimpl.SizeCache 334 unknownFields protoimpl.UnknownFields 335 336 // Unique id generated by the server. 337 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 338 // The kind of the referenced resource. 339 Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` 340 // The name of the referenced resource. 341 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` 342 // The kind of the referenced resource scope. 343 ScopeKind string `protobuf:"bytes,4,opt,name=scopeKind,proto3" json:"scopeKind,omitempty"` 344 // The name of the referenced resource scope. 345 ScopeName string `protobuf:"bytes,5,opt,name=scopeName,proto3" json:"scopeName,omitempty"` 346 // The URL representing the referenced resource. 347 SelfLink string `protobuf:"bytes,6,opt,name=selfLink,proto3" json:"selfLink,omitempty"` 348 // Defines the type of the reference: * soft - spec property that has this reference will get nulled out if the referenced resource gets removed. * hard - dictates that the current resource will get removed when the referenced resource gets removed. 349 Type Reference_Type `protobuf:"varint,7,opt,name=type,proto3,enum=central.events.v1.datamodel.Reference_Type" json:"type,omitempty"` 350 } 351 352 func (x *Reference) Reset() { 353 *x = Reference{} 354 if protoimpl.UnsafeEnabled { 355 mi := &file_apicentral_proto_msgTypes[3] 356 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 357 ms.StoreMessageInfo(mi) 358 } 359 } 360 361 func (x *Reference) String() string { 362 return protoimpl.X.MessageStringOf(x) 363 } 364 365 func (*Reference) ProtoMessage() {} 366 367 func (x *Reference) ProtoReflect() protoreflect.Message { 368 mi := &file_apicentral_proto_msgTypes[3] 369 if protoimpl.UnsafeEnabled && x != nil { 370 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 371 if ms.LoadMessageInfo() == nil { 372 ms.StoreMessageInfo(mi) 373 } 374 return ms 375 } 376 return mi.MessageOf(x) 377 } 378 379 // Deprecated: Use Reference.ProtoReflect.Descriptor instead. 380 func (*Reference) Descriptor() ([]byte, []int) { 381 return file_apicentral_proto_rawDescGZIP(), []int{3} 382 } 383 384 func (x *Reference) GetId() string { 385 if x != nil { 386 return x.Id 387 } 388 return "" 389 } 390 391 func (x *Reference) GetKind() string { 392 if x != nil { 393 return x.Kind 394 } 395 return "" 396 } 397 398 func (x *Reference) GetName() string { 399 if x != nil { 400 return x.Name 401 } 402 return "" 403 } 404 405 func (x *Reference) GetScopeKind() string { 406 if x != nil { 407 return x.ScopeKind 408 } 409 return "" 410 } 411 412 func (x *Reference) GetScopeName() string { 413 if x != nil { 414 return x.ScopeName 415 } 416 return "" 417 } 418 419 func (x *Reference) GetSelfLink() string { 420 if x != nil { 421 return x.SelfLink 422 } 423 return "" 424 } 425 426 func (x *Reference) GetType() Reference_Type { 427 if x != nil { 428 return x.Type 429 } 430 return Reference_SOFT 431 } 432 433 type Metadata_ScopeKind struct { 434 state protoimpl.MessageState 435 sizeCache protoimpl.SizeCache 436 unknownFields protoimpl.UnknownFields 437 438 // Internal id of the scope resource where the resource is defined. 439 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 440 // The kind of the scope resource where the resource is defined. 441 Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` 442 // The name of the scope where the resource is defined. 443 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` 444 // The URL to access the scope resource. 445 SelfLink string `protobuf:"bytes,4,opt,name=selfLink,proto3" json:"selfLink,omitempty"` 446 } 447 448 func (x *Metadata_ScopeKind) Reset() { 449 *x = Metadata_ScopeKind{} 450 if protoimpl.UnsafeEnabled { 451 mi := &file_apicentral_proto_msgTypes[5] 452 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 453 ms.StoreMessageInfo(mi) 454 } 455 } 456 457 func (x *Metadata_ScopeKind) String() string { 458 return protoimpl.X.MessageStringOf(x) 459 } 460 461 func (*Metadata_ScopeKind) ProtoMessage() {} 462 463 func (x *Metadata_ScopeKind) ProtoReflect() protoreflect.Message { 464 mi := &file_apicentral_proto_msgTypes[5] 465 if protoimpl.UnsafeEnabled && x != nil { 466 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 467 if ms.LoadMessageInfo() == nil { 468 ms.StoreMessageInfo(mi) 469 } 470 return ms 471 } 472 return mi.MessageOf(x) 473 } 474 475 // Deprecated: Use Metadata_ScopeKind.ProtoReflect.Descriptor instead. 476 func (*Metadata_ScopeKind) Descriptor() ([]byte, []int) { 477 return file_apicentral_proto_rawDescGZIP(), []int{1, 0} 478 } 479 480 func (x *Metadata_ScopeKind) GetId() string { 481 if x != nil { 482 return x.Id 483 } 484 return "" 485 } 486 487 func (x *Metadata_ScopeKind) GetKind() string { 488 if x != nil { 489 return x.Kind 490 } 491 return "" 492 } 493 494 func (x *Metadata_ScopeKind) GetName() string { 495 if x != nil { 496 return x.Name 497 } 498 return "" 499 } 500 501 func (x *Metadata_ScopeKind) GetSelfLink() string { 502 if x != nil { 503 return x.SelfLink 504 } 505 return "" 506 } 507 508 var File_apicentral_proto protoreflect.FileDescriptor 509 510 var file_apicentral_proto_rawDesc = []byte{ 511 0x0a, 0x10, 0x61, 0x70, 0x69, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 512 0x74, 0x6f, 0x12, 0x1b, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x2e, 0x65, 0x76, 0x65, 0x6e, 513 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x22, 514 0xb1, 0x02, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x73, 0x74, 515 0x61, 0x6e, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 516 0x01, 0x28, 0x09, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, 517 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x12, 518 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 519 0x6d, 0x65, 0x12, 0x41, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 520 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x2e, 0x65, 521 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x6d, 0x6f, 0x64, 522 0x65, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 523 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x5d, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 524 0x74, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x63, 0x65, 0x6e, 0x74, 525 0x72, 0x61, 0x6c, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x64, 0x61, 526 0x74, 0x61, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 527 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 528 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 529 0x75, 0x74, 0x65, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 530 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 531 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 532 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 533 0x02, 0x38, 0x01, 0x22, 0xa6, 0x02, 0x0a, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 534 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 535 0x12, 0x45, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 536 0x2f, 0x2e, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 537 0x2e, 0x76, 0x31, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x4d, 0x65, 538 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x4b, 0x69, 0x6e, 0x64, 539 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6c, 0x66, 0x4c, 540 0x69, 0x6e, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x6c, 0x66, 0x4c, 541 0x69, 0x6e, 0x6b, 0x12, 0x46, 0x0a, 0x0a, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 542 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x61, 543 0x6c, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x64, 0x61, 0x74, 0x61, 544 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 545 0x0a, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x1a, 0x5f, 0x0a, 0x09, 0x53, 546 0x63, 0x6f, 0x70, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 547 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 548 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 549 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 550 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6c, 0x66, 0x4c, 0x69, 0x6e, 0x6b, 0x18, 0x04, 0x20, 0x01, 551 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x6c, 0x66, 0x4c, 0x69, 0x6e, 0x6b, 0x22, 0x66, 0x0a, 0x05, 552 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 553 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3b, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 554 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x2e, 0x65, 0x76, 555 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x6d, 0x6f, 0x64, 0x65, 556 0x6c, 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 557 0x70, 0x65, 0x22, 0x10, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x45, 558 0x41, 0x4d, 0x10, 0x00, 0x22, 0xf8, 0x01, 0x0a, 0x09, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 559 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 560 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 561 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 562 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x63, 563 0x6f, 0x70, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 564 0x63, 0x6f, 0x70, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x63, 0x6f, 0x70, 565 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x63, 0x6f, 566 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6c, 0x66, 0x4c, 0x69, 567 0x6e, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x6c, 0x66, 0x4c, 0x69, 568 0x6e, 0x6b, 0x12, 0x3f, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 569 0x32, 0x2b, 0x2e, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 570 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x52, 571 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 572 0x79, 0x70, 0x65, 0x22, 0x1a, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x53, 573 0x4f, 0x46, 0x54, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x41, 0x52, 0x44, 0x10, 0x01, 0x42, 574 0x18, 0x5a, 0x16, 0x70, 0x6b, 0x67, 0x2f, 0x77, 0x61, 0x74, 0x63, 0x68, 0x6d, 0x61, 0x6e, 0x61, 575 0x67, 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 576 0x33, 577 } 578 579 var ( 580 file_apicentral_proto_rawDescOnce sync.Once 581 file_apicentral_proto_rawDescData = file_apicentral_proto_rawDesc 582 ) 583 584 func file_apicentral_proto_rawDescGZIP() []byte { 585 file_apicentral_proto_rawDescOnce.Do(func() { 586 file_apicentral_proto_rawDescData = protoimpl.X.CompressGZIP(file_apicentral_proto_rawDescData) 587 }) 588 return file_apicentral_proto_rawDescData 589 } 590 591 var file_apicentral_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 592 var file_apicentral_proto_msgTypes = make([]protoimpl.MessageInfo, 6) 593 var file_apicentral_proto_goTypes = []interface{}{ 594 (Owner_Type)(0), // 0: central.events.v1.datamodel.Owner.Type 595 (Reference_Type)(0), // 1: central.events.v1.datamodel.Reference.Type 596 (*ResourceInstance)(nil), // 2: central.events.v1.datamodel.ResourceInstance 597 (*Metadata)(nil), // 3: central.events.v1.datamodel.Metadata 598 (*Owner)(nil), // 4: central.events.v1.datamodel.Owner 599 (*Reference)(nil), // 5: central.events.v1.datamodel.Reference 600 nil, // 6: central.events.v1.datamodel.ResourceInstance.AttributesEntry 601 (*Metadata_ScopeKind)(nil), // 7: central.events.v1.datamodel.Metadata.ScopeKind 602 } 603 var file_apicentral_proto_depIdxs = []int32{ 604 3, // 0: central.events.v1.datamodel.ResourceInstance.metadata:type_name -> central.events.v1.datamodel.Metadata 605 6, // 1: central.events.v1.datamodel.ResourceInstance.attributes:type_name -> central.events.v1.datamodel.ResourceInstance.AttributesEntry 606 7, // 2: central.events.v1.datamodel.Metadata.scope:type_name -> central.events.v1.datamodel.Metadata.ScopeKind 607 5, // 3: central.events.v1.datamodel.Metadata.references:type_name -> central.events.v1.datamodel.Reference 608 0, // 4: central.events.v1.datamodel.Owner.type:type_name -> central.events.v1.datamodel.Owner.Type 609 1, // 5: central.events.v1.datamodel.Reference.type:type_name -> central.events.v1.datamodel.Reference.Type 610 6, // [6:6] is the sub-list for method output_type 611 6, // [6:6] is the sub-list for method input_type 612 6, // [6:6] is the sub-list for extension type_name 613 6, // [6:6] is the sub-list for extension extendee 614 0, // [0:6] is the sub-list for field type_name 615 } 616 617 func init() { file_apicentral_proto_init() } 618 func file_apicentral_proto_init() { 619 if File_apicentral_proto != nil { 620 return 621 } 622 if !protoimpl.UnsafeEnabled { 623 file_apicentral_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 624 switch v := v.(*ResourceInstance); i { 625 case 0: 626 return &v.state 627 case 1: 628 return &v.sizeCache 629 case 2: 630 return &v.unknownFields 631 default: 632 return nil 633 } 634 } 635 file_apicentral_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 636 switch v := v.(*Metadata); i { 637 case 0: 638 return &v.state 639 case 1: 640 return &v.sizeCache 641 case 2: 642 return &v.unknownFields 643 default: 644 return nil 645 } 646 } 647 file_apicentral_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 648 switch v := v.(*Owner); i { 649 case 0: 650 return &v.state 651 case 1: 652 return &v.sizeCache 653 case 2: 654 return &v.unknownFields 655 default: 656 return nil 657 } 658 } 659 file_apicentral_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 660 switch v := v.(*Reference); i { 661 case 0: 662 return &v.state 663 case 1: 664 return &v.sizeCache 665 case 2: 666 return &v.unknownFields 667 default: 668 return nil 669 } 670 } 671 file_apicentral_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 672 switch v := v.(*Metadata_ScopeKind); i { 673 case 0: 674 return &v.state 675 case 1: 676 return &v.sizeCache 677 case 2: 678 return &v.unknownFields 679 default: 680 return nil 681 } 682 } 683 } 684 type x struct{} 685 out := protoimpl.TypeBuilder{ 686 File: protoimpl.DescBuilder{ 687 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 688 RawDescriptor: file_apicentral_proto_rawDesc, 689 NumEnums: 2, 690 NumMessages: 6, 691 NumExtensions: 0, 692 NumServices: 0, 693 }, 694 GoTypes: file_apicentral_proto_goTypes, 695 DependencyIndexes: file_apicentral_proto_depIdxs, 696 EnumInfos: file_apicentral_proto_enumTypes, 697 MessageInfos: file_apicentral_proto_msgTypes, 698 }.Build() 699 File_apicentral_proto = out.File 700 file_apicentral_proto_rawDesc = nil 701 file_apicentral_proto_goTypes = nil 702 file_apicentral_proto_depIdxs = nil 703 }