// Copyright (C) 2024 Declan Teevan // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.12 // protoc (unknown) // source: stocklet/events/v1/payment.proto package events_v1 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" unsafe "unsafe" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) type PaymentProcessedEvent_Type int32 const ( PaymentProcessedEvent_TYPE_UNSPECIFIED PaymentProcessedEvent_Type = 0 PaymentProcessedEvent_TYPE_FAILED PaymentProcessedEvent_Type = 1 PaymentProcessedEvent_TYPE_SUCCESS PaymentProcessedEvent_Type = 2 ) // Enum value maps for PaymentProcessedEvent_Type. var ( PaymentProcessedEvent_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "TYPE_FAILED", 2: "TYPE_SUCCESS", } PaymentProcessedEvent_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "TYPE_FAILED": 1, "TYPE_SUCCESS": 2, } ) func (x PaymentProcessedEvent_Type) Enum() *PaymentProcessedEvent_Type { p := new(PaymentProcessedEvent_Type) *p = x return p } func (x PaymentProcessedEvent_Type) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (PaymentProcessedEvent_Type) Descriptor() protoreflect.EnumDescriptor { return file_stocklet_events_v1_payment_proto_enumTypes[0].Descriptor() } func (PaymentProcessedEvent_Type) Type() protoreflect.EnumType { return &file_stocklet_events_v1_payment_proto_enumTypes[0] } func (x PaymentProcessedEvent_Type) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use PaymentProcessedEvent_Type.Descriptor instead. func (PaymentProcessedEvent_Type) EnumDescriptor() ([]byte, []int) { return file_stocklet_events_v1_payment_proto_rawDescGZIP(), []int{6, 0} } type BalanceCreatedEvent struct { state protoimpl.MessageState `protogen:"open.v1"` Revision int32 `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"` CustomerId string `protobuf:"bytes,2,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` Balance float32 `protobuf:"fixed32,3,opt,name=balance,proto3" json:"balance,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *BalanceCreatedEvent) Reset() { *x = BalanceCreatedEvent{} mi := &file_stocklet_events_v1_payment_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BalanceCreatedEvent) String() string { return protoimpl.X.MessageStringOf(x) } func (*BalanceCreatedEvent) ProtoMessage() {} func (x *BalanceCreatedEvent) ProtoReflect() protoreflect.Message { mi := &file_stocklet_events_v1_payment_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use BalanceCreatedEvent.ProtoReflect.Descriptor instead. func (*BalanceCreatedEvent) Descriptor() ([]byte, []int) { return file_stocklet_events_v1_payment_proto_rawDescGZIP(), []int{0} } func (x *BalanceCreatedEvent) GetRevision() int32 { if x != nil { return x.Revision } return 0 } func (x *BalanceCreatedEvent) GetCustomerId() string { if x != nil { return x.CustomerId } return "" } func (x *BalanceCreatedEvent) GetBalance() float32 { if x != nil { return x.Balance } return 0 } type BalanceCreditedEvent struct { state protoimpl.MessageState `protogen:"open.v1"` Revision int32 `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"` CustomerId string `protobuf:"bytes,2,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` Amount float32 `protobuf:"fixed32,3,opt,name=amount,proto3" json:"amount,omitempty"` NewBalance float32 `protobuf:"fixed32,4,opt,name=new_balance,json=newBalance,proto3" json:"new_balance,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *BalanceCreditedEvent) Reset() { *x = BalanceCreditedEvent{} mi := &file_stocklet_events_v1_payment_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BalanceCreditedEvent) String() string { return protoimpl.X.MessageStringOf(x) } func (*BalanceCreditedEvent) ProtoMessage() {} func (x *BalanceCreditedEvent) ProtoReflect() protoreflect.Message { mi := &file_stocklet_events_v1_payment_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use BalanceCreditedEvent.ProtoReflect.Descriptor instead. func (*BalanceCreditedEvent) Descriptor() ([]byte, []int) { return file_stocklet_events_v1_payment_proto_rawDescGZIP(), []int{1} } func (x *BalanceCreditedEvent) GetRevision() int32 { if x != nil { return x.Revision } return 0 } func (x *BalanceCreditedEvent) GetCustomerId() string { if x != nil { return x.CustomerId } return "" } func (x *BalanceCreditedEvent) GetAmount() float32 { if x != nil { return x.Amount } return 0 } func (x *BalanceCreditedEvent) GetNewBalance() float32 { if x != nil { return x.NewBalance } return 0 } type BalanceDebitedEvent struct { state protoimpl.MessageState `protogen:"open.v1"` Revision int32 `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"` CustomerId string `protobuf:"bytes,2,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` Amount float32 `protobuf:"fixed32,3,opt,name=amount,proto3" json:"amount,omitempty"` NewBalance float32 `protobuf:"fixed32,4,opt,name=new_balance,json=newBalance,proto3" json:"new_balance,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *BalanceDebitedEvent) Reset() { *x = BalanceDebitedEvent{} mi := &file_stocklet_events_v1_payment_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BalanceDebitedEvent) String() string { return protoimpl.X.MessageStringOf(x) } func (*BalanceDebitedEvent) ProtoMessage() {} func (x *BalanceDebitedEvent) ProtoReflect() protoreflect.Message { mi := &file_stocklet_events_v1_payment_proto_msgTypes[2] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use BalanceDebitedEvent.ProtoReflect.Descriptor instead. func (*BalanceDebitedEvent) Descriptor() ([]byte, []int) { return file_stocklet_events_v1_payment_proto_rawDescGZIP(), []int{2} } func (x *BalanceDebitedEvent) GetRevision() int32 { if x != nil { return x.Revision } return 0 } func (x *BalanceDebitedEvent) GetCustomerId() string { if x != nil { return x.CustomerId } return "" } func (x *BalanceDebitedEvent) GetAmount() float32 { if x != nil { return x.Amount } return 0 } func (x *BalanceDebitedEvent) GetNewBalance() float32 { if x != nil { return x.NewBalance } return 0 } type BalanceClosedEvent struct { state protoimpl.MessageState `protogen:"open.v1"` Revision int32 `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"` CustomerId string `protobuf:"bytes,2,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` Balance float32 `protobuf:"fixed32,3,opt,name=balance,proto3" json:"balance,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *BalanceClosedEvent) Reset() { *x = BalanceClosedEvent{} mi := &file_stocklet_events_v1_payment_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BalanceClosedEvent) String() string { return protoimpl.X.MessageStringOf(x) } func (*BalanceClosedEvent) ProtoMessage() {} func (x *BalanceClosedEvent) ProtoReflect() protoreflect.Message { mi := &file_stocklet_events_v1_payment_proto_msgTypes[3] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use BalanceClosedEvent.ProtoReflect.Descriptor instead. func (*BalanceClosedEvent) Descriptor() ([]byte, []int) { return file_stocklet_events_v1_payment_proto_rawDescGZIP(), []int{3} } func (x *BalanceClosedEvent) GetRevision() int32 { if x != nil { return x.Revision } return 0 } func (x *BalanceClosedEvent) GetCustomerId() string { if x != nil { return x.CustomerId } return "" } func (x *BalanceClosedEvent) GetBalance() float32 { if x != nil { return x.Balance } return 0 } type TransactionLoggedEvent struct { state protoimpl.MessageState `protogen:"open.v1"` Revision int32 `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"` TransactionId string `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` Amount float32 `protobuf:"fixed32,3,opt,name=amount,proto3" json:"amount,omitempty"` OrderId string `protobuf:"bytes,4,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` CustomerId string `protobuf:"bytes,5,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *TransactionLoggedEvent) Reset() { *x = TransactionLoggedEvent{} mi := &file_stocklet_events_v1_payment_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *TransactionLoggedEvent) String() string { return protoimpl.X.MessageStringOf(x) } func (*TransactionLoggedEvent) ProtoMessage() {} func (x *TransactionLoggedEvent) ProtoReflect() protoreflect.Message { mi := &file_stocklet_events_v1_payment_proto_msgTypes[4] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use TransactionLoggedEvent.ProtoReflect.Descriptor instead. func (*TransactionLoggedEvent) Descriptor() ([]byte, []int) { return file_stocklet_events_v1_payment_proto_rawDescGZIP(), []int{4} } func (x *TransactionLoggedEvent) GetRevision() int32 { if x != nil { return x.Revision } return 0 } func (x *TransactionLoggedEvent) GetTransactionId() string { if x != nil { return x.TransactionId } return "" } func (x *TransactionLoggedEvent) GetAmount() float32 { if x != nil { return x.Amount } return 0 } func (x *TransactionLoggedEvent) GetOrderId() string { if x != nil { return x.OrderId } return "" } func (x *TransactionLoggedEvent) GetCustomerId() string { if x != nil { return x.CustomerId } return "" } type TransactionReversedEvent struct { state protoimpl.MessageState `protogen:"open.v1"` Revision int32 `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"` TransactionId string `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` Amount float32 `protobuf:"fixed32,3,opt,name=amount,proto3" json:"amount,omitempty"` OrderId string `protobuf:"bytes,4,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` CustomerId string `protobuf:"bytes,5,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *TransactionReversedEvent) Reset() { *x = TransactionReversedEvent{} mi := &file_stocklet_events_v1_payment_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *TransactionReversedEvent) String() string { return protoimpl.X.MessageStringOf(x) } func (*TransactionReversedEvent) ProtoMessage() {} func (x *TransactionReversedEvent) ProtoReflect() protoreflect.Message { mi := &file_stocklet_events_v1_payment_proto_msgTypes[5] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use TransactionReversedEvent.ProtoReflect.Descriptor instead. func (*TransactionReversedEvent) Descriptor() ([]byte, []int) { return file_stocklet_events_v1_payment_proto_rawDescGZIP(), []int{5} } func (x *TransactionReversedEvent) GetRevision() int32 { if x != nil { return x.Revision } return 0 } func (x *TransactionReversedEvent) GetTransactionId() string { if x != nil { return x.TransactionId } return "" } func (x *TransactionReversedEvent) GetAmount() float32 { if x != nil { return x.Amount } return 0 } func (x *TransactionReversedEvent) GetOrderId() string { if x != nil { return x.OrderId } return "" } func (x *TransactionReversedEvent) GetCustomerId() string { if x != nil { return x.CustomerId } return "" } type PaymentProcessedEvent struct { state protoimpl.MessageState `protogen:"open.v1"` Revision int32 `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"` Type PaymentProcessedEvent_Type `protobuf:"varint,2,opt,name=type,proto3,enum=stocklet.events.v1.PaymentProcessedEvent_Type" json:"type,omitempty"` OrderId string `protobuf:"bytes,3,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` CustomerId string `protobuf:"bytes,4,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` Amount float32 `protobuf:"fixed32,5,opt,name=amount,proto3" json:"amount,omitempty"` TransactionId *string `protobuf:"bytes,6,opt,name=transaction_id,json=transactionId,proto3,oneof" json:"transaction_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *PaymentProcessedEvent) Reset() { *x = PaymentProcessedEvent{} mi := &file_stocklet_events_v1_payment_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *PaymentProcessedEvent) String() string { return protoimpl.X.MessageStringOf(x) } func (*PaymentProcessedEvent) ProtoMessage() {} func (x *PaymentProcessedEvent) ProtoReflect() protoreflect.Message { mi := &file_stocklet_events_v1_payment_proto_msgTypes[6] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use PaymentProcessedEvent.ProtoReflect.Descriptor instead. func (*PaymentProcessedEvent) Descriptor() ([]byte, []int) { return file_stocklet_events_v1_payment_proto_rawDescGZIP(), []int{6} } func (x *PaymentProcessedEvent) GetRevision() int32 { if x != nil { return x.Revision } return 0 } func (x *PaymentProcessedEvent) GetType() PaymentProcessedEvent_Type { if x != nil { return x.Type } return PaymentProcessedEvent_TYPE_UNSPECIFIED } func (x *PaymentProcessedEvent) GetOrderId() string { if x != nil { return x.OrderId } return "" } func (x *PaymentProcessedEvent) GetCustomerId() string { if x != nil { return x.CustomerId } return "" } func (x *PaymentProcessedEvent) GetAmount() float32 { if x != nil { return x.Amount } return 0 } func (x *PaymentProcessedEvent) GetTransactionId() string { if x != nil && x.TransactionId != nil { return *x.TransactionId } return "" } var File_stocklet_events_v1_payment_proto protoreflect.FileDescriptor const file_stocklet_events_v1_payment_proto_rawDesc = "" + "\n" + " stocklet/events/v1/payment.proto\x12\x12stocklet.events.v1\"l\n" + "\x13BalanceCreatedEvent\x12\x1a\n" + "\brevision\x18\x01 \x01(\x05R\brevision\x12\x1f\n" + "\vcustomer_id\x18\x02 \x01(\tR\n" + "customerId\x12\x18\n" + "\abalance\x18\x03 \x01(\x02R\abalance\"\x8c\x01\n" + "\x14BalanceCreditedEvent\x12\x1a\n" + "\brevision\x18\x01 \x01(\x05R\brevision\x12\x1f\n" + "\vcustomer_id\x18\x02 \x01(\tR\n" + "customerId\x12\x16\n" + "\x06amount\x18\x03 \x01(\x02R\x06amount\x12\x1f\n" + "\vnew_balance\x18\x04 \x01(\x02R\n" + "newBalance\"\x8b\x01\n" + "\x13BalanceDebitedEvent\x12\x1a\n" + "\brevision\x18\x01 \x01(\x05R\brevision\x12\x1f\n" + "\vcustomer_id\x18\x02 \x01(\tR\n" + "customerId\x12\x16\n" + "\x06amount\x18\x03 \x01(\x02R\x06amount\x12\x1f\n" + "\vnew_balance\x18\x04 \x01(\x02R\n" + "newBalance\"k\n" + "\x12BalanceClosedEvent\x12\x1a\n" + "\brevision\x18\x01 \x01(\x05R\brevision\x12\x1f\n" + "\vcustomer_id\x18\x02 \x01(\tR\n" + "customerId\x12\x18\n" + "\abalance\x18\x03 \x01(\x02R\abalance\"\xaf\x01\n" + "\x16TransactionLoggedEvent\x12\x1a\n" + "\brevision\x18\x01 \x01(\x05R\brevision\x12%\n" + "\x0etransaction_id\x18\x02 \x01(\tR\rtransactionId\x12\x16\n" + "\x06amount\x18\x03 \x01(\x02R\x06amount\x12\x19\n" + "\border_id\x18\x04 \x01(\tR\aorderId\x12\x1f\n" + "\vcustomer_id\x18\x05 \x01(\tR\n" + "customerId\"\xb1\x01\n" + "\x18TransactionReversedEvent\x12\x1a\n" + "\brevision\x18\x01 \x01(\x05R\brevision\x12%\n" + "\x0etransaction_id\x18\x02 \x01(\tR\rtransactionId\x12\x16\n" + "\x06amount\x18\x03 \x01(\x02R\x06amount\x12\x19\n" + "\border_id\x18\x04 \x01(\tR\aorderId\x12\x1f\n" + "\vcustomer_id\x18\x05 \x01(\tR\n" + "customerId\"\xcb\x02\n" + "\x15PaymentProcessedEvent\x12\x1a\n" + "\brevision\x18\x01 \x01(\x05R\brevision\x12B\n" + "\x04type\x18\x02 \x01(\x0e2..stocklet.events.v1.PaymentProcessedEvent.TypeR\x04type\x12\x19\n" + "\border_id\x18\x03 \x01(\tR\aorderId\x12\x1f\n" + "\vcustomer_id\x18\x04 \x01(\tR\n" + "customerId\x12\x16\n" + "\x06amount\x18\x05 \x01(\x02R\x06amount\x12*\n" + "\x0etransaction_id\x18\x06 \x01(\tH\x00R\rtransactionId\x88\x01\x01\"?\n" + "\x04Type\x12\x14\n" + "\x10TYPE_UNSPECIFIED\x10\x00\x12\x0f\n" + "\vTYPE_FAILED\x10\x01\x12\x10\n" + "\fTYPE_SUCCESS\x10\x02B\x11\n" + "\x0f_transaction_idBGZEgithub.com/hexolan/stocklet/internal/pkg/protogen/events/v1;events_v1b\x06proto3" var ( file_stocklet_events_v1_payment_proto_rawDescOnce sync.Once file_stocklet_events_v1_payment_proto_rawDescData []byte ) func file_stocklet_events_v1_payment_proto_rawDescGZIP() []byte { file_stocklet_events_v1_payment_proto_rawDescOnce.Do(func() { file_stocklet_events_v1_payment_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_stocklet_events_v1_payment_proto_rawDesc), len(file_stocklet_events_v1_payment_proto_rawDesc))) }) return file_stocklet_events_v1_payment_proto_rawDescData } var file_stocklet_events_v1_payment_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_stocklet_events_v1_payment_proto_msgTypes = make([]protoimpl.MessageInfo, 7) var file_stocklet_events_v1_payment_proto_goTypes = []any{ (PaymentProcessedEvent_Type)(0), // 0: stocklet.events.v1.PaymentProcessedEvent.Type (*BalanceCreatedEvent)(nil), // 1: stocklet.events.v1.BalanceCreatedEvent (*BalanceCreditedEvent)(nil), // 2: stocklet.events.v1.BalanceCreditedEvent (*BalanceDebitedEvent)(nil), // 3: stocklet.events.v1.BalanceDebitedEvent (*BalanceClosedEvent)(nil), // 4: stocklet.events.v1.BalanceClosedEvent (*TransactionLoggedEvent)(nil), // 5: stocklet.events.v1.TransactionLoggedEvent (*TransactionReversedEvent)(nil), // 6: stocklet.events.v1.TransactionReversedEvent (*PaymentProcessedEvent)(nil), // 7: stocklet.events.v1.PaymentProcessedEvent } var file_stocklet_events_v1_payment_proto_depIdxs = []int32{ 0, // 0: stocklet.events.v1.PaymentProcessedEvent.type:type_name -> stocklet.events.v1.PaymentProcessedEvent.Type 1, // [1:1] is the sub-list for method output_type 1, // [1:1] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name 1, // [1:1] is the sub-list for extension extendee 0, // [0:1] is the sub-list for field type_name } func init() { file_stocklet_events_v1_payment_proto_init() } func file_stocklet_events_v1_payment_proto_init() { if File_stocklet_events_v1_payment_proto != nil { return } file_stocklet_events_v1_payment_proto_msgTypes[6].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_stocklet_events_v1_payment_proto_rawDesc), len(file_stocklet_events_v1_payment_proto_rawDesc)), NumEnums: 1, NumMessages: 7, NumExtensions: 0, NumServices: 0, }, GoTypes: file_stocklet_events_v1_payment_proto_goTypes, DependencyIndexes: file_stocklet_events_v1_payment_proto_depIdxs, EnumInfos: file_stocklet_events_v1_payment_proto_enumTypes, MessageInfos: file_stocklet_events_v1_payment_proto_msgTypes, }.Build() File_stocklet_events_v1_payment_proto = out.File file_stocklet_events_v1_payment_proto_goTypes = nil file_stocklet_events_v1_payment_proto_depIdxs = nil }