github.com/infraboard/keyauth@v0.8.1/apps/tag/request.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.27.1 4 // protoc v3.19.1 5 // source: apps/tag/pb/request.proto 6 7 package tag 8 9 import ( 10 request "github.com/infraboard/mcube/http/request" 11 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 12 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 13 reflect "reflect" 14 sync "sync" 15 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 // CreateTagRequest todo 25 type CreateTagRequest struct { 26 state protoimpl.MessageState 27 sizeCache protoimpl.SizeCache 28 unknownFields protoimpl.UnknownFields 29 30 // tag生效范围 31 // @gotags: json:"scope_type" 32 ScopeType ScopeType `protobuf:"varint,1,opt,name=scope_type,json=scopeType,proto3,enum=infraboard.keyauth.tag.ScopeType" json:"scope_type"` 33 // tag属于哪个namespace 34 // @gotags: json:"namespace" 35 Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace"` 36 // 建名称 37 // @gotags: json:"key_name" validate:"lte=200" 38 KeyName string `protobuf:"bytes,3,opt,name=key_name,json=keyName,proto3" json:"key_name" validate:"lte=200"` 39 // 建标识 40 // @gotags: json:"key_label" 41 KeyLabel string `protobuf:"bytes,4,opt,name=key_label,json=keyLabel,proto3" json:"key_label"` 42 // 建描述 43 // @gotags: json:"key_desc" 44 KeyDesc string `protobuf:"bytes,5,opt,name=key_desc,json=keyDesc,proto3" json:"key_desc"` 45 // 值来源 46 // @gotags: json:"value_from" 47 ValueFrom ValueFrom `protobuf:"varint,6,opt,name=value_from,json=valueFrom,proto3,enum=infraboard.keyauth.tag.ValueFrom" json:"value_from"` 48 // http 获取Tag 值的参数 49 // @gotags: json:"http_from_option" 50 HttpFromOption *HTTPFromOption `protobuf:"bytes,7,opt,name=http_from_option,json=httpFromOption,proto3" json:"http_from_option"` 51 // String 类型的值 52 // @gotags: json:"values" 53 Values []*ValueOption `protobuf:"bytes,8,rep,name=values,proto3" json:"values"` 54 // Tag所属的域 55 // @gotags: json:"domain" 56 Domain string `protobuf:"bytes,9,opt,name=domain,proto3" json:"domain"` 57 // 创建人 58 // @gotags: json:"creater" 59 Creater string `protobuf:"bytes,10,opt,name=creater,proto3" json:"creater"` 60 } 61 62 func (x *CreateTagRequest) Reset() { 63 *x = CreateTagRequest{} 64 if protoimpl.UnsafeEnabled { 65 mi := &file_apps_tag_pb_request_proto_msgTypes[0] 66 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 67 ms.StoreMessageInfo(mi) 68 } 69 } 70 71 func (x *CreateTagRequest) String() string { 72 return protoimpl.X.MessageStringOf(x) 73 } 74 75 func (*CreateTagRequest) ProtoMessage() {} 76 77 func (x *CreateTagRequest) ProtoReflect() protoreflect.Message { 78 mi := &file_apps_tag_pb_request_proto_msgTypes[0] 79 if protoimpl.UnsafeEnabled && x != nil { 80 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 81 if ms.LoadMessageInfo() == nil { 82 ms.StoreMessageInfo(mi) 83 } 84 return ms 85 } 86 return mi.MessageOf(x) 87 } 88 89 // Deprecated: Use CreateTagRequest.ProtoReflect.Descriptor instead. 90 func (*CreateTagRequest) Descriptor() ([]byte, []int) { 91 return file_apps_tag_pb_request_proto_rawDescGZIP(), []int{0} 92 } 93 94 func (x *CreateTagRequest) GetScopeType() ScopeType { 95 if x != nil { 96 return x.ScopeType 97 } 98 return ScopeType_NAMESPACE 99 } 100 101 func (x *CreateTagRequest) GetNamespace() string { 102 if x != nil { 103 return x.Namespace 104 } 105 return "" 106 } 107 108 func (x *CreateTagRequest) GetKeyName() string { 109 if x != nil { 110 return x.KeyName 111 } 112 return "" 113 } 114 115 func (x *CreateTagRequest) GetKeyLabel() string { 116 if x != nil { 117 return x.KeyLabel 118 } 119 return "" 120 } 121 122 func (x *CreateTagRequest) GetKeyDesc() string { 123 if x != nil { 124 return x.KeyDesc 125 } 126 return "" 127 } 128 129 func (x *CreateTagRequest) GetValueFrom() ValueFrom { 130 if x != nil { 131 return x.ValueFrom 132 } 133 return ValueFrom_MANUAL 134 } 135 136 func (x *CreateTagRequest) GetHttpFromOption() *HTTPFromOption { 137 if x != nil { 138 return x.HttpFromOption 139 } 140 return nil 141 } 142 143 func (x *CreateTagRequest) GetValues() []*ValueOption { 144 if x != nil { 145 return x.Values 146 } 147 return nil 148 } 149 150 func (x *CreateTagRequest) GetDomain() string { 151 if x != nil { 152 return x.Domain 153 } 154 return "" 155 } 156 157 func (x *CreateTagRequest) GetCreater() string { 158 if x != nil { 159 return x.Creater 160 } 161 return "" 162 } 163 164 // QueryTagKeyRequest todo 165 type QueryTagKeyRequest struct { 166 state protoimpl.MessageState 167 sizeCache protoimpl.SizeCache 168 unknownFields protoimpl.UnknownFields 169 170 // @gotags: json:"page" 171 Page *request.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page"` 172 // tag生效范围 173 // @gotags: json:"scope_type" 174 ScopeType ScopeType `protobuf:"varint,2,opt,name=scope_type,json=scopeType,proto3,enum=infraboard.keyauth.tag.ScopeType" json:"scope_type"` 175 // 关键字 176 // @gotags: json:"keywords" 177 Keywords string `protobuf:"bytes,3,opt,name=keywords,proto3" json:"keywords"` 178 } 179 180 func (x *QueryTagKeyRequest) Reset() { 181 *x = QueryTagKeyRequest{} 182 if protoimpl.UnsafeEnabled { 183 mi := &file_apps_tag_pb_request_proto_msgTypes[1] 184 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 185 ms.StoreMessageInfo(mi) 186 } 187 } 188 189 func (x *QueryTagKeyRequest) String() string { 190 return protoimpl.X.MessageStringOf(x) 191 } 192 193 func (*QueryTagKeyRequest) ProtoMessage() {} 194 195 func (x *QueryTagKeyRequest) ProtoReflect() protoreflect.Message { 196 mi := &file_apps_tag_pb_request_proto_msgTypes[1] 197 if protoimpl.UnsafeEnabled && x != nil { 198 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 199 if ms.LoadMessageInfo() == nil { 200 ms.StoreMessageInfo(mi) 201 } 202 return ms 203 } 204 return mi.MessageOf(x) 205 } 206 207 // Deprecated: Use QueryTagKeyRequest.ProtoReflect.Descriptor instead. 208 func (*QueryTagKeyRequest) Descriptor() ([]byte, []int) { 209 return file_apps_tag_pb_request_proto_rawDescGZIP(), []int{1} 210 } 211 212 func (x *QueryTagKeyRequest) GetPage() *request.PageRequest { 213 if x != nil { 214 return x.Page 215 } 216 return nil 217 } 218 219 func (x *QueryTagKeyRequest) GetScopeType() ScopeType { 220 if x != nil { 221 return x.ScopeType 222 } 223 return ScopeType_NAMESPACE 224 } 225 226 func (x *QueryTagKeyRequest) GetKeywords() string { 227 if x != nil { 228 return x.Keywords 229 } 230 return "" 231 } 232 233 // QueryTagValueRequest todo 234 type QueryTagValueRequest struct { 235 state protoimpl.MessageState 236 sizeCache protoimpl.SizeCache 237 unknownFields protoimpl.UnknownFields 238 239 // @gotags: json:"page" 240 Page *request.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page"` 241 // Tag Value ID 242 // @gotags: json:"tag_id" 243 TagId string `protobuf:"bytes,2,opt,name=tag_id,json=tagId,proto3" json:"tag_id"` 244 } 245 246 func (x *QueryTagValueRequest) Reset() { 247 *x = QueryTagValueRequest{} 248 if protoimpl.UnsafeEnabled { 249 mi := &file_apps_tag_pb_request_proto_msgTypes[2] 250 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 251 ms.StoreMessageInfo(mi) 252 } 253 } 254 255 func (x *QueryTagValueRequest) String() string { 256 return protoimpl.X.MessageStringOf(x) 257 } 258 259 func (*QueryTagValueRequest) ProtoMessage() {} 260 261 func (x *QueryTagValueRequest) ProtoReflect() protoreflect.Message { 262 mi := &file_apps_tag_pb_request_proto_msgTypes[2] 263 if protoimpl.UnsafeEnabled && x != nil { 264 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 265 if ms.LoadMessageInfo() == nil { 266 ms.StoreMessageInfo(mi) 267 } 268 return ms 269 } 270 return mi.MessageOf(x) 271 } 272 273 // Deprecated: Use QueryTagValueRequest.ProtoReflect.Descriptor instead. 274 func (*QueryTagValueRequest) Descriptor() ([]byte, []int) { 275 return file_apps_tag_pb_request_proto_rawDescGZIP(), []int{2} 276 } 277 278 func (x *QueryTagValueRequest) GetPage() *request.PageRequest { 279 if x != nil { 280 return x.Page 281 } 282 return nil 283 } 284 285 func (x *QueryTagValueRequest) GetTagId() string { 286 if x != nil { 287 return x.TagId 288 } 289 return "" 290 } 291 292 // DeleteTagRequest todo 293 type DeleteTagRequest struct { 294 state protoimpl.MessageState 295 sizeCache protoimpl.SizeCache 296 unknownFields protoimpl.UnknownFields 297 298 // Tag Value ID 299 // @gotags: json:"tag_id" validate:"lte=200" 300 TagId string `protobuf:"bytes,2,opt,name=tag_id,json=tagId,proto3" json:"tag_id" validate:"lte=200"` 301 } 302 303 func (x *DeleteTagRequest) Reset() { 304 *x = DeleteTagRequest{} 305 if protoimpl.UnsafeEnabled { 306 mi := &file_apps_tag_pb_request_proto_msgTypes[3] 307 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 308 ms.StoreMessageInfo(mi) 309 } 310 } 311 312 func (x *DeleteTagRequest) String() string { 313 return protoimpl.X.MessageStringOf(x) 314 } 315 316 func (*DeleteTagRequest) ProtoMessage() {} 317 318 func (x *DeleteTagRequest) ProtoReflect() protoreflect.Message { 319 mi := &file_apps_tag_pb_request_proto_msgTypes[3] 320 if protoimpl.UnsafeEnabled && x != nil { 321 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 322 if ms.LoadMessageInfo() == nil { 323 ms.StoreMessageInfo(mi) 324 } 325 return ms 326 } 327 return mi.MessageOf(x) 328 } 329 330 // Deprecated: Use DeleteTagRequest.ProtoReflect.Descriptor instead. 331 func (*DeleteTagRequest) Descriptor() ([]byte, []int) { 332 return file_apps_tag_pb_request_proto_rawDescGZIP(), []int{3} 333 } 334 335 func (x *DeleteTagRequest) GetTagId() string { 336 if x != nil { 337 return x.TagId 338 } 339 return "" 340 } 341 342 type DescribeTagRequest struct { 343 state protoimpl.MessageState 344 sizeCache protoimpl.SizeCache 345 unknownFields protoimpl.UnknownFields 346 347 // Tag Value ID 348 // @gotags: json:"tag_id" validate:"lte=200" 349 TagId string `protobuf:"bytes,2,opt,name=tag_id,json=tagId,proto3" json:"tag_id" validate:"lte=200"` 350 } 351 352 func (x *DescribeTagRequest) Reset() { 353 *x = DescribeTagRequest{} 354 if protoimpl.UnsafeEnabled { 355 mi := &file_apps_tag_pb_request_proto_msgTypes[4] 356 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 357 ms.StoreMessageInfo(mi) 358 } 359 } 360 361 func (x *DescribeTagRequest) String() string { 362 return protoimpl.X.MessageStringOf(x) 363 } 364 365 func (*DescribeTagRequest) ProtoMessage() {} 366 367 func (x *DescribeTagRequest) ProtoReflect() protoreflect.Message { 368 mi := &file_apps_tag_pb_request_proto_msgTypes[4] 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 DescribeTagRequest.ProtoReflect.Descriptor instead. 380 func (*DescribeTagRequest) Descriptor() ([]byte, []int) { 381 return file_apps_tag_pb_request_proto_rawDescGZIP(), []int{4} 382 } 383 384 func (x *DescribeTagRequest) GetTagId() string { 385 if x != nil { 386 return x.TagId 387 } 388 return "" 389 } 390 391 // ValueOptions 值描述 392 type ValueOption struct { 393 state protoimpl.MessageState 394 sizeCache protoimpl.SizeCache 395 unknownFields protoimpl.UnknownFields 396 397 // @gotags: bson:"value" json:"value" validate:"lte=200" 398 Value string `protobuf:"bytes,1,opt,name=Value,proto3" json:"value" bson:"value" validate:"lte=200"` 399 // @gotags: bson:"label" json:"label" 400 Label string `protobuf:"bytes,2,opt,name=Label,proto3" json:"label" bson:"label"` 401 // @gotags: bson:"desc" json:"desc" 402 Desc string `protobuf:"bytes,3,opt,name=Desc,proto3" json:"desc" bson:"desc"` 403 } 404 405 func (x *ValueOption) Reset() { 406 *x = ValueOption{} 407 if protoimpl.UnsafeEnabled { 408 mi := &file_apps_tag_pb_request_proto_msgTypes[5] 409 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 410 ms.StoreMessageInfo(mi) 411 } 412 } 413 414 func (x *ValueOption) String() string { 415 return protoimpl.X.MessageStringOf(x) 416 } 417 418 func (*ValueOption) ProtoMessage() {} 419 420 func (x *ValueOption) ProtoReflect() protoreflect.Message { 421 mi := &file_apps_tag_pb_request_proto_msgTypes[5] 422 if protoimpl.UnsafeEnabled && x != nil { 423 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 424 if ms.LoadMessageInfo() == nil { 425 ms.StoreMessageInfo(mi) 426 } 427 return ms 428 } 429 return mi.MessageOf(x) 430 } 431 432 // Deprecated: Use ValueOption.ProtoReflect.Descriptor instead. 433 func (*ValueOption) Descriptor() ([]byte, []int) { 434 return file_apps_tag_pb_request_proto_rawDescGZIP(), []int{5} 435 } 436 437 func (x *ValueOption) GetValue() string { 438 if x != nil { 439 return x.Value 440 } 441 return "" 442 } 443 444 func (x *ValueOption) GetLabel() string { 445 if x != nil { 446 return x.Label 447 } 448 return "" 449 } 450 451 func (x *ValueOption) GetDesc() string { 452 if x != nil { 453 return x.Desc 454 } 455 return "" 456 } 457 458 // HTTPFromOptions todo 459 type HTTPFromOption struct { 460 state protoimpl.MessageState 461 sizeCache protoimpl.SizeCache 462 unknownFields protoimpl.UnknownFields 463 464 // @gotags: bson:"url" json:"url" 465 Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url" bson:"url"` 466 // @gotags: bson:"headers" json:"headers" 467 Headers map[string]string `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" bson:"headers"` 468 // @gotags: bson:"search_key" json:"search_key" 469 SearchKey string `protobuf:"bytes,3,opt,name=search_key,json=searchKey,proto3" json:"search_key" bson:"search_key"` 470 // @gotags: bson:"value_key" json:"value_key" 471 ValueKey string `protobuf:"bytes,4,opt,name=value_key,json=valueKey,proto3" json:"value_key" bson:"value_key"` 472 // @gotags: bson:"label_key" json:"label_key" 473 LabelKey string `protobuf:"bytes,5,opt,name=label_key,json=labelKey,proto3" json:"label_key" bson:"label_key"` 474 // @gotags: bson:"desc_key" json:"desc_key" 475 DescKey string `protobuf:"bytes,6,opt,name=desc_key,json=descKey,proto3" json:"desc_key" bson:"desc_key"` 476 } 477 478 func (x *HTTPFromOption) Reset() { 479 *x = HTTPFromOption{} 480 if protoimpl.UnsafeEnabled { 481 mi := &file_apps_tag_pb_request_proto_msgTypes[6] 482 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 483 ms.StoreMessageInfo(mi) 484 } 485 } 486 487 func (x *HTTPFromOption) String() string { 488 return protoimpl.X.MessageStringOf(x) 489 } 490 491 func (*HTTPFromOption) ProtoMessage() {} 492 493 func (x *HTTPFromOption) ProtoReflect() protoreflect.Message { 494 mi := &file_apps_tag_pb_request_proto_msgTypes[6] 495 if protoimpl.UnsafeEnabled && x != nil { 496 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 497 if ms.LoadMessageInfo() == nil { 498 ms.StoreMessageInfo(mi) 499 } 500 return ms 501 } 502 return mi.MessageOf(x) 503 } 504 505 // Deprecated: Use HTTPFromOption.ProtoReflect.Descriptor instead. 506 func (*HTTPFromOption) Descriptor() ([]byte, []int) { 507 return file_apps_tag_pb_request_proto_rawDescGZIP(), []int{6} 508 } 509 510 func (x *HTTPFromOption) GetUrl() string { 511 if x != nil { 512 return x.Url 513 } 514 return "" 515 } 516 517 func (x *HTTPFromOption) GetHeaders() map[string]string { 518 if x != nil { 519 return x.Headers 520 } 521 return nil 522 } 523 524 func (x *HTTPFromOption) GetSearchKey() string { 525 if x != nil { 526 return x.SearchKey 527 } 528 return "" 529 } 530 531 func (x *HTTPFromOption) GetValueKey() string { 532 if x != nil { 533 return x.ValueKey 534 } 535 return "" 536 } 537 538 func (x *HTTPFromOption) GetLabelKey() string { 539 if x != nil { 540 return x.LabelKey 541 } 542 return "" 543 } 544 545 func (x *HTTPFromOption) GetDescKey() string { 546 if x != nil { 547 return x.DescKey 548 } 549 return "" 550 } 551 552 var File_apps_tag_pb_request_proto protoreflect.FileDescriptor 553 554 var file_apps_tag_pb_request_proto_rawDesc = []byte{ 555 0x0a, 0x19, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x74, 0x61, 0x67, 0x2f, 0x70, 0x62, 0x2f, 0x72, 0x65, 556 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x69, 0x6e, 0x66, 557 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x75, 0x74, 0x68, 0x2e, 558 0x74, 0x61, 0x67, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 559 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2f, 0x6d, 0x63, 0x75, 0x62, 0x65, 560 0x2f, 0x70, 0x62, 0x2f, 0x70, 0x61, 0x67, 0x65, 0x2f, 0x70, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 561 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x74, 0x61, 0x67, 0x2f, 0x70, 0x62, 562 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc8, 0x03, 0x0a, 0x10, 563 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 564 0x12, 0x40, 0x0a, 0x0a, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 565 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 566 0x64, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x53, 0x63, 567 0x6f, 0x70, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x54, 0x79, 568 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 569 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 570 0x12, 0x19, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 571 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6b, 572 0x65, 0x79, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 573 0x6b, 0x65, 0x79, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x19, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x5f, 574 0x64, 0x65, 0x73, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x44, 575 0x65, 0x73, 0x63, 0x12, 0x40, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x66, 0x72, 0x6f, 576 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 577 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x74, 0x61, 0x67, 578 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x75, 579 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x50, 0x0a, 0x10, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x66, 0x72, 580 0x6f, 0x6d, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 581 0x26, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x6b, 0x65, 0x79, 582 0x61, 0x75, 0x74, 0x68, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x48, 0x54, 0x54, 0x50, 0x46, 0x72, 0x6f, 583 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x68, 0x74, 0x74, 0x70, 0x46, 0x72, 0x6f, 584 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 585 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 586 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x74, 0x61, 0x67, 587 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x76, 0x61, 588 0x6c, 0x75, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x09, 589 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x18, 0x0a, 0x07, 590 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 591 0x72, 0x65, 0x61, 0x74, 0x65, 0x72, 0x22, 0xaa, 0x01, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 592 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 593 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x69, 0x6e, 594 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x6d, 0x63, 0x75, 0x62, 0x65, 0x2e, 0x70, 595 0x61, 0x67, 0x65, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 596 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x40, 0x0a, 0x0a, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x5f, 0x74, 597 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x69, 0x6e, 0x66, 0x72, 598 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x74, 599 0x61, 0x67, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x73, 0x63, 600 0x6f, 0x70, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x77, 0x6f, 601 0x72, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x77, 0x6f, 602 0x72, 0x64, 0x73, 0x22, 0x65, 0x0a, 0x14, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x61, 0x67, 0x56, 603 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x04, 0x70, 604 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x69, 0x6e, 0x66, 0x72, 605 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x6d, 0x63, 0x75, 0x62, 0x65, 0x2e, 0x70, 0x61, 0x67, 606 0x65, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x70, 607 0x61, 0x67, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x74, 0x61, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 608 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x67, 0x49, 0x64, 0x22, 0x29, 0x0a, 0x10, 0x44, 0x65, 609 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 610 0x0a, 0x06, 0x74, 0x61, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 611 0x74, 0x61, 0x67, 0x49, 0x64, 0x22, 0x2b, 0x0a, 0x12, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 612 0x65, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x74, 613 0x61, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x67, 614 0x49, 0x64, 0x22, 0x4d, 0x0a, 0x0b, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 615 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 616 0x52, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x4c, 0x61, 0x62, 0x65, 0x6c, 617 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x12, 0x0a, 618 0x04, 0x44, 0x65, 0x73, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x44, 0x65, 0x73, 619 0x63, 0x22, 0xa1, 0x02, 0x0a, 0x0e, 0x48, 0x54, 0x54, 0x50, 0x46, 0x72, 0x6f, 0x6d, 0x4f, 0x70, 620 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 621 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x4d, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 622 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 623 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x74, 0x61, 0x67, 624 0x2e, 0x48, 0x54, 0x54, 0x50, 0x46, 0x72, 0x6f, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 625 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 626 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 627 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x61, 0x72, 0x63, 628 0x68, 0x4b, 0x65, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6b, 0x65, 629 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x4b, 0x65, 630 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x05, 631 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x4b, 0x65, 0x79, 0x12, 0x19, 632 0x0a, 0x08, 0x64, 0x65, 0x73, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 633 0x52, 0x07, 0x64, 0x65, 0x73, 0x63, 0x4b, 0x65, 0x79, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x61, 634 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 635 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 636 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 637 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x28, 0x5a, 0x26, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 638 0x63, 0x6f, 0x6d, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2f, 0x6b, 639 0x65, 0x79, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x74, 0x61, 0x67, 0x62, 640 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 641 } 642 643 var ( 644 file_apps_tag_pb_request_proto_rawDescOnce sync.Once 645 file_apps_tag_pb_request_proto_rawDescData = file_apps_tag_pb_request_proto_rawDesc 646 ) 647 648 func file_apps_tag_pb_request_proto_rawDescGZIP() []byte { 649 file_apps_tag_pb_request_proto_rawDescOnce.Do(func() { 650 file_apps_tag_pb_request_proto_rawDescData = protoimpl.X.CompressGZIP(file_apps_tag_pb_request_proto_rawDescData) 651 }) 652 return file_apps_tag_pb_request_proto_rawDescData 653 } 654 655 var file_apps_tag_pb_request_proto_msgTypes = make([]protoimpl.MessageInfo, 8) 656 var file_apps_tag_pb_request_proto_goTypes = []interface{}{ 657 (*CreateTagRequest)(nil), // 0: infraboard.keyauth.tag.CreateTagRequest 658 (*QueryTagKeyRequest)(nil), // 1: infraboard.keyauth.tag.QueryTagKeyRequest 659 (*QueryTagValueRequest)(nil), // 2: infraboard.keyauth.tag.QueryTagValueRequest 660 (*DeleteTagRequest)(nil), // 3: infraboard.keyauth.tag.DeleteTagRequest 661 (*DescribeTagRequest)(nil), // 4: infraboard.keyauth.tag.DescribeTagRequest 662 (*ValueOption)(nil), // 5: infraboard.keyauth.tag.ValueOption 663 (*HTTPFromOption)(nil), // 6: infraboard.keyauth.tag.HTTPFromOption 664 nil, // 7: infraboard.keyauth.tag.HTTPFromOption.HeadersEntry 665 (ScopeType)(0), // 8: infraboard.keyauth.tag.ScopeType 666 (ValueFrom)(0), // 9: infraboard.keyauth.tag.ValueFrom 667 (*request.PageRequest)(nil), // 10: infraboard.mcube.page.PageRequest 668 } 669 var file_apps_tag_pb_request_proto_depIdxs = []int32{ 670 8, // 0: infraboard.keyauth.tag.CreateTagRequest.scope_type:type_name -> infraboard.keyauth.tag.ScopeType 671 9, // 1: infraboard.keyauth.tag.CreateTagRequest.value_from:type_name -> infraboard.keyauth.tag.ValueFrom 672 6, // 2: infraboard.keyauth.tag.CreateTagRequest.http_from_option:type_name -> infraboard.keyauth.tag.HTTPFromOption 673 5, // 3: infraboard.keyauth.tag.CreateTagRequest.values:type_name -> infraboard.keyauth.tag.ValueOption 674 10, // 4: infraboard.keyauth.tag.QueryTagKeyRequest.page:type_name -> infraboard.mcube.page.PageRequest 675 8, // 5: infraboard.keyauth.tag.QueryTagKeyRequest.scope_type:type_name -> infraboard.keyauth.tag.ScopeType 676 10, // 6: infraboard.keyauth.tag.QueryTagValueRequest.page:type_name -> infraboard.mcube.page.PageRequest 677 7, // 7: infraboard.keyauth.tag.HTTPFromOption.headers:type_name -> infraboard.keyauth.tag.HTTPFromOption.HeadersEntry 678 8, // [8:8] is the sub-list for method output_type 679 8, // [8:8] is the sub-list for method input_type 680 8, // [8:8] is the sub-list for extension type_name 681 8, // [8:8] is the sub-list for extension extendee 682 0, // [0:8] is the sub-list for field type_name 683 } 684 685 func init() { file_apps_tag_pb_request_proto_init() } 686 func file_apps_tag_pb_request_proto_init() { 687 if File_apps_tag_pb_request_proto != nil { 688 return 689 } 690 file_apps_tag_pb_enum_proto_init() 691 if !protoimpl.UnsafeEnabled { 692 file_apps_tag_pb_request_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 693 switch v := v.(*CreateTagRequest); i { 694 case 0: 695 return &v.state 696 case 1: 697 return &v.sizeCache 698 case 2: 699 return &v.unknownFields 700 default: 701 return nil 702 } 703 } 704 file_apps_tag_pb_request_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 705 switch v := v.(*QueryTagKeyRequest); i { 706 case 0: 707 return &v.state 708 case 1: 709 return &v.sizeCache 710 case 2: 711 return &v.unknownFields 712 default: 713 return nil 714 } 715 } 716 file_apps_tag_pb_request_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 717 switch v := v.(*QueryTagValueRequest); i { 718 case 0: 719 return &v.state 720 case 1: 721 return &v.sizeCache 722 case 2: 723 return &v.unknownFields 724 default: 725 return nil 726 } 727 } 728 file_apps_tag_pb_request_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 729 switch v := v.(*DeleteTagRequest); i { 730 case 0: 731 return &v.state 732 case 1: 733 return &v.sizeCache 734 case 2: 735 return &v.unknownFields 736 default: 737 return nil 738 } 739 } 740 file_apps_tag_pb_request_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 741 switch v := v.(*DescribeTagRequest); i { 742 case 0: 743 return &v.state 744 case 1: 745 return &v.sizeCache 746 case 2: 747 return &v.unknownFields 748 default: 749 return nil 750 } 751 } 752 file_apps_tag_pb_request_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 753 switch v := v.(*ValueOption); i { 754 case 0: 755 return &v.state 756 case 1: 757 return &v.sizeCache 758 case 2: 759 return &v.unknownFields 760 default: 761 return nil 762 } 763 } 764 file_apps_tag_pb_request_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 765 switch v := v.(*HTTPFromOption); i { 766 case 0: 767 return &v.state 768 case 1: 769 return &v.sizeCache 770 case 2: 771 return &v.unknownFields 772 default: 773 return nil 774 } 775 } 776 } 777 type x struct{} 778 out := protoimpl.TypeBuilder{ 779 File: protoimpl.DescBuilder{ 780 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 781 RawDescriptor: file_apps_tag_pb_request_proto_rawDesc, 782 NumEnums: 0, 783 NumMessages: 8, 784 NumExtensions: 0, 785 NumServices: 0, 786 }, 787 GoTypes: file_apps_tag_pb_request_proto_goTypes, 788 DependencyIndexes: file_apps_tag_pb_request_proto_depIdxs, 789 MessageInfos: file_apps_tag_pb_request_proto_msgTypes, 790 }.Build() 791 File_apps_tag_pb_request_proto = out.File 792 file_apps_tag_pb_request_proto_rawDesc = nil 793 file_apps_tag_pb_request_proto_goTypes = nil 794 file_apps_tag_pb_request_proto_depIdxs = nil 795 }