github.com/infraboard/keyauth@v0.8.1/apps/endpoint/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/endpoint/pb/request.proto 6 7 package endpoint 8 9 import ( 10 request "github.com/infraboard/mcube/http/request" 11 http "github.com/infraboard/mcube/pb/http" 12 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 13 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 14 reflect "reflect" 15 sync "sync" 16 ) 17 18 const ( 19 // Verify that this generated code is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 21 // Verify that runtime/protoimpl is sufficiently up-to-date. 22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 23 ) 24 25 // RegistryRequest 服务注册请求 26 type RegistryRequest struct { 27 state protoimpl.MessageState 28 sizeCache protoimpl.SizeCache 29 unknownFields protoimpl.UnknownFields 30 31 // @gotags: json:"client_id" validate:"required" 32 ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id" validate:"required"` 33 // @gotags: json:"client_secret" validate:"required" 34 ClientSecret string `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret" validate:"required"` 35 // @gotags: json:"version" validate:"required,lte=32" 36 Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version" validate:"required,lte=32"` 37 // @gotags: json:"entries" 38 Entries []*http.Entry `protobuf:"bytes,4,rep,name=entries,proto3" json:"entries"` 39 } 40 41 func (x *RegistryRequest) Reset() { 42 *x = RegistryRequest{} 43 if protoimpl.UnsafeEnabled { 44 mi := &file_apps_endpoint_pb_request_proto_msgTypes[0] 45 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 46 ms.StoreMessageInfo(mi) 47 } 48 } 49 50 func (x *RegistryRequest) String() string { 51 return protoimpl.X.MessageStringOf(x) 52 } 53 54 func (*RegistryRequest) ProtoMessage() {} 55 56 func (x *RegistryRequest) ProtoReflect() protoreflect.Message { 57 mi := &file_apps_endpoint_pb_request_proto_msgTypes[0] 58 if protoimpl.UnsafeEnabled && x != nil { 59 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 60 if ms.LoadMessageInfo() == nil { 61 ms.StoreMessageInfo(mi) 62 } 63 return ms 64 } 65 return mi.MessageOf(x) 66 } 67 68 // Deprecated: Use RegistryRequest.ProtoReflect.Descriptor instead. 69 func (*RegistryRequest) Descriptor() ([]byte, []int) { 70 return file_apps_endpoint_pb_request_proto_rawDescGZIP(), []int{0} 71 } 72 73 func (x *RegistryRequest) GetClientId() string { 74 if x != nil { 75 return x.ClientId 76 } 77 return "" 78 } 79 80 func (x *RegistryRequest) GetClientSecret() string { 81 if x != nil { 82 return x.ClientSecret 83 } 84 return "" 85 } 86 87 func (x *RegistryRequest) GetVersion() string { 88 if x != nil { 89 return x.Version 90 } 91 return "" 92 } 93 94 func (x *RegistryRequest) GetEntries() []*http.Entry { 95 if x != nil { 96 return x.Entries 97 } 98 return nil 99 } 100 101 // RegistryReponse todo 102 type RegistryResponse struct { 103 state protoimpl.MessageState 104 sizeCache protoimpl.SizeCache 105 unknownFields protoimpl.UnknownFields 106 107 // @gotags: json:"message" 108 Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message"` 109 } 110 111 func (x *RegistryResponse) Reset() { 112 *x = RegistryResponse{} 113 if protoimpl.UnsafeEnabled { 114 mi := &file_apps_endpoint_pb_request_proto_msgTypes[1] 115 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 116 ms.StoreMessageInfo(mi) 117 } 118 } 119 120 func (x *RegistryResponse) String() string { 121 return protoimpl.X.MessageStringOf(x) 122 } 123 124 func (*RegistryResponse) ProtoMessage() {} 125 126 func (x *RegistryResponse) ProtoReflect() protoreflect.Message { 127 mi := &file_apps_endpoint_pb_request_proto_msgTypes[1] 128 if protoimpl.UnsafeEnabled && x != nil { 129 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 130 if ms.LoadMessageInfo() == nil { 131 ms.StoreMessageInfo(mi) 132 } 133 return ms 134 } 135 return mi.MessageOf(x) 136 } 137 138 // Deprecated: Use RegistryResponse.ProtoReflect.Descriptor instead. 139 func (*RegistryResponse) Descriptor() ([]byte, []int) { 140 return file_apps_endpoint_pb_request_proto_rawDescGZIP(), []int{1} 141 } 142 143 func (x *RegistryResponse) GetMessage() string { 144 if x != nil { 145 return x.Message 146 } 147 return "" 148 } 149 150 // DescribeEndpointRequest todo 151 type DescribeEndpointRequest struct { 152 state protoimpl.MessageState 153 sizeCache protoimpl.SizeCache 154 unknownFields protoimpl.UnknownFields 155 156 // @gotags: json:"id" 157 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` 158 } 159 160 func (x *DescribeEndpointRequest) Reset() { 161 *x = DescribeEndpointRequest{} 162 if protoimpl.UnsafeEnabled { 163 mi := &file_apps_endpoint_pb_request_proto_msgTypes[2] 164 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 165 ms.StoreMessageInfo(mi) 166 } 167 } 168 169 func (x *DescribeEndpointRequest) String() string { 170 return protoimpl.X.MessageStringOf(x) 171 } 172 173 func (*DescribeEndpointRequest) ProtoMessage() {} 174 175 func (x *DescribeEndpointRequest) ProtoReflect() protoreflect.Message { 176 mi := &file_apps_endpoint_pb_request_proto_msgTypes[2] 177 if protoimpl.UnsafeEnabled && x != nil { 178 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 179 if ms.LoadMessageInfo() == nil { 180 ms.StoreMessageInfo(mi) 181 } 182 return ms 183 } 184 return mi.MessageOf(x) 185 } 186 187 // Deprecated: Use DescribeEndpointRequest.ProtoReflect.Descriptor instead. 188 func (*DescribeEndpointRequest) Descriptor() ([]byte, []int) { 189 return file_apps_endpoint_pb_request_proto_rawDescGZIP(), []int{2} 190 } 191 192 func (x *DescribeEndpointRequest) GetId() string { 193 if x != nil { 194 return x.Id 195 } 196 return "" 197 } 198 199 // QueryEndpointRequest 查询应用列表 200 type QueryEndpointRequest struct { 201 state protoimpl.MessageState 202 sizeCache protoimpl.SizeCache 203 unknownFields protoimpl.UnknownFields 204 205 // @gotags: json:"page" 206 Page *request.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page"` 207 // @gotags: json:"service_ids" 208 ServiceIds []string `protobuf:"bytes,2,rep,name=service_ids,json=serviceIds,proto3" json:"service_ids"` 209 // @gotags: json:"path" 210 Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path"` 211 // @gotags: json:"method" 212 Method string `protobuf:"bytes,4,opt,name=method,proto3" json:"method"` 213 // @gotags: json:"function_name" 214 FunctionName string `protobuf:"bytes,5,opt,name=function_name,json=functionName,proto3" json:"function_name"` 215 // @gotags: json:"resources" 216 Resources []string `protobuf:"bytes,6,rep,name=resources,proto3" json:"resources"` 217 // @gotags: json:"labels" 218 Labels map[string]string `protobuf:"bytes,7,rep,name=labels,proto3" json:"labels" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 219 // @gotags: json:"permission_enable" 220 PermissionEnable BoolQuery `protobuf:"varint,8,opt,name=permission_enable,json=permissionEnable,proto3,enum=infraboard.keyauth.endpoint.BoolQuery" json:"permission_enable"` 221 } 222 223 func (x *QueryEndpointRequest) Reset() { 224 *x = QueryEndpointRequest{} 225 if protoimpl.UnsafeEnabled { 226 mi := &file_apps_endpoint_pb_request_proto_msgTypes[3] 227 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 228 ms.StoreMessageInfo(mi) 229 } 230 } 231 232 func (x *QueryEndpointRequest) String() string { 233 return protoimpl.X.MessageStringOf(x) 234 } 235 236 func (*QueryEndpointRequest) ProtoMessage() {} 237 238 func (x *QueryEndpointRequest) ProtoReflect() protoreflect.Message { 239 mi := &file_apps_endpoint_pb_request_proto_msgTypes[3] 240 if protoimpl.UnsafeEnabled && x != nil { 241 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 242 if ms.LoadMessageInfo() == nil { 243 ms.StoreMessageInfo(mi) 244 } 245 return ms 246 } 247 return mi.MessageOf(x) 248 } 249 250 // Deprecated: Use QueryEndpointRequest.ProtoReflect.Descriptor instead. 251 func (*QueryEndpointRequest) Descriptor() ([]byte, []int) { 252 return file_apps_endpoint_pb_request_proto_rawDescGZIP(), []int{3} 253 } 254 255 func (x *QueryEndpointRequest) GetPage() *request.PageRequest { 256 if x != nil { 257 return x.Page 258 } 259 return nil 260 } 261 262 func (x *QueryEndpointRequest) GetServiceIds() []string { 263 if x != nil { 264 return x.ServiceIds 265 } 266 return nil 267 } 268 269 func (x *QueryEndpointRequest) GetPath() string { 270 if x != nil { 271 return x.Path 272 } 273 return "" 274 } 275 276 func (x *QueryEndpointRequest) GetMethod() string { 277 if x != nil { 278 return x.Method 279 } 280 return "" 281 } 282 283 func (x *QueryEndpointRequest) GetFunctionName() string { 284 if x != nil { 285 return x.FunctionName 286 } 287 return "" 288 } 289 290 func (x *QueryEndpointRequest) GetResources() []string { 291 if x != nil { 292 return x.Resources 293 } 294 return nil 295 } 296 297 func (x *QueryEndpointRequest) GetLabels() map[string]string { 298 if x != nil { 299 return x.Labels 300 } 301 return nil 302 } 303 304 func (x *QueryEndpointRequest) GetPermissionEnable() BoolQuery { 305 if x != nil { 306 return x.PermissionEnable 307 } 308 return BoolQuery_ALL 309 } 310 311 // DeleteEndpointRequest todo 312 type DeleteEndpointRequest struct { 313 state protoimpl.MessageState 314 sizeCache protoimpl.SizeCache 315 unknownFields protoimpl.UnknownFields 316 317 // @gotags: json:"service_id" 318 ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id"` 319 } 320 321 func (x *DeleteEndpointRequest) Reset() { 322 *x = DeleteEndpointRequest{} 323 if protoimpl.UnsafeEnabled { 324 mi := &file_apps_endpoint_pb_request_proto_msgTypes[4] 325 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 326 ms.StoreMessageInfo(mi) 327 } 328 } 329 330 func (x *DeleteEndpointRequest) String() string { 331 return protoimpl.X.MessageStringOf(x) 332 } 333 334 func (*DeleteEndpointRequest) ProtoMessage() {} 335 336 func (x *DeleteEndpointRequest) ProtoReflect() protoreflect.Message { 337 mi := &file_apps_endpoint_pb_request_proto_msgTypes[4] 338 if protoimpl.UnsafeEnabled && x != nil { 339 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 340 if ms.LoadMessageInfo() == nil { 341 ms.StoreMessageInfo(mi) 342 } 343 return ms 344 } 345 return mi.MessageOf(x) 346 } 347 348 // Deprecated: Use DeleteEndpointRequest.ProtoReflect.Descriptor instead. 349 func (*DeleteEndpointRequest) Descriptor() ([]byte, []int) { 350 return file_apps_endpoint_pb_request_proto_rawDescGZIP(), []int{4} 351 } 352 353 func (x *DeleteEndpointRequest) GetServiceId() string { 354 if x != nil { 355 return x.ServiceId 356 } 357 return "" 358 } 359 360 // QueryResourceRequest todo 361 type QueryResourceRequest struct { 362 state protoimpl.MessageState 363 sizeCache protoimpl.SizeCache 364 unknownFields protoimpl.UnknownFields 365 366 // @gotags: json:"page" 367 Page *request.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page"` 368 // @gotags: json:"service_ids" 369 ServiceIds []string `protobuf:"bytes,2,rep,name=service_ids,json=serviceIds,proto3" json:"service_ids"` 370 // @gotags: json:"resources" 371 Resources []string `protobuf:"bytes,3,rep,name=resources,proto3" json:"resources"` 372 // @gotags: json:"permission_enable" 373 PermissionEnable BoolQuery `protobuf:"varint,4,opt,name=permission_enable,json=permissionEnable,proto3,enum=infraboard.keyauth.endpoint.BoolQuery" json:"permission_enable"` 374 } 375 376 func (x *QueryResourceRequest) Reset() { 377 *x = QueryResourceRequest{} 378 if protoimpl.UnsafeEnabled { 379 mi := &file_apps_endpoint_pb_request_proto_msgTypes[5] 380 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 381 ms.StoreMessageInfo(mi) 382 } 383 } 384 385 func (x *QueryResourceRequest) String() string { 386 return protoimpl.X.MessageStringOf(x) 387 } 388 389 func (*QueryResourceRequest) ProtoMessage() {} 390 391 func (x *QueryResourceRequest) ProtoReflect() protoreflect.Message { 392 mi := &file_apps_endpoint_pb_request_proto_msgTypes[5] 393 if protoimpl.UnsafeEnabled && x != nil { 394 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 395 if ms.LoadMessageInfo() == nil { 396 ms.StoreMessageInfo(mi) 397 } 398 return ms 399 } 400 return mi.MessageOf(x) 401 } 402 403 // Deprecated: Use QueryResourceRequest.ProtoReflect.Descriptor instead. 404 func (*QueryResourceRequest) Descriptor() ([]byte, []int) { 405 return file_apps_endpoint_pb_request_proto_rawDescGZIP(), []int{5} 406 } 407 408 func (x *QueryResourceRequest) GetPage() *request.PageRequest { 409 if x != nil { 410 return x.Page 411 } 412 return nil 413 } 414 415 func (x *QueryResourceRequest) GetServiceIds() []string { 416 if x != nil { 417 return x.ServiceIds 418 } 419 return nil 420 } 421 422 func (x *QueryResourceRequest) GetResources() []string { 423 if x != nil { 424 return x.Resources 425 } 426 return nil 427 } 428 429 func (x *QueryResourceRequest) GetPermissionEnable() BoolQuery { 430 if x != nil { 431 return x.PermissionEnable 432 } 433 return BoolQuery_ALL 434 } 435 436 var File_apps_endpoint_pb_request_proto protoreflect.FileDescriptor 437 438 var file_apps_endpoint_pb_request_proto_rawDesc = []byte{ 439 0x0a, 0x1e, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2f, 440 0x70, 0x62, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 441 0x12, 0x1b, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x6b, 0x65, 0x79, 442 0x61, 0x75, 0x74, 0x68, 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x1a, 0x2e, 0x67, 443 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 444 0x6f, 0x61, 0x72, 0x64, 0x2f, 0x6d, 0x63, 0x75, 0x62, 0x65, 0x2f, 0x70, 0x62, 0x2f, 0x70, 0x61, 445 0x67, 0x65, 0x2f, 0x70, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x67, 446 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 447 0x6f, 0x61, 0x72, 0x64, 0x2f, 0x6d, 0x63, 0x75, 0x62, 0x65, 0x2f, 0x70, 0x62, 0x2f, 0x68, 0x74, 448 0x74, 0x70, 0x2f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 449 0x61, 0x70, 0x70, 0x73, 0x2f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2f, 0x70, 0x62, 450 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa5, 0x01, 0x0a, 0x0f, 451 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 452 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 453 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 454 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, 455 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 456 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 457 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x07, 0x65, 458 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x69, 459 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x6d, 0x63, 0x75, 0x62, 0x65, 0x2e, 460 0x68, 0x74, 0x74, 0x70, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x65, 0x6e, 0x74, 0x72, 461 0x69, 0x65, 0x73, 0x22, 0x2c, 0x0a, 0x10, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x52, 462 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 463 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 464 0x65, 0x22, 0x29, 0x0a, 0x17, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x45, 0x6e, 0x64, 465 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 466 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0xc5, 0x03, 0x0a, 467 0x14, 0x51, 0x75, 0x65, 0x72, 0x79, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 468 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 469 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 470 0x2e, 0x6d, 0x63, 0x75, 0x62, 0x65, 0x2e, 0x70, 0x61, 0x67, 0x65, 0x2e, 0x50, 0x61, 0x67, 0x65, 471 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1f, 0x0a, 472 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 473 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x73, 0x12, 0x12, 474 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 475 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x04, 0x20, 0x01, 476 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x75, 477 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 478 0x09, 0x52, 0x0c, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 479 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 480 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x55, 0x0a, 481 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 482 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x75, 483 0x74, 0x68, 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x51, 0x75, 0x65, 0x72, 484 0x79, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 485 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 486 0x62, 0x65, 0x6c, 0x73, 0x12, 0x53, 0x0a, 0x11, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 487 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 488 0x26, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x6b, 0x65, 0x79, 489 0x61, 0x75, 0x74, 0x68, 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x42, 0x6f, 490 0x6f, 0x6c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x10, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 491 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 492 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 493 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 494 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 495 0x3a, 0x02, 0x38, 0x01, 0x22, 0x36, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x6e, 496 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 497 0x0a, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 498 0x09, 0x52, 0x09, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x22, 0xe2, 0x01, 0x0a, 499 0x14, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 500 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 501 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 502 0x2e, 0x6d, 0x63, 0x75, 0x62, 0x65, 0x2e, 0x70, 0x61, 0x67, 0x65, 0x2e, 0x50, 0x61, 0x67, 0x65, 503 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1f, 0x0a, 504 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 505 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x73, 0x12, 0x1c, 506 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 507 0x09, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x53, 0x0a, 0x11, 508 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 509 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 510 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x65, 0x6e, 0x64, 511 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 512 0x10, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 513 0x65, 0x42, 0x2d, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 514 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2f, 0x6b, 0x65, 0x79, 0x61, 0x75, 515 0x74, 0x68, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 516 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 517 } 518 519 var ( 520 file_apps_endpoint_pb_request_proto_rawDescOnce sync.Once 521 file_apps_endpoint_pb_request_proto_rawDescData = file_apps_endpoint_pb_request_proto_rawDesc 522 ) 523 524 func file_apps_endpoint_pb_request_proto_rawDescGZIP() []byte { 525 file_apps_endpoint_pb_request_proto_rawDescOnce.Do(func() { 526 file_apps_endpoint_pb_request_proto_rawDescData = protoimpl.X.CompressGZIP(file_apps_endpoint_pb_request_proto_rawDescData) 527 }) 528 return file_apps_endpoint_pb_request_proto_rawDescData 529 } 530 531 var file_apps_endpoint_pb_request_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 532 var file_apps_endpoint_pb_request_proto_goTypes = []interface{}{ 533 (*RegistryRequest)(nil), // 0: infraboard.keyauth.endpoint.RegistryRequest 534 (*RegistryResponse)(nil), // 1: infraboard.keyauth.endpoint.RegistryResponse 535 (*DescribeEndpointRequest)(nil), // 2: infraboard.keyauth.endpoint.DescribeEndpointRequest 536 (*QueryEndpointRequest)(nil), // 3: infraboard.keyauth.endpoint.QueryEndpointRequest 537 (*DeleteEndpointRequest)(nil), // 4: infraboard.keyauth.endpoint.DeleteEndpointRequest 538 (*QueryResourceRequest)(nil), // 5: infraboard.keyauth.endpoint.QueryResourceRequest 539 nil, // 6: infraboard.keyauth.endpoint.QueryEndpointRequest.LabelsEntry 540 (*http.Entry)(nil), // 7: infraboard.mcube.http.Entry 541 (*request.PageRequest)(nil), // 8: infraboard.mcube.page.PageRequest 542 (BoolQuery)(0), // 9: infraboard.keyauth.endpoint.BoolQuery 543 } 544 var file_apps_endpoint_pb_request_proto_depIdxs = []int32{ 545 7, // 0: infraboard.keyauth.endpoint.RegistryRequest.entries:type_name -> infraboard.mcube.http.Entry 546 8, // 1: infraboard.keyauth.endpoint.QueryEndpointRequest.page:type_name -> infraboard.mcube.page.PageRequest 547 6, // 2: infraboard.keyauth.endpoint.QueryEndpointRequest.labels:type_name -> infraboard.keyauth.endpoint.QueryEndpointRequest.LabelsEntry 548 9, // 3: infraboard.keyauth.endpoint.QueryEndpointRequest.permission_enable:type_name -> infraboard.keyauth.endpoint.BoolQuery 549 8, // 4: infraboard.keyauth.endpoint.QueryResourceRequest.page:type_name -> infraboard.mcube.page.PageRequest 550 9, // 5: infraboard.keyauth.endpoint.QueryResourceRequest.permission_enable:type_name -> infraboard.keyauth.endpoint.BoolQuery 551 6, // [6:6] is the sub-list for method output_type 552 6, // [6:6] is the sub-list for method input_type 553 6, // [6:6] is the sub-list for extension type_name 554 6, // [6:6] is the sub-list for extension extendee 555 0, // [0:6] is the sub-list for field type_name 556 } 557 558 func init() { file_apps_endpoint_pb_request_proto_init() } 559 func file_apps_endpoint_pb_request_proto_init() { 560 if File_apps_endpoint_pb_request_proto != nil { 561 return 562 } 563 file_apps_endpoint_pb_enum_proto_init() 564 if !protoimpl.UnsafeEnabled { 565 file_apps_endpoint_pb_request_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 566 switch v := v.(*RegistryRequest); i { 567 case 0: 568 return &v.state 569 case 1: 570 return &v.sizeCache 571 case 2: 572 return &v.unknownFields 573 default: 574 return nil 575 } 576 } 577 file_apps_endpoint_pb_request_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 578 switch v := v.(*RegistryResponse); i { 579 case 0: 580 return &v.state 581 case 1: 582 return &v.sizeCache 583 case 2: 584 return &v.unknownFields 585 default: 586 return nil 587 } 588 } 589 file_apps_endpoint_pb_request_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 590 switch v := v.(*DescribeEndpointRequest); i { 591 case 0: 592 return &v.state 593 case 1: 594 return &v.sizeCache 595 case 2: 596 return &v.unknownFields 597 default: 598 return nil 599 } 600 } 601 file_apps_endpoint_pb_request_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 602 switch v := v.(*QueryEndpointRequest); i { 603 case 0: 604 return &v.state 605 case 1: 606 return &v.sizeCache 607 case 2: 608 return &v.unknownFields 609 default: 610 return nil 611 } 612 } 613 file_apps_endpoint_pb_request_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 614 switch v := v.(*DeleteEndpointRequest); i { 615 case 0: 616 return &v.state 617 case 1: 618 return &v.sizeCache 619 case 2: 620 return &v.unknownFields 621 default: 622 return nil 623 } 624 } 625 file_apps_endpoint_pb_request_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 626 switch v := v.(*QueryResourceRequest); i { 627 case 0: 628 return &v.state 629 case 1: 630 return &v.sizeCache 631 case 2: 632 return &v.unknownFields 633 default: 634 return nil 635 } 636 } 637 } 638 type x struct{} 639 out := protoimpl.TypeBuilder{ 640 File: protoimpl.DescBuilder{ 641 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 642 RawDescriptor: file_apps_endpoint_pb_request_proto_rawDesc, 643 NumEnums: 0, 644 NumMessages: 7, 645 NumExtensions: 0, 646 NumServices: 0, 647 }, 648 GoTypes: file_apps_endpoint_pb_request_proto_goTypes, 649 DependencyIndexes: file_apps_endpoint_pb_request_proto_depIdxs, 650 MessageInfos: file_apps_endpoint_pb_request_proto_msgTypes, 651 }.Build() 652 File_apps_endpoint_pb_request_proto = out.File 653 file_apps_endpoint_pb_request_proto_rawDesc = nil 654 file_apps_endpoint_pb_request_proto_goTypes = nil 655 file_apps_endpoint_pb_request_proto_depIdxs = nil 656 }