2616 lines
92 KiB
Go
2616 lines
92 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.5
|
|
// protoc v6.33.1
|
|
// source: messages.proto
|
|
|
|
package 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_messages_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_messages_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_messages_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_messages_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_messages_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_messages_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_messages_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_messages_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_messages_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_messages_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_messages_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_messages_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 SetDelivery struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
|
|
Items []uint32 `protobuf:"varint,2,rep,packed,name=items,proto3" json:"items,omitempty"`
|
|
PickupPoint *PickupPoint `protobuf:"bytes,3,opt,name=pickupPoint,proto3,oneof" json:"pickupPoint,omitempty"`
|
|
Country string `protobuf:"bytes,4,opt,name=country,proto3" json:"country,omitempty"`
|
|
Zip string `protobuf:"bytes,5,opt,name=zip,proto3" json:"zip,omitempty"`
|
|
Address *string `protobuf:"bytes,6,opt,name=address,proto3,oneof" json:"address,omitempty"`
|
|
City *string `protobuf:"bytes,7,opt,name=city,proto3,oneof" json:"city,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetDelivery) Reset() {
|
|
*x = SetDelivery{}
|
|
mi := &file_messages_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetDelivery) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetDelivery) ProtoMessage() {}
|
|
|
|
func (x *SetDelivery) ProtoReflect() protoreflect.Message {
|
|
mi := &file_messages_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 SetDelivery.ProtoReflect.Descriptor instead.
|
|
func (*SetDelivery) Descriptor() ([]byte, []int) {
|
|
return file_messages_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *SetDelivery) GetProvider() string {
|
|
if x != nil {
|
|
return x.Provider
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetDelivery) GetItems() []uint32 {
|
|
if x != nil {
|
|
return x.Items
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SetDelivery) GetPickupPoint() *PickupPoint {
|
|
if x != nil {
|
|
return x.PickupPoint
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SetDelivery) GetCountry() string {
|
|
if x != nil {
|
|
return x.Country
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetDelivery) GetZip() string {
|
|
if x != nil {
|
|
return x.Zip
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetDelivery) GetAddress() string {
|
|
if x != nil && x.Address != nil {
|
|
return *x.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetDelivery) GetCity() string {
|
|
if x != nil && x.City != nil {
|
|
return *x.City
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SetPickupPoint struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
DeliveryId uint32 `protobuf:"varint,1,opt,name=deliveryId,proto3" json:"deliveryId,omitempty"`
|
|
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
|
Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
|
|
Address *string `protobuf:"bytes,4,opt,name=address,proto3,oneof" json:"address,omitempty"`
|
|
City *string `protobuf:"bytes,5,opt,name=city,proto3,oneof" json:"city,omitempty"`
|
|
Zip *string `protobuf:"bytes,6,opt,name=zip,proto3,oneof" json:"zip,omitempty"`
|
|
Country *string `protobuf:"bytes,7,opt,name=country,proto3,oneof" json:"country,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetPickupPoint) Reset() {
|
|
*x = SetPickupPoint{}
|
|
mi := &file_messages_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetPickupPoint) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetPickupPoint) ProtoMessage() {}
|
|
|
|
func (x *SetPickupPoint) ProtoReflect() protoreflect.Message {
|
|
mi := &file_messages_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 SetPickupPoint.ProtoReflect.Descriptor instead.
|
|
func (*SetPickupPoint) Descriptor() ([]byte, []int) {
|
|
return file_messages_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *SetPickupPoint) GetDeliveryId() uint32 {
|
|
if x != nil {
|
|
return x.DeliveryId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SetPickupPoint) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetPickupPoint) GetName() string {
|
|
if x != nil && x.Name != nil {
|
|
return *x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetPickupPoint) GetAddress() string {
|
|
if x != nil && x.Address != nil {
|
|
return *x.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetPickupPoint) GetCity() string {
|
|
if x != nil && x.City != nil {
|
|
return *x.City
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetPickupPoint) GetZip() string {
|
|
if x != nil && x.Zip != nil {
|
|
return *x.Zip
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetPickupPoint) GetCountry() string {
|
|
if x != nil && x.Country != nil {
|
|
return *x.Country
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PickupPoint struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
|
|
Address *string `protobuf:"bytes,3,opt,name=address,proto3,oneof" json:"address,omitempty"`
|
|
City *string `protobuf:"bytes,4,opt,name=city,proto3,oneof" json:"city,omitempty"`
|
|
Zip *string `protobuf:"bytes,5,opt,name=zip,proto3,oneof" json:"zip,omitempty"`
|
|
Country *string `protobuf:"bytes,6,opt,name=country,proto3,oneof" json:"country,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PickupPoint) Reset() {
|
|
*x = PickupPoint{}
|
|
mi := &file_messages_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PickupPoint) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PickupPoint) ProtoMessage() {}
|
|
|
|
func (x *PickupPoint) ProtoReflect() protoreflect.Message {
|
|
mi := &file_messages_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 PickupPoint.ProtoReflect.Descriptor instead.
|
|
func (*PickupPoint) Descriptor() ([]byte, []int) {
|
|
return file_messages_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *PickupPoint) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PickupPoint) GetName() string {
|
|
if x != nil && x.Name != nil {
|
|
return *x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PickupPoint) GetAddress() string {
|
|
if x != nil && x.Address != nil {
|
|
return *x.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PickupPoint) GetCity() string {
|
|
if x != nil && x.City != nil {
|
|
return *x.City
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PickupPoint) GetZip() string {
|
|
if x != nil && x.Zip != nil {
|
|
return *x.Zip
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PickupPoint) GetCountry() string {
|
|
if x != nil && x.Country != nil {
|
|
return *x.Country
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RemoveDelivery 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 *RemoveDelivery) Reset() {
|
|
*x = RemoveDelivery{}
|
|
mi := &file_messages_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoveDelivery) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoveDelivery) ProtoMessage() {}
|
|
|
|
func (x *RemoveDelivery) ProtoReflect() protoreflect.Message {
|
|
mi := &file_messages_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 RemoveDelivery.ProtoReflect.Descriptor instead.
|
|
func (*RemoveDelivery) Descriptor() ([]byte, []int) {
|
|
return file_messages_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *RemoveDelivery) GetId() uint32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
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_messages_proto_msgTypes[8]
|
|
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_messages_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 SetUserId.ProtoReflect.Descriptor instead.
|
|
func (*SetUserId) Descriptor() ([]byte, []int) {
|
|
return file_messages_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
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_messages_proto_msgTypes[9]
|
|
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_messages_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 LineItemMarking.ProtoReflect.Descriptor instead.
|
|
func (*LineItemMarking) Descriptor() ([]byte, []int) {
|
|
return file_messages_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
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_messages_proto_msgTypes[10]
|
|
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_messages_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 RemoveLineItemMarking.ProtoReflect.Descriptor instead.
|
|
func (*RemoveLineItemMarking) Descriptor() ([]byte, []int) {
|
|
return file_messages_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
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_messages_proto_msgTypes[11]
|
|
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_messages_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 SubscriptionAdded.ProtoReflect.Descriptor instead.
|
|
func (*SubscriptionAdded) Descriptor() ([]byte, []int) {
|
|
return file_messages_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
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 PaymentDeclined struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
|
|
Code *string `protobuf:"bytes,2,opt,name=code,proto3,oneof" json:"code,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PaymentDeclined) Reset() {
|
|
*x = PaymentDeclined{}
|
|
mi := &file_messages_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PaymentDeclined) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PaymentDeclined) ProtoMessage() {}
|
|
|
|
func (x *PaymentDeclined) ProtoReflect() protoreflect.Message {
|
|
mi := &file_messages_proto_msgTypes[12]
|
|
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 PaymentDeclined.ProtoReflect.Descriptor instead.
|
|
func (*PaymentDeclined) Descriptor() ([]byte, []int) {
|
|
return file_messages_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *PaymentDeclined) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PaymentDeclined) GetCode() string {
|
|
if x != nil && x.Code != nil {
|
|
return *x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ConfirmationViewed struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ConfirmationViewed) Reset() {
|
|
*x = ConfirmationViewed{}
|
|
mi := &file_messages_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ConfirmationViewed) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConfirmationViewed) ProtoMessage() {}
|
|
|
|
func (x *ConfirmationViewed) ProtoReflect() protoreflect.Message {
|
|
mi := &file_messages_proto_msgTypes[13]
|
|
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 ConfirmationViewed.ProtoReflect.Descriptor instead.
|
|
func (*ConfirmationViewed) Descriptor() ([]byte, []int) {
|
|
return file_messages_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
type CreateCheckoutOrder struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Terms string `protobuf:"bytes,1,opt,name=terms,proto3" json:"terms,omitempty"`
|
|
Checkout string `protobuf:"bytes,2,opt,name=checkout,proto3" json:"checkout,omitempty"`
|
|
Confirmation string `protobuf:"bytes,3,opt,name=confirmation,proto3" json:"confirmation,omitempty"`
|
|
Push string `protobuf:"bytes,4,opt,name=push,proto3" json:"push,omitempty"`
|
|
Validation string `protobuf:"bytes,5,opt,name=validation,proto3" json:"validation,omitempty"`
|
|
Country string `protobuf:"bytes,6,opt,name=country,proto3" json:"country,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateCheckoutOrder) Reset() {
|
|
*x = CreateCheckoutOrder{}
|
|
mi := &file_messages_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateCheckoutOrder) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateCheckoutOrder) ProtoMessage() {}
|
|
|
|
func (x *CreateCheckoutOrder) ProtoReflect() protoreflect.Message {
|
|
mi := &file_messages_proto_msgTypes[14]
|
|
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 CreateCheckoutOrder.ProtoReflect.Descriptor instead.
|
|
func (*CreateCheckoutOrder) Descriptor() ([]byte, []int) {
|
|
return file_messages_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *CreateCheckoutOrder) GetTerms() string {
|
|
if x != nil {
|
|
return x.Terms
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateCheckoutOrder) GetCheckout() string {
|
|
if x != nil {
|
|
return x.Checkout
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateCheckoutOrder) GetConfirmation() string {
|
|
if x != nil {
|
|
return x.Confirmation
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateCheckoutOrder) GetPush() string {
|
|
if x != nil {
|
|
return x.Push
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateCheckoutOrder) GetValidation() string {
|
|
if x != nil {
|
|
return x.Validation
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateCheckoutOrder) GetCountry() string {
|
|
if x != nil {
|
|
return x.Country
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type OrderCreated struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
OrderId string `protobuf:"bytes,1,opt,name=orderId,proto3" json:"orderId,omitempty"`
|
|
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OrderCreated) Reset() {
|
|
*x = OrderCreated{}
|
|
mi := &file_messages_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OrderCreated) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OrderCreated) ProtoMessage() {}
|
|
|
|
func (x *OrderCreated) ProtoReflect() protoreflect.Message {
|
|
mi := &file_messages_proto_msgTypes[15]
|
|
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 OrderCreated.ProtoReflect.Descriptor instead.
|
|
func (*OrderCreated) Descriptor() ([]byte, []int) {
|
|
return file_messages_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *OrderCreated) GetOrderId() string {
|
|
if x != nil {
|
|
return x.OrderId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OrderCreated) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Noop struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Noop) Reset() {
|
|
*x = Noop{}
|
|
mi := &file_messages_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Noop) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Noop) ProtoMessage() {}
|
|
|
|
func (x *Noop) ProtoReflect() protoreflect.Message {
|
|
mi := &file_messages_proto_msgTypes[16]
|
|
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 Noop.ProtoReflect.Descriptor instead.
|
|
func (*Noop) Descriptor() ([]byte, []int) {
|
|
return file_messages_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
type InitializeCheckout struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
OrderId string `protobuf:"bytes,1,opt,name=orderId,proto3" json:"orderId,omitempty"`
|
|
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
|
|
PaymentInProgress bool `protobuf:"varint,3,opt,name=paymentInProgress,proto3" json:"paymentInProgress,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InitializeCheckout) Reset() {
|
|
*x = InitializeCheckout{}
|
|
mi := &file_messages_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InitializeCheckout) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InitializeCheckout) ProtoMessage() {}
|
|
|
|
func (x *InitializeCheckout) ProtoReflect() protoreflect.Message {
|
|
mi := &file_messages_proto_msgTypes[17]
|
|
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 InitializeCheckout.ProtoReflect.Descriptor instead.
|
|
func (*InitializeCheckout) Descriptor() ([]byte, []int) {
|
|
return file_messages_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *InitializeCheckout) GetOrderId() string {
|
|
if x != nil {
|
|
return x.OrderId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InitializeCheckout) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InitializeCheckout) GetPaymentInProgress() bool {
|
|
if x != nil {
|
|
return x.PaymentInProgress
|
|
}
|
|
return false
|
|
}
|
|
|
|
type InventoryReserved struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
|
|
Message *string `protobuf:"bytes,3,opt,name=message,proto3,oneof" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InventoryReserved) Reset() {
|
|
*x = InventoryReserved{}
|
|
mi := &file_messages_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InventoryReserved) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InventoryReserved) ProtoMessage() {}
|
|
|
|
func (x *InventoryReserved) ProtoReflect() protoreflect.Message {
|
|
mi := &file_messages_proto_msgTypes[18]
|
|
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 InventoryReserved.ProtoReflect.Descriptor instead.
|
|
func (*InventoryReserved) Descriptor() ([]byte, []int) {
|
|
return file_messages_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *InventoryReserved) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InventoryReserved) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InventoryReserved) GetMessage() string {
|
|
if x != nil && x.Message != nil {
|
|
return *x.Message
|
|
}
|
|
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_messages_proto_msgTypes[19]
|
|
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_messages_proto_msgTypes[19]
|
|
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_messages_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
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_messages_proto_msgTypes[20]
|
|
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_messages_proto_msgTypes[20]
|
|
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_messages_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
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_messages_proto_msgTypes[21]
|
|
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_messages_proto_msgTypes[21]
|
|
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_messages_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
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 PreConditionFailed struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Operation string `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
|
|
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
|
|
Input *anypb.Any `protobuf:"bytes,3,opt,name=input,proto3" json:"input,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PreConditionFailed) Reset() {
|
|
*x = PreConditionFailed{}
|
|
mi := &file_messages_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PreConditionFailed) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PreConditionFailed) ProtoMessage() {}
|
|
|
|
func (x *PreConditionFailed) ProtoReflect() protoreflect.Message {
|
|
mi := &file_messages_proto_msgTypes[22]
|
|
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 PreConditionFailed.ProtoReflect.Descriptor instead.
|
|
func (*PreConditionFailed) Descriptor() ([]byte, []int) {
|
|
return file_messages_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *PreConditionFailed) GetOperation() string {
|
|
if x != nil {
|
|
return x.Operation
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PreConditionFailed) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PreConditionFailed) GetInput() *anypb.Any {
|
|
if x != nil {
|
|
return x.Input
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GiftcardItem struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
|
|
DeliveryDate string `protobuf:"bytes,2,opt,name=deliveryDate,proto3" json:"deliveryDate,omitempty"`
|
|
Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"`
|
|
RecipientType string `protobuf:"bytes,4,opt,name=recipientType,proto3" json:"recipientType,omitempty"`
|
|
Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
|
|
DesignConfig *anypb.Any `protobuf:"bytes,6,opt,name=designConfig,proto3,oneof" json:"designConfig,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GiftcardItem) Reset() {
|
|
*x = GiftcardItem{}
|
|
mi := &file_messages_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GiftcardItem) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GiftcardItem) ProtoMessage() {}
|
|
|
|
func (x *GiftcardItem) ProtoReflect() protoreflect.Message {
|
|
mi := &file_messages_proto_msgTypes[23]
|
|
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 GiftcardItem.ProtoReflect.Descriptor instead.
|
|
func (*GiftcardItem) Descriptor() ([]byte, []int) {
|
|
return file_messages_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *GiftcardItem) GetValue() int64 {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GiftcardItem) GetDeliveryDate() string {
|
|
if x != nil {
|
|
return x.DeliveryDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GiftcardItem) GetRecipient() string {
|
|
if x != nil {
|
|
return x.Recipient
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GiftcardItem) GetRecipientType() string {
|
|
if x != nil {
|
|
return x.RecipientType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GiftcardItem) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GiftcardItem) GetDesignConfig() *anypb.Any {
|
|
if x != nil {
|
|
return x.DesignConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AddGiftcard struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Giftcard *GiftcardItem `protobuf:"bytes,1,opt,name=giftcard,proto3" json:"giftcard,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddGiftcard) Reset() {
|
|
*x = AddGiftcard{}
|
|
mi := &file_messages_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddGiftcard) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddGiftcard) ProtoMessage() {}
|
|
|
|
func (x *AddGiftcard) ProtoReflect() protoreflect.Message {
|
|
mi := &file_messages_proto_msgTypes[24]
|
|
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 AddGiftcard.ProtoReflect.Descriptor instead.
|
|
func (*AddGiftcard) Descriptor() ([]byte, []int) {
|
|
return file_messages_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
func (x *AddGiftcard) GetGiftcard() *GiftcardItem {
|
|
if x != nil {
|
|
return x.Giftcard
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RemoveGiftcard 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 *RemoveGiftcard) Reset() {
|
|
*x = RemoveGiftcard{}
|
|
mi := &file_messages_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoveGiftcard) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoveGiftcard) ProtoMessage() {}
|
|
|
|
func (x *RemoveGiftcard) ProtoReflect() protoreflect.Message {
|
|
mi := &file_messages_proto_msgTypes[25]
|
|
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 RemoveGiftcard.ProtoReflect.Descriptor instead.
|
|
func (*RemoveGiftcard) Descriptor() ([]byte, []int) {
|
|
return file_messages_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *RemoveGiftcard) GetId() uint32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
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_SetDelivery
|
|
// *Mutation_SetPickupPoint
|
|
// *Mutation_RemoveDelivery
|
|
// *Mutation_SetUserId
|
|
// *Mutation_LineItemMarking
|
|
// *Mutation_RemoveLineItemMarking
|
|
// *Mutation_SubscriptionAdded
|
|
// *Mutation_PaymentDeclined
|
|
// *Mutation_ConfirmationViewed
|
|
// *Mutation_CreateCheckoutOrder
|
|
// *Mutation_OrderCreated
|
|
// *Mutation_Noop
|
|
// *Mutation_InitializeCheckout
|
|
// *Mutation_InventoryReserved
|
|
// *Mutation_AddVoucher
|
|
// *Mutation_RemoveVoucher
|
|
// *Mutation_UpsertSubscriptionDetails
|
|
// *Mutation_PreConditionFailed
|
|
// *Mutation_AddGiftcard
|
|
// *Mutation_RemoveGiftcard
|
|
Type isMutation_Type `protobuf_oneof:"type"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Mutation) Reset() {
|
|
*x = Mutation{}
|
|
mi := &file_messages_proto_msgTypes[26]
|
|
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_messages_proto_msgTypes[26]
|
|
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_messages_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
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) GetSetDelivery() *SetDelivery {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_SetDelivery); ok {
|
|
return x.SetDelivery
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Mutation) GetSetPickupPoint() *SetPickupPoint {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_SetPickupPoint); ok {
|
|
return x.SetPickupPoint
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Mutation) GetRemoveDelivery() *RemoveDelivery {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_RemoveDelivery); ok {
|
|
return x.RemoveDelivery
|
|
}
|
|
}
|
|
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) GetPaymentDeclined() *PaymentDeclined {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_PaymentDeclined); ok {
|
|
return x.PaymentDeclined
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Mutation) GetConfirmationViewed() *ConfirmationViewed {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_ConfirmationViewed); ok {
|
|
return x.ConfirmationViewed
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Mutation) GetCreateCheckoutOrder() *CreateCheckoutOrder {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_CreateCheckoutOrder); ok {
|
|
return x.CreateCheckoutOrder
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Mutation) GetOrderCreated() *OrderCreated {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_OrderCreated); ok {
|
|
return x.OrderCreated
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Mutation) GetNoop() *Noop {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_Noop); ok {
|
|
return x.Noop
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Mutation) GetInitializeCheckout() *InitializeCheckout {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_InitializeCheckout); ok {
|
|
return x.InitializeCheckout
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Mutation) GetInventoryReserved() *InventoryReserved {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_InventoryReserved); ok {
|
|
return x.InventoryReserved
|
|
}
|
|
}
|
|
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
|
|
}
|
|
|
|
func (x *Mutation) GetPreConditionFailed() *PreConditionFailed {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_PreConditionFailed); ok {
|
|
return x.PreConditionFailed
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Mutation) GetAddGiftcard() *AddGiftcard {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_AddGiftcard); ok {
|
|
return x.AddGiftcard
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Mutation) GetRemoveGiftcard() *RemoveGiftcard {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_RemoveGiftcard); ok {
|
|
return x.RemoveGiftcard
|
|
}
|
|
}
|
|
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_SetDelivery struct {
|
|
SetDelivery *SetDelivery `protobuf:"bytes,5,opt,name=set_delivery,json=setDelivery,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_SetPickupPoint struct {
|
|
SetPickupPoint *SetPickupPoint `protobuf:"bytes,6,opt,name=set_pickup_point,json=setPickupPoint,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_RemoveDelivery struct {
|
|
RemoveDelivery *RemoveDelivery `protobuf:"bytes,7,opt,name=remove_delivery,json=removeDelivery,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_SetUserId struct {
|
|
SetUserId *SetUserId `protobuf:"bytes,8,opt,name=set_user_id,json=setUserId,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_LineItemMarking struct {
|
|
LineItemMarking *LineItemMarking `protobuf:"bytes,9,opt,name=line_item_marking,json=lineItemMarking,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_RemoveLineItemMarking struct {
|
|
RemoveLineItemMarking *RemoveLineItemMarking `protobuf:"bytes,10,opt,name=remove_line_item_marking,json=removeLineItemMarking,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_SubscriptionAdded struct {
|
|
SubscriptionAdded *SubscriptionAdded `protobuf:"bytes,11,opt,name=subscription_added,json=subscriptionAdded,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_PaymentDeclined struct {
|
|
PaymentDeclined *PaymentDeclined `protobuf:"bytes,12,opt,name=payment_declined,json=paymentDeclined,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_ConfirmationViewed struct {
|
|
ConfirmationViewed *ConfirmationViewed `protobuf:"bytes,13,opt,name=confirmation_viewed,json=confirmationViewed,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_CreateCheckoutOrder struct {
|
|
CreateCheckoutOrder *CreateCheckoutOrder `protobuf:"bytes,14,opt,name=create_checkout_order,json=createCheckoutOrder,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_OrderCreated struct {
|
|
OrderCreated *OrderCreated `protobuf:"bytes,15,opt,name=order_created,json=orderCreated,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_Noop struct {
|
|
Noop *Noop `protobuf:"bytes,16,opt,name=noop,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_InitializeCheckout struct {
|
|
InitializeCheckout *InitializeCheckout `protobuf:"bytes,17,opt,name=initialize_checkout,json=initializeCheckout,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_InventoryReserved struct {
|
|
InventoryReserved *InventoryReserved `protobuf:"bytes,18,opt,name=inventory_reserved,json=inventoryReserved,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_AddVoucher struct {
|
|
AddVoucher *AddVoucher `protobuf:"bytes,19,opt,name=add_voucher,json=addVoucher,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_RemoveVoucher struct {
|
|
RemoveVoucher *RemoveVoucher `protobuf:"bytes,20,opt,name=remove_voucher,json=removeVoucher,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_UpsertSubscriptionDetails struct {
|
|
UpsertSubscriptionDetails *UpsertSubscriptionDetails `protobuf:"bytes,21,opt,name=upsert_subscription_details,json=upsertSubscriptionDetails,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_PreConditionFailed struct {
|
|
PreConditionFailed *PreConditionFailed `protobuf:"bytes,22,opt,name=pre_condition_failed,json=preConditionFailed,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_AddGiftcard struct {
|
|
AddGiftcard *AddGiftcard `protobuf:"bytes,23,opt,name=add_giftcard,json=addGiftcard,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_RemoveGiftcard struct {
|
|
RemoveGiftcard *RemoveGiftcard `protobuf:"bytes,24,opt,name=remove_giftcard,json=removeGiftcard,proto3,oneof"`
|
|
}
|
|
|
|
func (*Mutation_ClearCart) isMutation_Type() {}
|
|
|
|
func (*Mutation_AddItem) isMutation_Type() {}
|
|
|
|
func (*Mutation_RemoveItem) isMutation_Type() {}
|
|
|
|
func (*Mutation_ChangeQuantity) isMutation_Type() {}
|
|
|
|
func (*Mutation_SetDelivery) isMutation_Type() {}
|
|
|
|
func (*Mutation_SetPickupPoint) isMutation_Type() {}
|
|
|
|
func (*Mutation_RemoveDelivery) isMutation_Type() {}
|
|
|
|
func (*Mutation_SetUserId) isMutation_Type() {}
|
|
|
|
func (*Mutation_LineItemMarking) isMutation_Type() {}
|
|
|
|
func (*Mutation_RemoveLineItemMarking) isMutation_Type() {}
|
|
|
|
func (*Mutation_SubscriptionAdded) isMutation_Type() {}
|
|
|
|
func (*Mutation_PaymentDeclined) isMutation_Type() {}
|
|
|
|
func (*Mutation_ConfirmationViewed) isMutation_Type() {}
|
|
|
|
func (*Mutation_CreateCheckoutOrder) isMutation_Type() {}
|
|
|
|
func (*Mutation_OrderCreated) isMutation_Type() {}
|
|
|
|
func (*Mutation_Noop) isMutation_Type() {}
|
|
|
|
func (*Mutation_InitializeCheckout) isMutation_Type() {}
|
|
|
|
func (*Mutation_InventoryReserved) isMutation_Type() {}
|
|
|
|
func (*Mutation_AddVoucher) isMutation_Type() {}
|
|
|
|
func (*Mutation_RemoveVoucher) isMutation_Type() {}
|
|
|
|
func (*Mutation_UpsertSubscriptionDetails) isMutation_Type() {}
|
|
|
|
func (*Mutation_PreConditionFailed) isMutation_Type() {}
|
|
|
|
func (*Mutation_AddGiftcard) isMutation_Type() {}
|
|
|
|
func (*Mutation_RemoveGiftcard) isMutation_Type() {}
|
|
|
|
var File_messages_proto protoreflect.FileDescriptor
|
|
|
|
var file_messages_proto_rawDesc = string([]byte{
|
|
0x0a, 0x0e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x12, 0x08, 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, 0x86, 0x02, 0x0a, 0x0b, 0x53,
|
|
0x65, 0x74, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72,
|
|
0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72,
|
|
0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18,
|
|
0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x3c, 0x0a, 0x0b,
|
|
0x70, 0x69, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x15, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x50, 0x69, 0x63,
|
|
0x6b, 0x75, 0x70, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x70, 0x69, 0x63, 0x6b,
|
|
0x75, 0x70, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x88, 0x01, 0x01, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f,
|
|
0x75, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x75,
|
|
0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x7a, 0x69, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x03, 0x7a, 0x69, 0x70, 0x12, 0x1d, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
|
|
0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65,
|
|
0x73, 0x73, 0x88, 0x01, 0x01, 0x12, 0x17, 0x0a, 0x04, 0x63, 0x69, 0x74, 0x79, 0x18, 0x07, 0x20,
|
|
0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x04, 0x63, 0x69, 0x74, 0x79, 0x88, 0x01, 0x01, 0x42, 0x0e,
|
|
0x0a, 0x0c, 0x5f, 0x70, 0x69, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x42, 0x0a,
|
|
0x0a, 0x08, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x63,
|
|
0x69, 0x74, 0x79, 0x22, 0xf9, 0x01, 0x0a, 0x0e, 0x53, 0x65, 0x74, 0x50, 0x69, 0x63, 0x6b, 0x75,
|
|
0x70, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65,
|
|
0x72, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x64, 0x65, 0x6c, 0x69,
|
|
0x76, 0x65, 0x72, 0x79, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12,
|
|
0x1d, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
|
|
0x48, 0x01, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x88, 0x01, 0x01, 0x12, 0x17,
|
|
0x0a, 0x04, 0x63, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x04,
|
|
0x63, 0x69, 0x74, 0x79, 0x88, 0x01, 0x01, 0x12, 0x15, 0x0a, 0x03, 0x7a, 0x69, 0x70, 0x18, 0x06,
|
|
0x20, 0x01, 0x28, 0x09, 0x48, 0x03, 0x52, 0x03, 0x7a, 0x69, 0x70, 0x88, 0x01, 0x01, 0x12, 0x1d,
|
|
0x0a, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x48,
|
|
0x04, 0x52, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a,
|
|
0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65,
|
|
0x73, 0x73, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x63, 0x69, 0x74, 0x79, 0x42, 0x06, 0x0a, 0x04, 0x5f,
|
|
0x7a, 0x69, 0x70, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x22,
|
|
0xd6, 0x01, 0x0a, 0x0b, 0x50, 0x69, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12,
|
|
0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12,
|
|
0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52,
|
|
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72,
|
|
0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x07, 0x61, 0x64, 0x64,
|
|
0x72, 0x65, 0x73, 0x73, 0x88, 0x01, 0x01, 0x12, 0x17, 0x0a, 0x04, 0x63, 0x69, 0x74, 0x79, 0x18,
|
|
0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x04, 0x63, 0x69, 0x74, 0x79, 0x88, 0x01, 0x01,
|
|
0x12, 0x15, 0x0a, 0x03, 0x7a, 0x69, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x03, 0x52,
|
|
0x03, 0x7a, 0x69, 0x70, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74,
|
|
0x72, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x04, 0x52, 0x07, 0x63, 0x6f, 0x75, 0x6e,
|
|
0x74, 0x72, 0x79, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42,
|
|
0x0a, 0x0a, 0x08, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x07, 0x0a, 0x05, 0x5f,
|
|
0x63, 0x69, 0x74, 0x79, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x7a, 0x69, 0x70, 0x42, 0x0a, 0x0a, 0x08,
|
|
0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x22, 0x20, 0x0a, 0x0e, 0x52, 0x65, 0x6d, 0x6f,
|
|
0x76, 0x65, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 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, 0x4d, 0x0a, 0x0f,
|
|
0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x63, 0x6c, 0x69, 0x6e, 0x65, 0x64, 0x12,
|
|
0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x63, 0x6f, 0x64,
|
|
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x88,
|
|
0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x43,
|
|
0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x69, 0x65, 0x77, 0x65,
|
|
0x64, 0x22, 0xb9, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x68, 0x65, 0x63,
|
|
0x6b, 0x6f, 0x75, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x65, 0x72,
|
|
0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x65, 0x72, 0x6d, 0x73, 0x12,
|
|
0x1a, 0x0a, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x63,
|
|
0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
|
|
0x12, 0x0a, 0x04, 0x70, 0x75, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70,
|
|
0x75, 0x73, 0x68, 0x12, 0x1e, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x06,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x22, 0x40, 0x0a,
|
|
0x0c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x18, 0x0a,
|
|
0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
|
|
0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
|
|
0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22,
|
|
0x06, 0x0a, 0x04, 0x4e, 0x6f, 0x6f, 0x70, 0x22, 0x74, 0x0a, 0x12, 0x49, 0x6e, 0x69, 0x74, 0x69,
|
|
0x61, 0x6c, 0x69, 0x7a, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x12, 0x18, 0x0a,
|
|
0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
|
|
0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
|
|
0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,
|
|
0x2c, 0x0a, 0x11, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x50, 0x72, 0x6f, 0x67,
|
|
0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x70, 0x61, 0x79, 0x6d,
|
|
0x65, 0x6e, 0x74, 0x49, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, 0x66, 0x0a,
|
|
0x11, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76,
|
|
0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
|
|
0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1d, 0x0a, 0x07, 0x6d, 0x65,
|
|
0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x6d,
|
|
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x6d, 0x65,
|
|
0x73, 0x73, 0x61, 0x67, 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, 0x74,
|
|
0x0a, 0x12, 0x50, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61,
|
|
0x69, 0x6c, 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2a, 0x0a, 0x05, 0x69, 0x6e, 0x70, 0x75,
|
|
0x74, 0x18, 0x03, 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, 0x05, 0x69,
|
|
0x6e, 0x70, 0x75, 0x74, 0x22, 0xf6, 0x01, 0x0a, 0x0c, 0x47, 0x69, 0x66, 0x74, 0x63, 0x61, 0x72,
|
|
0x64, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x64,
|
|
0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x44, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x0c, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x44, 0x61, 0x74, 0x65, 0x12,
|
|
0x1c, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x24, 0x0a,
|
|
0x0d, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x54,
|
|
0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x3d, 0x0a,
|
|
0x0c, 0x64, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x06, 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, 0x48, 0x00, 0x52, 0x0c, 0x64, 0x65, 0x73,
|
|
0x69, 0x67, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x88, 0x01, 0x01, 0x42, 0x0f, 0x0a, 0x0d,
|
|
0x5f, 0x64, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x41, 0x0a,
|
|
0x0b, 0x41, 0x64, 0x64, 0x47, 0x69, 0x66, 0x74, 0x63, 0x61, 0x72, 0x64, 0x12, 0x32, 0x0a, 0x08,
|
|
0x67, 0x69, 0x66, 0x74, 0x63, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16,
|
|
0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x47, 0x69, 0x66, 0x74, 0x63, 0x61,
|
|
0x72, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x08, 0x67, 0x69, 0x66, 0x74, 0x63, 0x61, 0x72, 0x64,
|
|
0x22, 0x20, 0x0a, 0x0e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x47, 0x69, 0x66, 0x74, 0x63, 0x61,
|
|
0x72, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02,
|
|
0x69, 0x64, 0x22, 0x95, 0x0d, 0x0a, 0x08, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
|
|
0x3b, 0x0a, 0x0a, 0x63, 0x6c, 0x65, 0x61, 0x72, 0x5f, 0x63, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 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, 0x2e, 0x0a, 0x08,
|
|
0x61, 0x64, 0x64, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11,
|
|
0x2e, 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, 0x37, 0x0a, 0x0b,
|
|
0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x14, 0x2e, 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, 0x43, 0x0a, 0x0f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f,
|
|
0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18,
|
|
0x2e, 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, 0x0c, 0x73, 0x65,
|
|
0x74, 0x5f, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x15, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x74, 0x44,
|
|
0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x65, 0x74, 0x44, 0x65,
|
|
0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x12, 0x44, 0x0a, 0x10, 0x73, 0x65, 0x74, 0x5f, 0x70, 0x69,
|
|
0x63, 0x6b, 0x75, 0x70, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x18, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x74, 0x50,
|
|
0x69, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x73, 0x65,
|
|
0x74, 0x50, 0x69, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x43, 0x0a, 0x0f,
|
|
0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x18,
|
|
0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73,
|
|
0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x48,
|
|
0x00, 0x52, 0x0e, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72,
|
|
0x79, 0x12, 0x35, 0x0a, 0x0b, 0x73, 0x65, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64,
|
|
0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 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, 0x47, 0x0a, 0x11, 0x6c, 0x69, 0x6e, 0x65,
|
|
0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6d, 0x61, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x18, 0x09, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 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, 0x5a, 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, 0x0a, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 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, 0x4c, 0x0a,
|
|
0x12, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x64,
|
|
0x64, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 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, 0x46, 0x0a, 0x10, 0x70,
|
|
0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x65, 0x63, 0x6c, 0x69, 0x6e, 0x65, 0x64, 0x18,
|
|
0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73,
|
|
0x2e, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x63, 0x6c, 0x69, 0x6e, 0x65, 0x64,
|
|
0x48, 0x00, 0x52, 0x0f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x63, 0x6c, 0x69,
|
|
0x6e, 0x65, 0x64, 0x12, 0x4f, 0x0a, 0x13, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x65, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x1c, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x66,
|
|
0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x69, 0x65, 0x77, 0x65, 0x64, 0x48, 0x00,
|
|
0x52, 0x12, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x69,
|
|
0x65, 0x77, 0x65, 0x64, 0x12, 0x53, 0x0a, 0x15, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x63,
|
|
0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x0e, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x43,
|
|
0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x4f, 0x72, 0x64,
|
|
0x65, 0x72, 0x48, 0x00, 0x52, 0x13, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x68, 0x65, 0x63,
|
|
0x6b, 0x6f, 0x75, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x3d, 0x0a, 0x0d, 0x6f, 0x72, 0x64,
|
|
0x65, 0x72, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x16, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x4f, 0x72, 0x64, 0x65,
|
|
0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0c, 0x6f, 0x72, 0x64, 0x65,
|
|
0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x24, 0x0a, 0x04, 0x6e, 0x6f, 0x6f, 0x70,
|
|
0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
0x73, 0x2e, 0x4e, 0x6f, 0x6f, 0x70, 0x48, 0x00, 0x52, 0x04, 0x6e, 0x6f, 0x6f, 0x70, 0x12, 0x4f,
|
|
0x0a, 0x13, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x5f, 0x63, 0x68, 0x65,
|
|
0x63, 0x6b, 0x6f, 0x75, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6d, 0x65,
|
|
0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a,
|
|
0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x48, 0x00, 0x52, 0x12, 0x69, 0x6e, 0x69,
|
|
0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x12,
|
|
0x4c, 0x0a, 0x12, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x72, 0x65, 0x73,
|
|
0x65, 0x72, 0x76, 0x65, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6d, 0x65,
|
|
0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79,
|
|
0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x48, 0x00, 0x52, 0x11, 0x69, 0x6e, 0x76, 0x65,
|
|
0x6e, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x12, 0x37, 0x0a,
|
|
0x0b, 0x61, 0x64, 0x64, 0x5f, 0x76, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x18, 0x13, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x14, 0x2e, 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, 0x40, 0x0a, 0x0e, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65,
|
|
0x5f, 0x76, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17,
|
|
0x2e, 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, 0x65, 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, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e,
|
|
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, 0x12,
|
|
0x50, 0x0a, 0x14, 0x70, 0x72, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x5f, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e,
|
|
0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x50, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x64,
|
|
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x48, 0x00, 0x52, 0x12, 0x70,
|
|
0x72, 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x65,
|
|
0x64, 0x12, 0x3a, 0x0a, 0x0c, 0x61, 0x64, 0x64, 0x5f, 0x67, 0x69, 0x66, 0x74, 0x63, 0x61, 0x72,
|
|
0x64, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
0x65, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x47, 0x69, 0x66, 0x74, 0x63, 0x61, 0x72, 0x64, 0x48, 0x00,
|
|
0x52, 0x0b, 0x61, 0x64, 0x64, 0x47, 0x69, 0x66, 0x74, 0x63, 0x61, 0x72, 0x64, 0x12, 0x43, 0x0a,
|
|
0x0f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x67, 0x69, 0x66, 0x74, 0x63, 0x61, 0x72, 0x64,
|
|
0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
0x73, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x47, 0x69, 0x66, 0x74, 0x63, 0x61, 0x72, 0x64,
|
|
0x48, 0x00, 0x52, 0x0e, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x47, 0x69, 0x66, 0x74, 0x63, 0x61,
|
|
0x72, 0x64, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x42, 0x2a, 0x5a, 0x28, 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, 0x3b, 0x6d, 0x65,
|
|
0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
})
|
|
|
|
var (
|
|
file_messages_proto_rawDescOnce sync.Once
|
|
file_messages_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_messages_proto_rawDescGZIP() []byte {
|
|
file_messages_proto_rawDescOnce.Do(func() {
|
|
file_messages_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_messages_proto_rawDesc), len(file_messages_proto_rawDesc)))
|
|
})
|
|
return file_messages_proto_rawDescData
|
|
}
|
|
|
|
var file_messages_proto_msgTypes = make([]protoimpl.MessageInfo, 27)
|
|
var file_messages_proto_goTypes = []any{
|
|
(*ClearCartRequest)(nil), // 0: messages.ClearCartRequest
|
|
(*AddItem)(nil), // 1: messages.AddItem
|
|
(*RemoveItem)(nil), // 2: messages.RemoveItem
|
|
(*ChangeQuantity)(nil), // 3: messages.ChangeQuantity
|
|
(*SetDelivery)(nil), // 4: messages.SetDelivery
|
|
(*SetPickupPoint)(nil), // 5: messages.SetPickupPoint
|
|
(*PickupPoint)(nil), // 6: messages.PickupPoint
|
|
(*RemoveDelivery)(nil), // 7: messages.RemoveDelivery
|
|
(*SetUserId)(nil), // 8: messages.SetUserId
|
|
(*LineItemMarking)(nil), // 9: messages.LineItemMarking
|
|
(*RemoveLineItemMarking)(nil), // 10: messages.RemoveLineItemMarking
|
|
(*SubscriptionAdded)(nil), // 11: messages.SubscriptionAdded
|
|
(*PaymentDeclined)(nil), // 12: messages.PaymentDeclined
|
|
(*ConfirmationViewed)(nil), // 13: messages.ConfirmationViewed
|
|
(*CreateCheckoutOrder)(nil), // 14: messages.CreateCheckoutOrder
|
|
(*OrderCreated)(nil), // 15: messages.OrderCreated
|
|
(*Noop)(nil), // 16: messages.Noop
|
|
(*InitializeCheckout)(nil), // 17: messages.InitializeCheckout
|
|
(*InventoryReserved)(nil), // 18: messages.InventoryReserved
|
|
(*AddVoucher)(nil), // 19: messages.AddVoucher
|
|
(*RemoveVoucher)(nil), // 20: messages.RemoveVoucher
|
|
(*UpsertSubscriptionDetails)(nil), // 21: messages.UpsertSubscriptionDetails
|
|
(*PreConditionFailed)(nil), // 22: messages.PreConditionFailed
|
|
(*GiftcardItem)(nil), // 23: messages.GiftcardItem
|
|
(*AddGiftcard)(nil), // 24: messages.AddGiftcard
|
|
(*RemoveGiftcard)(nil), // 25: messages.RemoveGiftcard
|
|
(*Mutation)(nil), // 26: messages.Mutation
|
|
(*timestamppb.Timestamp)(nil), // 27: google.protobuf.Timestamp
|
|
(*anypb.Any)(nil), // 28: google.protobuf.Any
|
|
}
|
|
var file_messages_proto_depIdxs = []int32{
|
|
27, // 0: messages.AddItem.reservationEndTime:type_name -> google.protobuf.Timestamp
|
|
6, // 1: messages.SetDelivery.pickupPoint:type_name -> messages.PickupPoint
|
|
28, // 2: messages.UpsertSubscriptionDetails.data:type_name -> google.protobuf.Any
|
|
28, // 3: messages.PreConditionFailed.input:type_name -> google.protobuf.Any
|
|
28, // 4: messages.GiftcardItem.designConfig:type_name -> google.protobuf.Any
|
|
23, // 5: messages.AddGiftcard.giftcard:type_name -> messages.GiftcardItem
|
|
0, // 6: messages.Mutation.clear_cart:type_name -> messages.ClearCartRequest
|
|
1, // 7: messages.Mutation.add_item:type_name -> messages.AddItem
|
|
2, // 8: messages.Mutation.remove_item:type_name -> messages.RemoveItem
|
|
3, // 9: messages.Mutation.change_quantity:type_name -> messages.ChangeQuantity
|
|
4, // 10: messages.Mutation.set_delivery:type_name -> messages.SetDelivery
|
|
5, // 11: messages.Mutation.set_pickup_point:type_name -> messages.SetPickupPoint
|
|
7, // 12: messages.Mutation.remove_delivery:type_name -> messages.RemoveDelivery
|
|
8, // 13: messages.Mutation.set_user_id:type_name -> messages.SetUserId
|
|
9, // 14: messages.Mutation.line_item_marking:type_name -> messages.LineItemMarking
|
|
10, // 15: messages.Mutation.remove_line_item_marking:type_name -> messages.RemoveLineItemMarking
|
|
11, // 16: messages.Mutation.subscription_added:type_name -> messages.SubscriptionAdded
|
|
12, // 17: messages.Mutation.payment_declined:type_name -> messages.PaymentDeclined
|
|
13, // 18: messages.Mutation.confirmation_viewed:type_name -> messages.ConfirmationViewed
|
|
14, // 19: messages.Mutation.create_checkout_order:type_name -> messages.CreateCheckoutOrder
|
|
15, // 20: messages.Mutation.order_created:type_name -> messages.OrderCreated
|
|
16, // 21: messages.Mutation.noop:type_name -> messages.Noop
|
|
17, // 22: messages.Mutation.initialize_checkout:type_name -> messages.InitializeCheckout
|
|
18, // 23: messages.Mutation.inventory_reserved:type_name -> messages.InventoryReserved
|
|
19, // 24: messages.Mutation.add_voucher:type_name -> messages.AddVoucher
|
|
20, // 25: messages.Mutation.remove_voucher:type_name -> messages.RemoveVoucher
|
|
21, // 26: messages.Mutation.upsert_subscription_details:type_name -> messages.UpsertSubscriptionDetails
|
|
22, // 27: messages.Mutation.pre_condition_failed:type_name -> messages.PreConditionFailed
|
|
24, // 28: messages.Mutation.add_giftcard:type_name -> messages.AddGiftcard
|
|
25, // 29: messages.Mutation.remove_giftcard:type_name -> messages.RemoveGiftcard
|
|
30, // [30:30] is the sub-list for method output_type
|
|
30, // [30:30] is the sub-list for method input_type
|
|
30, // [30:30] is the sub-list for extension type_name
|
|
30, // [30:30] is the sub-list for extension extendee
|
|
0, // [0:30] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_messages_proto_init() }
|
|
func file_messages_proto_init() {
|
|
if File_messages_proto != nil {
|
|
return
|
|
}
|
|
file_messages_proto_msgTypes[1].OneofWrappers = []any{}
|
|
file_messages_proto_msgTypes[4].OneofWrappers = []any{}
|
|
file_messages_proto_msgTypes[5].OneofWrappers = []any{}
|
|
file_messages_proto_msgTypes[6].OneofWrappers = []any{}
|
|
file_messages_proto_msgTypes[12].OneofWrappers = []any{}
|
|
file_messages_proto_msgTypes[18].OneofWrappers = []any{}
|
|
file_messages_proto_msgTypes[21].OneofWrappers = []any{}
|
|
file_messages_proto_msgTypes[23].OneofWrappers = []any{}
|
|
file_messages_proto_msgTypes[26].OneofWrappers = []any{
|
|
(*Mutation_ClearCart)(nil),
|
|
(*Mutation_AddItem)(nil),
|
|
(*Mutation_RemoveItem)(nil),
|
|
(*Mutation_ChangeQuantity)(nil),
|
|
(*Mutation_SetDelivery)(nil),
|
|
(*Mutation_SetPickupPoint)(nil),
|
|
(*Mutation_RemoveDelivery)(nil),
|
|
(*Mutation_SetUserId)(nil),
|
|
(*Mutation_LineItemMarking)(nil),
|
|
(*Mutation_RemoveLineItemMarking)(nil),
|
|
(*Mutation_SubscriptionAdded)(nil),
|
|
(*Mutation_PaymentDeclined)(nil),
|
|
(*Mutation_ConfirmationViewed)(nil),
|
|
(*Mutation_CreateCheckoutOrder)(nil),
|
|
(*Mutation_OrderCreated)(nil),
|
|
(*Mutation_Noop)(nil),
|
|
(*Mutation_InitializeCheckout)(nil),
|
|
(*Mutation_InventoryReserved)(nil),
|
|
(*Mutation_AddVoucher)(nil),
|
|
(*Mutation_RemoveVoucher)(nil),
|
|
(*Mutation_UpsertSubscriptionDetails)(nil),
|
|
(*Mutation_PreConditionFailed)(nil),
|
|
(*Mutation_AddGiftcard)(nil),
|
|
(*Mutation_RemoveGiftcard)(nil),
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_messages_proto_rawDesc), len(file_messages_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 27,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_messages_proto_goTypes,
|
|
DependencyIndexes: file_messages_proto_depIdxs,
|
|
MessageInfos: file_messages_proto_msgTypes,
|
|
}.Build()
|
|
File_messages_proto = out.File
|
|
file_messages_proto_goTypes = nil
|
|
file_messages_proto_depIdxs = nil
|
|
}
|