1 Star 0 Fork 0

jason-laf / common

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
goods.pb.go 61.86 KB
一键复制 编辑 原始数据 按行查看 历史
jason-laf 提交于 2024-03-09 01:28 . u
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.32.0
// protoc v3.19.4
// source: proto/goods/goods.proto
package goods
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
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 Empty struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *Empty) Reset() {
*x = Empty{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_goods_goods_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Empty) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Empty) ProtoMessage() {}
func (x *Empty) ProtoReflect() protoreflect.Message {
mi := &file_proto_goods_goods_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Empty.ProtoReflect.Descriptor instead.
func (*Empty) Descriptor() ([]byte, []int) {
return file_proto_goods_goods_proto_rawDescGZIP(), []int{0}
}
type DeleteGoodsCategoryRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 分类id
}
func (x *DeleteGoodsCategoryRequest) Reset() {
*x = DeleteGoodsCategoryRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_goods_goods_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeleteGoodsCategoryRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteGoodsCategoryRequest) ProtoMessage() {}
func (x *DeleteGoodsCategoryRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_goods_goods_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteGoodsCategoryRequest.ProtoReflect.Descriptor instead.
func (*DeleteGoodsCategoryRequest) Descriptor() ([]byte, []int) {
return file_proto_goods_goods_proto_rawDescGZIP(), []int{1}
}
func (x *DeleteGoodsCategoryRequest) GetId() int32 {
if x != nil {
return x.Id
}
return 0
}
type CreateGoodsCategoryRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 分类名称
Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` // 分类id
ParentCategory int32 `protobuf:"varint,3,opt,name=parentCategory,proto3" json:"parentCategory,omitempty"` // 父分类
Level int32 `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"` // 分类级别
IsTab bool `protobuf:"varint,5,opt,name=isTab,proto3" json:"isTab,omitempty"` // 是否为tab
}
func (x *CreateGoodsCategoryRequest) Reset() {
*x = CreateGoodsCategoryRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_goods_goods_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateGoodsCategoryRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateGoodsCategoryRequest) ProtoMessage() {}
func (x *CreateGoodsCategoryRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_goods_goods_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateGoodsCategoryRequest.ProtoReflect.Descriptor instead.
func (*CreateGoodsCategoryRequest) Descriptor() ([]byte, []int) {
return file_proto_goods_goods_proto_rawDescGZIP(), []int{2}
}
func (x *CreateGoodsCategoryRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *CreateGoodsCategoryRequest) GetId() int32 {
if x != nil {
return x.Id
}
return 0
}
func (x *CreateGoodsCategoryRequest) GetParentCategory() int32 {
if x != nil {
return x.ParentCategory
}
return 0
}
func (x *CreateGoodsCategoryRequest) GetLevel() int32 {
if x != nil {
return x.Level
}
return 0
}
func (x *CreateGoodsCategoryRequest) GetIsTab() bool {
if x != nil {
return x.IsTab
}
return false
}
type SubGoodsCategoryListResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` // 总数
Info *GoodsCategoryInfoResponse `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` // 本身分类信息
SubCategorys []*GoodsCategoryInfoResponse `protobuf:"bytes,3,rep,name=subCategorys,proto3" json:"subCategorys,omitempty"` // 子分类信息
}
func (x *SubGoodsCategoryListResponse) Reset() {
*x = SubGoodsCategoryListResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_goods_goods_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SubGoodsCategoryListResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SubGoodsCategoryListResponse) ProtoMessage() {}
func (x *SubGoodsCategoryListResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_goods_goods_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SubGoodsCategoryListResponse.ProtoReflect.Descriptor instead.
func (*SubGoodsCategoryListResponse) Descriptor() ([]byte, []int) {
return file_proto_goods_goods_proto_rawDescGZIP(), []int{3}
}
func (x *SubGoodsCategoryListResponse) GetTotal() int32 {
if x != nil {
return x.Total
}
return 0
}
func (x *SubGoodsCategoryListResponse) GetInfo() *GoodsCategoryInfoResponse {
if x != nil {
return x.Info
}
return nil
}
func (x *SubGoodsCategoryListResponse) GetSubCategorys() []*GoodsCategoryInfoResponse {
if x != nil {
return x.SubCategorys
}
return nil
}
type GetSubGoodsCategoryListRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 获取商品子分类列表请求
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 商品分类id
Level int32 `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"` // 商品分类级别
}
func (x *GetSubGoodsCategoryListRequest) Reset() {
*x = GetSubGoodsCategoryListRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_goods_goods_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetSubGoodsCategoryListRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetSubGoodsCategoryListRequest) ProtoMessage() {}
func (x *GetSubGoodsCategoryListRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_goods_goods_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetSubGoodsCategoryListRequest.ProtoReflect.Descriptor instead.
func (*GetSubGoodsCategoryListRequest) Descriptor() ([]byte, []int) {
return file_proto_goods_goods_proto_rawDescGZIP(), []int{4}
}
func (x *GetSubGoodsCategoryListRequest) GetId() int32 {
if x != nil {
return x.Id
}
return 0
}
func (x *GetSubGoodsCategoryListRequest) GetLevel() int32 {
if x != nil {
return x.Level
}
return 0
}
type GoodsCategoryInfoResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 分类id
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 分类名称
ParentCategory int32 `protobuf:"varint,3,opt,name=parentCategory,proto3" json:"parentCategory,omitempty"` // 父分类id
Level int32 `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"` // 分类级别
IsTab bool `protobuf:"varint,5,opt,name=isTab,proto3" json:"isTab,omitempty"` // 是否为tab分类
}
func (x *GoodsCategoryInfoResponse) Reset() {
*x = GoodsCategoryInfoResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_goods_goods_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GoodsCategoryInfoResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GoodsCategoryInfoResponse) ProtoMessage() {}
func (x *GoodsCategoryInfoResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_goods_goods_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GoodsCategoryInfoResponse.ProtoReflect.Descriptor instead.
func (*GoodsCategoryInfoResponse) Descriptor() ([]byte, []int) {
return file_proto_goods_goods_proto_rawDescGZIP(), []int{5}
}
func (x *GoodsCategoryInfoResponse) GetId() int32 {
if x != nil {
return x.Id
}
return 0
}
func (x *GoodsCategoryInfoResponse) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *GoodsCategoryInfoResponse) GetParentCategory() int32 {
if x != nil {
return x.ParentCategory
}
return 0
}
func (x *GoodsCategoryInfoResponse) GetLevel() int32 {
if x != nil {
return x.Level
}
return 0
}
func (x *GoodsCategoryInfoResponse) GetIsTab() bool {
if x != nil {
return x.IsTab
}
return false
}
type GoodsCategoryListResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` // 总数
Info []*GoodsCategoryInfoResponse `protobuf:"bytes,2,rep,name=info,proto3" json:"info,omitempty"` // 分类信息
JsonData string `protobuf:"bytes,3,opt,name=jsonData,proto3" json:"jsonData,omitempty"` // 分类信息json格式
}
func (x *GoodsCategoryListResponse) Reset() {
*x = GoodsCategoryListResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_goods_goods_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GoodsCategoryListResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GoodsCategoryListResponse) ProtoMessage() {}
func (x *GoodsCategoryListResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_goods_goods_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GoodsCategoryListResponse.ProtoReflect.Descriptor instead.
func (*GoodsCategoryListResponse) Descriptor() ([]byte, []int) {
return file_proto_goods_goods_proto_rawDescGZIP(), []int{6}
}
func (x *GoodsCategoryListResponse) GetTotal() int32 {
if x != nil {
return x.Total
}
return 0
}
func (x *GoodsCategoryListResponse) GetInfo() []*GoodsCategoryInfoResponse {
if x != nil {
return x.Info
}
return nil
}
func (x *GoodsCategoryListResponse) GetJsonData() string {
if x != nil {
return x.JsonData
}
return ""
}
type DeleteGoodsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 删除商品请求
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 商品id
}
func (x *DeleteGoodsRequest) Reset() {
*x = DeleteGoodsRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_goods_goods_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeleteGoodsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteGoodsRequest) ProtoMessage() {}
func (x *DeleteGoodsRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_goods_goods_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteGoodsRequest.ProtoReflect.Descriptor instead.
func (*DeleteGoodsRequest) Descriptor() ([]byte, []int) {
return file_proto_goods_goods_proto_rawDescGZIP(), []int{7}
}
func (x *DeleteGoodsRequest) GetId() int32 {
if x != nil {
return x.Id
}
return 0
}
type CreateGoodsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 创建商品请求
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 商品id
StockNum int32 `protobuf:"varint,2,opt,name=stockNum,proto3" json:"stockNum,omitempty"` // 库存数量
CategoryId int32 `protobuf:"varint,3,opt,name=categoryId,proto3" json:"categoryId,omitempty"` // 商品分类id
BrandId int32 `protobuf:"varint,4,opt,name=brandId,proto3" json:"brandId,omitempty"` // 品牌id
MarketPrice float32 `protobuf:"fixed32,5,opt,name=marketPrice,proto3" json:"marketPrice,omitempty"` // 市场价
ShopPrice float32 `protobuf:"fixed32,6,opt,name=shopPrice,proto3" json:"shopPrice,omitempty"` // 商城价
IsNew bool `protobuf:"varint,7,opt,name=isNew,proto3" json:"isNew,omitempty"` // 是否新品
IsHot bool `protobuf:"varint,8,opt,name=isHot,proto3" json:"isHot,omitempty"` // 是否热门
OnSale bool `protobuf:"varint,9,opt,name=onSale,proto3" json:"onSale,omitempty"` // 是否上架
ShipFree bool `protobuf:"varint,10,opt,name=shipFree,proto3" json:"shipFree,omitempty"` // 是否包邮
GoodsBrief string `protobuf:"bytes,11,opt,name=goodsBrief,proto3" json:"goodsBrief,omitempty"` // 商品简介
GoodsDesc string `protobuf:"bytes,12,opt,name=goodsDesc,proto3" json:"goodsDesc,omitempty"` // 商品描述
GoodsFrontImages string `protobuf:"bytes,13,opt,name=goodsFrontImages,proto3" json:"goodsFrontImages,omitempty"` // 商品封面图
Name string `protobuf:"bytes,14,opt,name=name,proto3" json:"name,omitempty"` // 商品名称
GoodsSn string `protobuf:"bytes,15,opt,name=goodsSn,proto3" json:"goodsSn,omitempty"` // 商品编号
Images []string `protobuf:"bytes,16,rep,name=images,proto3" json:"images,omitempty"` // 商品图片
DescImages []string `protobuf:"bytes,17,rep,name=descImages,proto3" json:"descImages,omitempty"` // 商品详情图片
}
func (x *CreateGoodsRequest) Reset() {
*x = CreateGoodsRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_goods_goods_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateGoodsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateGoodsRequest) ProtoMessage() {}
func (x *CreateGoodsRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_goods_goods_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateGoodsRequest.ProtoReflect.Descriptor instead.
func (*CreateGoodsRequest) Descriptor() ([]byte, []int) {
return file_proto_goods_goods_proto_rawDescGZIP(), []int{8}
}
func (x *CreateGoodsRequest) GetId() int32 {
if x != nil {
return x.Id
}
return 0
}
func (x *CreateGoodsRequest) GetStockNum() int32 {
if x != nil {
return x.StockNum
}
return 0
}
func (x *CreateGoodsRequest) GetCategoryId() int32 {
if x != nil {
return x.CategoryId
}
return 0
}
func (x *CreateGoodsRequest) GetBrandId() int32 {
if x != nil {
return x.BrandId
}
return 0
}
func (x *CreateGoodsRequest) GetMarketPrice() float32 {
if x != nil {
return x.MarketPrice
}
return 0
}
func (x *CreateGoodsRequest) GetShopPrice() float32 {
if x != nil {
return x.ShopPrice
}
return 0
}
func (x *CreateGoodsRequest) GetIsNew() bool {
if x != nil {
return x.IsNew
}
return false
}
func (x *CreateGoodsRequest) GetIsHot() bool {
if x != nil {
return x.IsHot
}
return false
}
func (x *CreateGoodsRequest) GetOnSale() bool {
if x != nil {
return x.OnSale
}
return false
}
func (x *CreateGoodsRequest) GetShipFree() bool {
if x != nil {
return x.ShipFree
}
return false
}
func (x *CreateGoodsRequest) GetGoodsBrief() string {
if x != nil {
return x.GoodsBrief
}
return ""
}
func (x *CreateGoodsRequest) GetGoodsDesc() string {
if x != nil {
return x.GoodsDesc
}
return ""
}
func (x *CreateGoodsRequest) GetGoodsFrontImages() string {
if x != nil {
return x.GoodsFrontImages
}
return ""
}
func (x *CreateGoodsRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *CreateGoodsRequest) GetGoodsSn() string {
if x != nil {
return x.GoodsSn
}
return ""
}
func (x *CreateGoodsRequest) GetImages() []string {
if x != nil {
return x.Images
}
return nil
}
func (x *CreateGoodsRequest) GetDescImages() []string {
if x != nil {
return x.DescImages
}
return nil
}
type GetGoodsDetailRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 获取商品详情请求
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 商品id
}
func (x *GetGoodsDetailRequest) Reset() {
*x = GetGoodsDetailRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_goods_goods_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetGoodsDetailRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetGoodsDetailRequest) ProtoMessage() {}
func (x *GetGoodsDetailRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_goods_goods_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetGoodsDetailRequest.ProtoReflect.Descriptor instead.
func (*GetGoodsDetailRequest) Descriptor() ([]byte, []int) {
return file_proto_goods_goods_proto_rawDescGZIP(), []int{9}
}
func (x *GetGoodsDetailRequest) GetId() int32 {
if x != nil {
return x.Id
}
return 0
}
type GetBatchGoodsListRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id []int32 `protobuf:"varint,1,rep,packed,name=id,proto3" json:"id,omitempty"` // 商品id列表
}
func (x *GetBatchGoodsListRequest) Reset() {
*x = GetBatchGoodsListRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_goods_goods_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetBatchGoodsListRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetBatchGoodsListRequest) ProtoMessage() {}
func (x *GetBatchGoodsListRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_goods_goods_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetBatchGoodsListRequest.ProtoReflect.Descriptor instead.
func (*GetBatchGoodsListRequest) Descriptor() ([]byte, []int) {
return file_proto_goods_goods_proto_rawDescGZIP(), []int{10}
}
func (x *GetBatchGoodsListRequest) GetId() []int32 {
if x != nil {
return x.Id
}
return nil
}
type BrandInfoResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 品牌信息
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 品牌id
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 品牌名称
Logo string `protobuf:"bytes,3,opt,name=logo,proto3" json:"logo,omitempty"` // 品牌logo
}
func (x *BrandInfoResponse) Reset() {
*x = BrandInfoResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_goods_goods_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BrandInfoResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BrandInfoResponse) ProtoMessage() {}
func (x *BrandInfoResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_goods_goods_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use BrandInfoResponse.ProtoReflect.Descriptor instead.
func (*BrandInfoResponse) Descriptor() ([]byte, []int) {
return file_proto_goods_goods_proto_rawDescGZIP(), []int{11}
}
func (x *BrandInfoResponse) GetId() int32 {
if x != nil {
return x.Id
}
return 0
}
func (x *BrandInfoResponse) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *BrandInfoResponse) GetLogo() string {
if x != nil {
return x.Logo
}
return ""
}
type CategoryBriefInfoResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 商品分类简要信息
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 分类id
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 分类名称
}
func (x *CategoryBriefInfoResponse) Reset() {
*x = CategoryBriefInfoResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_goods_goods_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CategoryBriefInfoResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CategoryBriefInfoResponse) ProtoMessage() {}
func (x *CategoryBriefInfoResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_goods_goods_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CategoryBriefInfoResponse.ProtoReflect.Descriptor instead.
func (*CategoryBriefInfoResponse) Descriptor() ([]byte, []int) {
return file_proto_goods_goods_proto_rawDescGZIP(), []int{12}
}
func (x *CategoryBriefInfoResponse) GetId() int32 {
if x != nil {
return x.Id
}
return 0
}
func (x *CategoryBriefInfoResponse) GetName() string {
if x != nil {
return x.Name
}
return ""
}
type GoodsInfoResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 商品响应
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 商品id
CategoryId int32 `protobuf:"varint,2,opt,name=categoryId,proto3" json:"categoryId,omitempty"` // 商品分类id
ClickNum int32 `protobuf:"varint,3,opt,name=clickNum,proto3" json:"clickNum,omitempty"` // 点击数
SoldNum int32 `protobuf:"varint,4,opt,name=soldNum,proto3" json:"soldNum,omitempty"` // 销售数
FavNum int32 `protobuf:"varint,5,opt,name=favNum,proto3" json:"favNum,omitempty"` // 收藏数
AddTime int64 `protobuf:"varint,6,opt,name=addTime,proto3" json:"addTime,omitempty"` // 添加时间
MarketPrice float32 `protobuf:"fixed32,7,opt,name=marketPrice,proto3" json:"marketPrice,omitempty"` // 市场价
ShopPrice float32 `protobuf:"fixed32,8,opt,name=shopPrice,proto3" json:"shopPrice,omitempty"` // 商城价
IsNew bool `protobuf:"varint,9,opt,name=isNew,proto3" json:"isNew,omitempty"` // 是否新品
IsHot bool `protobuf:"varint,10,opt,name=isHot,proto3" json:"isHot,omitempty"` // 是否热门
OnSale bool `protobuf:"varint,11,opt,name=onSale,proto3" json:"onSale,omitempty"` // 是否上架
ShipFree bool `protobuf:"varint,12,opt,name=shipFree,proto3" json:"shipFree,omitempty"` // 是否包邮
GoodsBrief string `protobuf:"bytes,13,opt,name=goodsBrief,proto3" json:"goodsBrief,omitempty"` // 商品简介
GoodsDesc string `protobuf:"bytes,14,opt,name=goodsDesc,proto3" json:"goodsDesc,omitempty"` // 商品描述
GoodsFrontImages string `protobuf:"bytes,15,opt,name=goodsFrontImages,proto3" json:"goodsFrontImages,omitempty"` // 商品封面图
Name string `protobuf:"bytes,16,opt,name=name,proto3" json:"name,omitempty"` // 商品名称
GoodsSn string `protobuf:"bytes,17,opt,name=goodsSn,proto3" json:"goodsSn,omitempty"` // 商品编号
Images []string `protobuf:"bytes,18,rep,name=images,proto3" json:"images,omitempty"` // 商品图片
DescImages []string `protobuf:"bytes,19,rep,name=descImages,proto3" json:"descImages,omitempty"` // 商品详情图片
Category *CategoryBriefInfoResponse `protobuf:"bytes,20,opt,name=category,proto3" json:"category,omitempty"` // 商品分类
Brand *BrandInfoResponse `protobuf:"bytes,21,opt,name=brand,proto3" json:"brand,omitempty"` // 品牌
}
func (x *GoodsInfoResponse) Reset() {
*x = GoodsInfoResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_goods_goods_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GoodsInfoResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GoodsInfoResponse) ProtoMessage() {}
func (x *GoodsInfoResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_goods_goods_proto_msgTypes[13]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GoodsInfoResponse.ProtoReflect.Descriptor instead.
func (*GoodsInfoResponse) Descriptor() ([]byte, []int) {
return file_proto_goods_goods_proto_rawDescGZIP(), []int{13}
}
func (x *GoodsInfoResponse) GetId() int32 {
if x != nil {
return x.Id
}
return 0
}
func (x *GoodsInfoResponse) GetCategoryId() int32 {
if x != nil {
return x.CategoryId
}
return 0
}
func (x *GoodsInfoResponse) GetClickNum() int32 {
if x != nil {
return x.ClickNum
}
return 0
}
func (x *GoodsInfoResponse) GetSoldNum() int32 {
if x != nil {
return x.SoldNum
}
return 0
}
func (x *GoodsInfoResponse) GetFavNum() int32 {
if x != nil {
return x.FavNum
}
return 0
}
func (x *GoodsInfoResponse) GetAddTime() int64 {
if x != nil {
return x.AddTime
}
return 0
}
func (x *GoodsInfoResponse) GetMarketPrice() float32 {
if x != nil {
return x.MarketPrice
}
return 0
}
func (x *GoodsInfoResponse) GetShopPrice() float32 {
if x != nil {
return x.ShopPrice
}
return 0
}
func (x *GoodsInfoResponse) GetIsNew() bool {
if x != nil {
return x.IsNew
}
return false
}
func (x *GoodsInfoResponse) GetIsHot() bool {
if x != nil {
return x.IsHot
}
return false
}
func (x *GoodsInfoResponse) GetOnSale() bool {
if x != nil {
return x.OnSale
}
return false
}
func (x *GoodsInfoResponse) GetShipFree() bool {
if x != nil {
return x.ShipFree
}
return false
}
func (x *GoodsInfoResponse) GetGoodsBrief() string {
if x != nil {
return x.GoodsBrief
}
return ""
}
func (x *GoodsInfoResponse) GetGoodsDesc() string {
if x != nil {
return x.GoodsDesc
}
return ""
}
func (x *GoodsInfoResponse) GetGoodsFrontImages() string {
if x != nil {
return x.GoodsFrontImages
}
return ""
}
func (x *GoodsInfoResponse) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *GoodsInfoResponse) GetGoodsSn() string {
if x != nil {
return x.GoodsSn
}
return ""
}
func (x *GoodsInfoResponse) GetImages() []string {
if x != nil {
return x.Images
}
return nil
}
func (x *GoodsInfoResponse) GetDescImages() []string {
if x != nil {
return x.DescImages
}
return nil
}
func (x *GoodsInfoResponse) GetCategory() *CategoryBriefInfoResponse {
if x != nil {
return x.Category
}
return nil
}
func (x *GoodsInfoResponse) GetBrand() *BrandInfoResponse {
if x != nil {
return x.Brand
}
return nil
}
type GoodsListResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 商品列表响应
Goods []*GoodsInfoResponse `protobuf:"bytes,1,rep,name=goods,proto3" json:"goods,omitempty"` // 商品列表
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // 总数
}
func (x *GoodsListResponse) Reset() {
*x = GoodsListResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_goods_goods_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GoodsListResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GoodsListResponse) ProtoMessage() {}
func (x *GoodsListResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_goods_goods_proto_msgTypes[14]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GoodsListResponse.ProtoReflect.Descriptor instead.
func (*GoodsListResponse) Descriptor() ([]byte, []int) {
return file_proto_goods_goods_proto_rawDescGZIP(), []int{14}
}
func (x *GoodsListResponse) GetGoods() []*GoodsInfoResponse {
if x != nil {
return x.Goods
}
return nil
}
func (x *GoodsListResponse) GetTotal() int32 {
if x != nil {
return x.Total
}
return 0
}
type GetGoodsFilterListRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 获取商品列表请求
PriceMin int32 `protobuf:"varint,1,opt,name=priceMin,proto3" json:"priceMin,omitempty"` // 最低价格
PriceMax int32 `protobuf:"varint,2,opt,name=priceMax,proto3" json:"priceMax,omitempty"` // 最高价格
IsHot bool `protobuf:"varint,3,opt,name=isHot,proto3" json:"isHot,omitempty"` // 是否热门
IsNew bool `protobuf:"varint,4,opt,name=isNew,proto3" json:"isNew,omitempty"` // 是否新品
IsTab bool `protobuf:"varint,5,opt,name=isTab,proto3" json:"isTab,omitempty"` // 是否推荐
TopCategory int32 `protobuf:"varint,6,opt,name=topCategory,proto3" json:"topCategory,omitempty"` // 一级分类
Pages int32 `protobuf:"varint,7,opt,name=pages,proto3" json:"pages,omitempty"` // 当前页数
PagePerNums int32 `protobuf:"varint,8,opt,name=pagePerNums,proto3" json:"pagePerNums,omitempty"` // 每页显示数量
Brand int32 `protobuf:"varint,9,opt,name=brand,proto3" json:"brand,omitempty"` // 品牌
Keyword string `protobuf:"bytes,10,opt,name=keyword,proto3" json:"keyword,omitempty"` // 关键字
}
func (x *GetGoodsFilterListRequest) Reset() {
*x = GetGoodsFilterListRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_goods_goods_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetGoodsFilterListRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetGoodsFilterListRequest) ProtoMessage() {}
func (x *GetGoodsFilterListRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_goods_goods_proto_msgTypes[15]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetGoodsFilterListRequest.ProtoReflect.Descriptor instead.
func (*GetGoodsFilterListRequest) Descriptor() ([]byte, []int) {
return file_proto_goods_goods_proto_rawDescGZIP(), []int{15}
}
func (x *GetGoodsFilterListRequest) GetPriceMin() int32 {
if x != nil {
return x.PriceMin
}
return 0
}
func (x *GetGoodsFilterListRequest) GetPriceMax() int32 {
if x != nil {
return x.PriceMax
}
return 0
}
func (x *GetGoodsFilterListRequest) GetIsHot() bool {
if x != nil {
return x.IsHot
}
return false
}
func (x *GetGoodsFilterListRequest) GetIsNew() bool {
if x != nil {
return x.IsNew
}
return false
}
func (x *GetGoodsFilterListRequest) GetIsTab() bool {
if x != nil {
return x.IsTab
}
return false
}
func (x *GetGoodsFilterListRequest) GetTopCategory() int32 {
if x != nil {
return x.TopCategory
}
return 0
}
func (x *GetGoodsFilterListRequest) GetPages() int32 {
if x != nil {
return x.Pages
}
return 0
}
func (x *GetGoodsFilterListRequest) GetPagePerNums() int32 {
if x != nil {
return x.PagePerNums
}
return 0
}
func (x *GetGoodsFilterListRequest) GetBrand() int32 {
if x != nil {
return x.Brand
}
return 0
}
func (x *GetGoodsFilterListRequest) GetKeyword() string {
if x != nil {
return x.Keyword
}
return ""
}
var File_proto_goods_goods_proto protoreflect.FileDescriptor
var file_proto_goods_goods_proto_rawDesc = []byte{
0x0a, 0x17, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x2f, 0x67, 0x6f,
0x6f, 0x64, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x67, 0x6f, 0x6f, 0x64, 0x73,
0x22, 0x07, 0x0a, 0x05, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x2c, 0x0a, 0x1a, 0x44, 0x65, 0x6c,
0x65, 0x74, 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x22, 0x94, 0x01, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61,
0x74, 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x61,
0x72, 0x65, 0x6e, 0x74, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01,
0x28, 0x05, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f,
0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28,
0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x73, 0x54, 0x61,
0x62, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x54, 0x61, 0x62, 0x22, 0xb0,
0x01, 0x0a, 0x1c, 0x53, 0x75, 0x62, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x43, 0x61, 0x74, 0x65, 0x67,
0x6f, 0x72, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05,
0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x34, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x2e, 0x47, 0x6f, 0x6f, 0x64,
0x73, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x44, 0x0a, 0x0c, 0x73,
0x75, 0x62, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x2e, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x43,
0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79,
0x73, 0x22, 0x46, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x53, 0x75, 0x62, 0x47, 0x6f, 0x6f, 0x64, 0x73,
0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01,
0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0x93, 0x01, 0x0a, 0x19, 0x47, 0x6f,
0x6f, 0x64, 0x73, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x70,
0x61, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x03, 0x20,
0x01, 0x28, 0x05, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x61, 0x74, 0x65, 0x67,
0x6f, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01,
0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x73, 0x54,
0x61, 0x62, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x54, 0x61, 0x62, 0x22,
0x83, 0x01, 0x0a, 0x19, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72,
0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a,
0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f,
0x74, 0x61, 0x6c, 0x12, 0x34, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x2e, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x43,
0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x6a, 0x73, 0x6f,
0x6e, 0x44, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6a, 0x73, 0x6f,
0x6e, 0x44, 0x61, 0x74, 0x61, 0x22, 0x24, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x47,
0x6f, 0x6f, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69,
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x22, 0xea, 0x03, 0x0a, 0x12,
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02,
0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x02,
0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x73, 0x74, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x1e,
0x0a, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01,
0x28, 0x05, 0x52, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x18,
0x0a, 0x07, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52,
0x07, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x6d, 0x61, 0x72, 0x6b,
0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0b, 0x6d,
0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x68,
0x6f, 0x70, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x73,
0x68, 0x6f, 0x70, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x73, 0x4e, 0x65,
0x77, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x12, 0x14,
0x0a, 0x05, 0x69, 0x73, 0x48, 0x6f, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69,
0x73, 0x48, 0x6f, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x6e, 0x53, 0x61, 0x6c, 0x65, 0x18, 0x09,
0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6f, 0x6e, 0x53, 0x61, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08,
0x73, 0x68, 0x69, 0x70, 0x46, 0x72, 0x65, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08,
0x73, 0x68, 0x69, 0x70, 0x46, 0x72, 0x65, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x6f, 0x6f, 0x64,
0x73, 0x42, 0x72, 0x69, 0x65, 0x66, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x67, 0x6f,
0x6f, 0x64, 0x73, 0x42, 0x72, 0x69, 0x65, 0x66, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x6f, 0x6f, 0x64,
0x73, 0x44, 0x65, 0x73, 0x63, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x6f, 0x6f,
0x64, 0x73, 0x44, 0x65, 0x73, 0x63, 0x12, 0x2a, 0x0a, 0x10, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x46,
0x72, 0x6f, 0x6e, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09,
0x52, 0x10, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x49, 0x6d, 0x61, 0x67,
0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09,
0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x53,
0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x53, 0x6e,
0x12, 0x16, 0x0a, 0x06, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x09,
0x52, 0x06, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x73, 0x63,
0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65,
0x73, 0x63, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x22, 0x27, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x47,
0x6f, 0x6f, 0x64, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69,
0x64, 0x22, 0x2a, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x6f, 0x6f,
0x64, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a,
0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x22, 0x4b, 0x0a,
0x11, 0x42, 0x72, 0x61, 0x6e, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02,
0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x6f, 0x18, 0x03,
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x6f, 0x22, 0x3f, 0x0a, 0x19, 0x43, 0x61,
0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x42, 0x72, 0x69, 0x65, 0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x89, 0x05, 0x0a, 0x11,
0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69,
0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x18,
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49,
0x64, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6c, 0x69, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x03, 0x20,
0x01, 0x28, 0x05, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x18, 0x0a,
0x07, 0x73, 0x6f, 0x6c, 0x64, 0x4e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07,
0x73, 0x6f, 0x6c, 0x64, 0x4e, 0x75, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x61, 0x76, 0x4e, 0x75,
0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x66, 0x61, 0x76, 0x4e, 0x75, 0x6d, 0x12,
0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03,
0x52, 0x07, 0x61, 0x64, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x6d, 0x61, 0x72,
0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0b,
0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73,
0x68, 0x6f, 0x70, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09,
0x73, 0x68, 0x6f, 0x70, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x73, 0x4e,
0x65, 0x77, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x12,
0x14, 0x0a, 0x05, 0x69, 0x73, 0x48, 0x6f, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05,
0x69, 0x73, 0x48, 0x6f, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x6e, 0x53, 0x61, 0x6c, 0x65, 0x18,
0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6f, 0x6e, 0x53, 0x61, 0x6c, 0x65, 0x12, 0x1a, 0x0a,
0x08, 0x73, 0x68, 0x69, 0x70, 0x46, 0x72, 0x65, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52,
0x08, 0x73, 0x68, 0x69, 0x70, 0x46, 0x72, 0x65, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x6f, 0x6f,
0x64, 0x73, 0x42, 0x72, 0x69, 0x65, 0x66, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x67,
0x6f, 0x6f, 0x64, 0x73, 0x42, 0x72, 0x69, 0x65, 0x66, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x6f, 0x6f,
0x64, 0x73, 0x44, 0x65, 0x73, 0x63, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x6f,
0x6f, 0x64, 0x73, 0x44, 0x65, 0x73, 0x63, 0x12, 0x2a, 0x0a, 0x10, 0x67, 0x6f, 0x6f, 0x64, 0x73,
0x46, 0x72, 0x6f, 0x6e, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28,
0x09, 0x52, 0x10, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x49, 0x6d, 0x61,
0x67, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28,
0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x6f, 0x6f, 0x64, 0x73,
0x53, 0x6e, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x53,
0x6e, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28,
0x09, 0x52, 0x06, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x73,
0x63, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x64,
0x65, 0x73, 0x63, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x08, 0x63, 0x61, 0x74,
0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f,
0x6f, 0x64, 0x73, 0x2e, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x42, 0x72, 0x69, 0x65,
0x66, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x08, 0x63,
0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x2e, 0x0a, 0x05, 0x62, 0x72, 0x61, 0x6e, 0x64,
0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x2e, 0x42,
0x72, 0x61, 0x6e, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x52, 0x05, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x22, 0x59, 0x0a, 0x11, 0x47, 0x6f, 0x6f, 0x64, 0x73,
0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x05,
0x67, 0x6f, 0x6f, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x6f,
0x6f, 0x64, 0x73, 0x2e, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x05, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x12, 0x14, 0x0a, 0x05,
0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74,
0x61, 0x6c, 0x22, 0x9f, 0x02, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x46,
0x69, 0x6c, 0x74, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x69, 0x63, 0x65, 0x4d, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01,
0x28, 0x05, 0x52, 0x08, 0x70, 0x72, 0x69, 0x63, 0x65, 0x4d, 0x69, 0x6e, 0x12, 0x1a, 0x0a, 0x08,
0x70, 0x72, 0x69, 0x63, 0x65, 0x4d, 0x61, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08,
0x70, 0x72, 0x69, 0x63, 0x65, 0x4d, 0x61, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x73, 0x48, 0x6f,
0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x48, 0x6f, 0x74, 0x12, 0x14,
0x0a, 0x05, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69,
0x73, 0x4e, 0x65, 0x77, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x73, 0x54, 0x61, 0x62, 0x18, 0x05, 0x20,
0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x54, 0x61, 0x62, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x6f,
0x70, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52,
0x0b, 0x74, 0x6f, 0x70, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05,
0x70, 0x61, 0x67, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x70, 0x61, 0x67,
0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x4e, 0x75, 0x6d,
0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x70, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72,
0x4e, 0x75, 0x6d, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x18, 0x09, 0x20,
0x01, 0x28, 0x05, 0x52, 0x05, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65,
0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79,
0x77, 0x6f, 0x72, 0x64, 0x32, 0xcb, 0x03, 0x0a, 0x05, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x12, 0x50,
0x0a, 0x12, 0x47, 0x65, 0x74, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72,
0x4c, 0x69, 0x73, 0x74, 0x12, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x2e, 0x47, 0x65, 0x74,
0x47, 0x6f, 0x6f, 0x64, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x2e, 0x47,
0x6f, 0x6f, 0x64, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x4e, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x6f, 0x6f, 0x64,
0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x2e, 0x47, 0x65,
0x74, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x2e, 0x47,
0x6f, 0x6f, 0x64, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x48, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x44, 0x65, 0x74, 0x61,
0x69, 0x6c, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x6f,
0x6f, 0x64, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x1a, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x2e, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49, 0x6e,
0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0b, 0x43, 0x72,
0x65, 0x61, 0x74, 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x12, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x64,
0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x2e, 0x47, 0x6f, 0x6f,
0x64, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36,
0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x12, 0x19, 0x2e,
0x67, 0x6f, 0x6f, 0x64, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x6f, 0x6f, 0x64,
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0c, 0x2e, 0x67, 0x6f, 0x6f, 0x64, 0x73,
0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x36, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
0x47, 0x6f, 0x6f, 0x64, 0x73, 0x12, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x2e, 0x44, 0x65,
0x6c, 0x65, 0x74, 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x1a, 0x0c, 0x2e, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x22,
0x0a, 0x04, 0x50, 0x69, 0x6e, 0x67, 0x12, 0x0c, 0x2e, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x2e, 0x45,
0x6d, 0x70, 0x74, 0x79, 0x1a, 0x0c, 0x2e, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x2e, 0x45, 0x6d, 0x70,
0x74, 0x79, 0x42, 0x0c, 0x5a, 0x0a, 0x2e, 0x2f, 0x70, 0x62, 0x2f, 0x67, 0x6f, 0x6f, 0x64, 0x73,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_proto_goods_goods_proto_rawDescOnce sync.Once
file_proto_goods_goods_proto_rawDescData = file_proto_goods_goods_proto_rawDesc
)
func file_proto_goods_goods_proto_rawDescGZIP() []byte {
file_proto_goods_goods_proto_rawDescOnce.Do(func() {
file_proto_goods_goods_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_goods_goods_proto_rawDescData)
})
return file_proto_goods_goods_proto_rawDescData
}
var file_proto_goods_goods_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
var file_proto_goods_goods_proto_goTypes = []interface{}{
(*Empty)(nil), // 0: goods.Empty
(*DeleteGoodsCategoryRequest)(nil), // 1: goods.DeleteGoodsCategoryRequest
(*CreateGoodsCategoryRequest)(nil), // 2: goods.CreateGoodsCategoryRequest
(*SubGoodsCategoryListResponse)(nil), // 3: goods.SubGoodsCategoryListResponse
(*GetSubGoodsCategoryListRequest)(nil), // 4: goods.GetSubGoodsCategoryListRequest
(*GoodsCategoryInfoResponse)(nil), // 5: goods.GoodsCategoryInfoResponse
(*GoodsCategoryListResponse)(nil), // 6: goods.GoodsCategoryListResponse
(*DeleteGoodsRequest)(nil), // 7: goods.DeleteGoodsRequest
(*CreateGoodsRequest)(nil), // 8: goods.CreateGoodsRequest
(*GetGoodsDetailRequest)(nil), // 9: goods.GetGoodsDetailRequest
(*GetBatchGoodsListRequest)(nil), // 10: goods.GetBatchGoodsListRequest
(*BrandInfoResponse)(nil), // 11: goods.BrandInfoResponse
(*CategoryBriefInfoResponse)(nil), // 12: goods.CategoryBriefInfoResponse
(*GoodsInfoResponse)(nil), // 13: goods.GoodsInfoResponse
(*GoodsListResponse)(nil), // 14: goods.GoodsListResponse
(*GetGoodsFilterListRequest)(nil), // 15: goods.GetGoodsFilterListRequest
}
var file_proto_goods_goods_proto_depIdxs = []int32{
5, // 0: goods.SubGoodsCategoryListResponse.info:type_name -> goods.GoodsCategoryInfoResponse
5, // 1: goods.SubGoodsCategoryListResponse.subCategorys:type_name -> goods.GoodsCategoryInfoResponse
5, // 2: goods.GoodsCategoryListResponse.info:type_name -> goods.GoodsCategoryInfoResponse
12, // 3: goods.GoodsInfoResponse.category:type_name -> goods.CategoryBriefInfoResponse
11, // 4: goods.GoodsInfoResponse.brand:type_name -> goods.BrandInfoResponse
13, // 5: goods.GoodsListResponse.goods:type_name -> goods.GoodsInfoResponse
15, // 6: goods.Goods.GetGoodsFilterList:input_type -> goods.GetGoodsFilterListRequest
10, // 7: goods.Goods.GetBatchGoodsList:input_type -> goods.GetBatchGoodsListRequest
9, // 8: goods.Goods.GetGoodsDetail:input_type -> goods.GetGoodsDetailRequest
8, // 9: goods.Goods.CreateGoods:input_type -> goods.CreateGoodsRequest
8, // 10: goods.Goods.UpdateGoods:input_type -> goods.CreateGoodsRequest
7, // 11: goods.Goods.DeleteGoods:input_type -> goods.DeleteGoodsRequest
0, // 12: goods.Goods.Ping:input_type -> goods.Empty
14, // 13: goods.Goods.GetGoodsFilterList:output_type -> goods.GoodsListResponse
14, // 14: goods.Goods.GetBatchGoodsList:output_type -> goods.GoodsListResponse
13, // 15: goods.Goods.GetGoodsDetail:output_type -> goods.GoodsInfoResponse
13, // 16: goods.Goods.CreateGoods:output_type -> goods.GoodsInfoResponse
0, // 17: goods.Goods.UpdateGoods:output_type -> goods.Empty
0, // 18: goods.Goods.DeleteGoods:output_type -> goods.Empty
0, // 19: goods.Goods.Ping:output_type -> goods.Empty
13, // [13:20] is the sub-list for method output_type
6, // [6:13] is the sub-list for method input_type
6, // [6:6] is the sub-list for extension type_name
6, // [6:6] is the sub-list for extension extendee
0, // [0:6] is the sub-list for field type_name
}
func init() { file_proto_goods_goods_proto_init() }
func file_proto_goods_goods_proto_init() {
if File_proto_goods_goods_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_proto_goods_goods_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Empty); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_proto_goods_goods_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteGoodsCategoryRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_proto_goods_goods_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateGoodsCategoryRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_proto_goods_goods_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SubGoodsCategoryListResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_proto_goods_goods_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetSubGoodsCategoryListRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_proto_goods_goods_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GoodsCategoryInfoResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_proto_goods_goods_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GoodsCategoryListResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_proto_goods_goods_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteGoodsRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_proto_goods_goods_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateGoodsRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_proto_goods_goods_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetGoodsDetailRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_proto_goods_goods_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetBatchGoodsListRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_proto_goods_goods_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BrandInfoResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_proto_goods_goods_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CategoryBriefInfoResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_proto_goods_goods_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GoodsInfoResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_proto_goods_goods_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GoodsListResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_proto_goods_goods_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetGoodsFilterListRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_proto_goods_goods_proto_rawDesc,
NumEnums: 0,
NumMessages: 16,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_proto_goods_goods_proto_goTypes,
DependencyIndexes: file_proto_goods_goods_proto_depIdxs,
MessageInfos: file_proto_goods_goods_proto_msgTypes,
}.Build()
File_proto_goods_goods_proto = out.File
file_proto_goods_goods_proto_rawDesc = nil
file_proto_goods_goods_proto_goTypes = nil
file_proto_goods_goods_proto_depIdxs = nil
}
Go
1
https://gitee.com/jason-laf/common.git
git@gitee.com:jason-laf/common.git
jason-laf
common
common
6f596e70bcd0

搜索帮助