// Code generated by protoc-gen-go. DO NOT EDIT. // source: cart.proto package shop import ( fmt "fmt" proto "github.com/golang/protobuf/proto" math "math" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type ProductRemark struct { ModuleIds []string `protobuf:"bytes,1,rep,name=moduleIds,proto3" json:"moduleIds,omitempty"` ChCount int32 `protobuf:"varint,2,opt,name=chCount,proto3" json:"chCount,omitempty"` AuthCount int32 `protobuf:"varint,3,opt,name=authCount,proto3" json:"authCount,omitempty"` DevCount int32 `protobuf:"varint,4,opt,name=devCount,proto3" json:"devCount,omitempty"` SdkIds []string `protobuf:"bytes,5,rep,name=sdkIds,proto3" json:"sdkIds,omitempty"` ServeYear int32 `protobuf:"varint,6,opt,name=serveYear,proto3" json:"serveYear,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ProductRemark) Reset() { *m = ProductRemark{} } func (m *ProductRemark) String() string { return proto.CompactTextString(m) } func (*ProductRemark) ProtoMessage() {} func (*ProductRemark) Descriptor() ([]byte, []int) { return fileDescriptor_bf731a5c8f9a516f, []int{0} } func (m *ProductRemark) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ProductRemark.Unmarshal(m, b) } func (m *ProductRemark) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ProductRemark.Marshal(b, m, deterministic) } func (m *ProductRemark) XXX_Merge(src proto.Message) { xxx_messageInfo_ProductRemark.Merge(m, src) } func (m *ProductRemark) XXX_Size() int { return xxx_messageInfo_ProductRemark.Size(m) } func (m *ProductRemark) XXX_DiscardUnknown() { xxx_messageInfo_ProductRemark.DiscardUnknown(m) } var xxx_messageInfo_ProductRemark proto.InternalMessageInfo func (m *ProductRemark) GetModuleIds() []string { if m != nil { return m.ModuleIds } return nil } func (m *ProductRemark) GetChCount() int32 { if m != nil { return m.ChCount } return 0 } func (m *ProductRemark) GetAuthCount() int32 { if m != nil { return m.AuthCount } return 0 } func (m *ProductRemark) GetDevCount() int32 { if m != nil { return m.DevCount } return 0 } func (m *ProductRemark) GetSdkIds() []string { if m != nil { return m.SdkIds } return nil } func (m *ProductRemark) GetServeYear() int32 { if m != nil { return m.ServeYear } return 0 } type AddCartReq struct { ProductId string `protobuf:"bytes,1,opt,name=productId,proto3" json:"productId,omitempty"` Quantity int32 `protobuf:"varint,2,opt,name=quantity,proto3" json:"quantity,omitempty"` ProductRemark *ProductRemark `protobuf:"bytes,3,opt,name=productRemark,proto3" json:"productRemark,omitempty"` MerchantNo string `protobuf:"bytes,4,opt,name=merchantNo,proto3" json:"merchantNo,omitempty"` IsSelected bool `protobuf:"varint,5,opt,name=isSelected,proto3" json:"isSelected,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *AddCartReq) Reset() { *m = AddCartReq{} } func (m *AddCartReq) String() string { return proto.CompactTextString(m) } func (*AddCartReq) ProtoMessage() {} func (*AddCartReq) Descriptor() ([]byte, []int) { return fileDescriptor_bf731a5c8f9a516f, []int{1} } func (m *AddCartReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AddCartReq.Unmarshal(m, b) } func (m *AddCartReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AddCartReq.Marshal(b, m, deterministic) } func (m *AddCartReq) XXX_Merge(src proto.Message) { xxx_messageInfo_AddCartReq.Merge(m, src) } func (m *AddCartReq) XXX_Size() int { return xxx_messageInfo_AddCartReq.Size(m) } func (m *AddCartReq) XXX_DiscardUnknown() { xxx_messageInfo_AddCartReq.DiscardUnknown(m) } var xxx_messageInfo_AddCartReq proto.InternalMessageInfo func (m *AddCartReq) GetProductId() string { if m != nil { return m.ProductId } return "" } func (m *AddCartReq) GetQuantity() int32 { if m != nil { return m.Quantity } return 0 } func (m *AddCartReq) GetProductRemark() *ProductRemark { if m != nil { return m.ProductRemark } return nil } func (m *AddCartReq) GetMerchantNo() string { if m != nil { return m.MerchantNo } return "" } func (m *AddCartReq) GetIsSelected() bool { if m != nil { return m.IsSelected } return false } type AddCartReply struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *AddCartReply) Reset() { *m = AddCartReply{} } func (m *AddCartReply) String() string { return proto.CompactTextString(m) } func (*AddCartReply) ProtoMessage() {} func (*AddCartReply) Descriptor() ([]byte, []int) { return fileDescriptor_bf731a5c8f9a516f, []int{2} } func (m *AddCartReply) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AddCartReply.Unmarshal(m, b) } func (m *AddCartReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AddCartReply.Marshal(b, m, deterministic) } func (m *AddCartReply) XXX_Merge(src proto.Message) { xxx_messageInfo_AddCartReply.Merge(m, src) } func (m *AddCartReply) XXX_Size() int { return xxx_messageInfo_AddCartReply.Size(m) } func (m *AddCartReply) XXX_DiscardUnknown() { xxx_messageInfo_AddCartReply.DiscardUnknown(m) } var xxx_messageInfo_AddCartReply proto.InternalMessageInfo type DeleteCartReq struct { Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *DeleteCartReq) Reset() { *m = DeleteCartReq{} } func (m *DeleteCartReq) String() string { return proto.CompactTextString(m) } func (*DeleteCartReq) ProtoMessage() {} func (*DeleteCartReq) Descriptor() ([]byte, []int) { return fileDescriptor_bf731a5c8f9a516f, []int{3} } func (m *DeleteCartReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteCartReq.Unmarshal(m, b) } func (m *DeleteCartReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteCartReq.Marshal(b, m, deterministic) } func (m *DeleteCartReq) XXX_Merge(src proto.Message) { xxx_messageInfo_DeleteCartReq.Merge(m, src) } func (m *DeleteCartReq) XXX_Size() int { return xxx_messageInfo_DeleteCartReq.Size(m) } func (m *DeleteCartReq) XXX_DiscardUnknown() { xxx_messageInfo_DeleteCartReq.DiscardUnknown(m) } var xxx_messageInfo_DeleteCartReq proto.InternalMessageInfo func (m *DeleteCartReq) GetIds() []string { if m != nil { return m.Ids } return nil } type DeleteCartReply struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *DeleteCartReply) Reset() { *m = DeleteCartReply{} } func (m *DeleteCartReply) String() string { return proto.CompactTextString(m) } func (*DeleteCartReply) ProtoMessage() {} func (*DeleteCartReply) Descriptor() ([]byte, []int) { return fileDescriptor_bf731a5c8f9a516f, []int{4} } func (m *DeleteCartReply) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteCartReply.Unmarshal(m, b) } func (m *DeleteCartReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteCartReply.Marshal(b, m, deterministic) } func (m *DeleteCartReply) XXX_Merge(src proto.Message) { xxx_messageInfo_DeleteCartReply.Merge(m, src) } func (m *DeleteCartReply) XXX_Size() int { return xxx_messageInfo_DeleteCartReply.Size(m) } func (m *DeleteCartReply) XXX_DiscardUnknown() { xxx_messageInfo_DeleteCartReply.DiscardUnknown(m) } var xxx_messageInfo_DeleteCartReply proto.InternalMessageInfo type FindMyCartReq struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *FindMyCartReq) Reset() { *m = FindMyCartReq{} } func (m *FindMyCartReq) String() string { return proto.CompactTextString(m) } func (*FindMyCartReq) ProtoMessage() {} func (*FindMyCartReq) Descriptor() ([]byte, []int) { return fileDescriptor_bf731a5c8f9a516f, []int{5} } func (m *FindMyCartReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FindMyCartReq.Unmarshal(m, b) } func (m *FindMyCartReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_FindMyCartReq.Marshal(b, m, deterministic) } func (m *FindMyCartReq) XXX_Merge(src proto.Message) { xxx_messageInfo_FindMyCartReq.Merge(m, src) } func (m *FindMyCartReq) XXX_Size() int { return xxx_messageInfo_FindMyCartReq.Size(m) } func (m *FindMyCartReq) XXX_DiscardUnknown() { xxx_messageInfo_FindMyCartReq.DiscardUnknown(m) } var xxx_messageInfo_FindMyCartReq proto.InternalMessageInfo type CartProduct struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ProductId string `protobuf:"bytes,2,opt,name=productId,proto3" json:"productId,omitempty"` ProductDetail *ProductDetail `protobuf:"bytes,3,opt,name=productDetail,proto3" json:"productDetail,omitempty"` Quantity int32 `protobuf:"varint,4,opt,name=quantity,proto3" json:"quantity,omitempty"` ProductRemark *ProductRemark `protobuf:"bytes,5,opt,name=productRemark,proto3" json:"productRemark,omitempty"` IsSelected bool `protobuf:"varint,6,opt,name=isSelected,proto3" json:"isSelected,omitempty"` Price float32 `protobuf:"fixed32,7,opt,name=price,proto3" json:"price,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *CartProduct) Reset() { *m = CartProduct{} } func (m *CartProduct) String() string { return proto.CompactTextString(m) } func (*CartProduct) ProtoMessage() {} func (*CartProduct) Descriptor() ([]byte, []int) { return fileDescriptor_bf731a5c8f9a516f, []int{6} } func (m *CartProduct) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CartProduct.Unmarshal(m, b) } func (m *CartProduct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CartProduct.Marshal(b, m, deterministic) } func (m *CartProduct) XXX_Merge(src proto.Message) { xxx_messageInfo_CartProduct.Merge(m, src) } func (m *CartProduct) XXX_Size() int { return xxx_messageInfo_CartProduct.Size(m) } func (m *CartProduct) XXX_DiscardUnknown() { xxx_messageInfo_CartProduct.DiscardUnknown(m) } var xxx_messageInfo_CartProduct proto.InternalMessageInfo func (m *CartProduct) GetId() string { if m != nil { return m.Id } return "" } func (m *CartProduct) GetProductId() string { if m != nil { return m.ProductId } return "" } func (m *CartProduct) GetProductDetail() *ProductDetail { if m != nil { return m.ProductDetail } return nil } func (m *CartProduct) GetQuantity() int32 { if m != nil { return m.Quantity } return 0 } func (m *CartProduct) GetProductRemark() *ProductRemark { if m != nil { return m.ProductRemark } return nil } func (m *CartProduct) GetIsSelected() bool { if m != nil { return m.IsSelected } return false } func (m *CartProduct) GetPrice() float32 { if m != nil { return m.Price } return 0 } type FindMyCartReply struct { List []*CartProduct `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *FindMyCartReply) Reset() { *m = FindMyCartReply{} } func (m *FindMyCartReply) String() string { return proto.CompactTextString(m) } func (*FindMyCartReply) ProtoMessage() {} func (*FindMyCartReply) Descriptor() ([]byte, []int) { return fileDescriptor_bf731a5c8f9a516f, []int{7} } func (m *FindMyCartReply) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FindMyCartReply.Unmarshal(m, b) } func (m *FindMyCartReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_FindMyCartReply.Marshal(b, m, deterministic) } func (m *FindMyCartReply) XXX_Merge(src proto.Message) { xxx_messageInfo_FindMyCartReply.Merge(m, src) } func (m *FindMyCartReply) XXX_Size() int { return xxx_messageInfo_FindMyCartReply.Size(m) } func (m *FindMyCartReply) XXX_DiscardUnknown() { xxx_messageInfo_FindMyCartReply.DiscardUnknown(m) } var xxx_messageInfo_FindMyCartReply proto.InternalMessageInfo func (m *FindMyCartReply) GetList() []*CartProduct { if m != nil { return m.List } return nil } func init() { proto.RegisterType((*ProductRemark)(nil), "shop.ProductRemark") proto.RegisterType((*AddCartReq)(nil), "shop.AddCartReq") proto.RegisterType((*AddCartReply)(nil), "shop.AddCartReply") proto.RegisterType((*DeleteCartReq)(nil), "shop.DeleteCartReq") proto.RegisterType((*DeleteCartReply)(nil), "shop.DeleteCartReply") proto.RegisterType((*FindMyCartReq)(nil), "shop.FindMyCartReq") proto.RegisterType((*CartProduct)(nil), "shop.CartProduct") proto.RegisterType((*FindMyCartReply)(nil), "shop.FindMyCartReply") } func init() { proto.RegisterFile("cart.proto", fileDescriptor_bf731a5c8f9a516f) } var fileDescriptor_bf731a5c8f9a516f = []byte{ // 463 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0x4b, 0x6f, 0xd3, 0x40, 0x10, 0xc7, 0xbb, 0x4e, 0xec, 0x36, 0x13, 0xd2, 0xb4, 0xcb, 0x43, 0x56, 0x84, 0x90, 0xb1, 0x84, 0x94, 0x0b, 0x39, 0x04, 0x09, 0x01, 0xb7, 0xaa, 0x15, 0x52, 0x0f, 0x20, 0xb4, 0x3d, 0x71, 0x5c, 0xbc, 0x23, 0x65, 0x55, 0x27, 0x76, 0xd7, 0xeb, 0x48, 0x39, 0xf3, 0x85, 0xb8, 0x71, 0xe6, 0x9b, 0xa1, 0x7d, 0xf8, 0x15, 0x90, 0x10, 0x37, 0xcf, 0xff, 0x3f, 0xbb, 0x33, 0xf3, 0xdb, 0x31, 0x40, 0xc6, 0x95, 0x5e, 0x95, 0xaa, 0xd0, 0x05, 0x1d, 0x57, 0x9b, 0xa2, 0x5c, 0xcc, 0x4a, 0x55, 0x88, 0x3a, 0xf3, 0x62, 0xfa, 0x93, 0xc0, 0xec, 0x8b, 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