github.com/TrueCloudLab/frostfs-api-go/v2@v2.0.0-20230228134343-196241c4e79a/accounting/grpc/service.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: accounting/grpc/service.proto 6 7 package accounting 8 9 import ( 10 grpc1 "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" 11 grpc "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" 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 // BalanceRequest message 26 type BalanceRequest struct { 27 state protoimpl.MessageState 28 sizeCache protoimpl.SizeCache 29 unknownFields protoimpl.UnknownFields 30 31 // Body of the balance request message. 32 Body *BalanceRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` 33 // Carries request meta information. Header data is used only to regulate 34 // message transport and does not affect request execution. 35 MetaHeader *grpc.RequestMetaHeader `protobuf:"bytes,2,opt,name=meta_header,json=metaHeader,proto3" json:"meta_header,omitempty"` 36 // Carries request verification information. This header is used to 37 // authenticate the nodes of the message route and check the correctness of 38 // transmission. 39 VerifyHeader *grpc.RequestVerificationHeader `protobuf:"bytes,3,opt,name=verify_header,json=verifyHeader,proto3" json:"verify_header,omitempty"` 40 } 41 42 func (x *BalanceRequest) Reset() { 43 *x = BalanceRequest{} 44 if protoimpl.UnsafeEnabled { 45 mi := &file_accounting_grpc_service_proto_msgTypes[0] 46 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 47 ms.StoreMessageInfo(mi) 48 } 49 } 50 51 func (x *BalanceRequest) String() string { 52 return protoimpl.X.MessageStringOf(x) 53 } 54 55 func (*BalanceRequest) ProtoMessage() {} 56 57 func (x *BalanceRequest) ProtoReflect() protoreflect.Message { 58 mi := &file_accounting_grpc_service_proto_msgTypes[0] 59 if protoimpl.UnsafeEnabled && x != nil { 60 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 61 if ms.LoadMessageInfo() == nil { 62 ms.StoreMessageInfo(mi) 63 } 64 return ms 65 } 66 return mi.MessageOf(x) 67 } 68 69 // Deprecated: Use BalanceRequest.ProtoReflect.Descriptor instead. 70 func (*BalanceRequest) Descriptor() ([]byte, []int) { 71 return file_accounting_grpc_service_proto_rawDescGZIP(), []int{0} 72 } 73 74 func (x *BalanceRequest) GetBody() *BalanceRequest_Body { 75 if x != nil { 76 return x.Body 77 } 78 return nil 79 } 80 81 func (x *BalanceRequest) GetMetaHeader() *grpc.RequestMetaHeader { 82 if x != nil { 83 return x.MetaHeader 84 } 85 return nil 86 } 87 88 func (x *BalanceRequest) GetVerifyHeader() *grpc.RequestVerificationHeader { 89 if x != nil { 90 return x.VerifyHeader 91 } 92 return nil 93 } 94 95 // BalanceResponse message 96 type BalanceResponse struct { 97 state protoimpl.MessageState 98 sizeCache protoimpl.SizeCache 99 unknownFields protoimpl.UnknownFields 100 101 // Body of the balance response message. 102 Body *BalanceResponse_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` 103 // Carries response meta information. Header data is used only to regulate 104 // message transport and does not affect request execution. 105 MetaHeader *grpc.ResponseMetaHeader `protobuf:"bytes,2,opt,name=meta_header,json=metaHeader,proto3" json:"meta_header,omitempty"` 106 // Carries response verification information. This header is used to 107 // authenticate the nodes of the message route and check the correctness of 108 // transmission. 109 VerifyHeader *grpc.ResponseVerificationHeader `protobuf:"bytes,3,opt,name=verify_header,json=verifyHeader,proto3" json:"verify_header,omitempty"` 110 } 111 112 func (x *BalanceResponse) Reset() { 113 *x = BalanceResponse{} 114 if protoimpl.UnsafeEnabled { 115 mi := &file_accounting_grpc_service_proto_msgTypes[1] 116 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 117 ms.StoreMessageInfo(mi) 118 } 119 } 120 121 func (x *BalanceResponse) String() string { 122 return protoimpl.X.MessageStringOf(x) 123 } 124 125 func (*BalanceResponse) ProtoMessage() {} 126 127 func (x *BalanceResponse) ProtoReflect() protoreflect.Message { 128 mi := &file_accounting_grpc_service_proto_msgTypes[1] 129 if protoimpl.UnsafeEnabled && x != nil { 130 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 131 if ms.LoadMessageInfo() == nil { 132 ms.StoreMessageInfo(mi) 133 } 134 return ms 135 } 136 return mi.MessageOf(x) 137 } 138 139 // Deprecated: Use BalanceResponse.ProtoReflect.Descriptor instead. 140 func (*BalanceResponse) Descriptor() ([]byte, []int) { 141 return file_accounting_grpc_service_proto_rawDescGZIP(), []int{1} 142 } 143 144 func (x *BalanceResponse) GetBody() *BalanceResponse_Body { 145 if x != nil { 146 return x.Body 147 } 148 return nil 149 } 150 151 func (x *BalanceResponse) GetMetaHeader() *grpc.ResponseMetaHeader { 152 if x != nil { 153 return x.MetaHeader 154 } 155 return nil 156 } 157 158 func (x *BalanceResponse) GetVerifyHeader() *grpc.ResponseVerificationHeader { 159 if x != nil { 160 return x.VerifyHeader 161 } 162 return nil 163 } 164 165 // To indicate the account for which the balance is requested, its identifier 166 // is used. It can be any existing account in NeoFS sidechain `Balance` smart 167 // contract. If omitted, client implementation MUST set it to the request's 168 // signer `OwnerID`. 169 type BalanceRequest_Body struct { 170 state protoimpl.MessageState 171 sizeCache protoimpl.SizeCache 172 unknownFields protoimpl.UnknownFields 173 174 // Valid user identifier in `OwnerID` format for which the balance is 175 // requested. Required field. 176 OwnerId *grpc1.OwnerID `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` 177 } 178 179 func (x *BalanceRequest_Body) Reset() { 180 *x = BalanceRequest_Body{} 181 if protoimpl.UnsafeEnabled { 182 mi := &file_accounting_grpc_service_proto_msgTypes[2] 183 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 184 ms.StoreMessageInfo(mi) 185 } 186 } 187 188 func (x *BalanceRequest_Body) String() string { 189 return protoimpl.X.MessageStringOf(x) 190 } 191 192 func (*BalanceRequest_Body) ProtoMessage() {} 193 194 func (x *BalanceRequest_Body) ProtoReflect() protoreflect.Message { 195 mi := &file_accounting_grpc_service_proto_msgTypes[2] 196 if protoimpl.UnsafeEnabled && x != nil { 197 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 198 if ms.LoadMessageInfo() == nil { 199 ms.StoreMessageInfo(mi) 200 } 201 return ms 202 } 203 return mi.MessageOf(x) 204 } 205 206 // Deprecated: Use BalanceRequest_Body.ProtoReflect.Descriptor instead. 207 func (*BalanceRequest_Body) Descriptor() ([]byte, []int) { 208 return file_accounting_grpc_service_proto_rawDescGZIP(), []int{0, 0} 209 } 210 211 func (x *BalanceRequest_Body) GetOwnerId() *grpc1.OwnerID { 212 if x != nil { 213 return x.OwnerId 214 } 215 return nil 216 } 217 218 // The amount of funds in GAS token for the `OwnerID`'s account requested. 219 // Balance is given in the `Decimal` format to avoid precision issues with rounding. 220 type BalanceResponse_Body struct { 221 state protoimpl.MessageState 222 sizeCache protoimpl.SizeCache 223 unknownFields protoimpl.UnknownFields 224 225 // Amount of funds in GAS token for the requested account. 226 Balance *Decimal `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"` 227 } 228 229 func (x *BalanceResponse_Body) Reset() { 230 *x = BalanceResponse_Body{} 231 if protoimpl.UnsafeEnabled { 232 mi := &file_accounting_grpc_service_proto_msgTypes[3] 233 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 234 ms.StoreMessageInfo(mi) 235 } 236 } 237 238 func (x *BalanceResponse_Body) String() string { 239 return protoimpl.X.MessageStringOf(x) 240 } 241 242 func (*BalanceResponse_Body) ProtoMessage() {} 243 244 func (x *BalanceResponse_Body) ProtoReflect() protoreflect.Message { 245 mi := &file_accounting_grpc_service_proto_msgTypes[3] 246 if protoimpl.UnsafeEnabled && x != nil { 247 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 248 if ms.LoadMessageInfo() == nil { 249 ms.StoreMessageInfo(mi) 250 } 251 return ms 252 } 253 return mi.MessageOf(x) 254 } 255 256 // Deprecated: Use BalanceResponse_Body.ProtoReflect.Descriptor instead. 257 func (*BalanceResponse_Body) Descriptor() ([]byte, []int) { 258 return file_accounting_grpc_service_proto_rawDescGZIP(), []int{1, 0} 259 } 260 261 func (x *BalanceResponse_Body) GetBalance() *Decimal { 262 if x != nil { 263 return x.Balance 264 } 265 return nil 266 } 267 268 var File_accounting_grpc_service_proto protoreflect.FileDescriptor 269 270 var file_accounting_grpc_service_proto_rawDesc = []byte{ 271 0x0a, 0x1d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x67, 0x72, 0x70, 272 0x63, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 273 0x14, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 274 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x1a, 0x1b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x6e, 275 0x67, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 276 0x74, 0x6f, 0x1a, 0x15, 0x72, 0x65, 0x66, 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x74, 0x79, 277 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x73, 0x65, 0x73, 0x73, 0x69, 278 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 279 0x6f, 0x74, 0x6f, 0x22, 0xa5, 0x02, 0x0a, 0x0e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 280 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x01, 281 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 282 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x42, 0x61, 0x6c, 0x61, 283 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x52, 284 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x45, 0x0a, 0x0b, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x68, 0x65, 285 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x65, 0x6f, 286 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 287 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 288 0x52, 0x0a, 0x6d, 0x65, 0x74, 0x61, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x51, 0x0a, 0x0d, 289 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 290 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 291 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x56, 292 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 293 0x72, 0x52, 0x0c, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x1a, 294 0x3a, 0x0a, 0x04, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x32, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 295 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 296 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 297 0x49, 0x44, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x22, 0xae, 0x02, 0x0a, 0x0f, 298 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 299 0x3e, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 300 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 301 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 302 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 303 0x46, 0x0a, 0x0b, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 304 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 305 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 306 0x65, 0x4d, 0x65, 0x74, 0x61, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0a, 0x6d, 0x65, 0x74, 307 0x61, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x52, 0x0a, 0x0d, 0x76, 0x65, 0x72, 0x69, 0x66, 308 0x79, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 309 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 310 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x56, 0x65, 0x72, 0x69, 0x66, 311 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0c, 0x76, 312 0x65, 0x72, 0x69, 0x66, 0x79, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x1a, 0x3f, 0x0a, 0x04, 0x42, 313 0x6f, 0x64, 0x79, 0x12, 0x37, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 314 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 315 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x44, 0x65, 0x63, 0x69, 316 0x6d, 0x61, 0x6c, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x32, 0x6b, 0x0a, 0x11, 317 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 318 0x65, 0x12, 0x56, 0x0a, 0x07, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x24, 0x2e, 0x6e, 319 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 320 0x69, 0x6e, 0x67, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 321 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x61, 322 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 323 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x67, 0x5a, 0x44, 0x67, 0x69, 0x74, 324 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, 325 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, 326 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x6e, 327 0x67, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x6e, 328 0x67, 0xaa, 0x02, 0x1e, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 329 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 330 0x6e, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 331 } 332 333 var ( 334 file_accounting_grpc_service_proto_rawDescOnce sync.Once 335 file_accounting_grpc_service_proto_rawDescData = file_accounting_grpc_service_proto_rawDesc 336 ) 337 338 func file_accounting_grpc_service_proto_rawDescGZIP() []byte { 339 file_accounting_grpc_service_proto_rawDescOnce.Do(func() { 340 file_accounting_grpc_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_accounting_grpc_service_proto_rawDescData) 341 }) 342 return file_accounting_grpc_service_proto_rawDescData 343 } 344 345 var file_accounting_grpc_service_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 346 var file_accounting_grpc_service_proto_goTypes = []interface{}{ 347 (*BalanceRequest)(nil), // 0: neo.fs.v2.accounting.BalanceRequest 348 (*BalanceResponse)(nil), // 1: neo.fs.v2.accounting.BalanceResponse 349 (*BalanceRequest_Body)(nil), // 2: neo.fs.v2.accounting.BalanceRequest.Body 350 (*BalanceResponse_Body)(nil), // 3: neo.fs.v2.accounting.BalanceResponse.Body 351 (*grpc.RequestMetaHeader)(nil), // 4: neo.fs.v2.session.RequestMetaHeader 352 (*grpc.RequestVerificationHeader)(nil), // 5: neo.fs.v2.session.RequestVerificationHeader 353 (*grpc.ResponseMetaHeader)(nil), // 6: neo.fs.v2.session.ResponseMetaHeader 354 (*grpc.ResponseVerificationHeader)(nil), // 7: neo.fs.v2.session.ResponseVerificationHeader 355 (*grpc1.OwnerID)(nil), // 8: neo.fs.v2.refs.OwnerID 356 (*Decimal)(nil), // 9: neo.fs.v2.accounting.Decimal 357 } 358 var file_accounting_grpc_service_proto_depIdxs = []int32{ 359 2, // 0: neo.fs.v2.accounting.BalanceRequest.body:type_name -> neo.fs.v2.accounting.BalanceRequest.Body 360 4, // 1: neo.fs.v2.accounting.BalanceRequest.meta_header:type_name -> neo.fs.v2.session.RequestMetaHeader 361 5, // 2: neo.fs.v2.accounting.BalanceRequest.verify_header:type_name -> neo.fs.v2.session.RequestVerificationHeader 362 3, // 3: neo.fs.v2.accounting.BalanceResponse.body:type_name -> neo.fs.v2.accounting.BalanceResponse.Body 363 6, // 4: neo.fs.v2.accounting.BalanceResponse.meta_header:type_name -> neo.fs.v2.session.ResponseMetaHeader 364 7, // 5: neo.fs.v2.accounting.BalanceResponse.verify_header:type_name -> neo.fs.v2.session.ResponseVerificationHeader 365 8, // 6: neo.fs.v2.accounting.BalanceRequest.Body.owner_id:type_name -> neo.fs.v2.refs.OwnerID 366 9, // 7: neo.fs.v2.accounting.BalanceResponse.Body.balance:type_name -> neo.fs.v2.accounting.Decimal 367 0, // 8: neo.fs.v2.accounting.AccountingService.Balance:input_type -> neo.fs.v2.accounting.BalanceRequest 368 1, // 9: neo.fs.v2.accounting.AccountingService.Balance:output_type -> neo.fs.v2.accounting.BalanceResponse 369 9, // [9:10] is the sub-list for method output_type 370 8, // [8:9] is the sub-list for method input_type 371 8, // [8:8] is the sub-list for extension type_name 372 8, // [8:8] is the sub-list for extension extendee 373 0, // [0:8] is the sub-list for field type_name 374 } 375 376 func init() { file_accounting_grpc_service_proto_init() } 377 func file_accounting_grpc_service_proto_init() { 378 if File_accounting_grpc_service_proto != nil { 379 return 380 } 381 file_accounting_grpc_types_proto_init() 382 if !protoimpl.UnsafeEnabled { 383 file_accounting_grpc_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 384 switch v := v.(*BalanceRequest); i { 385 case 0: 386 return &v.state 387 case 1: 388 return &v.sizeCache 389 case 2: 390 return &v.unknownFields 391 default: 392 return nil 393 } 394 } 395 file_accounting_grpc_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 396 switch v := v.(*BalanceResponse); i { 397 case 0: 398 return &v.state 399 case 1: 400 return &v.sizeCache 401 case 2: 402 return &v.unknownFields 403 default: 404 return nil 405 } 406 } 407 file_accounting_grpc_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 408 switch v := v.(*BalanceRequest_Body); i { 409 case 0: 410 return &v.state 411 case 1: 412 return &v.sizeCache 413 case 2: 414 return &v.unknownFields 415 default: 416 return nil 417 } 418 } 419 file_accounting_grpc_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 420 switch v := v.(*BalanceResponse_Body); i { 421 case 0: 422 return &v.state 423 case 1: 424 return &v.sizeCache 425 case 2: 426 return &v.unknownFields 427 default: 428 return nil 429 } 430 } 431 } 432 type x struct{} 433 out := protoimpl.TypeBuilder{ 434 File: protoimpl.DescBuilder{ 435 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 436 RawDescriptor: file_accounting_grpc_service_proto_rawDesc, 437 NumEnums: 0, 438 NumMessages: 4, 439 NumExtensions: 0, 440 NumServices: 1, 441 }, 442 GoTypes: file_accounting_grpc_service_proto_goTypes, 443 DependencyIndexes: file_accounting_grpc_service_proto_depIdxs, 444 MessageInfos: file_accounting_grpc_service_proto_msgTypes, 445 }.Build() 446 File_accounting_grpc_service_proto = out.File 447 file_accounting_grpc_service_proto_rawDesc = nil 448 file_accounting_grpc_service_proto_goTypes = nil 449 file_accounting_grpc_service_proto_depIdxs = nil 450 }