github.com/TrueCloudLab/frostfs-api-go/v2@v2.0.0-20230228134343-196241c4e79a/status/grpc/types.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.28.0 4 // protoc v3.21.9 5 // source: status/grpc/types.proto 6 7 package status 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 // Section identifiers. 24 type Section int32 25 26 const ( 27 // Successful return codes. 28 Section_SECTION_SUCCESS Section = 0 29 // Failure codes regardless of the operation. 30 Section_SECTION_FAILURE_COMMON Section = 1 31 // Object service-specific errors. 32 Section_SECTION_OBJECT Section = 2 33 // Container service-specific errors. 34 Section_SECTION_CONTAINER Section = 3 35 // Session service-specific errors. 36 Section_SECTION_SESSION Section = 4 37 ) 38 39 // Enum value maps for Section. 40 var ( 41 Section_name = map[int32]string{ 42 0: "SECTION_SUCCESS", 43 1: "SECTION_FAILURE_COMMON", 44 2: "SECTION_OBJECT", 45 3: "SECTION_CONTAINER", 46 4: "SECTION_SESSION", 47 } 48 Section_value = map[string]int32{ 49 "SECTION_SUCCESS": 0, 50 "SECTION_FAILURE_COMMON": 1, 51 "SECTION_OBJECT": 2, 52 "SECTION_CONTAINER": 3, 53 "SECTION_SESSION": 4, 54 } 55 ) 56 57 func (x Section) Enum() *Section { 58 p := new(Section) 59 *p = x 60 return p 61 } 62 63 func (x Section) String() string { 64 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 65 } 66 67 func (Section) Descriptor() protoreflect.EnumDescriptor { 68 return file_status_grpc_types_proto_enumTypes[0].Descriptor() 69 } 70 71 func (Section) Type() protoreflect.EnumType { 72 return &file_status_grpc_types_proto_enumTypes[0] 73 } 74 75 func (x Section) Number() protoreflect.EnumNumber { 76 return protoreflect.EnumNumber(x) 77 } 78 79 // Deprecated: Use Section.Descriptor instead. 80 func (Section) EnumDescriptor() ([]byte, []int) { 81 return file_status_grpc_types_proto_rawDescGZIP(), []int{0} 82 } 83 84 // Section of NeoFS successful return codes. 85 type Success int32 86 87 const ( 88 // [**0**] Default success. Not detailed. 89 // If the server cannot match successful outcome to the code, it should 90 // use this code. 91 Success_OK Success = 0 92 ) 93 94 // Enum value maps for Success. 95 var ( 96 Success_name = map[int32]string{ 97 0: "OK", 98 } 99 Success_value = map[string]int32{ 100 "OK": 0, 101 } 102 ) 103 104 func (x Success) Enum() *Success { 105 p := new(Success) 106 *p = x 107 return p 108 } 109 110 func (x Success) String() string { 111 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 112 } 113 114 func (Success) Descriptor() protoreflect.EnumDescriptor { 115 return file_status_grpc_types_proto_enumTypes[1].Descriptor() 116 } 117 118 func (Success) Type() protoreflect.EnumType { 119 return &file_status_grpc_types_proto_enumTypes[1] 120 } 121 122 func (x Success) Number() protoreflect.EnumNumber { 123 return protoreflect.EnumNumber(x) 124 } 125 126 // Deprecated: Use Success.Descriptor instead. 127 func (Success) EnumDescriptor() ([]byte, []int) { 128 return file_status_grpc_types_proto_rawDescGZIP(), []int{1} 129 } 130 131 // Section of failed statuses independent of the operation. 132 type CommonFail int32 133 134 const ( 135 // [**1024**] Internal server error, default failure. Not detailed. 136 // If the server cannot match failed outcome to the code, it should 137 // use this code. 138 CommonFail_INTERNAL CommonFail = 0 139 // [**1025**] Wrong magic of the NeoFS network. 140 // Details: 141 // - [**0**] Magic number of the served NeoFS network (big-endian 64-bit 142 // unsigned integer). 143 CommonFail_WRONG_MAGIC_NUMBER CommonFail = 1 144 // [**1026**] Signature verification failure. 145 CommonFail_SIGNATURE_VERIFICATION_FAIL CommonFail = 2 146 // [**1027**] Node is under maintenance. 147 CommonFail_NODE_UNDER_MAINTENANCE CommonFail = 3 148 ) 149 150 // Enum value maps for CommonFail. 151 var ( 152 CommonFail_name = map[int32]string{ 153 0: "INTERNAL", 154 1: "WRONG_MAGIC_NUMBER", 155 2: "SIGNATURE_VERIFICATION_FAIL", 156 3: "NODE_UNDER_MAINTENANCE", 157 } 158 CommonFail_value = map[string]int32{ 159 "INTERNAL": 0, 160 "WRONG_MAGIC_NUMBER": 1, 161 "SIGNATURE_VERIFICATION_FAIL": 2, 162 "NODE_UNDER_MAINTENANCE": 3, 163 } 164 ) 165 166 func (x CommonFail) Enum() *CommonFail { 167 p := new(CommonFail) 168 *p = x 169 return p 170 } 171 172 func (x CommonFail) String() string { 173 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 174 } 175 176 func (CommonFail) Descriptor() protoreflect.EnumDescriptor { 177 return file_status_grpc_types_proto_enumTypes[2].Descriptor() 178 } 179 180 func (CommonFail) Type() protoreflect.EnumType { 181 return &file_status_grpc_types_proto_enumTypes[2] 182 } 183 184 func (x CommonFail) Number() protoreflect.EnumNumber { 185 return protoreflect.EnumNumber(x) 186 } 187 188 // Deprecated: Use CommonFail.Descriptor instead. 189 func (CommonFail) EnumDescriptor() ([]byte, []int) { 190 return file_status_grpc_types_proto_rawDescGZIP(), []int{2} 191 } 192 193 // Section of statuses for object-related operations. 194 type Object int32 195 196 const ( 197 // [**2048**] Access denied by ACL. 198 // Details: 199 // - [**0**] Human-readable description (UTF-8 encoded string). 200 Object_ACCESS_DENIED Object = 0 201 // [**2049**] Object not found. 202 Object_OBJECT_NOT_FOUND Object = 1 203 // [**2050**] Operation rejected by the object lock. 204 Object_LOCKED Object = 2 205 // [**2051**] Locking an object with a non-REGULAR type rejected. 206 Object_LOCK_NON_REGULAR_OBJECT Object = 3 207 // [**2052**] Object has been marked deleted. 208 Object_OBJECT_ALREADY_REMOVED Object = 4 209 // [**2053**] Invalid range has been requested for an object. 210 Object_OUT_OF_RANGE Object = 5 211 ) 212 213 // Enum value maps for Object. 214 var ( 215 Object_name = map[int32]string{ 216 0: "ACCESS_DENIED", 217 1: "OBJECT_NOT_FOUND", 218 2: "LOCKED", 219 3: "LOCK_NON_REGULAR_OBJECT", 220 4: "OBJECT_ALREADY_REMOVED", 221 5: "OUT_OF_RANGE", 222 } 223 Object_value = map[string]int32{ 224 "ACCESS_DENIED": 0, 225 "OBJECT_NOT_FOUND": 1, 226 "LOCKED": 2, 227 "LOCK_NON_REGULAR_OBJECT": 3, 228 "OBJECT_ALREADY_REMOVED": 4, 229 "OUT_OF_RANGE": 5, 230 } 231 ) 232 233 func (x Object) Enum() *Object { 234 p := new(Object) 235 *p = x 236 return p 237 } 238 239 func (x Object) String() string { 240 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 241 } 242 243 func (Object) Descriptor() protoreflect.EnumDescriptor { 244 return file_status_grpc_types_proto_enumTypes[3].Descriptor() 245 } 246 247 func (Object) Type() protoreflect.EnumType { 248 return &file_status_grpc_types_proto_enumTypes[3] 249 } 250 251 func (x Object) Number() protoreflect.EnumNumber { 252 return protoreflect.EnumNumber(x) 253 } 254 255 // Deprecated: Use Object.Descriptor instead. 256 func (Object) EnumDescriptor() ([]byte, []int) { 257 return file_status_grpc_types_proto_rawDescGZIP(), []int{3} 258 } 259 260 // Section of statuses for container-related operations. 261 type Container int32 262 263 const ( 264 // [**3072**] Container not found. 265 Container_CONTAINER_NOT_FOUND Container = 0 266 // [**3073**] eACL table not found. 267 Container_EACL_NOT_FOUND Container = 1 268 ) 269 270 // Enum value maps for Container. 271 var ( 272 Container_name = map[int32]string{ 273 0: "CONTAINER_NOT_FOUND", 274 1: "EACL_NOT_FOUND", 275 } 276 Container_value = map[string]int32{ 277 "CONTAINER_NOT_FOUND": 0, 278 "EACL_NOT_FOUND": 1, 279 } 280 ) 281 282 func (x Container) Enum() *Container { 283 p := new(Container) 284 *p = x 285 return p 286 } 287 288 func (x Container) String() string { 289 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 290 } 291 292 func (Container) Descriptor() protoreflect.EnumDescriptor { 293 return file_status_grpc_types_proto_enumTypes[4].Descriptor() 294 } 295 296 func (Container) Type() protoreflect.EnumType { 297 return &file_status_grpc_types_proto_enumTypes[4] 298 } 299 300 func (x Container) Number() protoreflect.EnumNumber { 301 return protoreflect.EnumNumber(x) 302 } 303 304 // Deprecated: Use Container.Descriptor instead. 305 func (Container) EnumDescriptor() ([]byte, []int) { 306 return file_status_grpc_types_proto_rawDescGZIP(), []int{4} 307 } 308 309 // Section of statuses for session-related operations. 310 type Session int32 311 312 const ( 313 // [**4096**] Token not found. 314 Session_TOKEN_NOT_FOUND Session = 0 315 // [**4097**] Token has expired. 316 Session_TOKEN_EXPIRED Session = 1 317 ) 318 319 // Enum value maps for Session. 320 var ( 321 Session_name = map[int32]string{ 322 0: "TOKEN_NOT_FOUND", 323 1: "TOKEN_EXPIRED", 324 } 325 Session_value = map[string]int32{ 326 "TOKEN_NOT_FOUND": 0, 327 "TOKEN_EXPIRED": 1, 328 } 329 ) 330 331 func (x Session) Enum() *Session { 332 p := new(Session) 333 *p = x 334 return p 335 } 336 337 func (x Session) String() string { 338 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 339 } 340 341 func (Session) Descriptor() protoreflect.EnumDescriptor { 342 return file_status_grpc_types_proto_enumTypes[5].Descriptor() 343 } 344 345 func (Session) Type() protoreflect.EnumType { 346 return &file_status_grpc_types_proto_enumTypes[5] 347 } 348 349 func (x Session) Number() protoreflect.EnumNumber { 350 return protoreflect.EnumNumber(x) 351 } 352 353 // Deprecated: Use Session.Descriptor instead. 354 func (Session) EnumDescriptor() ([]byte, []int) { 355 return file_status_grpc_types_proto_rawDescGZIP(), []int{5} 356 } 357 358 // Declares the general format of the status returns of the NeoFS RPC protocol. 359 // Status is present in all response messages. Each RPC of NeoFS protocol 360 // describes the possible outcomes and details of the operation. 361 // 362 // Each status is assigned a one-to-one numeric code. Any unique result of an 363 // operation in NeoFS is unambiguously associated with the code value. 364 // 365 // Numerical set of codes is split into 1024-element sections. An enumeration 366 // is defined for each section. Values can be referred to in the following ways: 367 // 368 // * numerical value ranging from 0 to 4,294,967,295 (global code); 369 // 370 // - values from enumeration (local code). The formula for the ratio of the 371 // local code (`L`) of a defined section (`S`) to the global one (`G`): 372 // `G = 1024 * S + L`. 373 // 374 // All outcomes are divided into successful and failed, which corresponds 375 // to the success or failure of the operation. The definition of success 376 // follows the semantics of RPC and the description of its purpose. 377 // The server must not attach code that is the opposite of the outcome type. 378 // 379 // See the set of return codes in the description for calls. 380 // 381 // Each status can carry a developer-facing error message. It should be a human 382 // readable text in English. The server should not transmit (and the client 383 // should not expect) useful information in the message. Field `details` 384 // should make the return more detailed. 385 type Status struct { 386 state protoimpl.MessageState 387 sizeCache protoimpl.SizeCache 388 unknownFields protoimpl.UnknownFields 389 390 // The status code 391 Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` 392 // Developer-facing error message 393 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` 394 // Data detailing the outcome of the operation. Must be unique by ID. 395 Details []*Status_Detail `protobuf:"bytes,3,rep,name=details,proto3" json:"details,omitempty"` 396 } 397 398 func (x *Status) Reset() { 399 *x = Status{} 400 if protoimpl.UnsafeEnabled { 401 mi := &file_status_grpc_types_proto_msgTypes[0] 402 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 403 ms.StoreMessageInfo(mi) 404 } 405 } 406 407 func (x *Status) String() string { 408 return protoimpl.X.MessageStringOf(x) 409 } 410 411 func (*Status) ProtoMessage() {} 412 413 func (x *Status) ProtoReflect() protoreflect.Message { 414 mi := &file_status_grpc_types_proto_msgTypes[0] 415 if protoimpl.UnsafeEnabled && x != nil { 416 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 417 if ms.LoadMessageInfo() == nil { 418 ms.StoreMessageInfo(mi) 419 } 420 return ms 421 } 422 return mi.MessageOf(x) 423 } 424 425 // Deprecated: Use Status.ProtoReflect.Descriptor instead. 426 func (*Status) Descriptor() ([]byte, []int) { 427 return file_status_grpc_types_proto_rawDescGZIP(), []int{0} 428 } 429 430 func (x *Status) GetCode() uint32 { 431 if x != nil { 432 return x.Code 433 } 434 return 0 435 } 436 437 func (x *Status) GetMessage() string { 438 if x != nil { 439 return x.Message 440 } 441 return "" 442 } 443 444 func (x *Status) GetDetails() []*Status_Detail { 445 if x != nil { 446 return x.Details 447 } 448 return nil 449 } 450 451 // Return detail. It contains additional information that can be used to 452 // analyze the response. Each code defines a set of details that can be 453 // attached to a status. Client should not handle details that are not 454 // covered by the code. 455 type Status_Detail struct { 456 state protoimpl.MessageState 457 sizeCache protoimpl.SizeCache 458 unknownFields protoimpl.UnknownFields 459 460 // Detail ID. The identifier is required to determine the binary format 461 // of the detail and how to decode it. 462 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` 463 // Binary status detail. Must follow the format associated with ID. 464 // The possibility of missing a value must be explicitly allowed. 465 Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` 466 } 467 468 func (x *Status_Detail) Reset() { 469 *x = Status_Detail{} 470 if protoimpl.UnsafeEnabled { 471 mi := &file_status_grpc_types_proto_msgTypes[1] 472 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 473 ms.StoreMessageInfo(mi) 474 } 475 } 476 477 func (x *Status_Detail) String() string { 478 return protoimpl.X.MessageStringOf(x) 479 } 480 481 func (*Status_Detail) ProtoMessage() {} 482 483 func (x *Status_Detail) ProtoReflect() protoreflect.Message { 484 mi := &file_status_grpc_types_proto_msgTypes[1] 485 if protoimpl.UnsafeEnabled && x != nil { 486 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 487 if ms.LoadMessageInfo() == nil { 488 ms.StoreMessageInfo(mi) 489 } 490 return ms 491 } 492 return mi.MessageOf(x) 493 } 494 495 // Deprecated: Use Status_Detail.ProtoReflect.Descriptor instead. 496 func (*Status_Detail) Descriptor() ([]byte, []int) { 497 return file_status_grpc_types_proto_rawDescGZIP(), []int{0, 0} 498 } 499 500 func (x *Status_Detail) GetId() uint32 { 501 if x != nil { 502 return x.Id 503 } 504 return 0 505 } 506 507 func (x *Status_Detail) GetValue() []byte { 508 if x != nil { 509 return x.Value 510 } 511 return nil 512 } 513 514 var File_status_grpc_types_proto protoreflect.FileDescriptor 515 516 var file_status_grpc_types_proto_rawDesc = []byte{ 517 0x0a, 0x17, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x74, 0x79, 518 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 519 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xa1, 0x01, 0x0a, 0x06, 520 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 521 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 522 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 523 0x73, 0x61, 0x67, 0x65, 0x12, 0x39, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 524 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 525 0x32, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 526 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x1a, 527 0x2e, 0x0a, 0x06, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 528 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 529 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x2a, 530 0x7a, 0x0a, 0x07, 0x53, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x45, 531 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x00, 0x12, 532 0x1a, 0x0a, 0x16, 0x53, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x55, 533 0x52, 0x45, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x53, 534 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4f, 0x42, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x02, 0x12, 535 0x15, 0x0a, 0x11, 0x53, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 536 0x49, 0x4e, 0x45, 0x52, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x45, 0x43, 0x54, 0x49, 0x4f, 537 0x4e, 0x5f, 0x53, 0x45, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x04, 0x2a, 0x11, 0x0a, 0x07, 0x53, 538 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x06, 0x0a, 0x02, 0x4f, 0x4b, 0x10, 0x00, 0x2a, 0x6f, 539 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x12, 0x0c, 0x0a, 0x08, 540 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x57, 0x52, 541 0x4f, 0x4e, 0x47, 0x5f, 0x4d, 0x41, 0x47, 0x49, 0x43, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 542 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x54, 0x55, 0x52, 0x45, 0x5f, 543 0x56, 0x45, 0x52, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x41, 0x49, 544 0x4c, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x44, 0x45, 545 0x52, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x54, 0x45, 0x4e, 0x41, 0x4e, 0x43, 0x45, 0x10, 0x03, 0x2a, 546 0x88, 0x01, 0x0a, 0x06, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x43, 547 0x43, 0x45, 0x53, 0x53, 0x5f, 0x44, 0x45, 0x4e, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 548 0x10, 0x4f, 0x42, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 549 0x44, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x02, 0x12, 550 0x1b, 0x0a, 0x17, 0x4c, 0x4f, 0x43, 0x4b, 0x5f, 0x4e, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x47, 0x55, 551 0x4c, 0x41, 0x52, 0x5f, 0x4f, 0x42, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x03, 0x12, 0x1a, 0x0a, 0x16, 552 0x4f, 0x42, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x52, 553 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x04, 0x12, 0x10, 0x0a, 0x0c, 0x4f, 0x55, 0x54, 0x5f, 554 0x4f, 0x46, 0x5f, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x05, 0x2a, 0x38, 0x0a, 0x09, 0x43, 0x6f, 555 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x4f, 0x4e, 0x54, 0x41, 556 0x49, 0x4e, 0x45, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x00, 557 0x12, 0x12, 0x0a, 0x0e, 0x45, 0x41, 0x43, 0x4c, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 558 0x4e, 0x44, 0x10, 0x01, 0x2a, 0x31, 0x0a, 0x07, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 559 0x13, 0x0a, 0x0f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 560 0x4e, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x45, 0x58, 561 0x50, 0x49, 0x52, 0x45, 0x44, 0x10, 0x01, 0x42, 0x5b, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 562 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, 563 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x67, 564 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 565 0x3b, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0xaa, 0x02, 0x1a, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, 566 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x53, 0x74, 567 0x61, 0x74, 0x75, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 568 } 569 570 var ( 571 file_status_grpc_types_proto_rawDescOnce sync.Once 572 file_status_grpc_types_proto_rawDescData = file_status_grpc_types_proto_rawDesc 573 ) 574 575 func file_status_grpc_types_proto_rawDescGZIP() []byte { 576 file_status_grpc_types_proto_rawDescOnce.Do(func() { 577 file_status_grpc_types_proto_rawDescData = protoimpl.X.CompressGZIP(file_status_grpc_types_proto_rawDescData) 578 }) 579 return file_status_grpc_types_proto_rawDescData 580 } 581 582 var file_status_grpc_types_proto_enumTypes = make([]protoimpl.EnumInfo, 6) 583 var file_status_grpc_types_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 584 var file_status_grpc_types_proto_goTypes = []interface{}{ 585 (Section)(0), // 0: neo.fs.v2.status.Section 586 (Success)(0), // 1: neo.fs.v2.status.Success 587 (CommonFail)(0), // 2: neo.fs.v2.status.CommonFail 588 (Object)(0), // 3: neo.fs.v2.status.Object 589 (Container)(0), // 4: neo.fs.v2.status.Container 590 (Session)(0), // 5: neo.fs.v2.status.Session 591 (*Status)(nil), // 6: neo.fs.v2.status.Status 592 (*Status_Detail)(nil), // 7: neo.fs.v2.status.Status.Detail 593 } 594 var file_status_grpc_types_proto_depIdxs = []int32{ 595 7, // 0: neo.fs.v2.status.Status.details:type_name -> neo.fs.v2.status.Status.Detail 596 1, // [1:1] is the sub-list for method output_type 597 1, // [1:1] is the sub-list for method input_type 598 1, // [1:1] is the sub-list for extension type_name 599 1, // [1:1] is the sub-list for extension extendee 600 0, // [0:1] is the sub-list for field type_name 601 } 602 603 func init() { file_status_grpc_types_proto_init() } 604 func file_status_grpc_types_proto_init() { 605 if File_status_grpc_types_proto != nil { 606 return 607 } 608 if !protoimpl.UnsafeEnabled { 609 file_status_grpc_types_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 610 switch v := v.(*Status); i { 611 case 0: 612 return &v.state 613 case 1: 614 return &v.sizeCache 615 case 2: 616 return &v.unknownFields 617 default: 618 return nil 619 } 620 } 621 file_status_grpc_types_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 622 switch v := v.(*Status_Detail); i { 623 case 0: 624 return &v.state 625 case 1: 626 return &v.sizeCache 627 case 2: 628 return &v.unknownFields 629 default: 630 return nil 631 } 632 } 633 } 634 type x struct{} 635 out := protoimpl.TypeBuilder{ 636 File: protoimpl.DescBuilder{ 637 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 638 RawDescriptor: file_status_grpc_types_proto_rawDesc, 639 NumEnums: 6, 640 NumMessages: 2, 641 NumExtensions: 0, 642 NumServices: 0, 643 }, 644 GoTypes: file_status_grpc_types_proto_goTypes, 645 DependencyIndexes: file_status_grpc_types_proto_depIdxs, 646 EnumInfos: file_status_grpc_types_proto_enumTypes, 647 MessageInfos: file_status_grpc_types_proto_msgTypes, 648 }.Build() 649 File_status_grpc_types_proto = out.File 650 file_status_grpc_types_proto_rawDesc = nil 651 file_status_grpc_types_proto_goTypes = nil 652 file_status_grpc_types_proto_depIdxs = nil 653 }