github.com/infraboard/keyauth@v0.8.1/apps/tag/tag.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/tag.proto 6 7 package tag 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 // Tag is 标签 24 type TagKey struct { 25 state protoimpl.MessageState 26 sizeCache protoimpl.SizeCache 27 unknownFields protoimpl.UnknownFields 28 29 // Tag ID 30 // @gotags: bson:"_id" json:"id" 31 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` 32 // 创建时间 33 // @gotags: bson:"create_at" json:"create_at" 34 CreateAt int64 `protobuf:"varint,2,opt,name=create_at,json=createAt,proto3" json:"create_at" bson:"create_at"` 35 // 更新时间 36 // @gotags: bson:"update_at" json:"update_at" 37 UpdateAt int64 `protobuf:"varint,3,opt,name=update_at,json=updateAt,proto3" json:"update_at" bson:"update_at"` 38 // Tag所属的域 39 // @gotags: bson:"domain" json:"domain" 40 Domain string `protobuf:"bytes,4,opt,name=domain,proto3" json:"domain" bson:"domain"` 41 // 创建人 42 // @gotags: bson:"creater" json:"creater" 43 Creater string `protobuf:"bytes,5,opt,name=creater,proto3" json:"creater" bson:"creater"` 44 // tag生效范围 45 // @gotags: bson:"scope_type" json:"scope_type" 46 ScopeType ScopeType `protobuf:"varint,6,opt,name=scope_type,json=scopeType,proto3,enum=infraboard.keyauth.tag.ScopeType" json:"scope_type" bson:"scope_type"` 47 // tag属于哪个namespace 48 // @gotags: bson:"namespace" json:"namespace" 49 Namespace string `protobuf:"bytes,7,opt,name=namespace,proto3" json:"namespace" bson:"namespace"` 50 // 建名称 51 // @gotags: bson:"key_name" json:"key_name" 52 KeyName string `protobuf:"bytes,8,opt,name=key_name,json=keyName,proto3" json:"key_name" bson:"key_name"` 53 // 建标识 54 // @gotags: bson:"key_label" json:"key_label" 55 KeyLabel string `protobuf:"bytes,9,opt,name=key_label,json=keyLabel,proto3" json:"key_label" bson:"key_label"` 56 // 建描述 57 // @gotags: bson:"key_desc" json:"key_desc" 58 KeyDesc string `protobuf:"bytes,10,opt,name=key_desc,json=keyDesc,proto3" json:"key_desc" bson:"key_desc"` 59 // 值来源 60 // @gotags: bson:"value_from" json:"value_from" 61 ValueFrom ValueFrom `protobuf:"varint,11,opt,name=value_from,json=valueFrom,proto3,enum=infraboard.keyauth.tag.ValueFrom" json:"value_from" bson:"value_from"` 62 // http 获取Tag 值的参数 63 // @gotags: bson:"http_from_option" json:"http_from_option,omitempty" 64 HttpFromOption *HTTPFromOption `protobuf:"bytes,12,opt,name=http_from_option,json=httpFromOption,proto3" json:"http_from_option,omitempty" bson:"http_from_option"` 65 // @gotags: bson:"-" json:"values,omitempty" 66 Values []*TagValue `protobuf:"bytes,13,rep,name=values,proto3" json:"values,omitempty" bson:"-"` 67 } 68 69 func (x *TagKey) Reset() { 70 *x = TagKey{} 71 if protoimpl.UnsafeEnabled { 72 mi := &file_apps_tag_pb_tag_proto_msgTypes[0] 73 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 74 ms.StoreMessageInfo(mi) 75 } 76 } 77 78 func (x *TagKey) String() string { 79 return protoimpl.X.MessageStringOf(x) 80 } 81 82 func (*TagKey) ProtoMessage() {} 83 84 func (x *TagKey) ProtoReflect() protoreflect.Message { 85 mi := &file_apps_tag_pb_tag_proto_msgTypes[0] 86 if protoimpl.UnsafeEnabled && x != nil { 87 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 88 if ms.LoadMessageInfo() == nil { 89 ms.StoreMessageInfo(mi) 90 } 91 return ms 92 } 93 return mi.MessageOf(x) 94 } 95 96 // Deprecated: Use TagKey.ProtoReflect.Descriptor instead. 97 func (*TagKey) Descriptor() ([]byte, []int) { 98 return file_apps_tag_pb_tag_proto_rawDescGZIP(), []int{0} 99 } 100 101 func (x *TagKey) GetId() string { 102 if x != nil { 103 return x.Id 104 } 105 return "" 106 } 107 108 func (x *TagKey) GetCreateAt() int64 { 109 if x != nil { 110 return x.CreateAt 111 } 112 return 0 113 } 114 115 func (x *TagKey) GetUpdateAt() int64 { 116 if x != nil { 117 return x.UpdateAt 118 } 119 return 0 120 } 121 122 func (x *TagKey) GetDomain() string { 123 if x != nil { 124 return x.Domain 125 } 126 return "" 127 } 128 129 func (x *TagKey) GetCreater() string { 130 if x != nil { 131 return x.Creater 132 } 133 return "" 134 } 135 136 func (x *TagKey) GetScopeType() ScopeType { 137 if x != nil { 138 return x.ScopeType 139 } 140 return ScopeType_NAMESPACE 141 } 142 143 func (x *TagKey) GetNamespace() string { 144 if x != nil { 145 return x.Namespace 146 } 147 return "" 148 } 149 150 func (x *TagKey) GetKeyName() string { 151 if x != nil { 152 return x.KeyName 153 } 154 return "" 155 } 156 157 func (x *TagKey) GetKeyLabel() string { 158 if x != nil { 159 return x.KeyLabel 160 } 161 return "" 162 } 163 164 func (x *TagKey) GetKeyDesc() string { 165 if x != nil { 166 return x.KeyDesc 167 } 168 return "" 169 } 170 171 func (x *TagKey) GetValueFrom() ValueFrom { 172 if x != nil { 173 return x.ValueFrom 174 } 175 return ValueFrom_MANUAL 176 } 177 178 func (x *TagKey) GetHttpFromOption() *HTTPFromOption { 179 if x != nil { 180 return x.HttpFromOption 181 } 182 return nil 183 } 184 185 func (x *TagKey) GetValues() []*TagValue { 186 if x != nil { 187 return x.Values 188 } 189 return nil 190 } 191 192 type TagValue struct { 193 state protoimpl.MessageState 194 sizeCache protoimpl.SizeCache 195 unknownFields protoimpl.UnknownFields 196 197 // Tag Value ID 198 // @gotags: bson:"_id" json:"id" 199 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` 200 // 创建时间 201 // @gotags: bson:"create_at" json:"create_at" 202 CreateAt int64 `protobuf:"varint,2,opt,name=create_at,json=createAt,proto3" json:"create_at" bson:"create_at"` 203 // 更新时间 204 // @gotags: bson:"update_at" json:"update_at" 205 UpdateAt int64 `protobuf:"varint,3,opt,name=update_at,json=updateAt,proto3" json:"update_at" bson:"update_at"` 206 // 创建人 207 // @gotags: bson:"creater" json:"creater" 208 Creater string `protobuf:"bytes,4,opt,name=creater,proto3" json:"creater" bson:"creater"` 209 // 关联的Tag key 210 // @gotags: bson:"key_id" json:"key_id" 211 KeyId string `protobuf:"bytes,5,opt,name=key_id,json=keyId,proto3" json:"key_id" bson:"key_id"` 212 // String 类型的值 213 // @gotags: bson:"value" json:"value" 214 Value *ValueOption `protobuf:"bytes,6,opt,name=value,proto3" json:"value" bson:"value"` 215 } 216 217 func (x *TagValue) Reset() { 218 *x = TagValue{} 219 if protoimpl.UnsafeEnabled { 220 mi := &file_apps_tag_pb_tag_proto_msgTypes[1] 221 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 222 ms.StoreMessageInfo(mi) 223 } 224 } 225 226 func (x *TagValue) String() string { 227 return protoimpl.X.MessageStringOf(x) 228 } 229 230 func (*TagValue) ProtoMessage() {} 231 232 func (x *TagValue) ProtoReflect() protoreflect.Message { 233 mi := &file_apps_tag_pb_tag_proto_msgTypes[1] 234 if protoimpl.UnsafeEnabled && x != nil { 235 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 236 if ms.LoadMessageInfo() == nil { 237 ms.StoreMessageInfo(mi) 238 } 239 return ms 240 } 241 return mi.MessageOf(x) 242 } 243 244 // Deprecated: Use TagValue.ProtoReflect.Descriptor instead. 245 func (*TagValue) Descriptor() ([]byte, []int) { 246 return file_apps_tag_pb_tag_proto_rawDescGZIP(), []int{1} 247 } 248 249 func (x *TagValue) GetId() string { 250 if x != nil { 251 return x.Id 252 } 253 return "" 254 } 255 256 func (x *TagValue) GetCreateAt() int64 { 257 if x != nil { 258 return x.CreateAt 259 } 260 return 0 261 } 262 263 func (x *TagValue) GetUpdateAt() int64 { 264 if x != nil { 265 return x.UpdateAt 266 } 267 return 0 268 } 269 270 func (x *TagValue) GetCreater() string { 271 if x != nil { 272 return x.Creater 273 } 274 return "" 275 } 276 277 func (x *TagValue) GetKeyId() string { 278 if x != nil { 279 return x.KeyId 280 } 281 return "" 282 } 283 284 func (x *TagValue) GetValue() *ValueOption { 285 if x != nil { 286 return x.Value 287 } 288 return nil 289 } 290 291 type TagKeySet struct { 292 state protoimpl.MessageState 293 sizeCache protoimpl.SizeCache 294 unknownFields protoimpl.UnknownFields 295 296 // @gotags: bson:"total" json:"total" 297 Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total" bson:"total"` 298 // @gotags: bson:"items" json:"items" 299 Items []*TagKey `protobuf:"bytes,2,rep,name=items,proto3" json:"items" bson:"items"` 300 } 301 302 func (x *TagKeySet) Reset() { 303 *x = TagKeySet{} 304 if protoimpl.UnsafeEnabled { 305 mi := &file_apps_tag_pb_tag_proto_msgTypes[2] 306 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 307 ms.StoreMessageInfo(mi) 308 } 309 } 310 311 func (x *TagKeySet) String() string { 312 return protoimpl.X.MessageStringOf(x) 313 } 314 315 func (*TagKeySet) ProtoMessage() {} 316 317 func (x *TagKeySet) ProtoReflect() protoreflect.Message { 318 mi := &file_apps_tag_pb_tag_proto_msgTypes[2] 319 if protoimpl.UnsafeEnabled && x != nil { 320 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 321 if ms.LoadMessageInfo() == nil { 322 ms.StoreMessageInfo(mi) 323 } 324 return ms 325 } 326 return mi.MessageOf(x) 327 } 328 329 // Deprecated: Use TagKeySet.ProtoReflect.Descriptor instead. 330 func (*TagKeySet) Descriptor() ([]byte, []int) { 331 return file_apps_tag_pb_tag_proto_rawDescGZIP(), []int{2} 332 } 333 334 func (x *TagKeySet) GetTotal() int64 { 335 if x != nil { 336 return x.Total 337 } 338 return 0 339 } 340 341 func (x *TagKeySet) GetItems() []*TagKey { 342 if x != nil { 343 return x.Items 344 } 345 return nil 346 } 347 348 type TagValueSet struct { 349 state protoimpl.MessageState 350 sizeCache protoimpl.SizeCache 351 unknownFields protoimpl.UnknownFields 352 353 // @gotags: bson:"total" json:"total" 354 Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total" bson:"total"` 355 // @gotags: bson:"items" json:"items" 356 Items []*TagValue `protobuf:"bytes,2,rep,name=items,proto3" json:"items" bson:"items"` 357 } 358 359 func (x *TagValueSet) Reset() { 360 *x = TagValueSet{} 361 if protoimpl.UnsafeEnabled { 362 mi := &file_apps_tag_pb_tag_proto_msgTypes[3] 363 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 364 ms.StoreMessageInfo(mi) 365 } 366 } 367 368 func (x *TagValueSet) String() string { 369 return protoimpl.X.MessageStringOf(x) 370 } 371 372 func (*TagValueSet) ProtoMessage() {} 373 374 func (x *TagValueSet) ProtoReflect() protoreflect.Message { 375 mi := &file_apps_tag_pb_tag_proto_msgTypes[3] 376 if protoimpl.UnsafeEnabled && x != nil { 377 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 378 if ms.LoadMessageInfo() == nil { 379 ms.StoreMessageInfo(mi) 380 } 381 return ms 382 } 383 return mi.MessageOf(x) 384 } 385 386 // Deprecated: Use TagValueSet.ProtoReflect.Descriptor instead. 387 func (*TagValueSet) Descriptor() ([]byte, []int) { 388 return file_apps_tag_pb_tag_proto_rawDescGZIP(), []int{3} 389 } 390 391 func (x *TagValueSet) GetTotal() int64 { 392 if x != nil { 393 return x.Total 394 } 395 return 0 396 } 397 398 func (x *TagValueSet) GetItems() []*TagValue { 399 if x != nil { 400 return x.Items 401 } 402 return nil 403 } 404 405 var File_apps_tag_pb_tag_proto protoreflect.FileDescriptor 406 407 var file_apps_tag_pb_tag_proto_rawDesc = []byte{ 408 0x0a, 0x15, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x74, 0x61, 0x67, 0x2f, 0x70, 0x62, 0x2f, 0x74, 0x61, 409 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 410 0x61, 0x72, 0x64, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x74, 0x61, 0x67, 0x1a, 411 0x16, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x74, 0x61, 0x67, 0x2f, 0x70, 0x62, 0x2f, 0x65, 0x6e, 0x75, 412 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x74, 0x61, 413 0x67, 0x2f, 0x70, 0x62, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 414 0x74, 0x6f, 0x22, 0x85, 0x04, 0x0a, 0x06, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x12, 0x0e, 0x0a, 415 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 416 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 417 0x52, 0x08, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x70, 418 0x64, 0x61, 0x74, 0x65, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x75, 419 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 420 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 421 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 422 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x72, 0x12, 0x40, 0x0a, 0x0a, 0x73, 0x63, 0x6f, 423 0x70, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 424 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x75, 425 0x74, 0x68, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x54, 0x79, 0x70, 0x65, 426 0x52, 0x09, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 427 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 428 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6b, 0x65, 0x79, 429 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 430 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, 0x6c, 0x61, 0x62, 0x65, 431 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x4c, 0x61, 0x62, 0x65, 432 0x6c, 0x12, 0x19, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x18, 0x0a, 0x20, 433 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x44, 0x65, 0x73, 0x63, 0x12, 0x40, 0x0a, 0x0a, 434 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 435 0x32, 0x21, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x6b, 0x65, 436 0x79, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x46, 437 0x72, 0x6f, 0x6d, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x50, 438 0x0a, 0x10, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x6f, 0x70, 0x74, 0x69, 439 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 440 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x74, 0x61, 441 0x67, 0x2e, 0x48, 0x54, 0x54, 0x50, 0x46, 0x72, 0x6f, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 442 0x52, 0x0e, 0x68, 0x74, 0x74, 0x70, 0x46, 0x72, 0x6f, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 443 0x12, 0x38, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 444 0x32, 0x20, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x6b, 0x65, 445 0x79, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x54, 0x61, 0x67, 0x56, 0x61, 0x6c, 446 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0xc0, 0x01, 0x0a, 0x08, 0x54, 447 0x61, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 448 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 449 0x65, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x63, 0x72, 0x65, 0x61, 450 0x74, 0x65, 0x41, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x61, 451 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 452 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 453 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x72, 0x12, 0x15, 0x0a, 0x06, 0x6b, 454 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6b, 0x65, 0x79, 455 0x49, 0x64, 0x12, 0x39, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 456 0x0b, 0x32, 0x23, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x6b, 457 0x65, 0x79, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 458 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x57, 0x0a, 459 0x09, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x53, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 460 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 461 0x12, 0x34, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 462 0x1e, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x6b, 0x65, 0x79, 463 0x61, 0x75, 0x74, 0x68, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x52, 464 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x5b, 0x0a, 0x0b, 0x54, 0x61, 0x67, 0x56, 0x61, 0x6c, 465 0x75, 0x65, 0x53, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 466 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x36, 0x0a, 0x05, 0x69, 467 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x69, 0x6e, 0x66, 468 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x75, 0x74, 0x68, 0x2e, 469 0x74, 0x61, 0x67, 0x2e, 0x54, 0x61, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x69, 0x74, 470 0x65, 0x6d, 0x73, 0x42, 0x28, 0x5a, 0x26, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 471 0x6d, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2f, 0x6b, 0x65, 0x79, 472 0x61, 0x75, 0x74, 0x68, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x74, 0x61, 0x67, 0x62, 0x06, 0x70, 473 0x72, 0x6f, 0x74, 0x6f, 0x33, 474 } 475 476 var ( 477 file_apps_tag_pb_tag_proto_rawDescOnce sync.Once 478 file_apps_tag_pb_tag_proto_rawDescData = file_apps_tag_pb_tag_proto_rawDesc 479 ) 480 481 func file_apps_tag_pb_tag_proto_rawDescGZIP() []byte { 482 file_apps_tag_pb_tag_proto_rawDescOnce.Do(func() { 483 file_apps_tag_pb_tag_proto_rawDescData = protoimpl.X.CompressGZIP(file_apps_tag_pb_tag_proto_rawDescData) 484 }) 485 return file_apps_tag_pb_tag_proto_rawDescData 486 } 487 488 var file_apps_tag_pb_tag_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 489 var file_apps_tag_pb_tag_proto_goTypes = []interface{}{ 490 (*TagKey)(nil), // 0: infraboard.keyauth.tag.TagKey 491 (*TagValue)(nil), // 1: infraboard.keyauth.tag.TagValue 492 (*TagKeySet)(nil), // 2: infraboard.keyauth.tag.TagKeySet 493 (*TagValueSet)(nil), // 3: infraboard.keyauth.tag.TagValueSet 494 (ScopeType)(0), // 4: infraboard.keyauth.tag.ScopeType 495 (ValueFrom)(0), // 5: infraboard.keyauth.tag.ValueFrom 496 (*HTTPFromOption)(nil), // 6: infraboard.keyauth.tag.HTTPFromOption 497 (*ValueOption)(nil), // 7: infraboard.keyauth.tag.ValueOption 498 } 499 var file_apps_tag_pb_tag_proto_depIdxs = []int32{ 500 4, // 0: infraboard.keyauth.tag.TagKey.scope_type:type_name -> infraboard.keyauth.tag.ScopeType 501 5, // 1: infraboard.keyauth.tag.TagKey.value_from:type_name -> infraboard.keyauth.tag.ValueFrom 502 6, // 2: infraboard.keyauth.tag.TagKey.http_from_option:type_name -> infraboard.keyauth.tag.HTTPFromOption 503 1, // 3: infraboard.keyauth.tag.TagKey.values:type_name -> infraboard.keyauth.tag.TagValue 504 7, // 4: infraboard.keyauth.tag.TagValue.value:type_name -> infraboard.keyauth.tag.ValueOption 505 0, // 5: infraboard.keyauth.tag.TagKeySet.items:type_name -> infraboard.keyauth.tag.TagKey 506 1, // 6: infraboard.keyauth.tag.TagValueSet.items:type_name -> infraboard.keyauth.tag.TagValue 507 7, // [7:7] is the sub-list for method output_type 508 7, // [7:7] is the sub-list for method input_type 509 7, // [7:7] is the sub-list for extension type_name 510 7, // [7:7] is the sub-list for extension extendee 511 0, // [0:7] is the sub-list for field type_name 512 } 513 514 func init() { file_apps_tag_pb_tag_proto_init() } 515 func file_apps_tag_pb_tag_proto_init() { 516 if File_apps_tag_pb_tag_proto != nil { 517 return 518 } 519 file_apps_tag_pb_enum_proto_init() 520 file_apps_tag_pb_request_proto_init() 521 if !protoimpl.UnsafeEnabled { 522 file_apps_tag_pb_tag_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 523 switch v := v.(*TagKey); i { 524 case 0: 525 return &v.state 526 case 1: 527 return &v.sizeCache 528 case 2: 529 return &v.unknownFields 530 default: 531 return nil 532 } 533 } 534 file_apps_tag_pb_tag_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 535 switch v := v.(*TagValue); i { 536 case 0: 537 return &v.state 538 case 1: 539 return &v.sizeCache 540 case 2: 541 return &v.unknownFields 542 default: 543 return nil 544 } 545 } 546 file_apps_tag_pb_tag_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 547 switch v := v.(*TagKeySet); i { 548 case 0: 549 return &v.state 550 case 1: 551 return &v.sizeCache 552 case 2: 553 return &v.unknownFields 554 default: 555 return nil 556 } 557 } 558 file_apps_tag_pb_tag_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 559 switch v := v.(*TagValueSet); i { 560 case 0: 561 return &v.state 562 case 1: 563 return &v.sizeCache 564 case 2: 565 return &v.unknownFields 566 default: 567 return nil 568 } 569 } 570 } 571 type x struct{} 572 out := protoimpl.TypeBuilder{ 573 File: protoimpl.DescBuilder{ 574 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 575 RawDescriptor: file_apps_tag_pb_tag_proto_rawDesc, 576 NumEnums: 0, 577 NumMessages: 4, 578 NumExtensions: 0, 579 NumServices: 0, 580 }, 581 GoTypes: file_apps_tag_pb_tag_proto_goTypes, 582 DependencyIndexes: file_apps_tag_pb_tag_proto_depIdxs, 583 MessageInfos: file_apps_tag_pb_tag_proto_msgTypes, 584 }.Build() 585 File_apps_tag_pb_tag_proto = out.File 586 file_apps_tag_pb_tag_proto_rawDesc = nil 587 file_apps_tag_pb_tag_proto_goTypes = nil 588 file_apps_tag_pb_tag_proto_depIdxs = nil 589 }