github.com/infraboard/keyauth@v0.8.1/apps/application/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/application/pb/request.proto 6 7 package application 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 type ClientType int32 25 26 const ( 27 ClientType_CONFIDENTIAL ClientType = 0 28 ClientType_PUBLIC ClientType = 1 29 ) 30 31 // Enum value maps for ClientType. 32 var ( 33 ClientType_name = map[int32]string{ 34 0: "CONFIDENTIAL", 35 1: "PUBLIC", 36 } 37 ClientType_value = map[string]int32{ 38 "CONFIDENTIAL": 0, 39 "PUBLIC": 1, 40 } 41 ) 42 43 func (x ClientType) Enum() *ClientType { 44 p := new(ClientType) 45 *p = x 46 return p 47 } 48 49 func (x ClientType) String() string { 50 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 51 } 52 53 func (ClientType) Descriptor() protoreflect.EnumDescriptor { 54 return file_apps_application_pb_request_proto_enumTypes[0].Descriptor() 55 } 56 57 func (ClientType) Type() protoreflect.EnumType { 58 return &file_apps_application_pb_request_proto_enumTypes[0] 59 } 60 61 func (x ClientType) Number() protoreflect.EnumNumber { 62 return protoreflect.EnumNumber(x) 63 } 64 65 // Deprecated: Use ClientType.Descriptor instead. 66 func (ClientType) EnumDescriptor() ([]byte, []int) { 67 return file_apps_application_pb_request_proto_rawDescGZIP(), []int{0} 68 } 69 70 // CreateApplicatonRequest 创建应用请求 71 type CreateApplicatonRequest struct { 72 state protoimpl.MessageState 73 sizeCache protoimpl.SizeCache 74 unknownFields protoimpl.UnknownFields 75 76 // 是否是内建应用 77 // @gotags: json:"build_in" 78 BuildIn bool `protobuf:"varint,9,opt,name=build_in,json=buildIn,proto3" json:"build_in"` 79 // 所处于域 80 // @gotags: json:"domain" validate:"required" 81 Domain string `protobuf:"bytes,10,opt,name=domain,proto3" json:"domain" validate:"required"` 82 // 应用属于那个用户 83 // @gotags: json:"create_by" 84 CreateBy string `protobuf:"bytes,11,opt,name=create_by,json=createBy,proto3" json:"create_by"` 85 // 应用名称 86 // @gotags: json:"name" validate:"required" 87 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" validate:"required"` 88 // 应用的网站地址 89 // @gotags: json:"website" 90 Website string `protobuf:"bytes,2,opt,name=website,proto3" json:"website"` 91 // 应用的LOGO 92 // @gotags: json:"logo_image" 93 LogoImage string `protobuf:"bytes,3,opt,name=logo_image,json=logoImage,proto3" json:"logo_image"` 94 // 应用简单的描述 95 // @gotags: json:"description" 96 Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description"` 97 // 应用重定向URI, Oauht2时需要该参数 98 // @gotags: json:"redirect_uri" 99 RedirectUri string `protobuf:"bytes,5,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri"` 100 // 应用申请的token的过期时间 101 // @gotags: json:"access_token_expire_second" 102 AccessTokenExpireSecond int64 `protobuf:"varint,6,opt,name=access_token_expire_second,json=accessTokenExpireSecond,proto3" json:"access_token_expire_second"` 103 // 刷新token过期时间 104 // @gotags: json:"refresh_token_expire_second" 105 RefreshTokenExpireSecond int64 `protobuf:"varint,7,opt,name=refresh_token_expire_second,json=refreshTokenExpireSecond,proto3" json:"refresh_token_expire_second"` 106 // 客户端类型 107 // @gotags: json:"client_type" 108 ClientType ClientType `protobuf:"varint,8,opt,name=client_type,json=clientType,proto3,enum=infraboard.keyauth.application.ClientType" json:"client_type"` 109 } 110 111 func (x *CreateApplicatonRequest) Reset() { 112 *x = CreateApplicatonRequest{} 113 if protoimpl.UnsafeEnabled { 114 mi := &file_apps_application_pb_request_proto_msgTypes[0] 115 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 116 ms.StoreMessageInfo(mi) 117 } 118 } 119 120 func (x *CreateApplicatonRequest) String() string { 121 return protoimpl.X.MessageStringOf(x) 122 } 123 124 func (*CreateApplicatonRequest) ProtoMessage() {} 125 126 func (x *CreateApplicatonRequest) ProtoReflect() protoreflect.Message { 127 mi := &file_apps_application_pb_request_proto_msgTypes[0] 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 CreateApplicatonRequest.ProtoReflect.Descriptor instead. 139 func (*CreateApplicatonRequest) Descriptor() ([]byte, []int) { 140 return file_apps_application_pb_request_proto_rawDescGZIP(), []int{0} 141 } 142 143 func (x *CreateApplicatonRequest) GetBuildIn() bool { 144 if x != nil { 145 return x.BuildIn 146 } 147 return false 148 } 149 150 func (x *CreateApplicatonRequest) GetDomain() string { 151 if x != nil { 152 return x.Domain 153 } 154 return "" 155 } 156 157 func (x *CreateApplicatonRequest) GetCreateBy() string { 158 if x != nil { 159 return x.CreateBy 160 } 161 return "" 162 } 163 164 func (x *CreateApplicatonRequest) GetName() string { 165 if x != nil { 166 return x.Name 167 } 168 return "" 169 } 170 171 func (x *CreateApplicatonRequest) GetWebsite() string { 172 if x != nil { 173 return x.Website 174 } 175 return "" 176 } 177 178 func (x *CreateApplicatonRequest) GetLogoImage() string { 179 if x != nil { 180 return x.LogoImage 181 } 182 return "" 183 } 184 185 func (x *CreateApplicatonRequest) GetDescription() string { 186 if x != nil { 187 return x.Description 188 } 189 return "" 190 } 191 192 func (x *CreateApplicatonRequest) GetRedirectUri() string { 193 if x != nil { 194 return x.RedirectUri 195 } 196 return "" 197 } 198 199 func (x *CreateApplicatonRequest) GetAccessTokenExpireSecond() int64 { 200 if x != nil { 201 return x.AccessTokenExpireSecond 202 } 203 return 0 204 } 205 206 func (x *CreateApplicatonRequest) GetRefreshTokenExpireSecond() int64 { 207 if x != nil { 208 return x.RefreshTokenExpireSecond 209 } 210 return 0 211 } 212 213 func (x *CreateApplicatonRequest) GetClientType() ClientType { 214 if x != nil { 215 return x.ClientType 216 } 217 return ClientType_CONFIDENTIAL 218 } 219 220 // DescribeApplicationRequest 查询应用详情 221 type DescribeApplicationRequest struct { 222 state protoimpl.MessageState 223 sizeCache protoimpl.SizeCache 224 unknownFields protoimpl.UnknownFields 225 226 // @gotags: json:"id" 227 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` 228 // @gotags: json:"client_id" 229 ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id"` 230 } 231 232 func (x *DescribeApplicationRequest) Reset() { 233 *x = DescribeApplicationRequest{} 234 if protoimpl.UnsafeEnabled { 235 mi := &file_apps_application_pb_request_proto_msgTypes[1] 236 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 237 ms.StoreMessageInfo(mi) 238 } 239 } 240 241 func (x *DescribeApplicationRequest) String() string { 242 return protoimpl.X.MessageStringOf(x) 243 } 244 245 func (*DescribeApplicationRequest) ProtoMessage() {} 246 247 func (x *DescribeApplicationRequest) ProtoReflect() protoreflect.Message { 248 mi := &file_apps_application_pb_request_proto_msgTypes[1] 249 if protoimpl.UnsafeEnabled && x != nil { 250 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 251 if ms.LoadMessageInfo() == nil { 252 ms.StoreMessageInfo(mi) 253 } 254 return ms 255 } 256 return mi.MessageOf(x) 257 } 258 259 // Deprecated: Use DescribeApplicationRequest.ProtoReflect.Descriptor instead. 260 func (*DescribeApplicationRequest) Descriptor() ([]byte, []int) { 261 return file_apps_application_pb_request_proto_rawDescGZIP(), []int{1} 262 } 263 264 func (x *DescribeApplicationRequest) GetId() string { 265 if x != nil { 266 return x.Id 267 } 268 return "" 269 } 270 271 func (x *DescribeApplicationRequest) GetClientId() string { 272 if x != nil { 273 return x.ClientId 274 } 275 return "" 276 } 277 278 // DeleteApplicationRequest 查询应用详情 279 type DeleteApplicationRequest struct { 280 state protoimpl.MessageState 281 sizeCache protoimpl.SizeCache 282 unknownFields protoimpl.UnknownFields 283 284 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 285 } 286 287 func (x *DeleteApplicationRequest) Reset() { 288 *x = DeleteApplicationRequest{} 289 if protoimpl.UnsafeEnabled { 290 mi := &file_apps_application_pb_request_proto_msgTypes[2] 291 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 292 ms.StoreMessageInfo(mi) 293 } 294 } 295 296 func (x *DeleteApplicationRequest) String() string { 297 return protoimpl.X.MessageStringOf(x) 298 } 299 300 func (*DeleteApplicationRequest) ProtoMessage() {} 301 302 func (x *DeleteApplicationRequest) ProtoReflect() protoreflect.Message { 303 mi := &file_apps_application_pb_request_proto_msgTypes[2] 304 if protoimpl.UnsafeEnabled && x != nil { 305 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 306 if ms.LoadMessageInfo() == nil { 307 ms.StoreMessageInfo(mi) 308 } 309 return ms 310 } 311 return mi.MessageOf(x) 312 } 313 314 // Deprecated: Use DeleteApplicationRequest.ProtoReflect.Descriptor instead. 315 func (*DeleteApplicationRequest) Descriptor() ([]byte, []int) { 316 return file_apps_application_pb_request_proto_rawDescGZIP(), []int{2} 317 } 318 319 func (x *DeleteApplicationRequest) GetId() string { 320 if x != nil { 321 return x.Id 322 } 323 return "" 324 } 325 326 // QueryApplicationRequest 查询应用列表 327 type QueryApplicationRequest struct { 328 state protoimpl.MessageState 329 sizeCache protoimpl.SizeCache 330 unknownFields protoimpl.UnknownFields 331 332 Page *request.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` 333 Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` 334 } 335 336 func (x *QueryApplicationRequest) Reset() { 337 *x = QueryApplicationRequest{} 338 if protoimpl.UnsafeEnabled { 339 mi := &file_apps_application_pb_request_proto_msgTypes[3] 340 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 341 ms.StoreMessageInfo(mi) 342 } 343 } 344 345 func (x *QueryApplicationRequest) String() string { 346 return protoimpl.X.MessageStringOf(x) 347 } 348 349 func (*QueryApplicationRequest) ProtoMessage() {} 350 351 func (x *QueryApplicationRequest) ProtoReflect() protoreflect.Message { 352 mi := &file_apps_application_pb_request_proto_msgTypes[3] 353 if protoimpl.UnsafeEnabled && x != nil { 354 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 355 if ms.LoadMessageInfo() == nil { 356 ms.StoreMessageInfo(mi) 357 } 358 return ms 359 } 360 return mi.MessageOf(x) 361 } 362 363 // Deprecated: Use QueryApplicationRequest.ProtoReflect.Descriptor instead. 364 func (*QueryApplicationRequest) Descriptor() ([]byte, []int) { 365 return file_apps_application_pb_request_proto_rawDescGZIP(), []int{3} 366 } 367 368 func (x *QueryApplicationRequest) GetPage() *request.PageRequest { 369 if x != nil { 370 return x.Page 371 } 372 return nil 373 } 374 375 func (x *QueryApplicationRequest) GetAccount() string { 376 if x != nil { 377 return x.Account 378 } 379 return "" 380 } 381 382 // GetBuildInApplicationRequest 获取内建应用 383 type GetBuildInApplicationRequest struct { 384 state protoimpl.MessageState 385 sizeCache protoimpl.SizeCache 386 unknownFields protoimpl.UnknownFields 387 388 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 389 } 390 391 func (x *GetBuildInApplicationRequest) Reset() { 392 *x = GetBuildInApplicationRequest{} 393 if protoimpl.UnsafeEnabled { 394 mi := &file_apps_application_pb_request_proto_msgTypes[4] 395 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 396 ms.StoreMessageInfo(mi) 397 } 398 } 399 400 func (x *GetBuildInApplicationRequest) String() string { 401 return protoimpl.X.MessageStringOf(x) 402 } 403 404 func (*GetBuildInApplicationRequest) ProtoMessage() {} 405 406 func (x *GetBuildInApplicationRequest) ProtoReflect() protoreflect.Message { 407 mi := &file_apps_application_pb_request_proto_msgTypes[4] 408 if protoimpl.UnsafeEnabled && x != nil { 409 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 410 if ms.LoadMessageInfo() == nil { 411 ms.StoreMessageInfo(mi) 412 } 413 return ms 414 } 415 return mi.MessageOf(x) 416 } 417 418 // Deprecated: Use GetBuildInApplicationRequest.ProtoReflect.Descriptor instead. 419 func (*GetBuildInApplicationRequest) Descriptor() ([]byte, []int) { 420 return file_apps_application_pb_request_proto_rawDescGZIP(), []int{4} 421 } 422 423 func (x *GetBuildInApplicationRequest) GetName() string { 424 if x != nil { 425 return x.Name 426 } 427 return "" 428 } 429 430 var File_apps_application_pb_request_proto protoreflect.FileDescriptor 431 432 var file_apps_application_pb_request_proto_rawDesc = []byte{ 433 0x0a, 0x21, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 434 0x6f, 0x6e, 0x2f, 0x70, 0x62, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 435 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 436 0x6b, 0x65, 0x79, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 437 0x69, 0x6f, 0x6e, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 438 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2f, 0x6d, 0x63, 0x75, 0x62, 0x65, 439 0x2f, 0x70, 0x62, 0x2f, 0x70, 0x61, 0x67, 0x65, 0x2f, 0x70, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 440 0x6f, 0x74, 0x6f, 0x22, 0xc4, 0x03, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x70, 441 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 442 0x19, 0x0a, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 443 0x08, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 444 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 445 0x69, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x62, 0x79, 0x18, 446 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x79, 0x12, 447 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 448 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x18, 0x02, 449 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x77, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x12, 0x1d, 0x0a, 450 0x0a, 0x6c, 0x6f, 0x67, 0x6f, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 451 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x67, 0x6f, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x20, 0x0a, 0x0b, 452 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 453 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 454 0x0a, 0x0c, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x05, 455 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x55, 0x72, 456 0x69, 0x12, 0x3b, 0x0a, 0x1a, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 457 0x6e, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x18, 458 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 459 0x65, 0x6e, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x12, 0x3d, 460 0x0a, 0x1b, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 461 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x18, 0x07, 0x20, 462 0x01, 0x28, 0x03, 0x52, 0x18, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x6f, 0x6b, 0x65, 463 0x6e, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x12, 0x4b, 0x0a, 464 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 465 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 466 0x6b, 0x65, 0x79, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 467 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 468 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x49, 0x0a, 0x1a, 0x44, 0x65, 469 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 470 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 471 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 472 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 473 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x2a, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 474 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 475 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 476 0x64, 0x22, 0x6b, 0x0a, 0x17, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 477 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x04, 478 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x69, 0x6e, 0x66, 479 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x6d, 0x63, 0x75, 0x62, 0x65, 0x2e, 0x70, 0x61, 480 0x67, 0x65, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 481 0x70, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 482 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x32, 483 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x41, 0x70, 0x70, 0x6c, 484 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 485 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 486 0x6d, 0x65, 0x2a, 0x2a, 0x0a, 0x0a, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 487 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, 0x41, 0x4c, 488 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x10, 0x01, 0x42, 0x30, 489 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x69, 0x6e, 0x66, 490 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2f, 0x6b, 0x65, 0x79, 0x61, 0x75, 0x74, 0x68, 0x2f, 491 0x61, 0x70, 0x70, 0x73, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 492 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 493 } 494 495 var ( 496 file_apps_application_pb_request_proto_rawDescOnce sync.Once 497 file_apps_application_pb_request_proto_rawDescData = file_apps_application_pb_request_proto_rawDesc 498 ) 499 500 func file_apps_application_pb_request_proto_rawDescGZIP() []byte { 501 file_apps_application_pb_request_proto_rawDescOnce.Do(func() { 502 file_apps_application_pb_request_proto_rawDescData = protoimpl.X.CompressGZIP(file_apps_application_pb_request_proto_rawDescData) 503 }) 504 return file_apps_application_pb_request_proto_rawDescData 505 } 506 507 var file_apps_application_pb_request_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 508 var file_apps_application_pb_request_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 509 var file_apps_application_pb_request_proto_goTypes = []interface{}{ 510 (ClientType)(0), // 0: infraboard.keyauth.application.ClientType 511 (*CreateApplicatonRequest)(nil), // 1: infraboard.keyauth.application.CreateApplicatonRequest 512 (*DescribeApplicationRequest)(nil), // 2: infraboard.keyauth.application.DescribeApplicationRequest 513 (*DeleteApplicationRequest)(nil), // 3: infraboard.keyauth.application.DeleteApplicationRequest 514 (*QueryApplicationRequest)(nil), // 4: infraboard.keyauth.application.QueryApplicationRequest 515 (*GetBuildInApplicationRequest)(nil), // 5: infraboard.keyauth.application.GetBuildInApplicationRequest 516 (*request.PageRequest)(nil), // 6: infraboard.mcube.page.PageRequest 517 } 518 var file_apps_application_pb_request_proto_depIdxs = []int32{ 519 0, // 0: infraboard.keyauth.application.CreateApplicatonRequest.client_type:type_name -> infraboard.keyauth.application.ClientType 520 6, // 1: infraboard.keyauth.application.QueryApplicationRequest.page:type_name -> infraboard.mcube.page.PageRequest 521 2, // [2:2] is the sub-list for method output_type 522 2, // [2:2] is the sub-list for method input_type 523 2, // [2:2] is the sub-list for extension type_name 524 2, // [2:2] is the sub-list for extension extendee 525 0, // [0:2] is the sub-list for field type_name 526 } 527 528 func init() { file_apps_application_pb_request_proto_init() } 529 func file_apps_application_pb_request_proto_init() { 530 if File_apps_application_pb_request_proto != nil { 531 return 532 } 533 if !protoimpl.UnsafeEnabled { 534 file_apps_application_pb_request_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 535 switch v := v.(*CreateApplicatonRequest); 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_application_pb_request_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 547 switch v := v.(*DescribeApplicationRequest); 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_application_pb_request_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 559 switch v := v.(*DeleteApplicationRequest); 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 file_apps_application_pb_request_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 571 switch v := v.(*QueryApplicationRequest); i { 572 case 0: 573 return &v.state 574 case 1: 575 return &v.sizeCache 576 case 2: 577 return &v.unknownFields 578 default: 579 return nil 580 } 581 } 582 file_apps_application_pb_request_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 583 switch v := v.(*GetBuildInApplicationRequest); i { 584 case 0: 585 return &v.state 586 case 1: 587 return &v.sizeCache 588 case 2: 589 return &v.unknownFields 590 default: 591 return nil 592 } 593 } 594 } 595 type x struct{} 596 out := protoimpl.TypeBuilder{ 597 File: protoimpl.DescBuilder{ 598 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 599 RawDescriptor: file_apps_application_pb_request_proto_rawDesc, 600 NumEnums: 1, 601 NumMessages: 5, 602 NumExtensions: 0, 603 NumServices: 0, 604 }, 605 GoTypes: file_apps_application_pb_request_proto_goTypes, 606 DependencyIndexes: file_apps_application_pb_request_proto_depIdxs, 607 EnumInfos: file_apps_application_pb_request_proto_enumTypes, 608 MessageInfos: file_apps_application_pb_request_proto_msgTypes, 609 }.Build() 610 File_apps_application_pb_request_proto = out.File 611 file_apps_application_pb_request_proto_rawDesc = nil 612 file_apps_application_pb_request_proto_goTypes = nil 613 file_apps_application_pb_request_proto_depIdxs = nil 614 }