github.com/TrueCloudLab/frostfs-api-go/v2@v2.0.0-20230228134343-196241c4e79a/object/grpc/status.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.18.0 5 // source: v2/object/grpc/status.proto 6 7 package object 8 9 import ( 10 reflect "reflect" 11 sync "sync" 12 13 grpc "github.com/TrueCloudLab/frostfs-api-go/v2/status/grpc" 14 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 15 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 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 type StatusCommon int32 26 27 const ( 28 StatusCommon_ACCESS_DENIED StatusCommon = 0 29 ) 30 31 // Enum value maps for StatusCommon. 32 var ( 33 StatusCommon_name = map[int32]string{ 34 0: "ACCESS_DENIED", 35 } 36 StatusCommon_value = map[string]int32{ 37 "ACCESS_DENIED": 0, 38 } 39 ) 40 41 func (x StatusCommon) Enum() *StatusCommon { 42 p := new(StatusCommon) 43 *p = x 44 return p 45 } 46 47 func (x StatusCommon) String() string { 48 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 49 } 50 51 func (StatusCommon) Descriptor() protoreflect.EnumDescriptor { 52 return file_v2_object_grpc_status_proto_enumTypes[0].Descriptor() 53 } 54 55 func (StatusCommon) Type() protoreflect.EnumType { 56 return &file_v2_object_grpc_status_proto_enumTypes[0] 57 } 58 59 func (x StatusCommon) Number() protoreflect.EnumNumber { 60 return protoreflect.EnumNumber(x) 61 } 62 63 // Deprecated: Use StatusCommon.Descriptor instead. 64 func (StatusCommon) EnumDescriptor() ([]byte, []int) { 65 return file_v2_object_grpc_status_proto_rawDescGZIP(), []int{0} 66 } 67 68 type StatusPut int32 69 70 const ( 71 StatusPut_STATUS_PUT_INCOMPLETE StatusPut = 0 72 ) 73 74 // Enum value maps for StatusPut. 75 var ( 76 StatusPut_name = map[int32]string{ 77 0: "STATUS_PUT_INCOMPLETE", 78 } 79 StatusPut_value = map[string]int32{ 80 "STATUS_PUT_INCOMPLETE": 0, 81 } 82 ) 83 84 func (x StatusPut) Enum() *StatusPut { 85 p := new(StatusPut) 86 *p = x 87 return p 88 } 89 90 func (x StatusPut) String() string { 91 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 92 } 93 94 func (StatusPut) Descriptor() protoreflect.EnumDescriptor { 95 return file_v2_object_grpc_status_proto_enumTypes[1].Descriptor() 96 } 97 98 func (StatusPut) Type() protoreflect.EnumType { 99 return &file_v2_object_grpc_status_proto_enumTypes[1] 100 } 101 102 func (x StatusPut) Number() protoreflect.EnumNumber { 103 return protoreflect.EnumNumber(x) 104 } 105 106 // Deprecated: Use StatusPut.Descriptor instead. 107 func (StatusPut) EnumDescriptor() ([]byte, []int) { 108 return file_v2_object_grpc_status_proto_rawDescGZIP(), []int{1} 109 } 110 111 type PutIncompleteDetail struct { 112 state protoimpl.MessageState 113 sizeCache protoimpl.SizeCache 114 unknownFields protoimpl.UnknownFields 115 116 Statuses []*grpc.Status `protobuf:"bytes,1,rep,name=statuses,proto3" json:"statuses,omitempty"` 117 } 118 119 func (x *PutIncompleteDetail) Reset() { 120 *x = PutIncompleteDetail{} 121 if protoimpl.UnsafeEnabled { 122 mi := &file_v2_object_grpc_status_proto_msgTypes[0] 123 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 124 ms.StoreMessageInfo(mi) 125 } 126 } 127 128 func (x *PutIncompleteDetail) String() string { 129 return protoimpl.X.MessageStringOf(x) 130 } 131 132 func (*PutIncompleteDetail) ProtoMessage() {} 133 134 func (x *PutIncompleteDetail) ProtoReflect() protoreflect.Message { 135 mi := &file_v2_object_grpc_status_proto_msgTypes[0] 136 if protoimpl.UnsafeEnabled && x != nil { 137 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 138 if ms.LoadMessageInfo() == nil { 139 ms.StoreMessageInfo(mi) 140 } 141 return ms 142 } 143 return mi.MessageOf(x) 144 } 145 146 // Deprecated: Use PutIncompleteDetail.ProtoReflect.Descriptor instead. 147 func (*PutIncompleteDetail) Descriptor() ([]byte, []int) { 148 return file_v2_object_grpc_status_proto_rawDescGZIP(), []int{0} 149 } 150 151 func (x *PutIncompleteDetail) GetStatuses() []*grpc.Status { 152 if x != nil { 153 return x.Statuses 154 } 155 return nil 156 } 157 158 var File_v2_object_grpc_status_proto protoreflect.FileDescriptor 159 160 var file_v2_object_grpc_status_proto_rawDesc = []byte{ 161 0x0a, 0x1b, 0x76, 0x32, 0x2f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x67, 0x72, 0x70, 0x63, 162 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x6e, 163 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x1a, 164 0x1a, 0x76, 0x32, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 165 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4b, 0x0a, 0x13, 0x50, 166 0x75, 0x74, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, 167 0x69, 0x6c, 0x12, 0x34, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x01, 168 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 169 0x2e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x08, 170 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x2a, 0x21, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x74, 171 0x75, 0x73, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x43, 0x43, 0x45, 172 0x53, 0x53, 0x5f, 0x44, 0x45, 0x4e, 0x49, 0x45, 0x44, 0x10, 0x00, 0x2a, 0x26, 0x0a, 0x09, 0x53, 173 0x74, 0x61, 0x74, 0x75, 0x73, 0x50, 0x75, 0x74, 0x12, 0x19, 0x0a, 0x15, 0x53, 0x54, 0x41, 0x54, 174 0x55, 0x53, 0x5f, 0x50, 0x55, 0x54, 0x5f, 0x49, 0x4e, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 175 0x45, 0x10, 0x00, 0x42, 0x56, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 176 0x6d, 0x2f, 0x6e, 0x73, 0x70, 0x63, 0x63, 0x2d, 0x64, 0x65, 0x76, 0x2f, 0x6e, 0x65, 0x6f, 0x66, 177 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x6f, 0x62, 0x6a, 0x65, 178 0x63, 0x74, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0xaa, 0x02, 179 0x1a, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 180 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 181 0x74, 0x6f, 0x33, 182 } 183 184 var ( 185 file_v2_object_grpc_status_proto_rawDescOnce sync.Once 186 file_v2_object_grpc_status_proto_rawDescData = file_v2_object_grpc_status_proto_rawDesc 187 ) 188 189 func file_v2_object_grpc_status_proto_rawDescGZIP() []byte { 190 file_v2_object_grpc_status_proto_rawDescOnce.Do(func() { 191 file_v2_object_grpc_status_proto_rawDescData = protoimpl.X.CompressGZIP(file_v2_object_grpc_status_proto_rawDescData) 192 }) 193 return file_v2_object_grpc_status_proto_rawDescData 194 } 195 196 var file_v2_object_grpc_status_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 197 var file_v2_object_grpc_status_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 198 var file_v2_object_grpc_status_proto_goTypes = []interface{}{ 199 (StatusCommon)(0), // 0: neo.fs.v2.object.StatusCommon 200 (StatusPut)(0), // 1: neo.fs.v2.object.StatusPut 201 (*PutIncompleteDetail)(nil), // 2: neo.fs.v2.object.PutIncompleteDetail 202 (*grpc.Status)(nil), // 3: neo.fs.v2.status.Status 203 } 204 var file_v2_object_grpc_status_proto_depIdxs = []int32{ 205 3, // 0: neo.fs.v2.object.PutIncompleteDetail.statuses:type_name -> neo.fs.v2.status.Status 206 1, // [1:1] is the sub-list for method output_type 207 1, // [1:1] is the sub-list for method input_type 208 1, // [1:1] is the sub-list for extension type_name 209 1, // [1:1] is the sub-list for extension extendee 210 0, // [0:1] is the sub-list for field type_name 211 } 212 213 func init() { file_v2_object_grpc_status_proto_init() } 214 func file_v2_object_grpc_status_proto_init() { 215 if File_v2_object_grpc_status_proto != nil { 216 return 217 } 218 if !protoimpl.UnsafeEnabled { 219 file_v2_object_grpc_status_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 220 switch v := v.(*PutIncompleteDetail); i { 221 case 0: 222 return &v.state 223 case 1: 224 return &v.sizeCache 225 case 2: 226 return &v.unknownFields 227 default: 228 return nil 229 } 230 } 231 } 232 type x struct{} 233 out := protoimpl.TypeBuilder{ 234 File: protoimpl.DescBuilder{ 235 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 236 RawDescriptor: file_v2_object_grpc_status_proto_rawDesc, 237 NumEnums: 2, 238 NumMessages: 1, 239 NumExtensions: 0, 240 NumServices: 0, 241 }, 242 GoTypes: file_v2_object_grpc_status_proto_goTypes, 243 DependencyIndexes: file_v2_object_grpc_status_proto_depIdxs, 244 EnumInfos: file_v2_object_grpc_status_proto_enumTypes, 245 MessageInfos: file_v2_object_grpc_status_proto_msgTypes, 246 }.Build() 247 File_v2_object_grpc_status_proto = out.File 248 file_v2_object_grpc_status_proto_rawDesc = nil 249 file_v2_object_grpc_status_proto_goTypes = nil 250 file_v2_object_grpc_status_proto_depIdxs = nil 251 }