github.com/infraboard/keyauth@v0.8.1/apps/namespace/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/namespace/pb/request.proto 6 7 package namespace 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 // CreateNamespaceRequest 创建项目请求 25 type CreateNamespaceRequest struct { 26 state protoimpl.MessageState 27 sizeCache protoimpl.SizeCache 28 unknownFields protoimpl.UnknownFields 29 30 // 所属部门 31 // @gotags: json:"department_id" validate:"required,lte=80" 32 DepartmentId string `protobuf:"bytes,1,opt,name=department_id,json=departmentId,proto3" json:"department_id" validate:"required,lte=80"` 33 // 项目名称 34 // @gotags: json:"name" validate:"required,lte=80" 35 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" validate:"required,lte=80"` 36 // 项目描述图片 37 // @gotags: json:"picture,omitempty" 38 Picture string `protobuf:"bytes,3,opt,name=picture,proto3" json:"picture,omitempty"` 39 // 项目所有者, PMO 40 // @gotags: json:"owner,omitempty" 41 Owner string `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"` 42 // 项目描述 43 // @gotags: json:"description,omitempty" 44 Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` 45 // @gotags: json:"domain" 46 Domain string `protobuf:"bytes,7,opt,name=domain,proto3" json:"domain"` 47 // 创建者 48 // @gotags: json:"create_by" 49 CreateBy string `protobuf:"bytes,8,opt,name=create_by,json=createBy,proto3" json:"create_by"` 50 } 51 52 func (x *CreateNamespaceRequest) Reset() { 53 *x = CreateNamespaceRequest{} 54 if protoimpl.UnsafeEnabled { 55 mi := &file_apps_namespace_pb_request_proto_msgTypes[0] 56 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 57 ms.StoreMessageInfo(mi) 58 } 59 } 60 61 func (x *CreateNamespaceRequest) String() string { 62 return protoimpl.X.MessageStringOf(x) 63 } 64 65 func (*CreateNamespaceRequest) ProtoMessage() {} 66 67 func (x *CreateNamespaceRequest) ProtoReflect() protoreflect.Message { 68 mi := &file_apps_namespace_pb_request_proto_msgTypes[0] 69 if protoimpl.UnsafeEnabled && x != nil { 70 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 71 if ms.LoadMessageInfo() == nil { 72 ms.StoreMessageInfo(mi) 73 } 74 return ms 75 } 76 return mi.MessageOf(x) 77 } 78 79 // Deprecated: Use CreateNamespaceRequest.ProtoReflect.Descriptor instead. 80 func (*CreateNamespaceRequest) Descriptor() ([]byte, []int) { 81 return file_apps_namespace_pb_request_proto_rawDescGZIP(), []int{0} 82 } 83 84 func (x *CreateNamespaceRequest) GetDepartmentId() string { 85 if x != nil { 86 return x.DepartmentId 87 } 88 return "" 89 } 90 91 func (x *CreateNamespaceRequest) GetName() string { 92 if x != nil { 93 return x.Name 94 } 95 return "" 96 } 97 98 func (x *CreateNamespaceRequest) GetPicture() string { 99 if x != nil { 100 return x.Picture 101 } 102 return "" 103 } 104 105 func (x *CreateNamespaceRequest) GetOwner() string { 106 if x != nil { 107 return x.Owner 108 } 109 return "" 110 } 111 112 func (x *CreateNamespaceRequest) GetDescription() string { 113 if x != nil { 114 return x.Description 115 } 116 return "" 117 } 118 119 func (x *CreateNamespaceRequest) GetDomain() string { 120 if x != nil { 121 return x.Domain 122 } 123 return "" 124 } 125 126 func (x *CreateNamespaceRequest) GetCreateBy() string { 127 if x != nil { 128 return x.CreateBy 129 } 130 return "" 131 } 132 133 // QueryNamespaceRequest 查询应用列表 134 type QueryNamespaceRequest struct { 135 state protoimpl.MessageState 136 sizeCache protoimpl.SizeCache 137 unknownFields protoimpl.UnknownFields 138 139 // 分页请求 140 // @gotags: json:"page" 141 Page *request.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page"` 142 // 空间的名称 143 // @gotags: json:"name" 144 Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name"` 145 // 该用户加入的空间 146 // @gotags: json:"account" 147 Account string `protobuf:"bytes,6,opt,name=account,proto3" json:"account"` 148 // 该部门下的空间 149 // @gotags: json:"department_id" 150 DepartmentId string `protobuf:"bytes,2,opt,name=department_id,json=departmentId,proto3" json:"department_id"` 151 // 是否返回子部门的信息 152 // @gotags: json:"with_sub_department" 153 WithSubDepartment bool `protobuf:"varint,3,opt,name=with_sub_department,json=withSubDepartment,proto3" json:"with_sub_department"` 154 // 是否返回部门的信息 155 // @gotags: json:"with_department" 156 WithDepartment bool `protobuf:"varint,4,opt,name=with_department,json=withDepartment,proto3" json:"with_department"` 157 // @gotags: json:"domain" 158 Domain string `protobuf:"bytes,7,opt,name=domain,proto3" json:"domain"` 159 } 160 161 func (x *QueryNamespaceRequest) Reset() { 162 *x = QueryNamespaceRequest{} 163 if protoimpl.UnsafeEnabled { 164 mi := &file_apps_namespace_pb_request_proto_msgTypes[1] 165 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 166 ms.StoreMessageInfo(mi) 167 } 168 } 169 170 func (x *QueryNamespaceRequest) String() string { 171 return protoimpl.X.MessageStringOf(x) 172 } 173 174 func (*QueryNamespaceRequest) ProtoMessage() {} 175 176 func (x *QueryNamespaceRequest) ProtoReflect() protoreflect.Message { 177 mi := &file_apps_namespace_pb_request_proto_msgTypes[1] 178 if protoimpl.UnsafeEnabled && x != nil { 179 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 180 if ms.LoadMessageInfo() == nil { 181 ms.StoreMessageInfo(mi) 182 } 183 return ms 184 } 185 return mi.MessageOf(x) 186 } 187 188 // Deprecated: Use QueryNamespaceRequest.ProtoReflect.Descriptor instead. 189 func (*QueryNamespaceRequest) Descriptor() ([]byte, []int) { 190 return file_apps_namespace_pb_request_proto_rawDescGZIP(), []int{1} 191 } 192 193 func (x *QueryNamespaceRequest) GetPage() *request.PageRequest { 194 if x != nil { 195 return x.Page 196 } 197 return nil 198 } 199 200 func (x *QueryNamespaceRequest) GetName() string { 201 if x != nil { 202 return x.Name 203 } 204 return "" 205 } 206 207 func (x *QueryNamespaceRequest) GetAccount() string { 208 if x != nil { 209 return x.Account 210 } 211 return "" 212 } 213 214 func (x *QueryNamespaceRequest) GetDepartmentId() string { 215 if x != nil { 216 return x.DepartmentId 217 } 218 return "" 219 } 220 221 func (x *QueryNamespaceRequest) GetWithSubDepartment() bool { 222 if x != nil { 223 return x.WithSubDepartment 224 } 225 return false 226 } 227 228 func (x *QueryNamespaceRequest) GetWithDepartment() bool { 229 if x != nil { 230 return x.WithDepartment 231 } 232 return false 233 } 234 235 func (x *QueryNamespaceRequest) GetDomain() string { 236 if x != nil { 237 return x.Domain 238 } 239 return "" 240 } 241 242 // DescriptNamespaceRequest 查询应用详情 243 type DescriptNamespaceRequest struct { 244 state protoimpl.MessageState 245 sizeCache protoimpl.SizeCache 246 unknownFields protoimpl.UnknownFields 247 248 // @gotags: json:"id" 249 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` 250 // @gotags: json:"with_department" 251 WithDepartment bool `protobuf:"varint,2,opt,name=with_department,json=withDepartment,proto3" json:"with_department"` 252 } 253 254 func (x *DescriptNamespaceRequest) Reset() { 255 *x = DescriptNamespaceRequest{} 256 if protoimpl.UnsafeEnabled { 257 mi := &file_apps_namespace_pb_request_proto_msgTypes[2] 258 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 259 ms.StoreMessageInfo(mi) 260 } 261 } 262 263 func (x *DescriptNamespaceRequest) String() string { 264 return protoimpl.X.MessageStringOf(x) 265 } 266 267 func (*DescriptNamespaceRequest) ProtoMessage() {} 268 269 func (x *DescriptNamespaceRequest) ProtoReflect() protoreflect.Message { 270 mi := &file_apps_namespace_pb_request_proto_msgTypes[2] 271 if protoimpl.UnsafeEnabled && x != nil { 272 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 273 if ms.LoadMessageInfo() == nil { 274 ms.StoreMessageInfo(mi) 275 } 276 return ms 277 } 278 return mi.MessageOf(x) 279 } 280 281 // Deprecated: Use DescriptNamespaceRequest.ProtoReflect.Descriptor instead. 282 func (*DescriptNamespaceRequest) Descriptor() ([]byte, []int) { 283 return file_apps_namespace_pb_request_proto_rawDescGZIP(), []int{2} 284 } 285 286 func (x *DescriptNamespaceRequest) GetId() string { 287 if x != nil { 288 return x.Id 289 } 290 return "" 291 } 292 293 func (x *DescriptNamespaceRequest) GetWithDepartment() bool { 294 if x != nil { 295 return x.WithDepartment 296 } 297 return false 298 } 299 300 // DeleteNamespaceRequest todo 301 type DeleteNamespaceRequest struct { 302 state protoimpl.MessageState 303 sizeCache protoimpl.SizeCache 304 unknownFields protoimpl.UnknownFields 305 306 // @gotags: json:"id" 307 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` 308 // @gotags: json:"domain" 309 Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain"` 310 } 311 312 func (x *DeleteNamespaceRequest) Reset() { 313 *x = DeleteNamespaceRequest{} 314 if protoimpl.UnsafeEnabled { 315 mi := &file_apps_namespace_pb_request_proto_msgTypes[3] 316 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 317 ms.StoreMessageInfo(mi) 318 } 319 } 320 321 func (x *DeleteNamespaceRequest) String() string { 322 return protoimpl.X.MessageStringOf(x) 323 } 324 325 func (*DeleteNamespaceRequest) ProtoMessage() {} 326 327 func (x *DeleteNamespaceRequest) ProtoReflect() protoreflect.Message { 328 mi := &file_apps_namespace_pb_request_proto_msgTypes[3] 329 if protoimpl.UnsafeEnabled && x != nil { 330 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 331 if ms.LoadMessageInfo() == nil { 332 ms.StoreMessageInfo(mi) 333 } 334 return ms 335 } 336 return mi.MessageOf(x) 337 } 338 339 // Deprecated: Use DeleteNamespaceRequest.ProtoReflect.Descriptor instead. 340 func (*DeleteNamespaceRequest) Descriptor() ([]byte, []int) { 341 return file_apps_namespace_pb_request_proto_rawDescGZIP(), []int{3} 342 } 343 344 func (x *DeleteNamespaceRequest) GetId() string { 345 if x != nil { 346 return x.Id 347 } 348 return "" 349 } 350 351 func (x *DeleteNamespaceRequest) GetDomain() string { 352 if x != nil { 353 return x.Domain 354 } 355 return "" 356 } 357 358 var File_apps_namespace_pb_request_proto protoreflect.FileDescriptor 359 360 var file_apps_namespace_pb_request_proto_rawDesc = []byte{ 361 0x0a, 0x1f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 362 0x2f, 0x70, 0x62, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 363 0x6f, 0x12, 0x1c, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x6b, 0x65, 364 0x79, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x1a, 365 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x69, 0x6e, 0x66, 0x72, 366 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2f, 0x6d, 0x63, 0x75, 0x62, 0x65, 0x2f, 0x70, 0x62, 0x2f, 367 0x70, 0x61, 0x67, 0x65, 0x2f, 0x70, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 368 0xd8, 0x01, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 369 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, 370 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 371 0x09, 0x52, 0x0c, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 372 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 373 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x03, 374 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x14, 0x0a, 375 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 376 0x6e, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 377 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 378 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 379 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x1b, 0x0a, 380 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x62, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 381 0x52, 0x08, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x79, 0x22, 0x93, 0x02, 0x0a, 0x15, 0x51, 382 0x75, 0x65, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 383 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 384 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 385 0x6d, 0x63, 0x75, 0x62, 0x65, 0x2e, 0x70, 0x61, 0x67, 0x65, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 386 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 387 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 388 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 389 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, 390 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 391 0x09, 0x52, 0x0c, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 392 0x2e, 0x0a, 0x13, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x73, 0x75, 0x62, 0x5f, 0x64, 0x65, 0x70, 0x61, 393 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x77, 0x69, 394 0x74, 0x68, 0x53, 0x75, 0x62, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 395 0x27, 0x0a, 0x0f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 396 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x77, 0x69, 0x74, 0x68, 0x44, 0x65, 397 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 398 0x69, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 399 0x22, 0x53, 0x0a, 0x18, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x4e, 0x61, 0x6d, 0x65, 400 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 401 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x27, 0x0a, 0x0f, 402 0x77, 0x69, 0x74, 0x68, 0x5f, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x18, 403 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x77, 0x69, 0x74, 0x68, 0x44, 0x65, 0x70, 0x61, 0x72, 404 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x40, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 405 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 406 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 407 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 408 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x42, 0x2e, 0x5a, 0x2c, 0x67, 0x69, 0x74, 0x68, 0x75, 409 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 410 0x2f, 0x6b, 0x65, 0x79, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x6e, 0x61, 411 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 412 } 413 414 var ( 415 file_apps_namespace_pb_request_proto_rawDescOnce sync.Once 416 file_apps_namespace_pb_request_proto_rawDescData = file_apps_namespace_pb_request_proto_rawDesc 417 ) 418 419 func file_apps_namespace_pb_request_proto_rawDescGZIP() []byte { 420 file_apps_namespace_pb_request_proto_rawDescOnce.Do(func() { 421 file_apps_namespace_pb_request_proto_rawDescData = protoimpl.X.CompressGZIP(file_apps_namespace_pb_request_proto_rawDescData) 422 }) 423 return file_apps_namespace_pb_request_proto_rawDescData 424 } 425 426 var file_apps_namespace_pb_request_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 427 var file_apps_namespace_pb_request_proto_goTypes = []interface{}{ 428 (*CreateNamespaceRequest)(nil), // 0: infraboard.keyauth.namespace.CreateNamespaceRequest 429 (*QueryNamespaceRequest)(nil), // 1: infraboard.keyauth.namespace.QueryNamespaceRequest 430 (*DescriptNamespaceRequest)(nil), // 2: infraboard.keyauth.namespace.DescriptNamespaceRequest 431 (*DeleteNamespaceRequest)(nil), // 3: infraboard.keyauth.namespace.DeleteNamespaceRequest 432 (*request.PageRequest)(nil), // 4: infraboard.mcube.page.PageRequest 433 } 434 var file_apps_namespace_pb_request_proto_depIdxs = []int32{ 435 4, // 0: infraboard.keyauth.namespace.QueryNamespaceRequest.page:type_name -> infraboard.mcube.page.PageRequest 436 1, // [1:1] is the sub-list for method output_type 437 1, // [1:1] is the sub-list for method input_type 438 1, // [1:1] is the sub-list for extension type_name 439 1, // [1:1] is the sub-list for extension extendee 440 0, // [0:1] is the sub-list for field type_name 441 } 442 443 func init() { file_apps_namespace_pb_request_proto_init() } 444 func file_apps_namespace_pb_request_proto_init() { 445 if File_apps_namespace_pb_request_proto != nil { 446 return 447 } 448 if !protoimpl.UnsafeEnabled { 449 file_apps_namespace_pb_request_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 450 switch v := v.(*CreateNamespaceRequest); i { 451 case 0: 452 return &v.state 453 case 1: 454 return &v.sizeCache 455 case 2: 456 return &v.unknownFields 457 default: 458 return nil 459 } 460 } 461 file_apps_namespace_pb_request_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 462 switch v := v.(*QueryNamespaceRequest); i { 463 case 0: 464 return &v.state 465 case 1: 466 return &v.sizeCache 467 case 2: 468 return &v.unknownFields 469 default: 470 return nil 471 } 472 } 473 file_apps_namespace_pb_request_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 474 switch v := v.(*DescriptNamespaceRequest); i { 475 case 0: 476 return &v.state 477 case 1: 478 return &v.sizeCache 479 case 2: 480 return &v.unknownFields 481 default: 482 return nil 483 } 484 } 485 file_apps_namespace_pb_request_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 486 switch v := v.(*DeleteNamespaceRequest); i { 487 case 0: 488 return &v.state 489 case 1: 490 return &v.sizeCache 491 case 2: 492 return &v.unknownFields 493 default: 494 return nil 495 } 496 } 497 } 498 type x struct{} 499 out := protoimpl.TypeBuilder{ 500 File: protoimpl.DescBuilder{ 501 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 502 RawDescriptor: file_apps_namespace_pb_request_proto_rawDesc, 503 NumEnums: 0, 504 NumMessages: 4, 505 NumExtensions: 0, 506 NumServices: 0, 507 }, 508 GoTypes: file_apps_namespace_pb_request_proto_goTypes, 509 DependencyIndexes: file_apps_namespace_pb_request_proto_depIdxs, 510 MessageInfos: file_apps_namespace_pb_request_proto_msgTypes, 511 }.Build() 512 File_apps_namespace_pb_request_proto = out.File 513 file_apps_namespace_pb_request_proto_rawDesc = nil 514 file_apps_namespace_pb_request_proto_goTypes = nil 515 file_apps_namespace_pb_request_proto_depIdxs = nil 516 }