1267 lines
45 KiB
Go
1267 lines
45 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.5
|
|
// protoc v6.33.1
|
|
// source: cart.proto
|
|
|
|
package cart_messages
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
anypb "google.golang.org/protobuf/types/known/anypb"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
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 ClearCartRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ClearCartRequest) Reset() {
|
|
*x = ClearCartRequest{}
|
|
mi := &file_cart_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ClearCartRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ClearCartRequest) ProtoMessage() {}
|
|
|
|
func (x *ClearCartRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cart_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 ClearCartRequest.ProtoReflect.Descriptor instead.
|
|
func (*ClearCartRequest) Descriptor() ([]byte, []int) {
|
|
return file_cart_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type AddItem struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ItemId uint32 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
|
|
Quantity int32 `protobuf:"varint,2,opt,name=quantity,proto3" json:"quantity,omitempty"`
|
|
Price int64 `protobuf:"varint,3,opt,name=price,proto3" json:"price,omitempty"`
|
|
OrgPrice int64 `protobuf:"varint,9,opt,name=orgPrice,proto3" json:"orgPrice,omitempty"`
|
|
Sku string `protobuf:"bytes,4,opt,name=sku,proto3" json:"sku,omitempty"`
|
|
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
|
|
Image string `protobuf:"bytes,6,opt,name=image,proto3" json:"image,omitempty"`
|
|
Stock int32 `protobuf:"varint,7,opt,name=stock,proto3" json:"stock,omitempty"`
|
|
Tax int32 `protobuf:"varint,8,opt,name=tax,proto3" json:"tax,omitempty"`
|
|
Brand string `protobuf:"bytes,13,opt,name=brand,proto3" json:"brand,omitempty"`
|
|
Category string `protobuf:"bytes,14,opt,name=category,proto3" json:"category,omitempty"`
|
|
Category2 string `protobuf:"bytes,15,opt,name=category2,proto3" json:"category2,omitempty"`
|
|
Category3 string `protobuf:"bytes,16,opt,name=category3,proto3" json:"category3,omitempty"`
|
|
Category4 string `protobuf:"bytes,17,opt,name=category4,proto3" json:"category4,omitempty"`
|
|
Category5 string `protobuf:"bytes,18,opt,name=category5,proto3" json:"category5,omitempty"`
|
|
Disclaimer string `protobuf:"bytes,10,opt,name=disclaimer,proto3" json:"disclaimer,omitempty"`
|
|
ArticleType string `protobuf:"bytes,11,opt,name=articleType,proto3" json:"articleType,omitempty"`
|
|
SellerId string `protobuf:"bytes,19,opt,name=sellerId,proto3" json:"sellerId,omitempty"`
|
|
SellerName string `protobuf:"bytes,20,opt,name=sellerName,proto3" json:"sellerName,omitempty"`
|
|
Country string `protobuf:"bytes,21,opt,name=country,proto3" json:"country,omitempty"`
|
|
SaleStatus string `protobuf:"bytes,24,opt,name=saleStatus,proto3" json:"saleStatus,omitempty"`
|
|
Outlet *string `protobuf:"bytes,12,opt,name=outlet,proto3,oneof" json:"outlet,omitempty"`
|
|
StoreId *string `protobuf:"bytes,22,opt,name=storeId,proto3,oneof" json:"storeId,omitempty"`
|
|
ParentId *uint32 `protobuf:"varint,23,opt,name=parentId,proto3,oneof" json:"parentId,omitempty"`
|
|
Cgm string `protobuf:"bytes,25,opt,name=cgm,proto3" json:"cgm,omitempty"`
|
|
ReservationEndTime *timestamppb.Timestamp `protobuf:"bytes,26,opt,name=reservationEndTime,proto3,oneof" json:"reservationEndTime,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddItem) Reset() {
|
|
*x = AddItem{}
|
|
mi := &file_cart_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddItem) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddItem) ProtoMessage() {}
|
|
|
|
func (x *AddItem) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cart_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 AddItem.ProtoReflect.Descriptor instead.
|
|
func (*AddItem) Descriptor() ([]byte, []int) {
|
|
return file_cart_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *AddItem) GetItemId() uint32 {
|
|
if x != nil {
|
|
return x.ItemId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddItem) GetQuantity() int32 {
|
|
if x != nil {
|
|
return x.Quantity
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddItem) GetPrice() int64 {
|
|
if x != nil {
|
|
return x.Price
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddItem) GetOrgPrice() int64 {
|
|
if x != nil {
|
|
return x.OrgPrice
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddItem) GetSku() string {
|
|
if x != nil {
|
|
return x.Sku
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddItem) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddItem) GetImage() string {
|
|
if x != nil {
|
|
return x.Image
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddItem) GetStock() int32 {
|
|
if x != nil {
|
|
return x.Stock
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddItem) GetTax() int32 {
|
|
if x != nil {
|
|
return x.Tax
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddItem) GetBrand() string {
|
|
if x != nil {
|
|
return x.Brand
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddItem) GetCategory() string {
|
|
if x != nil {
|
|
return x.Category
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddItem) GetCategory2() string {
|
|
if x != nil {
|
|
return x.Category2
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddItem) GetCategory3() string {
|
|
if x != nil {
|
|
return x.Category3
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddItem) GetCategory4() string {
|
|
if x != nil {
|
|
return x.Category4
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddItem) GetCategory5() string {
|
|
if x != nil {
|
|
return x.Category5
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddItem) GetDisclaimer() string {
|
|
if x != nil {
|
|
return x.Disclaimer
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddItem) GetArticleType() string {
|
|
if x != nil {
|
|
return x.ArticleType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddItem) GetSellerId() string {
|
|
if x != nil {
|
|
return x.SellerId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddItem) GetSellerName() string {
|
|
if x != nil {
|
|
return x.SellerName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddItem) GetCountry() string {
|
|
if x != nil {
|
|
return x.Country
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddItem) GetSaleStatus() string {
|
|
if x != nil {
|
|
return x.SaleStatus
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddItem) GetOutlet() string {
|
|
if x != nil && x.Outlet != nil {
|
|
return *x.Outlet
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddItem) GetStoreId() string {
|
|
if x != nil && x.StoreId != nil {
|
|
return *x.StoreId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddItem) GetParentId() uint32 {
|
|
if x != nil && x.ParentId != nil {
|
|
return *x.ParentId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddItem) GetCgm() string {
|
|
if x != nil {
|
|
return x.Cgm
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddItem) GetReservationEndTime() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.ReservationEndTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RemoveItem struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id uint32 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RemoveItem) Reset() {
|
|
*x = RemoveItem{}
|
|
mi := &file_cart_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoveItem) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoveItem) ProtoMessage() {}
|
|
|
|
func (x *RemoveItem) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cart_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 RemoveItem.ProtoReflect.Descriptor instead.
|
|
func (*RemoveItem) Descriptor() ([]byte, []int) {
|
|
return file_cart_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *RemoveItem) GetId() uint32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ChangeQuantity struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id uint32 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
|
|
Quantity int32 `protobuf:"varint,2,opt,name=quantity,proto3" json:"quantity,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ChangeQuantity) Reset() {
|
|
*x = ChangeQuantity{}
|
|
mi := &file_cart_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ChangeQuantity) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChangeQuantity) ProtoMessage() {}
|
|
|
|
func (x *ChangeQuantity) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cart_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 ChangeQuantity.ProtoReflect.Descriptor instead.
|
|
func (*ChangeQuantity) Descriptor() ([]byte, []int) {
|
|
return file_cart_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *ChangeQuantity) GetId() uint32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChangeQuantity) GetQuantity() int32 {
|
|
if x != nil {
|
|
return x.Quantity
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SetUserId struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetUserId) Reset() {
|
|
*x = SetUserId{}
|
|
mi := &file_cart_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetUserId) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetUserId) ProtoMessage() {}
|
|
|
|
func (x *SetUserId) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cart_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 SetUserId.ProtoReflect.Descriptor instead.
|
|
func (*SetUserId) Descriptor() ([]byte, []int) {
|
|
return file_cart_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *SetUserId) GetUserId() string {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type LineItemMarking struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Type uint32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
|
|
Marking string `protobuf:"bytes,3,opt,name=marking,proto3" json:"marking,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LineItemMarking) Reset() {
|
|
*x = LineItemMarking{}
|
|
mi := &file_cart_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LineItemMarking) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LineItemMarking) ProtoMessage() {}
|
|
|
|
func (x *LineItemMarking) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cart_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 LineItemMarking.ProtoReflect.Descriptor instead.
|
|
func (*LineItemMarking) Descriptor() ([]byte, []int) {
|
|
return file_cart_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *LineItemMarking) GetId() uint32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LineItemMarking) GetType() uint32 {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LineItemMarking) GetMarking() string {
|
|
if x != nil {
|
|
return x.Marking
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RemoveLineItemMarking struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RemoveLineItemMarking) Reset() {
|
|
*x = RemoveLineItemMarking{}
|
|
mi := &file_cart_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoveLineItemMarking) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoveLineItemMarking) ProtoMessage() {}
|
|
|
|
func (x *RemoveLineItemMarking) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cart_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 RemoveLineItemMarking.ProtoReflect.Descriptor instead.
|
|
func (*RemoveLineItemMarking) Descriptor() ([]byte, []int) {
|
|
return file_cart_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *RemoveLineItemMarking) GetId() uint32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SubscriptionAdded struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ItemId uint32 `protobuf:"varint,1,opt,name=itemId,proto3" json:"itemId,omitempty"`
|
|
DetailsId string `protobuf:"bytes,3,opt,name=detailsId,proto3" json:"detailsId,omitempty"`
|
|
OrderReference string `protobuf:"bytes,4,opt,name=orderReference,proto3" json:"orderReference,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscriptionAdded) Reset() {
|
|
*x = SubscriptionAdded{}
|
|
mi := &file_cart_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscriptionAdded) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscriptionAdded) ProtoMessage() {}
|
|
|
|
func (x *SubscriptionAdded) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cart_proto_msgTypes[7]
|
|
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 SubscriptionAdded.ProtoReflect.Descriptor instead.
|
|
func (*SubscriptionAdded) Descriptor() ([]byte, []int) {
|
|
return file_cart_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *SubscriptionAdded) GetItemId() uint32 {
|
|
if x != nil {
|
|
return x.ItemId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SubscriptionAdded) GetDetailsId() string {
|
|
if x != nil {
|
|
return x.DetailsId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SubscriptionAdded) GetOrderReference() string {
|
|
if x != nil {
|
|
return x.OrderReference
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AddVoucher struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
VoucherRules []string `protobuf:"bytes,3,rep,name=voucherRules,proto3" json:"voucherRules,omitempty"`
|
|
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddVoucher) Reset() {
|
|
*x = AddVoucher{}
|
|
mi := &file_cart_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddVoucher) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddVoucher) ProtoMessage() {}
|
|
|
|
func (x *AddVoucher) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cart_proto_msgTypes[8]
|
|
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 AddVoucher.ProtoReflect.Descriptor instead.
|
|
func (*AddVoucher) Descriptor() ([]byte, []int) {
|
|
return file_cart_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *AddVoucher) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddVoucher) GetValue() int64 {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddVoucher) GetVoucherRules() []string {
|
|
if x != nil {
|
|
return x.VoucherRules
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AddVoucher) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RemoveVoucher struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RemoveVoucher) Reset() {
|
|
*x = RemoveVoucher{}
|
|
mi := &file_cart_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoveVoucher) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoveVoucher) ProtoMessage() {}
|
|
|
|
func (x *RemoveVoucher) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cart_proto_msgTypes[9]
|
|
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 RemoveVoucher.ProtoReflect.Descriptor instead.
|
|
func (*RemoveVoucher) Descriptor() ([]byte, []int) {
|
|
return file_cart_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *RemoveVoucher) GetId() uint32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type UpsertSubscriptionDetails struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
|
|
OfferingCode string `protobuf:"bytes,2,opt,name=offeringCode,proto3" json:"offeringCode,omitempty"`
|
|
SigningType string `protobuf:"bytes,3,opt,name=signingType,proto3" json:"signingType,omitempty"`
|
|
Data *anypb.Any `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpsertSubscriptionDetails) Reset() {
|
|
*x = UpsertSubscriptionDetails{}
|
|
mi := &file_cart_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpsertSubscriptionDetails) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpsertSubscriptionDetails) ProtoMessage() {}
|
|
|
|
func (x *UpsertSubscriptionDetails) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cart_proto_msgTypes[10]
|
|
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 UpsertSubscriptionDetails.ProtoReflect.Descriptor instead.
|
|
func (*UpsertSubscriptionDetails) Descriptor() ([]byte, []int) {
|
|
return file_cart_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *UpsertSubscriptionDetails) GetId() string {
|
|
if x != nil && x.Id != nil {
|
|
return *x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpsertSubscriptionDetails) GetOfferingCode() string {
|
|
if x != nil {
|
|
return x.OfferingCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpsertSubscriptionDetails) GetSigningType() string {
|
|
if x != nil {
|
|
return x.SigningType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpsertSubscriptionDetails) GetData() *anypb.Any {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Mutation struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Type:
|
|
//
|
|
// *Mutation_ClearCart
|
|
// *Mutation_AddItem
|
|
// *Mutation_RemoveItem
|
|
// *Mutation_ChangeQuantity
|
|
// *Mutation_SetUserId
|
|
// *Mutation_LineItemMarking
|
|
// *Mutation_RemoveLineItemMarking
|
|
// *Mutation_SubscriptionAdded
|
|
// *Mutation_AddVoucher
|
|
// *Mutation_RemoveVoucher
|
|
// *Mutation_UpsertSubscriptionDetails
|
|
Type isMutation_Type `protobuf_oneof:"type"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Mutation) Reset() {
|
|
*x = Mutation{}
|
|
mi := &file_cart_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Mutation) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Mutation) ProtoMessage() {}
|
|
|
|
func (x *Mutation) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cart_proto_msgTypes[11]
|
|
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 Mutation.ProtoReflect.Descriptor instead.
|
|
func (*Mutation) Descriptor() ([]byte, []int) {
|
|
return file_cart_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *Mutation) GetType() isMutation_Type {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Mutation) GetClearCart() *ClearCartRequest {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_ClearCart); ok {
|
|
return x.ClearCart
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Mutation) GetAddItem() *AddItem {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_AddItem); ok {
|
|
return x.AddItem
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Mutation) GetRemoveItem() *RemoveItem {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_RemoveItem); ok {
|
|
return x.RemoveItem
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Mutation) GetChangeQuantity() *ChangeQuantity {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_ChangeQuantity); ok {
|
|
return x.ChangeQuantity
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Mutation) GetSetUserId() *SetUserId {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_SetUserId); ok {
|
|
return x.SetUserId
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Mutation) GetLineItemMarking() *LineItemMarking {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_LineItemMarking); ok {
|
|
return x.LineItemMarking
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Mutation) GetRemoveLineItemMarking() *RemoveLineItemMarking {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_RemoveLineItemMarking); ok {
|
|
return x.RemoveLineItemMarking
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Mutation) GetSubscriptionAdded() *SubscriptionAdded {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_SubscriptionAdded); ok {
|
|
return x.SubscriptionAdded
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Mutation) GetAddVoucher() *AddVoucher {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_AddVoucher); ok {
|
|
return x.AddVoucher
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Mutation) GetRemoveVoucher() *RemoveVoucher {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_RemoveVoucher); ok {
|
|
return x.RemoveVoucher
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Mutation) GetUpsertSubscriptionDetails() *UpsertSubscriptionDetails {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_UpsertSubscriptionDetails); ok {
|
|
return x.UpsertSubscriptionDetails
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isMutation_Type interface {
|
|
isMutation_Type()
|
|
}
|
|
|
|
type Mutation_ClearCart struct {
|
|
ClearCart *ClearCartRequest `protobuf:"bytes,1,opt,name=clear_cart,json=clearCart,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_AddItem struct {
|
|
AddItem *AddItem `protobuf:"bytes,2,opt,name=add_item,json=addItem,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_RemoveItem struct {
|
|
RemoveItem *RemoveItem `protobuf:"bytes,3,opt,name=remove_item,json=removeItem,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_ChangeQuantity struct {
|
|
ChangeQuantity *ChangeQuantity `protobuf:"bytes,4,opt,name=change_quantity,json=changeQuantity,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_SetUserId struct {
|
|
SetUserId *SetUserId `protobuf:"bytes,5,opt,name=set_user_id,json=setUserId,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_LineItemMarking struct {
|
|
LineItemMarking *LineItemMarking `protobuf:"bytes,6,opt,name=line_item_marking,json=lineItemMarking,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_RemoveLineItemMarking struct {
|
|
RemoveLineItemMarking *RemoveLineItemMarking `protobuf:"bytes,7,opt,name=remove_line_item_marking,json=removeLineItemMarking,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_SubscriptionAdded struct {
|
|
SubscriptionAdded *SubscriptionAdded `protobuf:"bytes,8,opt,name=subscription_added,json=subscriptionAdded,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_AddVoucher struct {
|
|
AddVoucher *AddVoucher `protobuf:"bytes,20,opt,name=add_voucher,json=addVoucher,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_RemoveVoucher struct {
|
|
RemoveVoucher *RemoveVoucher `protobuf:"bytes,21,opt,name=remove_voucher,json=removeVoucher,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_UpsertSubscriptionDetails struct {
|
|
UpsertSubscriptionDetails *UpsertSubscriptionDetails `protobuf:"bytes,22,opt,name=upsert_subscription_details,json=upsertSubscriptionDetails,proto3,oneof"`
|
|
}
|
|
|
|
func (*Mutation_ClearCart) isMutation_Type() {}
|
|
|
|
func (*Mutation_AddItem) isMutation_Type() {}
|
|
|
|
func (*Mutation_RemoveItem) isMutation_Type() {}
|
|
|
|
func (*Mutation_ChangeQuantity) isMutation_Type() {}
|
|
|
|
func (*Mutation_SetUserId) isMutation_Type() {}
|
|
|
|
func (*Mutation_LineItemMarking) isMutation_Type() {}
|
|
|
|
func (*Mutation_RemoveLineItemMarking) isMutation_Type() {}
|
|
|
|
func (*Mutation_SubscriptionAdded) isMutation_Type() {}
|
|
|
|
func (*Mutation_AddVoucher) isMutation_Type() {}
|
|
|
|
func (*Mutation_RemoveVoucher) isMutation_Type() {}
|
|
|
|
func (*Mutation_UpsertSubscriptionDetails) isMutation_Type() {}
|
|
|
|
var File_cart_proto protoreflect.FileDescriptor
|
|
|
|
var file_cart_proto_rawDesc = string([]byte{
|
|
0x0a, 0x0a, 0x63, 0x61, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x63, 0x61,
|
|
0x72, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x1a, 0x19, 0x67, 0x6f, 0x6f,
|
|
0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79,
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
|
|
0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x12, 0x0a, 0x10, 0x43, 0x6c, 0x65, 0x61, 0x72,
|
|
0x43, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xb1, 0x06, 0x0a, 0x07,
|
|
0x41, 0x64, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f,
|
|
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64,
|
|
0x12, 0x1a, 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x05, 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05,
|
|
0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x70, 0x72, 0x69,
|
|
0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x72, 0x67, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x09,
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x72, 0x67, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x10,
|
|
0x0a, 0x03, 0x73, 0x6b, 0x75, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x6b, 0x75,
|
|
0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
|
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74,
|
|
0x6f, 0x63, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x6f, 0x63, 0x6b,
|
|
0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x78, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x74,
|
|
0x61, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x05, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65,
|
|
0x67, 0x6f, 0x72, 0x79, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65,
|
|
0x67, 0x6f, 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79,
|
|
0x32, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72,
|
|
0x79, 0x32, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x33, 0x18,
|
|
0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x33,
|
|
0x12, 0x1c, 0x0a, 0x09, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x34, 0x18, 0x11, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x34, 0x12, 0x1c,
|
|
0x0a, 0x09, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x35, 0x18, 0x12, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x09, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x35, 0x12, 0x1e, 0x0a, 0x0a,
|
|
0x64, 0x69, 0x73, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x0a, 0x64, 0x69, 0x73, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b,
|
|
0x61, 0x72, 0x74, 0x69, 0x63, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x63, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a,
|
|
0x0a, 0x08, 0x73, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x08, 0x73, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65,
|
|
0x6c, 0x6c, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
|
|
0x73, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f,
|
|
0x75, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x75,
|
|
0x6e, 0x74, 0x72, 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x61, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74,
|
|
0x75, 0x73, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x61, 0x6c, 0x65, 0x53, 0x74,
|
|
0x61, 0x74, 0x75, 0x73, 0x12, 0x1b, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x6c, 0x65, 0x74, 0x18, 0x0c,
|
|
0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x6c, 0x65, 0x74, 0x88, 0x01,
|
|
0x01, 0x12, 0x1d, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x49, 0x64, 0x18, 0x16, 0x20, 0x01,
|
|
0x28, 0x09, 0x48, 0x01, 0x52, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x49, 0x64, 0x88, 0x01, 0x01,
|
|
0x12, 0x1f, 0x0a, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x17, 0x20, 0x01,
|
|
0x28, 0x0d, 0x48, 0x02, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x88, 0x01,
|
|
0x01, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x67, 0x6d, 0x18, 0x19, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
|
|
0x63, 0x67, 0x6d, 0x12, 0x4f, 0x0a, 0x12, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
|
|
0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x03, 0x52, 0x12, 0x72,
|
|
0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d,
|
|
0x65, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x6f, 0x75, 0x74, 0x6c, 0x65, 0x74, 0x42,
|
|
0x0a, 0x0a, 0x08, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x49, 0x64, 0x42, 0x0b, 0x0a, 0x09, 0x5f,
|
|
0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x42, 0x15, 0x0a, 0x13, 0x5f, 0x72, 0x65, 0x73,
|
|
0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22,
|
|
0x1c, 0x0a, 0x0a, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x0e, 0x0a,
|
|
0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x49, 0x64, 0x22, 0x3c, 0x0a,
|
|
0x0e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12,
|
|
0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x49, 0x64, 0x12,
|
|
0x1a, 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x05, 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x22, 0x23, 0x0a, 0x09, 0x53,
|
|
0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72,
|
|
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64,
|
|
0x22, 0x4f, 0x0a, 0x0f, 0x4c, 0x69, 0x6e, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x4d, 0x61, 0x72, 0x6b,
|
|
0x69, 0x6e, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52,
|
|
0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x0d, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x61, 0x72, 0x6b, 0x69,
|
|
0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x61, 0x72, 0x6b, 0x69, 0x6e,
|
|
0x67, 0x22, 0x27, 0x0a, 0x15, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4c, 0x69, 0x6e, 0x65, 0x49,
|
|
0x74, 0x65, 0x6d, 0x4d, 0x61, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x22, 0x71, 0x0a, 0x11, 0x53, 0x75,
|
|
0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x65, 0x64, 0x12,
|
|
0x16, 0x0a, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52,
|
|
0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x65, 0x74, 0x61, 0x69,
|
|
0x6c, 0x73, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x65, 0x74, 0x61,
|
|
0x69, 0x6c, 0x73, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65,
|
|
0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f,
|
|
0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x7c, 0x0a,
|
|
0x0a, 0x41, 0x64, 0x64, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x63,
|
|
0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12,
|
|
0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
|
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x76, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72,
|
|
0x52, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x76, 0x6f, 0x75,
|
|
0x63, 0x68, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73,
|
|
0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
|
|
0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x1f, 0x0a, 0x0d, 0x52,
|
|
0x65, 0x6d, 0x6f, 0x76, 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02,
|
|
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x22, 0xa7, 0x01, 0x0a,
|
|
0x19, 0x55, 0x70, 0x73, 0x65, 0x72, 0x74, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x02, 0x69, 0x64, 0x88, 0x01, 0x01, 0x12,
|
|
0x22, 0x0a, 0x0c, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x64, 0x65, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x43,
|
|
0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x69, 0x67, 0x6e, 0x69, 0x6e, 0x67, 0x54, 0x79,
|
|
0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x69, 0x67, 0x6e, 0x69, 0x6e,
|
|
0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x28, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42,
|
|
0x05, 0x0a, 0x03, 0x5f, 0x69, 0x64, 0x22, 0xc0, 0x06, 0x0a, 0x08, 0x4d, 0x75, 0x74, 0x61, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x0a, 0x63, 0x6c, 0x65, 0x61, 0x72, 0x5f, 0x63, 0x61, 0x72,
|
|
0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x61, 0x72, 0x74, 0x5f, 0x6d,
|
|
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x43, 0x61, 0x72,
|
|
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x09, 0x63, 0x6c, 0x65, 0x61,
|
|
0x72, 0x43, 0x61, 0x72, 0x74, 0x12, 0x33, 0x0a, 0x08, 0x61, 0x64, 0x64, 0x5f, 0x69, 0x74, 0x65,
|
|
0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x63, 0x61, 0x72, 0x74, 0x5f, 0x6d,
|
|
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x48,
|
|
0x00, 0x52, 0x07, 0x61, 0x64, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x3c, 0x0a, 0x0b, 0x72, 0x65,
|
|
0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x19, 0x2e, 0x63, 0x61, 0x72, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e,
|
|
0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x48, 0x00, 0x52, 0x0a, 0x72, 0x65,
|
|
0x6d, 0x6f, 0x76, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x48, 0x0a, 0x0f, 0x63, 0x68, 0x61, 0x6e,
|
|
0x67, 0x65, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x1d, 0x2e, 0x63, 0x61, 0x72, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
0x73, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79,
|
|
0x48, 0x00, 0x52, 0x0e, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69,
|
|
0x74, 0x79, 0x12, 0x3a, 0x0a, 0x0b, 0x73, 0x65, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69,
|
|
0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x61, 0x72, 0x74, 0x5f, 0x6d,
|
|
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49,
|
|
0x64, 0x48, 0x00, 0x52, 0x09, 0x73, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x4c,
|
|
0x0a, 0x11, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6d, 0x61, 0x72, 0x6b,
|
|
0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x61, 0x72, 0x74,
|
|
0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x4c, 0x69, 0x6e, 0x65, 0x49, 0x74,
|
|
0x65, 0x6d, 0x4d, 0x61, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x0f, 0x6c, 0x69, 0x6e,
|
|
0x65, 0x49, 0x74, 0x65, 0x6d, 0x4d, 0x61, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x12, 0x5f, 0x0a, 0x18,
|
|
0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x74, 0x65, 0x6d,
|
|
0x5f, 0x6d, 0x61, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24,
|
|
0x2e, 0x63, 0x61, 0x72, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x52,
|
|
0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4c, 0x69, 0x6e, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x4d, 0x61, 0x72,
|
|
0x6b, 0x69, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x15, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4c, 0x69,
|
|
0x6e, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x4d, 0x61, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x12, 0x51, 0x0a,
|
|
0x12, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x64,
|
|
0x64, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x61, 0x72, 0x74,
|
|
0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72,
|
|
0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x65, 0x64, 0x48, 0x00, 0x52, 0x11, 0x73,
|
|
0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x65, 0x64,
|
|
0x12, 0x3c, 0x0a, 0x0b, 0x61, 0x64, 0x64, 0x5f, 0x76, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x18,
|
|
0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x61, 0x72, 0x74, 0x5f, 0x6d, 0x65, 0x73,
|
|
0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72,
|
|
0x48, 0x00, 0x52, 0x0a, 0x61, 0x64, 0x64, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x12, 0x45,
|
|
0x0a, 0x0e, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x76, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72,
|
|
0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x61, 0x72, 0x74, 0x5f, 0x6d, 0x65,
|
|
0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x56, 0x6f, 0x75,
|
|
0x63, 0x68, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0d, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x56, 0x6f,
|
|
0x75, 0x63, 0x68, 0x65, 0x72, 0x12, 0x6a, 0x0a, 0x1b, 0x75, 0x70, 0x73, 0x65, 0x72, 0x74, 0x5f,
|
|
0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x74,
|
|
0x61, 0x69, 0x6c, 0x73, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x61, 0x72,
|
|
0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x55, 0x70, 0x73, 0x65, 0x72,
|
|
0x74, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74,
|
|
0x61, 0x69, 0x6c, 0x73, 0x48, 0x00, 0x52, 0x19, 0x75, 0x70, 0x73, 0x65, 0x72, 0x74, 0x53, 0x75,
|
|
0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c,
|
|
0x73, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74,
|
|
0x2e, 0x6b, 0x36, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x61, 0x72, 0x74,
|
|
0x2d, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x61, 0x72,
|
|
0x74, 0x3b, 0x63, 0x61, 0x72, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x62,
|
|
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
})
|
|
|
|
var (
|
|
file_cart_proto_rawDescOnce sync.Once
|
|
file_cart_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_cart_proto_rawDescGZIP() []byte {
|
|
file_cart_proto_rawDescOnce.Do(func() {
|
|
file_cart_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_cart_proto_rawDesc), len(file_cart_proto_rawDesc)))
|
|
})
|
|
return file_cart_proto_rawDescData
|
|
}
|
|
|
|
var file_cart_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
|
var file_cart_proto_goTypes = []any{
|
|
(*ClearCartRequest)(nil), // 0: cart_messages.ClearCartRequest
|
|
(*AddItem)(nil), // 1: cart_messages.AddItem
|
|
(*RemoveItem)(nil), // 2: cart_messages.RemoveItem
|
|
(*ChangeQuantity)(nil), // 3: cart_messages.ChangeQuantity
|
|
(*SetUserId)(nil), // 4: cart_messages.SetUserId
|
|
(*LineItemMarking)(nil), // 5: cart_messages.LineItemMarking
|
|
(*RemoveLineItemMarking)(nil), // 6: cart_messages.RemoveLineItemMarking
|
|
(*SubscriptionAdded)(nil), // 7: cart_messages.SubscriptionAdded
|
|
(*AddVoucher)(nil), // 8: cart_messages.AddVoucher
|
|
(*RemoveVoucher)(nil), // 9: cart_messages.RemoveVoucher
|
|
(*UpsertSubscriptionDetails)(nil), // 10: cart_messages.UpsertSubscriptionDetails
|
|
(*Mutation)(nil), // 11: cart_messages.Mutation
|
|
(*timestamppb.Timestamp)(nil), // 12: google.protobuf.Timestamp
|
|
(*anypb.Any)(nil), // 13: google.protobuf.Any
|
|
}
|
|
var file_cart_proto_depIdxs = []int32{
|
|
12, // 0: cart_messages.AddItem.reservationEndTime:type_name -> google.protobuf.Timestamp
|
|
13, // 1: cart_messages.UpsertSubscriptionDetails.data:type_name -> google.protobuf.Any
|
|
0, // 2: cart_messages.Mutation.clear_cart:type_name -> cart_messages.ClearCartRequest
|
|
1, // 3: cart_messages.Mutation.add_item:type_name -> cart_messages.AddItem
|
|
2, // 4: cart_messages.Mutation.remove_item:type_name -> cart_messages.RemoveItem
|
|
3, // 5: cart_messages.Mutation.change_quantity:type_name -> cart_messages.ChangeQuantity
|
|
4, // 6: cart_messages.Mutation.set_user_id:type_name -> cart_messages.SetUserId
|
|
5, // 7: cart_messages.Mutation.line_item_marking:type_name -> cart_messages.LineItemMarking
|
|
6, // 8: cart_messages.Mutation.remove_line_item_marking:type_name -> cart_messages.RemoveLineItemMarking
|
|
7, // 9: cart_messages.Mutation.subscription_added:type_name -> cart_messages.SubscriptionAdded
|
|
8, // 10: cart_messages.Mutation.add_voucher:type_name -> cart_messages.AddVoucher
|
|
9, // 11: cart_messages.Mutation.remove_voucher:type_name -> cart_messages.RemoveVoucher
|
|
10, // 12: cart_messages.Mutation.upsert_subscription_details:type_name -> cart_messages.UpsertSubscriptionDetails
|
|
13, // [13:13] is the sub-list for method output_type
|
|
13, // [13:13] is the sub-list for method input_type
|
|
13, // [13:13] is the sub-list for extension type_name
|
|
13, // [13:13] is the sub-list for extension extendee
|
|
0, // [0:13] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_cart_proto_init() }
|
|
func file_cart_proto_init() {
|
|
if File_cart_proto != nil {
|
|
return
|
|
}
|
|
file_cart_proto_msgTypes[1].OneofWrappers = []any{}
|
|
file_cart_proto_msgTypes[10].OneofWrappers = []any{}
|
|
file_cart_proto_msgTypes[11].OneofWrappers = []any{
|
|
(*Mutation_ClearCart)(nil),
|
|
(*Mutation_AddItem)(nil),
|
|
(*Mutation_RemoveItem)(nil),
|
|
(*Mutation_ChangeQuantity)(nil),
|
|
(*Mutation_SetUserId)(nil),
|
|
(*Mutation_LineItemMarking)(nil),
|
|
(*Mutation_RemoveLineItemMarking)(nil),
|
|
(*Mutation_SubscriptionAdded)(nil),
|
|
(*Mutation_AddVoucher)(nil),
|
|
(*Mutation_RemoveVoucher)(nil),
|
|
(*Mutation_UpsertSubscriptionDetails)(nil),
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_cart_proto_rawDesc), len(file_cart_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 12,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_cart_proto_goTypes,
|
|
DependencyIndexes: file_cart_proto_depIdxs,
|
|
MessageInfos: file_cart_proto_msgTypes,
|
|
}.Build()
|
|
File_cart_proto = out.File
|
|
file_cart_proto_goTypes = nil
|
|
file_cart_proto_depIdxs = nil
|
|
}
|