wallet.pb.go1,358 lines, 41 KB
| 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // versions: |
| 3 | // protoc-gen-go v1.36.12 |
| 4 | // protoc (unknown) |
| 5 | // source: wallet/v1/wallet.proto |
| 6 | |
| 7 | // Version 1 of the wallet's API. A breaking change means a new package, |
| 8 | // wallet.v2, served next to this one until every client has moved. |
| 9 | |
| 10 | package walletv1 |
| 11 | |
| 12 | import ( |
| 13 | protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 14 | protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 15 | timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| 16 | reflect "reflect" |
| 17 | sync "sync" |
| 18 | unsafe "unsafe" |
| 19 | ) |
| 20 | |
| 21 | const ( |
| 22 | // Verify that this generated code is sufficiently up-to-date. |
| 23 | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 24 | // Verify that runtime/protoimpl is sufficiently up-to-date. |
| 25 | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 26 | ) |
| 27 | |
| 28 | // Money is an amount in minor units of a currency, like cents. Never a float. |
| 29 | type Money struct { |
| 30 | state protoimpl.MessageState `protogen:"open.v1"` |
| 31 | // 1050 is 10.50 USD. |
| 32 | AmountMinor int64 `protobuf:"varint,1,opt,name=amount_minor,json=amountMinor,proto3" json:"amount_minor,omitempty"` |
| 33 | // An ISO 4217 code, like USD. |
| 34 | Currency string `protobuf:"bytes,2,opt,name=currency,proto3" json:"currency,omitempty"` |
| 35 | unknownFields protoimpl.UnknownFields |
| 36 | sizeCache protoimpl.SizeCache |
| 37 | } |
| 38 | |
| 39 | func (x *Money) Reset() { |
| 40 | *x = Money{} |
| 41 | mi := &file_wallet_v1_wallet_proto_msgTypes[0] |
| 42 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 43 | ms.StoreMessageInfo(mi) |
| 44 | } |
| 45 | |
| 46 | func (x *Money) String() string { |
| 47 | return protoimpl.X.MessageStringOf(x) |
| 48 | } |
| 49 | |
| 50 | func (*Money) ProtoMessage() {} |
| 51 | |
| 52 | func (x *Money) ProtoReflect() protoreflect.Message { |
| 53 | mi := &file_wallet_v1_wallet_proto_msgTypes[0] |
| 54 | if x != nil { |
| 55 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 56 | if ms.LoadMessageInfo() == nil { |
| 57 | ms.StoreMessageInfo(mi) |
| 58 | } |
| 59 | return ms |
| 60 | } |
| 61 | return mi.MessageOf(x) |
| 62 | } |
| 63 | |
| 64 | // Deprecated: Use Money.ProtoReflect.Descriptor instead. |
| 65 | func (*Money) Descriptor() ([]byte, []int) { |
| 66 | return file_wallet_v1_wallet_proto_rawDescGZIP(), []int{0} |
| 67 | } |
| 68 | |
| 69 | func (x *Money) GetAmountMinor() int64 { |
| 70 | if x != nil { |
| 71 | return x.AmountMinor |
| 72 | } |
| 73 | return 0 |
| 74 | } |
| 75 | |
| 76 | func (x *Money) GetCurrency() string { |
| 77 | if x != nil { |
| 78 | return x.Currency |
| 79 | } |
| 80 | return "" |
| 81 | } |
| 82 | |
| 83 | // Wallet is a customer's account, in one currency. |
| 84 | type Wallet struct { |
| 85 | state protoimpl.MessageState `protogen:"open.v1"` |
| 86 | Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 87 | OwnerId string `protobuf:"bytes,2,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` |
| 88 | Currency string `protobuf:"bytes,3,opt,name=currency,proto3" json:"currency,omitempty"` |
| 89 | CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` |
| 90 | // A frozen wallet can't send or receive money. |
| 91 | Frozen bool `protobuf:"varint,5,opt,name=frozen,proto3" json:"frozen,omitempty"` |
| 92 | unknownFields protoimpl.UnknownFields |
| 93 | sizeCache protoimpl.SizeCache |
| 94 | } |
| 95 | |
| 96 | func (x *Wallet) Reset() { |
| 97 | *x = Wallet{} |
| 98 | mi := &file_wallet_v1_wallet_proto_msgTypes[1] |
| 99 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 100 | ms.StoreMessageInfo(mi) |
| 101 | } |
| 102 | |
| 103 | func (x *Wallet) String() string { |
| 104 | return protoimpl.X.MessageStringOf(x) |
| 105 | } |
| 106 | |
| 107 | func (*Wallet) ProtoMessage() {} |
| 108 | |
| 109 | func (x *Wallet) ProtoReflect() protoreflect.Message { |
| 110 | mi := &file_wallet_v1_wallet_proto_msgTypes[1] |
| 111 | if x != nil { |
| 112 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 113 | if ms.LoadMessageInfo() == nil { |
| 114 | ms.StoreMessageInfo(mi) |
| 115 | } |
| 116 | return ms |
| 117 | } |
| 118 | return mi.MessageOf(x) |
| 119 | } |
| 120 | |
| 121 | // Deprecated: Use Wallet.ProtoReflect.Descriptor instead. |
| 122 | func (*Wallet) Descriptor() ([]byte, []int) { |
| 123 | return file_wallet_v1_wallet_proto_rawDescGZIP(), []int{1} |
| 124 | } |
| 125 | |
| 126 | func (x *Wallet) GetId() string { |
| 127 | if x != nil { |
| 128 | return x.Id |
| 129 | } |
| 130 | return "" |
| 131 | } |
| 132 | |
| 133 | func (x *Wallet) GetOwnerId() string { |
| 134 | if x != nil { |
| 135 | return x.OwnerId |
| 136 | } |
| 137 | return "" |
| 138 | } |
| 139 | |
| 140 | func (x *Wallet) GetCurrency() string { |
| 141 | if x != nil { |
| 142 | return x.Currency |
| 143 | } |
| 144 | return "" |
| 145 | } |
| 146 | |
| 147 | func (x *Wallet) GetCreateTime() *timestamppb.Timestamp { |
| 148 | if x != nil { |
| 149 | return x.CreateTime |
| 150 | } |
| 151 | return nil |
| 152 | } |
| 153 | |
| 154 | func (x *Wallet) GetFrozen() bool { |
| 155 | if x != nil { |
| 156 | return x.Frozen |
| 157 | } |
| 158 | return false |
| 159 | } |
| 160 | |
| 161 | type CreateWalletRequest struct { |
| 162 | state protoimpl.MessageState `protogen:"open.v1"` |
| 163 | Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"` |
| 164 | unknownFields protoimpl.UnknownFields |
| 165 | sizeCache protoimpl.SizeCache |
| 166 | } |
| 167 | |
| 168 | func (x *CreateWalletRequest) Reset() { |
| 169 | *x = CreateWalletRequest{} |
| 170 | mi := &file_wallet_v1_wallet_proto_msgTypes[2] |
| 171 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 172 | ms.StoreMessageInfo(mi) |
| 173 | } |
| 174 | |
| 175 | func (x *CreateWalletRequest) String() string { |
| 176 | return protoimpl.X.MessageStringOf(x) |
| 177 | } |
| 178 | |
| 179 | func (*CreateWalletRequest) ProtoMessage() {} |
| 180 | |
| 181 | func (x *CreateWalletRequest) ProtoReflect() protoreflect.Message { |
| 182 | mi := &file_wallet_v1_wallet_proto_msgTypes[2] |
| 183 | if x != nil { |
| 184 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 185 | if ms.LoadMessageInfo() == nil { |
| 186 | ms.StoreMessageInfo(mi) |
| 187 | } |
| 188 | return ms |
| 189 | } |
| 190 | return mi.MessageOf(x) |
| 191 | } |
| 192 | |
| 193 | // Deprecated: Use CreateWalletRequest.ProtoReflect.Descriptor instead. |
| 194 | func (*CreateWalletRequest) Descriptor() ([]byte, []int) { |
| 195 | return file_wallet_v1_wallet_proto_rawDescGZIP(), []int{2} |
| 196 | } |
| 197 | |
| 198 | func (x *CreateWalletRequest) GetCurrency() string { |
| 199 | if x != nil { |
| 200 | return x.Currency |
| 201 | } |
| 202 | return "" |
| 203 | } |
| 204 | |
| 205 | type CreateWalletResponse struct { |
| 206 | state protoimpl.MessageState `protogen:"open.v1"` |
| 207 | Wallet *Wallet `protobuf:"bytes,1,opt,name=wallet,proto3" json:"wallet,omitempty"` |
| 208 | unknownFields protoimpl.UnknownFields |
| 209 | sizeCache protoimpl.SizeCache |
| 210 | } |
| 211 | |
| 212 | func (x *CreateWalletResponse) Reset() { |
| 213 | *x = CreateWalletResponse{} |
| 214 | mi := &file_wallet_v1_wallet_proto_msgTypes[3] |
| 215 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 216 | ms.StoreMessageInfo(mi) |
| 217 | } |
| 218 | |
| 219 | func (x *CreateWalletResponse) String() string { |
| 220 | return protoimpl.X.MessageStringOf(x) |
| 221 | } |
| 222 | |
| 223 | func (*CreateWalletResponse) ProtoMessage() {} |
| 224 | |
| 225 | func (x *CreateWalletResponse) ProtoReflect() protoreflect.Message { |
| 226 | mi := &file_wallet_v1_wallet_proto_msgTypes[3] |
| 227 | if x != nil { |
| 228 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 229 | if ms.LoadMessageInfo() == nil { |
| 230 | ms.StoreMessageInfo(mi) |
| 231 | } |
| 232 | return ms |
| 233 | } |
| 234 | return mi.MessageOf(x) |
| 235 | } |
| 236 | |
| 237 | // Deprecated: Use CreateWalletResponse.ProtoReflect.Descriptor instead. |
| 238 | func (*CreateWalletResponse) Descriptor() ([]byte, []int) { |
| 239 | return file_wallet_v1_wallet_proto_rawDescGZIP(), []int{3} |
| 240 | } |
| 241 | |
| 242 | func (x *CreateWalletResponse) GetWallet() *Wallet { |
| 243 | if x != nil { |
| 244 | return x.Wallet |
| 245 | } |
| 246 | return nil |
| 247 | } |
| 248 | |
| 249 | type GetWalletRequest struct { |
| 250 | state protoimpl.MessageState `protogen:"open.v1"` |
| 251 | WalletId string `protobuf:"bytes,1,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"` |
| 252 | unknownFields protoimpl.UnknownFields |
| 253 | sizeCache protoimpl.SizeCache |
| 254 | } |
| 255 | |
| 256 | func (x *GetWalletRequest) Reset() { |
| 257 | *x = GetWalletRequest{} |
| 258 | mi := &file_wallet_v1_wallet_proto_msgTypes[4] |
| 259 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 260 | ms.StoreMessageInfo(mi) |
| 261 | } |
| 262 | |
| 263 | func (x *GetWalletRequest) String() string { |
| 264 | return protoimpl.X.MessageStringOf(x) |
| 265 | } |
| 266 | |
| 267 | func (*GetWalletRequest) ProtoMessage() {} |
| 268 | |
| 269 | func (x *GetWalletRequest) ProtoReflect() protoreflect.Message { |
| 270 | mi := &file_wallet_v1_wallet_proto_msgTypes[4] |
| 271 | if 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 GetWalletRequest.ProtoReflect.Descriptor instead. |
| 282 | func (*GetWalletRequest) Descriptor() ([]byte, []int) { |
| 283 | return file_wallet_v1_wallet_proto_rawDescGZIP(), []int{4} |
| 284 | } |
| 285 | |
| 286 | func (x *GetWalletRequest) GetWalletId() string { |
| 287 | if x != nil { |
| 288 | return x.WalletId |
| 289 | } |
| 290 | return "" |
| 291 | } |
| 292 | |
| 293 | type GetWalletResponse struct { |
| 294 | state protoimpl.MessageState `protogen:"open.v1"` |
| 295 | Wallet *Wallet `protobuf:"bytes,1,opt,name=wallet,proto3" json:"wallet,omitempty"` |
| 296 | unknownFields protoimpl.UnknownFields |
| 297 | sizeCache protoimpl.SizeCache |
| 298 | } |
| 299 | |
| 300 | func (x *GetWalletResponse) Reset() { |
| 301 | *x = GetWalletResponse{} |
| 302 | mi := &file_wallet_v1_wallet_proto_msgTypes[5] |
| 303 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 304 | ms.StoreMessageInfo(mi) |
| 305 | } |
| 306 | |
| 307 | func (x *GetWalletResponse) String() string { |
| 308 | return protoimpl.X.MessageStringOf(x) |
| 309 | } |
| 310 | |
| 311 | func (*GetWalletResponse) ProtoMessage() {} |
| 312 | |
| 313 | func (x *GetWalletResponse) ProtoReflect() protoreflect.Message { |
| 314 | mi := &file_wallet_v1_wallet_proto_msgTypes[5] |
| 315 | if x != nil { |
| 316 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 317 | if ms.LoadMessageInfo() == nil { |
| 318 | ms.StoreMessageInfo(mi) |
| 319 | } |
| 320 | return ms |
| 321 | } |
| 322 | return mi.MessageOf(x) |
| 323 | } |
| 324 | |
| 325 | // Deprecated: Use GetWalletResponse.ProtoReflect.Descriptor instead. |
| 326 | func (*GetWalletResponse) Descriptor() ([]byte, []int) { |
| 327 | return file_wallet_v1_wallet_proto_rawDescGZIP(), []int{5} |
| 328 | } |
| 329 | |
| 330 | func (x *GetWalletResponse) GetWallet() *Wallet { |
| 331 | if x != nil { |
| 332 | return x.Wallet |
| 333 | } |
| 334 | return nil |
| 335 | } |
| 336 | |
| 337 | type GetBalanceRequest struct { |
| 338 | state protoimpl.MessageState `protogen:"open.v1"` |
| 339 | WalletId string `protobuf:"bytes,1,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"` |
| 340 | unknownFields protoimpl.UnknownFields |
| 341 | sizeCache protoimpl.SizeCache |
| 342 | } |
| 343 | |
| 344 | func (x *GetBalanceRequest) Reset() { |
| 345 | *x = GetBalanceRequest{} |
| 346 | mi := &file_wallet_v1_wallet_proto_msgTypes[6] |
| 347 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 348 | ms.StoreMessageInfo(mi) |
| 349 | } |
| 350 | |
| 351 | func (x *GetBalanceRequest) String() string { |
| 352 | return protoimpl.X.MessageStringOf(x) |
| 353 | } |
| 354 | |
| 355 | func (*GetBalanceRequest) ProtoMessage() {} |
| 356 | |
| 357 | func (x *GetBalanceRequest) ProtoReflect() protoreflect.Message { |
| 358 | mi := &file_wallet_v1_wallet_proto_msgTypes[6] |
| 359 | if x != nil { |
| 360 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 361 | if ms.LoadMessageInfo() == nil { |
| 362 | ms.StoreMessageInfo(mi) |
| 363 | } |
| 364 | return ms |
| 365 | } |
| 366 | return mi.MessageOf(x) |
| 367 | } |
| 368 | |
| 369 | // Deprecated: Use GetBalanceRequest.ProtoReflect.Descriptor instead. |
| 370 | func (*GetBalanceRequest) Descriptor() ([]byte, []int) { |
| 371 | return file_wallet_v1_wallet_proto_rawDescGZIP(), []int{6} |
| 372 | } |
| 373 | |
| 374 | func (x *GetBalanceRequest) GetWalletId() string { |
| 375 | if x != nil { |
| 376 | return x.WalletId |
| 377 | } |
| 378 | return "" |
| 379 | } |
| 380 | |
| 381 | type GetBalanceResponse struct { |
| 382 | state protoimpl.MessageState `protogen:"open.v1"` |
| 383 | WalletId string `protobuf:"bytes,1,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"` |
| 384 | Balance *Money `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"` |
| 385 | unknownFields protoimpl.UnknownFields |
| 386 | sizeCache protoimpl.SizeCache |
| 387 | } |
| 388 | |
| 389 | func (x *GetBalanceResponse) Reset() { |
| 390 | *x = GetBalanceResponse{} |
| 391 | mi := &file_wallet_v1_wallet_proto_msgTypes[7] |
| 392 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 393 | ms.StoreMessageInfo(mi) |
| 394 | } |
| 395 | |
| 396 | func (x *GetBalanceResponse) String() string { |
| 397 | return protoimpl.X.MessageStringOf(x) |
| 398 | } |
| 399 | |
| 400 | func (*GetBalanceResponse) ProtoMessage() {} |
| 401 | |
| 402 | func (x *GetBalanceResponse) ProtoReflect() protoreflect.Message { |
| 403 | mi := &file_wallet_v1_wallet_proto_msgTypes[7] |
| 404 | if x != nil { |
| 405 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 406 | if ms.LoadMessageInfo() == nil { |
| 407 | ms.StoreMessageInfo(mi) |
| 408 | } |
| 409 | return ms |
| 410 | } |
| 411 | return mi.MessageOf(x) |
| 412 | } |
| 413 | |
| 414 | // Deprecated: Use GetBalanceResponse.ProtoReflect.Descriptor instead. |
| 415 | func (*GetBalanceResponse) Descriptor() ([]byte, []int) { |
| 416 | return file_wallet_v1_wallet_proto_rawDescGZIP(), []int{7} |
| 417 | } |
| 418 | |
| 419 | func (x *GetBalanceResponse) GetWalletId() string { |
| 420 | if x != nil { |
| 421 | return x.WalletId |
| 422 | } |
| 423 | return "" |
| 424 | } |
| 425 | |
| 426 | func (x *GetBalanceResponse) GetBalance() *Money { |
| 427 | if x != nil { |
| 428 | return x.Balance |
| 429 | } |
| 430 | return nil |
| 431 | } |
| 432 | |
| 433 | type DepositRequest struct { |
| 434 | state protoimpl.MessageState `protogen:"open.v1"` |
| 435 | // Chosen by the caller, unique per deposit: 1 to 255 characters. |
| 436 | IdempotencyKey string `protobuf:"bytes,1,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"` |
| 437 | WalletId string `protobuf:"bytes,2,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"` |
| 438 | Amount *Money `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` |
| 439 | unknownFields protoimpl.UnknownFields |
| 440 | sizeCache protoimpl.SizeCache |
| 441 | } |
| 442 | |
| 443 | func (x *DepositRequest) Reset() { |
| 444 | *x = DepositRequest{} |
| 445 | mi := &file_wallet_v1_wallet_proto_msgTypes[8] |
| 446 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 447 | ms.StoreMessageInfo(mi) |
| 448 | } |
| 449 | |
| 450 | func (x *DepositRequest) String() string { |
| 451 | return protoimpl.X.MessageStringOf(x) |
| 452 | } |
| 453 | |
| 454 | func (*DepositRequest) ProtoMessage() {} |
| 455 | |
| 456 | func (x *DepositRequest) ProtoReflect() protoreflect.Message { |
| 457 | mi := &file_wallet_v1_wallet_proto_msgTypes[8] |
| 458 | if x != nil { |
| 459 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 460 | if ms.LoadMessageInfo() == nil { |
| 461 | ms.StoreMessageInfo(mi) |
| 462 | } |
| 463 | return ms |
| 464 | } |
| 465 | return mi.MessageOf(x) |
| 466 | } |
| 467 | |
| 468 | // Deprecated: Use DepositRequest.ProtoReflect.Descriptor instead. |
| 469 | func (*DepositRequest) Descriptor() ([]byte, []int) { |
| 470 | return file_wallet_v1_wallet_proto_rawDescGZIP(), []int{8} |
| 471 | } |
| 472 | |
| 473 | func (x *DepositRequest) GetIdempotencyKey() string { |
| 474 | if x != nil { |
| 475 | return x.IdempotencyKey |
| 476 | } |
| 477 | return "" |
| 478 | } |
| 479 | |
| 480 | func (x *DepositRequest) GetWalletId() string { |
| 481 | if x != nil { |
| 482 | return x.WalletId |
| 483 | } |
| 484 | return "" |
| 485 | } |
| 486 | |
| 487 | func (x *DepositRequest) GetAmount() *Money { |
| 488 | if x != nil { |
| 489 | return x.Amount |
| 490 | } |
| 491 | return nil |
| 492 | } |
| 493 | |
| 494 | type DepositResponse struct { |
| 495 | state protoimpl.MessageState `protogen:"open.v1"` |
| 496 | TransactionId string `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` |
| 497 | WalletId string `protobuf:"bytes,2,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"` |
| 498 | Amount *Money `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` |
| 499 | CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` |
| 500 | unknownFields protoimpl.UnknownFields |
| 501 | sizeCache protoimpl.SizeCache |
| 502 | } |
| 503 | |
| 504 | func (x *DepositResponse) Reset() { |
| 505 | *x = DepositResponse{} |
| 506 | mi := &file_wallet_v1_wallet_proto_msgTypes[9] |
| 507 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 508 | ms.StoreMessageInfo(mi) |
| 509 | } |
| 510 | |
| 511 | func (x *DepositResponse) String() string { |
| 512 | return protoimpl.X.MessageStringOf(x) |
| 513 | } |
| 514 | |
| 515 | func (*DepositResponse) ProtoMessage() {} |
| 516 | |
| 517 | func (x *DepositResponse) ProtoReflect() protoreflect.Message { |
| 518 | mi := &file_wallet_v1_wallet_proto_msgTypes[9] |
| 519 | if x != nil { |
| 520 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 521 | if ms.LoadMessageInfo() == nil { |
| 522 | ms.StoreMessageInfo(mi) |
| 523 | } |
| 524 | return ms |
| 525 | } |
| 526 | return mi.MessageOf(x) |
| 527 | } |
| 528 | |
| 529 | // Deprecated: Use DepositResponse.ProtoReflect.Descriptor instead. |
| 530 | func (*DepositResponse) Descriptor() ([]byte, []int) { |
| 531 | return file_wallet_v1_wallet_proto_rawDescGZIP(), []int{9} |
| 532 | } |
| 533 | |
| 534 | func (x *DepositResponse) GetTransactionId() string { |
| 535 | if x != nil { |
| 536 | return x.TransactionId |
| 537 | } |
| 538 | return "" |
| 539 | } |
| 540 | |
| 541 | func (x *DepositResponse) GetWalletId() string { |
| 542 | if x != nil { |
| 543 | return x.WalletId |
| 544 | } |
| 545 | return "" |
| 546 | } |
| 547 | |
| 548 | func (x *DepositResponse) GetAmount() *Money { |
| 549 | if x != nil { |
| 550 | return x.Amount |
| 551 | } |
| 552 | return nil |
| 553 | } |
| 554 | |
| 555 | func (x *DepositResponse) GetCreateTime() *timestamppb.Timestamp { |
| 556 | if x != nil { |
| 557 | return x.CreateTime |
| 558 | } |
| 559 | return nil |
| 560 | } |
| 561 | |
| 562 | type TransferRequest struct { |
| 563 | state protoimpl.MessageState `protogen:"open.v1"` |
| 564 | // Chosen by the caller, unique per transfer: 1 to 255 characters. Send the |
| 565 | // same key again to retry safely. |
| 566 | IdempotencyKey string `protobuf:"bytes,1,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"` |
| 567 | FromWalletId string `protobuf:"bytes,2,opt,name=from_wallet_id,json=fromWalletId,proto3" json:"from_wallet_id,omitempty"` |
| 568 | ToWalletId string `protobuf:"bytes,3,opt,name=to_wallet_id,json=toWalletId,proto3" json:"to_wallet_id,omitempty"` |
| 569 | Amount *Money `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` |
| 570 | unknownFields protoimpl.UnknownFields |
| 571 | sizeCache protoimpl.SizeCache |
| 572 | } |
| 573 | |
| 574 | func (x *TransferRequest) Reset() { |
| 575 | *x = TransferRequest{} |
| 576 | mi := &file_wallet_v1_wallet_proto_msgTypes[10] |
| 577 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 578 | ms.StoreMessageInfo(mi) |
| 579 | } |
| 580 | |
| 581 | func (x *TransferRequest) String() string { |
| 582 | return protoimpl.X.MessageStringOf(x) |
| 583 | } |
| 584 | |
| 585 | func (*TransferRequest) ProtoMessage() {} |
| 586 | |
| 587 | func (x *TransferRequest) ProtoReflect() protoreflect.Message { |
| 588 | mi := &file_wallet_v1_wallet_proto_msgTypes[10] |
| 589 | if x != nil { |
| 590 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 591 | if ms.LoadMessageInfo() == nil { |
| 592 | ms.StoreMessageInfo(mi) |
| 593 | } |
| 594 | return ms |
| 595 | } |
| 596 | return mi.MessageOf(x) |
| 597 | } |
| 598 | |
| 599 | // Deprecated: Use TransferRequest.ProtoReflect.Descriptor instead. |
| 600 | func (*TransferRequest) Descriptor() ([]byte, []int) { |
| 601 | return file_wallet_v1_wallet_proto_rawDescGZIP(), []int{10} |
| 602 | } |
| 603 | |
| 604 | func (x *TransferRequest) GetIdempotencyKey() string { |
| 605 | if x != nil { |
| 606 | return x.IdempotencyKey |
| 607 | } |
| 608 | return "" |
| 609 | } |
| 610 | |
| 611 | func (x *TransferRequest) GetFromWalletId() string { |
| 612 | if x != nil { |
| 613 | return x.FromWalletId |
| 614 | } |
| 615 | return "" |
| 616 | } |
| 617 | |
| 618 | func (x *TransferRequest) GetToWalletId() string { |
| 619 | if x != nil { |
| 620 | return x.ToWalletId |
| 621 | } |
| 622 | return "" |
| 623 | } |
| 624 | |
| 625 | func (x *TransferRequest) GetAmount() *Money { |
| 626 | if x != nil { |
| 627 | return x.Amount |
| 628 | } |
| 629 | return nil |
| 630 | } |
| 631 | |
| 632 | type TransferResponse struct { |
| 633 | state protoimpl.MessageState `protogen:"open.v1"` |
| 634 | TransactionId string `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` |
| 635 | FromWalletId string `protobuf:"bytes,2,opt,name=from_wallet_id,json=fromWalletId,proto3" json:"from_wallet_id,omitempty"` |
| 636 | ToWalletId string `protobuf:"bytes,3,opt,name=to_wallet_id,json=toWalletId,proto3" json:"to_wallet_id,omitempty"` |
| 637 | Amount *Money `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` |
| 638 | CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` |
| 639 | unknownFields protoimpl.UnknownFields |
| 640 | sizeCache protoimpl.SizeCache |
| 641 | } |
| 642 | |
| 643 | func (x *TransferResponse) Reset() { |
| 644 | *x = TransferResponse{} |
| 645 | mi := &file_wallet_v1_wallet_proto_msgTypes[11] |
| 646 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 647 | ms.StoreMessageInfo(mi) |
| 648 | } |
| 649 | |
| 650 | func (x *TransferResponse) String() string { |
| 651 | return protoimpl.X.MessageStringOf(x) |
| 652 | } |
| 653 | |
| 654 | func (*TransferResponse) ProtoMessage() {} |
| 655 | |
| 656 | func (x *TransferResponse) ProtoReflect() protoreflect.Message { |
| 657 | mi := &file_wallet_v1_wallet_proto_msgTypes[11] |
| 658 | if x != nil { |
| 659 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 660 | if ms.LoadMessageInfo() == nil { |
| 661 | ms.StoreMessageInfo(mi) |
| 662 | } |
| 663 | return ms |
| 664 | } |
| 665 | return mi.MessageOf(x) |
| 666 | } |
| 667 | |
| 668 | // Deprecated: Use TransferResponse.ProtoReflect.Descriptor instead. |
| 669 | func (*TransferResponse) Descriptor() ([]byte, []int) { |
| 670 | return file_wallet_v1_wallet_proto_rawDescGZIP(), []int{11} |
| 671 | } |
| 672 | |
| 673 | func (x *TransferResponse) GetTransactionId() string { |
| 674 | if x != nil { |
| 675 | return x.TransactionId |
| 676 | } |
| 677 | return "" |
| 678 | } |
| 679 | |
| 680 | func (x *TransferResponse) GetFromWalletId() string { |
| 681 | if x != nil { |
| 682 | return x.FromWalletId |
| 683 | } |
| 684 | return "" |
| 685 | } |
| 686 | |
| 687 | func (x *TransferResponse) GetToWalletId() string { |
| 688 | if x != nil { |
| 689 | return x.ToWalletId |
| 690 | } |
| 691 | return "" |
| 692 | } |
| 693 | |
| 694 | func (x *TransferResponse) GetAmount() *Money { |
| 695 | if x != nil { |
| 696 | return x.Amount |
| 697 | } |
| 698 | return nil |
| 699 | } |
| 700 | |
| 701 | func (x *TransferResponse) GetCreateTime() *timestamppb.Timestamp { |
| 702 | if x != nil { |
| 703 | return x.CreateTime |
| 704 | } |
| 705 | return nil |
| 706 | } |
| 707 | |
| 708 | // Hold is money set aside, until it's captured or released. |
| 709 | type Hold struct { |
| 710 | state protoimpl.MessageState `protogen:"open.v1"` |
| 711 | Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 712 | WalletId string `protobuf:"bytes,2,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"` |
| 713 | Amount *Money `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` |
| 714 | // held, captured or released |
| 715 | Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` |
| 716 | unknownFields protoimpl.UnknownFields |
| 717 | sizeCache protoimpl.SizeCache |
| 718 | } |
| 719 | |
| 720 | func (x *Hold) Reset() { |
| 721 | *x = Hold{} |
| 722 | mi := &file_wallet_v1_wallet_proto_msgTypes[12] |
| 723 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 724 | ms.StoreMessageInfo(mi) |
| 725 | } |
| 726 | |
| 727 | func (x *Hold) String() string { |
| 728 | return protoimpl.X.MessageStringOf(x) |
| 729 | } |
| 730 | |
| 731 | func (*Hold) ProtoMessage() {} |
| 732 | |
| 733 | func (x *Hold) ProtoReflect() protoreflect.Message { |
| 734 | mi := &file_wallet_v1_wallet_proto_msgTypes[12] |
| 735 | if x != nil { |
| 736 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 737 | if ms.LoadMessageInfo() == nil { |
| 738 | ms.StoreMessageInfo(mi) |
| 739 | } |
| 740 | return ms |
| 741 | } |
| 742 | return mi.MessageOf(x) |
| 743 | } |
| 744 | |
| 745 | // Deprecated: Use Hold.ProtoReflect.Descriptor instead. |
| 746 | func (*Hold) Descriptor() ([]byte, []int) { |
| 747 | return file_wallet_v1_wallet_proto_rawDescGZIP(), []int{12} |
| 748 | } |
| 749 | |
| 750 | func (x *Hold) GetId() string { |
| 751 | if x != nil { |
| 752 | return x.Id |
| 753 | } |
| 754 | return "" |
| 755 | } |
| 756 | |
| 757 | func (x *Hold) GetWalletId() string { |
| 758 | if x != nil { |
| 759 | return x.WalletId |
| 760 | } |
| 761 | return "" |
| 762 | } |
| 763 | |
| 764 | func (x *Hold) GetAmount() *Money { |
| 765 | if x != nil { |
| 766 | return x.Amount |
| 767 | } |
| 768 | return nil |
| 769 | } |
| 770 | |
| 771 | func (x *Hold) GetStatus() string { |
| 772 | if x != nil { |
| 773 | return x.Status |
| 774 | } |
| 775 | return "" |
| 776 | } |
| 777 | |
| 778 | type HoldRequest struct { |
| 779 | state protoimpl.MessageState `protogen:"open.v1"` |
| 780 | // Chosen by the caller, like a transfer's ID. |
| 781 | HoldId string `protobuf:"bytes,1,opt,name=hold_id,json=holdId,proto3" json:"hold_id,omitempty"` |
| 782 | // The wallet must be theirs. |
| 783 | OwnerId string `protobuf:"bytes,2,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` |
| 784 | WalletId string `protobuf:"bytes,3,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"` |
| 785 | Amount *Money `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` |
| 786 | unknownFields protoimpl.UnknownFields |
| 787 | sizeCache protoimpl.SizeCache |
| 788 | } |
| 789 | |
| 790 | func (x *HoldRequest) Reset() { |
| 791 | *x = HoldRequest{} |
| 792 | mi := &file_wallet_v1_wallet_proto_msgTypes[13] |
| 793 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 794 | ms.StoreMessageInfo(mi) |
| 795 | } |
| 796 | |
| 797 | func (x *HoldRequest) String() string { |
| 798 | return protoimpl.X.MessageStringOf(x) |
| 799 | } |
| 800 | |
| 801 | func (*HoldRequest) ProtoMessage() {} |
| 802 | |
| 803 | func (x *HoldRequest) ProtoReflect() protoreflect.Message { |
| 804 | mi := &file_wallet_v1_wallet_proto_msgTypes[13] |
| 805 | if x != nil { |
| 806 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 807 | if ms.LoadMessageInfo() == nil { |
| 808 | ms.StoreMessageInfo(mi) |
| 809 | } |
| 810 | return ms |
| 811 | } |
| 812 | return mi.MessageOf(x) |
| 813 | } |
| 814 | |
| 815 | // Deprecated: Use HoldRequest.ProtoReflect.Descriptor instead. |
| 816 | func (*HoldRequest) Descriptor() ([]byte, []int) { |
| 817 | return file_wallet_v1_wallet_proto_rawDescGZIP(), []int{13} |
| 818 | } |
| 819 | |
| 820 | func (x *HoldRequest) GetHoldId() string { |
| 821 | if x != nil { |
| 822 | return x.HoldId |
| 823 | } |
| 824 | return "" |
| 825 | } |
| 826 | |
| 827 | func (x *HoldRequest) GetOwnerId() string { |
| 828 | if x != nil { |
| 829 | return x.OwnerId |
| 830 | } |
| 831 | return "" |
| 832 | } |
| 833 | |
| 834 | func (x *HoldRequest) GetWalletId() string { |
| 835 | if x != nil { |
| 836 | return x.WalletId |
| 837 | } |
| 838 | return "" |
| 839 | } |
| 840 | |
| 841 | func (x *HoldRequest) GetAmount() *Money { |
| 842 | if x != nil { |
| 843 | return x.Amount |
| 844 | } |
| 845 | return nil |
| 846 | } |
| 847 | |
| 848 | type HoldResponse struct { |
| 849 | state protoimpl.MessageState `protogen:"open.v1"` |
| 850 | Hold *Hold `protobuf:"bytes,1,opt,name=hold,proto3" json:"hold,omitempty"` |
| 851 | unknownFields protoimpl.UnknownFields |
| 852 | sizeCache protoimpl.SizeCache |
| 853 | } |
| 854 | |
| 855 | func (x *HoldResponse) Reset() { |
| 856 | *x = HoldResponse{} |
| 857 | mi := &file_wallet_v1_wallet_proto_msgTypes[14] |
| 858 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 859 | ms.StoreMessageInfo(mi) |
| 860 | } |
| 861 | |
| 862 | func (x *HoldResponse) String() string { |
| 863 | return protoimpl.X.MessageStringOf(x) |
| 864 | } |
| 865 | |
| 866 | func (*HoldResponse) ProtoMessage() {} |
| 867 | |
| 868 | func (x *HoldResponse) ProtoReflect() protoreflect.Message { |
| 869 | mi := &file_wallet_v1_wallet_proto_msgTypes[14] |
| 870 | if x != nil { |
| 871 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 872 | if ms.LoadMessageInfo() == nil { |
| 873 | ms.StoreMessageInfo(mi) |
| 874 | } |
| 875 | return ms |
| 876 | } |
| 877 | return mi.MessageOf(x) |
| 878 | } |
| 879 | |
| 880 | // Deprecated: Use HoldResponse.ProtoReflect.Descriptor instead. |
| 881 | func (*HoldResponse) Descriptor() ([]byte, []int) { |
| 882 | return file_wallet_v1_wallet_proto_rawDescGZIP(), []int{14} |
| 883 | } |
| 884 | |
| 885 | func (x *HoldResponse) GetHold() *Hold { |
| 886 | if x != nil { |
| 887 | return x.Hold |
| 888 | } |
| 889 | return nil |
| 890 | } |
| 891 | |
| 892 | type CaptureRequest struct { |
| 893 | state protoimpl.MessageState `protogen:"open.v1"` |
| 894 | HoldId string `protobuf:"bytes,1,opt,name=hold_id,json=holdId,proto3" json:"hold_id,omitempty"` |
| 895 | ToWalletId string `protobuf:"bytes,2,opt,name=to_wallet_id,json=toWalletId,proto3" json:"to_wallet_id,omitempty"` |
| 896 | unknownFields protoimpl.UnknownFields |
| 897 | sizeCache protoimpl.SizeCache |
| 898 | } |
| 899 | |
| 900 | func (x *CaptureRequest) Reset() { |
| 901 | *x = CaptureRequest{} |
| 902 | mi := &file_wallet_v1_wallet_proto_msgTypes[15] |
| 903 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 904 | ms.StoreMessageInfo(mi) |
| 905 | } |
| 906 | |
| 907 | func (x *CaptureRequest) String() string { |
| 908 | return protoimpl.X.MessageStringOf(x) |
| 909 | } |
| 910 | |
| 911 | func (*CaptureRequest) ProtoMessage() {} |
| 912 | |
| 913 | func (x *CaptureRequest) ProtoReflect() protoreflect.Message { |
| 914 | mi := &file_wallet_v1_wallet_proto_msgTypes[15] |
| 915 | if x != nil { |
| 916 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 917 | if ms.LoadMessageInfo() == nil { |
| 918 | ms.StoreMessageInfo(mi) |
| 919 | } |
| 920 | return ms |
| 921 | } |
| 922 | return mi.MessageOf(x) |
| 923 | } |
| 924 | |
| 925 | // Deprecated: Use CaptureRequest.ProtoReflect.Descriptor instead. |
| 926 | func (*CaptureRequest) Descriptor() ([]byte, []int) { |
| 927 | return file_wallet_v1_wallet_proto_rawDescGZIP(), []int{15} |
| 928 | } |
| 929 | |
| 930 | func (x *CaptureRequest) GetHoldId() string { |
| 931 | if x != nil { |
| 932 | return x.HoldId |
| 933 | } |
| 934 | return "" |
| 935 | } |
| 936 | |
| 937 | func (x *CaptureRequest) GetToWalletId() string { |
| 938 | if x != nil { |
| 939 | return x.ToWalletId |
| 940 | } |
| 941 | return "" |
| 942 | } |
| 943 | |
| 944 | type CaptureResponse struct { |
| 945 | state protoimpl.MessageState `protogen:"open.v1"` |
| 946 | Hold *Hold `protobuf:"bytes,1,opt,name=hold,proto3" json:"hold,omitempty"` |
| 947 | unknownFields protoimpl.UnknownFields |
| 948 | sizeCache protoimpl.SizeCache |
| 949 | } |
| 950 | |
| 951 | func (x *CaptureResponse) Reset() { |
| 952 | *x = CaptureResponse{} |
| 953 | mi := &file_wallet_v1_wallet_proto_msgTypes[16] |
| 954 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 955 | ms.StoreMessageInfo(mi) |
| 956 | } |
| 957 | |
| 958 | func (x *CaptureResponse) String() string { |
| 959 | return protoimpl.X.MessageStringOf(x) |
| 960 | } |
| 961 | |
| 962 | func (*CaptureResponse) ProtoMessage() {} |
| 963 | |
| 964 | func (x *CaptureResponse) ProtoReflect() protoreflect.Message { |
| 965 | mi := &file_wallet_v1_wallet_proto_msgTypes[16] |
| 966 | if x != nil { |
| 967 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 968 | if ms.LoadMessageInfo() == nil { |
| 969 | ms.StoreMessageInfo(mi) |
| 970 | } |
| 971 | return ms |
| 972 | } |
| 973 | return mi.MessageOf(x) |
| 974 | } |
| 975 | |
| 976 | // Deprecated: Use CaptureResponse.ProtoReflect.Descriptor instead. |
| 977 | func (*CaptureResponse) Descriptor() ([]byte, []int) { |
| 978 | return file_wallet_v1_wallet_proto_rawDescGZIP(), []int{16} |
| 979 | } |
| 980 | |
| 981 | func (x *CaptureResponse) GetHold() *Hold { |
| 982 | if x != nil { |
| 983 | return x.Hold |
| 984 | } |
| 985 | return nil |
| 986 | } |
| 987 | |
| 988 | type ReleaseRequest struct { |
| 989 | state protoimpl.MessageState `protogen:"open.v1"` |
| 990 | HoldId string `protobuf:"bytes,1,opt,name=hold_id,json=holdId,proto3" json:"hold_id,omitempty"` |
| 991 | unknownFields protoimpl.UnknownFields |
| 992 | sizeCache protoimpl.SizeCache |
| 993 | } |
| 994 | |
| 995 | func (x *ReleaseRequest) Reset() { |
| 996 | *x = ReleaseRequest{} |
| 997 | mi := &file_wallet_v1_wallet_proto_msgTypes[17] |
| 998 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 999 | ms.StoreMessageInfo(mi) |
| 1000 | } |
| 1001 | |
| 1002 | func (x *ReleaseRequest) String() string { |
| 1003 | return protoimpl.X.MessageStringOf(x) |
| 1004 | } |
| 1005 | |
| 1006 | func (*ReleaseRequest) ProtoMessage() {} |
| 1007 | |
| 1008 | func (x *ReleaseRequest) ProtoReflect() protoreflect.Message { |
| 1009 | mi := &file_wallet_v1_wallet_proto_msgTypes[17] |
| 1010 | if x != nil { |
| 1011 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1012 | if ms.LoadMessageInfo() == nil { |
| 1013 | ms.StoreMessageInfo(mi) |
| 1014 | } |
| 1015 | return ms |
| 1016 | } |
| 1017 | return mi.MessageOf(x) |
| 1018 | } |
| 1019 | |
| 1020 | // Deprecated: Use ReleaseRequest.ProtoReflect.Descriptor instead. |
| 1021 | func (*ReleaseRequest) Descriptor() ([]byte, []int) { |
| 1022 | return file_wallet_v1_wallet_proto_rawDescGZIP(), []int{17} |
| 1023 | } |
| 1024 | |
| 1025 | func (x *ReleaseRequest) GetHoldId() string { |
| 1026 | if x != nil { |
| 1027 | return x.HoldId |
| 1028 | } |
| 1029 | return "" |
| 1030 | } |
| 1031 | |
| 1032 | type ReleaseResponse struct { |
| 1033 | state protoimpl.MessageState `protogen:"open.v1"` |
| 1034 | Hold *Hold `protobuf:"bytes,1,opt,name=hold,proto3" json:"hold,omitempty"` |
| 1035 | unknownFields protoimpl.UnknownFields |
| 1036 | sizeCache protoimpl.SizeCache |
| 1037 | } |
| 1038 | |
| 1039 | func (x *ReleaseResponse) Reset() { |
| 1040 | *x = ReleaseResponse{} |
| 1041 | mi := &file_wallet_v1_wallet_proto_msgTypes[18] |
| 1042 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1043 | ms.StoreMessageInfo(mi) |
| 1044 | } |
| 1045 | |
| 1046 | func (x *ReleaseResponse) String() string { |
| 1047 | return protoimpl.X.MessageStringOf(x) |
| 1048 | } |
| 1049 | |
| 1050 | func (*ReleaseResponse) ProtoMessage() {} |
| 1051 | |
| 1052 | func (x *ReleaseResponse) ProtoReflect() protoreflect.Message { |
| 1053 | mi := &file_wallet_v1_wallet_proto_msgTypes[18] |
| 1054 | if x != nil { |
| 1055 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1056 | if ms.LoadMessageInfo() == nil { |
| 1057 | ms.StoreMessageInfo(mi) |
| 1058 | } |
| 1059 | return ms |
| 1060 | } |
| 1061 | return mi.MessageOf(x) |
| 1062 | } |
| 1063 | |
| 1064 | // Deprecated: Use ReleaseResponse.ProtoReflect.Descriptor instead. |
| 1065 | func (*ReleaseResponse) Descriptor() ([]byte, []int) { |
| 1066 | return file_wallet_v1_wallet_proto_rawDescGZIP(), []int{18} |
| 1067 | } |
| 1068 | |
| 1069 | func (x *ReleaseResponse) GetHold() *Hold { |
| 1070 | if x != nil { |
| 1071 | return x.Hold |
| 1072 | } |
| 1073 | return nil |
| 1074 | } |
| 1075 | |
| 1076 | type DescribeWalletRequest struct { |
| 1077 | state protoimpl.MessageState `protogen:"open.v1"` |
| 1078 | WalletId string `protobuf:"bytes,1,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"` |
| 1079 | unknownFields protoimpl.UnknownFields |
| 1080 | sizeCache protoimpl.SizeCache |
| 1081 | } |
| 1082 | |
| 1083 | func (x *DescribeWalletRequest) Reset() { |
| 1084 | *x = DescribeWalletRequest{} |
| 1085 | mi := &file_wallet_v1_wallet_proto_msgTypes[19] |
| 1086 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1087 | ms.StoreMessageInfo(mi) |
| 1088 | } |
| 1089 | |
| 1090 | func (x *DescribeWalletRequest) String() string { |
| 1091 | return protoimpl.X.MessageStringOf(x) |
| 1092 | } |
| 1093 | |
| 1094 | func (*DescribeWalletRequest) ProtoMessage() {} |
| 1095 | |
| 1096 | func (x *DescribeWalletRequest) ProtoReflect() protoreflect.Message { |
| 1097 | mi := &file_wallet_v1_wallet_proto_msgTypes[19] |
| 1098 | if x != nil { |
| 1099 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1100 | if ms.LoadMessageInfo() == nil { |
| 1101 | ms.StoreMessageInfo(mi) |
| 1102 | } |
| 1103 | return ms |
| 1104 | } |
| 1105 | return mi.MessageOf(x) |
| 1106 | } |
| 1107 | |
| 1108 | // Deprecated: Use DescribeWalletRequest.ProtoReflect.Descriptor instead. |
| 1109 | func (*DescribeWalletRequest) Descriptor() ([]byte, []int) { |
| 1110 | return file_wallet_v1_wallet_proto_rawDescGZIP(), []int{19} |
| 1111 | } |
| 1112 | |
| 1113 | func (x *DescribeWalletRequest) GetWalletId() string { |
| 1114 | if x != nil { |
| 1115 | return x.WalletId |
| 1116 | } |
| 1117 | return "" |
| 1118 | } |
| 1119 | |
| 1120 | type DescribeWalletResponse struct { |
| 1121 | state protoimpl.MessageState `protogen:"open.v1"` |
| 1122 | Wallet *Wallet `protobuf:"bytes,1,opt,name=wallet,proto3" json:"wallet,omitempty"` |
| 1123 | unknownFields protoimpl.UnknownFields |
| 1124 | sizeCache protoimpl.SizeCache |
| 1125 | } |
| 1126 | |
| 1127 | func (x *DescribeWalletResponse) Reset() { |
| 1128 | *x = DescribeWalletResponse{} |
| 1129 | mi := &file_wallet_v1_wallet_proto_msgTypes[20] |
| 1130 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1131 | ms.StoreMessageInfo(mi) |
| 1132 | } |
| 1133 | |
| 1134 | func (x *DescribeWalletResponse) String() string { |
| 1135 | return protoimpl.X.MessageStringOf(x) |
| 1136 | } |
| 1137 | |
| 1138 | func (*DescribeWalletResponse) ProtoMessage() {} |
| 1139 | |
| 1140 | func (x *DescribeWalletResponse) ProtoReflect() protoreflect.Message { |
| 1141 | mi := &file_wallet_v1_wallet_proto_msgTypes[20] |
| 1142 | if x != nil { |
| 1143 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1144 | if ms.LoadMessageInfo() == nil { |
| 1145 | ms.StoreMessageInfo(mi) |
| 1146 | } |
| 1147 | return ms |
| 1148 | } |
| 1149 | return mi.MessageOf(x) |
| 1150 | } |
| 1151 | |
| 1152 | // Deprecated: Use DescribeWalletResponse.ProtoReflect.Descriptor instead. |
| 1153 | func (*DescribeWalletResponse) Descriptor() ([]byte, []int) { |
| 1154 | return file_wallet_v1_wallet_proto_rawDescGZIP(), []int{20} |
| 1155 | } |
| 1156 | |
| 1157 | func (x *DescribeWalletResponse) GetWallet() *Wallet { |
| 1158 | if x != nil { |
| 1159 | return x.Wallet |
| 1160 | } |
| 1161 | return nil |
| 1162 | } |
| 1163 | |
| 1164 | var File_wallet_v1_wallet_proto protoreflect.FileDescriptor |
| 1165 | |
| 1166 | const file_wallet_v1_wallet_proto_rawDesc = "" + |
| 1167 | "\n" + |
| 1168 | "\x16wallet/v1/wallet.proto\x12\twallet.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"F\n" + |
| 1169 | "\x05Money\x12!\n" + |
| 1170 | "\famount_minor\x18\x01 \x01(\x03R\vamountMinor\x12\x1a\n" + |
| 1171 | "\bcurrency\x18\x02 \x01(\tR\bcurrency\"\xa4\x01\n" + |
| 1172 | "\x06Wallet\x12\x0e\n" + |
| 1173 | "\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n" + |
| 1174 | "\bowner_id\x18\x02 \x01(\tR\aownerId\x12\x1a\n" + |
| 1175 | "\bcurrency\x18\x03 \x01(\tR\bcurrency\x12;\n" + |
| 1176 | "\vcreate_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\n" + |
| 1177 | "createTime\x12\x16\n" + |
| 1178 | "\x06frozen\x18\x05 \x01(\bR\x06frozen\"1\n" + |
| 1179 | "\x13CreateWalletRequest\x12\x1a\n" + |
| 1180 | "\bcurrency\x18\x01 \x01(\tR\bcurrency\"A\n" + |
| 1181 | "\x14CreateWalletResponse\x12)\n" + |
| 1182 | "\x06wallet\x18\x01 \x01(\v2\x11.wallet.v1.WalletR\x06wallet\"/\n" + |
| 1183 | "\x10GetWalletRequest\x12\x1b\n" + |
| 1184 | "\twallet_id\x18\x01 \x01(\tR\bwalletId\">\n" + |
| 1185 | "\x11GetWalletResponse\x12)\n" + |
| 1186 | "\x06wallet\x18\x01 \x01(\v2\x11.wallet.v1.WalletR\x06wallet\"0\n" + |
| 1187 | "\x11GetBalanceRequest\x12\x1b\n" + |
| 1188 | "\twallet_id\x18\x01 \x01(\tR\bwalletId\"]\n" + |
| 1189 | "\x12GetBalanceResponse\x12\x1b\n" + |
| 1190 | "\twallet_id\x18\x01 \x01(\tR\bwalletId\x12*\n" + |
| 1191 | "\abalance\x18\x02 \x01(\v2\x10.wallet.v1.MoneyR\abalance\"\x80\x01\n" + |
| 1192 | "\x0eDepositRequest\x12'\n" + |
| 1193 | "\x0fidempotency_key\x18\x01 \x01(\tR\x0eidempotencyKey\x12\x1b\n" + |
| 1194 | "\twallet_id\x18\x02 \x01(\tR\bwalletId\x12(\n" + |
| 1195 | "\x06amount\x18\x03 \x01(\v2\x10.wallet.v1.MoneyR\x06amount\"\xbc\x01\n" + |
| 1196 | "\x0fDepositResponse\x12%\n" + |
| 1197 | "\x0etransaction_id\x18\x01 \x01(\tR\rtransactionId\x12\x1b\n" + |
| 1198 | "\twallet_id\x18\x02 \x01(\tR\bwalletId\x12(\n" + |
| 1199 | "\x06amount\x18\x03 \x01(\v2\x10.wallet.v1.MoneyR\x06amount\x12;\n" + |
| 1200 | "\vcreate_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\n" + |
| 1201 | "createTime\"\xac\x01\n" + |
| 1202 | "\x0fTransferRequest\x12'\n" + |
| 1203 | "\x0fidempotency_key\x18\x01 \x01(\tR\x0eidempotencyKey\x12$\n" + |
| 1204 | "\x0efrom_wallet_id\x18\x02 \x01(\tR\ffromWalletId\x12 \n" + |
| 1205 | "\fto_wallet_id\x18\x03 \x01(\tR\n" + |
| 1206 | "toWalletId\x12(\n" + |
| 1207 | "\x06amount\x18\x04 \x01(\v2\x10.wallet.v1.MoneyR\x06amount\"\xe8\x01\n" + |
| 1208 | "\x10TransferResponse\x12%\n" + |
| 1209 | "\x0etransaction_id\x18\x01 \x01(\tR\rtransactionId\x12$\n" + |
| 1210 | "\x0efrom_wallet_id\x18\x02 \x01(\tR\ffromWalletId\x12 \n" + |
| 1211 | "\fto_wallet_id\x18\x03 \x01(\tR\n" + |
| 1212 | "toWalletId\x12(\n" + |
| 1213 | "\x06amount\x18\x04 \x01(\v2\x10.wallet.v1.MoneyR\x06amount\x12;\n" + |
| 1214 | "\vcreate_time\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\n" + |
| 1215 | "createTime\"u\n" + |
| 1216 | "\x04Hold\x12\x0e\n" + |
| 1217 | "\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n" + |
| 1218 | "\twallet_id\x18\x02 \x01(\tR\bwalletId\x12(\n" + |
| 1219 | "\x06amount\x18\x03 \x01(\v2\x10.wallet.v1.MoneyR\x06amount\x12\x16\n" + |
| 1220 | "\x06status\x18\x04 \x01(\tR\x06status\"\x88\x01\n" + |
| 1221 | "\vHoldRequest\x12\x17\n" + |
| 1222 | "\ahold_id\x18\x01 \x01(\tR\x06holdId\x12\x19\n" + |
| 1223 | "\bowner_id\x18\x02 \x01(\tR\aownerId\x12\x1b\n" + |
| 1224 | "\twallet_id\x18\x03 \x01(\tR\bwalletId\x12(\n" + |
| 1225 | "\x06amount\x18\x04 \x01(\v2\x10.wallet.v1.MoneyR\x06amount\"3\n" + |
| 1226 | "\fHoldResponse\x12#\n" + |
| 1227 | "\x04hold\x18\x01 \x01(\v2\x0f.wallet.v1.HoldR\x04hold\"K\n" + |
| 1228 | "\x0eCaptureRequest\x12\x17\n" + |
| 1229 | "\ahold_id\x18\x01 \x01(\tR\x06holdId\x12 \n" + |
| 1230 | "\fto_wallet_id\x18\x02 \x01(\tR\n" + |
| 1231 | "toWalletId\"6\n" + |
| 1232 | "\x0fCaptureResponse\x12#\n" + |
| 1233 | "\x04hold\x18\x01 \x01(\v2\x0f.wallet.v1.HoldR\x04hold\")\n" + |
| 1234 | "\x0eReleaseRequest\x12\x17\n" + |
| 1235 | "\ahold_id\x18\x01 \x01(\tR\x06holdId\"6\n" + |
| 1236 | "\x0fReleaseResponse\x12#\n" + |
| 1237 | "\x04hold\x18\x01 \x01(\v2\x0f.wallet.v1.HoldR\x04hold\"4\n" + |
| 1238 | "\x15DescribeWalletRequest\x12\x1b\n" + |
| 1239 | "\twallet_id\x18\x01 \x01(\tR\bwalletId\"C\n" + |
| 1240 | "\x16DescribeWalletResponse\x12)\n" + |
| 1241 | "\x06wallet\x18\x01 \x01(\v2\x11.wallet.v1.WalletR\x06wallet2\xfa\x02\n" + |
| 1242 | "\rWalletService\x12O\n" + |
| 1243 | "\fCreateWallet\x12\x1e.wallet.v1.CreateWalletRequest\x1a\x1f.wallet.v1.CreateWalletResponse\x12F\n" + |
| 1244 | "\tGetWallet\x12\x1b.wallet.v1.GetWalletRequest\x1a\x1c.wallet.v1.GetWalletResponse\x12I\n" + |
| 1245 | "\n" + |
| 1246 | "GetBalance\x12\x1c.wallet.v1.GetBalanceRequest\x1a\x1d.wallet.v1.GetBalanceResponse\x12@\n" + |
| 1247 | "\aDeposit\x12\x19.wallet.v1.DepositRequest\x1a\x1a.wallet.v1.DepositResponse\x12C\n" + |
| 1248 | "\bTransfer\x12\x1a.wallet.v1.TransferRequest\x1a\x1b.wallet.v1.TransferResponse2\xa1\x02\n" + |
| 1249 | "\vHoldService\x127\n" + |
| 1250 | "\x04Hold\x12\x16.wallet.v1.HoldRequest\x1a\x17.wallet.v1.HoldResponse\x12@\n" + |
| 1251 | "\aCapture\x12\x19.wallet.v1.CaptureRequest\x1a\x1a.wallet.v1.CaptureResponse\x12@\n" + |
| 1252 | "\aRelease\x12\x19.wallet.v1.ReleaseRequest\x1a\x1a.wallet.v1.ReleaseResponse\x12U\n" + |
| 1253 | "\x0eDescribeWallet\x12 .wallet.v1.DescribeWalletRequest\x1a!.wallet.v1.DescribeWalletResponseB\x99\x01\n" + |
| 1254 | "\rcom.wallet.v1B\vWalletProtoP\x01Z6github.com/fiston-user/payments/gen/wallet/v1;walletv1\xa2\x02\x03WXX\xaa\x02\tWallet.V1\xca\x02\tWallet\\V1\xe2\x02\x15Wallet\\V1\\GPBMetadata\xea\x02\n" + |
| 1255 | "Wallet::V1b\x06proto3" |
| 1256 | |
| 1257 | var ( |
| 1258 | file_wallet_v1_wallet_proto_rawDescOnce sync.Once |
| 1259 | file_wallet_v1_wallet_proto_rawDescData []byte |
| 1260 | ) |
| 1261 | |
| 1262 | func file_wallet_v1_wallet_proto_rawDescGZIP() []byte { |
| 1263 | file_wallet_v1_wallet_proto_rawDescOnce.Do(func() { |
| 1264 | file_wallet_v1_wallet_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wallet_v1_wallet_proto_rawDesc), len(file_wallet_v1_wallet_proto_rawDesc))) |
| 1265 | }) |
| 1266 | return file_wallet_v1_wallet_proto_rawDescData |
| 1267 | } |
| 1268 | |
| 1269 | var file_wallet_v1_wallet_proto_msgTypes = make([]protoimpl.MessageInfo, 21) |
| 1270 | var file_wallet_v1_wallet_proto_goTypes = []any{ |
| 1271 | (*Money)(nil), // 0: wallet.v1.Money |
| 1272 | (*Wallet)(nil), // 1: wallet.v1.Wallet |
| 1273 | (*CreateWalletRequest)(nil), // 2: wallet.v1.CreateWalletRequest |
| 1274 | (*CreateWalletResponse)(nil), // 3: wallet.v1.CreateWalletResponse |
| 1275 | (*GetWalletRequest)(nil), // 4: wallet.v1.GetWalletRequest |
| 1276 | (*GetWalletResponse)(nil), // 5: wallet.v1.GetWalletResponse |
| 1277 | (*GetBalanceRequest)(nil), // 6: wallet.v1.GetBalanceRequest |
| 1278 | (*GetBalanceResponse)(nil), // 7: wallet.v1.GetBalanceResponse |
| 1279 | (*DepositRequest)(nil), // 8: wallet.v1.DepositRequest |
| 1280 | (*DepositResponse)(nil), // 9: wallet.v1.DepositResponse |
| 1281 | (*TransferRequest)(nil), // 10: wallet.v1.TransferRequest |
| 1282 | (*TransferResponse)(nil), // 11: wallet.v1.TransferResponse |
| 1283 | (*Hold)(nil), // 12: wallet.v1.Hold |
| 1284 | (*HoldRequest)(nil), // 13: wallet.v1.HoldRequest |
| 1285 | (*HoldResponse)(nil), // 14: wallet.v1.HoldResponse |
| 1286 | (*CaptureRequest)(nil), // 15: wallet.v1.CaptureRequest |
| 1287 | (*CaptureResponse)(nil), // 16: wallet.v1.CaptureResponse |
| 1288 | (*ReleaseRequest)(nil), // 17: wallet.v1.ReleaseRequest |
| 1289 | (*ReleaseResponse)(nil), // 18: wallet.v1.ReleaseResponse |
| 1290 | (*DescribeWalletRequest)(nil), // 19: wallet.v1.DescribeWalletRequest |
| 1291 | (*DescribeWalletResponse)(nil), // 20: wallet.v1.DescribeWalletResponse |
| 1292 | (*timestamppb.Timestamp)(nil), // 21: google.protobuf.Timestamp |
| 1293 | } |
| 1294 | var file_wallet_v1_wallet_proto_depIdxs = []int32{ |
| 1295 | 21, // 0: wallet.v1.Wallet.create_time:type_name -> google.protobuf.Timestamp |
| 1296 | 1, // 1: wallet.v1.CreateWalletResponse.wallet:type_name -> wallet.v1.Wallet |
| 1297 | 1, // 2: wallet.v1.GetWalletResponse.wallet:type_name -> wallet.v1.Wallet |
| 1298 | 0, // 3: wallet.v1.GetBalanceResponse.balance:type_name -> wallet.v1.Money |
| 1299 | 0, // 4: wallet.v1.DepositRequest.amount:type_name -> wallet.v1.Money |
| 1300 | 0, // 5: wallet.v1.DepositResponse.amount:type_name -> wallet.v1.Money |
| 1301 | 21, // 6: wallet.v1.DepositResponse.create_time:type_name -> google.protobuf.Timestamp |
| 1302 | 0, // 7: wallet.v1.TransferRequest.amount:type_name -> wallet.v1.Money |
| 1303 | 0, // 8: wallet.v1.TransferResponse.amount:type_name -> wallet.v1.Money |
| 1304 | 21, // 9: wallet.v1.TransferResponse.create_time:type_name -> google.protobuf.Timestamp |
| 1305 | 0, // 10: wallet.v1.Hold.amount:type_name -> wallet.v1.Money |
| 1306 | 0, // 11: wallet.v1.HoldRequest.amount:type_name -> wallet.v1.Money |
| 1307 | 12, // 12: wallet.v1.HoldResponse.hold:type_name -> wallet.v1.Hold |
| 1308 | 12, // 13: wallet.v1.CaptureResponse.hold:type_name -> wallet.v1.Hold |
| 1309 | 12, // 14: wallet.v1.ReleaseResponse.hold:type_name -> wallet.v1.Hold |
| 1310 | 1, // 15: wallet.v1.DescribeWalletResponse.wallet:type_name -> wallet.v1.Wallet |
| 1311 | 2, // 16: wallet.v1.WalletService.CreateWallet:input_type -> wallet.v1.CreateWalletRequest |
| 1312 | 4, // 17: wallet.v1.WalletService.GetWallet:input_type -> wallet.v1.GetWalletRequest |
| 1313 | 6, // 18: wallet.v1.WalletService.GetBalance:input_type -> wallet.v1.GetBalanceRequest |
| 1314 | 8, // 19: wallet.v1.WalletService.Deposit:input_type -> wallet.v1.DepositRequest |
| 1315 | 10, // 20: wallet.v1.WalletService.Transfer:input_type -> wallet.v1.TransferRequest |
| 1316 | 13, // 21: wallet.v1.HoldService.Hold:input_type -> wallet.v1.HoldRequest |
| 1317 | 15, // 22: wallet.v1.HoldService.Capture:input_type -> wallet.v1.CaptureRequest |
| 1318 | 17, // 23: wallet.v1.HoldService.Release:input_type -> wallet.v1.ReleaseRequest |
| 1319 | 19, // 24: wallet.v1.HoldService.DescribeWallet:input_type -> wallet.v1.DescribeWalletRequest |
| 1320 | 3, // 25: wallet.v1.WalletService.CreateWallet:output_type -> wallet.v1.CreateWalletResponse |
| 1321 | 5, // 26: wallet.v1.WalletService.GetWallet:output_type -> wallet.v1.GetWalletResponse |
| 1322 | 7, // 27: wallet.v1.WalletService.GetBalance:output_type -> wallet.v1.GetBalanceResponse |
| 1323 | 9, // 28: wallet.v1.WalletService.Deposit:output_type -> wallet.v1.DepositResponse |
| 1324 | 11, // 29: wallet.v1.WalletService.Transfer:output_type -> wallet.v1.TransferResponse |
| 1325 | 14, // 30: wallet.v1.HoldService.Hold:output_type -> wallet.v1.HoldResponse |
| 1326 | 16, // 31: wallet.v1.HoldService.Capture:output_type -> wallet.v1.CaptureResponse |
| 1327 | 18, // 32: wallet.v1.HoldService.Release:output_type -> wallet.v1.ReleaseResponse |
| 1328 | 20, // 33: wallet.v1.HoldService.DescribeWallet:output_type -> wallet.v1.DescribeWalletResponse |
| 1329 | 25, // [25:34] is the sub-list for method output_type |
| 1330 | 16, // [16:25] is the sub-list for method input_type |
| 1331 | 16, // [16:16] is the sub-list for extension type_name |
| 1332 | 16, // [16:16] is the sub-list for extension extendee |
| 1333 | 0, // [0:16] is the sub-list for field type_name |
| 1334 | } |
| 1335 | |
| 1336 | func init() { file_wallet_v1_wallet_proto_init() } |
| 1337 | func file_wallet_v1_wallet_proto_init() { |
| 1338 | if File_wallet_v1_wallet_proto != nil { |
| 1339 | return |
| 1340 | } |
| 1341 | type x struct{} |
| 1342 | out := protoimpl.TypeBuilder{ |
| 1343 | File: protoimpl.DescBuilder{ |
| 1344 | GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 1345 | RawDescriptor: unsafe.Slice(unsafe.StringData(file_wallet_v1_wallet_proto_rawDesc), len(file_wallet_v1_wallet_proto_rawDesc)), |
| 1346 | NumEnums: 0, |
| 1347 | NumMessages: 21, |
| 1348 | NumExtensions: 0, |
| 1349 | NumServices: 2, |
| 1350 | }, |
| 1351 | GoTypes: file_wallet_v1_wallet_proto_goTypes, |
| 1352 | DependencyIndexes: file_wallet_v1_wallet_proto_depIdxs, |
| 1353 | MessageInfos: file_wallet_v1_wallet_proto_msgTypes, |
| 1354 | }.Build() |
| 1355 | File_wallet_v1_wallet_proto = out.File |
| 1356 | file_wallet_v1_wallet_proto_goTypes = nil |
| 1357 | file_wallet_v1_wallet_proto_depIdxs = nil |
| 1358 | } |