1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.31.0
- // protoc v4.25.0
- // source: proto/base_shopping_service.proto
- package shopping_service
- 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 StatusEnum int32
- const (
- StatusEnum_UNKNOWN StatusEnum = 0
- StatusEnum_ENABLED StatusEnum = 1
- StatusEnum_DISABLED StatusEnum = 2
- StatusEnum_DELETED StatusEnum = 3
- )
- // Enum value maps for StatusEnum.
- var (
- StatusEnum_name = map[int32]string{
- 0: "UNKNOWN",
- 1: "ENABLED",
- 2: "DISABLED",
- 3: "DELETED",
- }
- StatusEnum_value = map[string]int32{
- "UNKNOWN": 0,
- "ENABLED": 1,
- "DISABLED": 2,
- "DELETED": 3,
- }
- )
- func (x StatusEnum) Enum() *StatusEnum {
- p := new(StatusEnum)
- *p = x
- return p
- }
- func (x StatusEnum) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (StatusEnum) Descriptor() protoreflect.EnumDescriptor {
- return file_proto_base_shopping_service_proto_enumTypes[0].Descriptor()
- }
- func (StatusEnum) Type() protoreflect.EnumType {
- return &file_proto_base_shopping_service_proto_enumTypes[0]
- }
- func (x StatusEnum) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use StatusEnum.Descriptor instead.
- func (StatusEnum) EnumDescriptor() ([]byte, []int) {
- return file_proto_base_shopping_service_proto_rawDescGZIP(), []int{0}
- }
- type OrderStatusEnum int32
- const (
- OrderStatusEnum_ORDER_UNKNOWN OrderStatusEnum = 0
- OrderStatusEnum_ORDER_CREATED OrderStatusEnum = 1
- OrderStatusEnum_ORDER_PENDING_PAYMENT OrderStatusEnum = 2
- OrderStatusEnum_ORDER_PAID OrderStatusEnum = 3
- OrderStatusEnum_ORDER_PROCESSING OrderStatusEnum = 4
- OrderStatusEnum_ORDER_SHIPPED OrderStatusEnum = 5
- OrderStatusEnum_ORDER_COMPLETED OrderStatusEnum = 6
- OrderStatusEnum_ORDER_CANCELED OrderStatusEnum = 7
- OrderStatusEnum_ORDER_REFUND_IN_PROGRESS OrderStatusEnum = 8
- OrderStatusEnum_ORDER_REFUNDED OrderStatusEnum = 9
- OrderStatusEnum_ORDER_RETURN_IN_PROGRESS OrderStatusEnum = 10
- OrderStatusEnum_ORDER_RETURNED OrderStatusEnum = 11
- OrderStatusEnum_UNDER_REVIEW OrderStatusEnum = 12
- )
- // Enum value maps for OrderStatusEnum.
- var (
- OrderStatusEnum_name = map[int32]string{
- 0: "ORDER_UNKNOWN",
- 1: "ORDER_CREATED",
- 2: "ORDER_PENDING_PAYMENT",
- 3: "ORDER_PAID",
- 4: "ORDER_PROCESSING",
- 5: "ORDER_SHIPPED",
- 6: "ORDER_COMPLETED",
- 7: "ORDER_CANCELED",
- 8: "ORDER_REFUND_IN_PROGRESS",
- 9: "ORDER_REFUNDED",
- 10: "ORDER_RETURN_IN_PROGRESS",
- 11: "ORDER_RETURNED",
- 12: "UNDER_REVIEW",
- }
- OrderStatusEnum_value = map[string]int32{
- "ORDER_UNKNOWN": 0,
- "ORDER_CREATED": 1,
- "ORDER_PENDING_PAYMENT": 2,
- "ORDER_PAID": 3,
- "ORDER_PROCESSING": 4,
- "ORDER_SHIPPED": 5,
- "ORDER_COMPLETED": 6,
- "ORDER_CANCELED": 7,
- "ORDER_REFUND_IN_PROGRESS": 8,
- "ORDER_REFUNDED": 9,
- "ORDER_RETURN_IN_PROGRESS": 10,
- "ORDER_RETURNED": 11,
- "UNDER_REVIEW": 12,
- }
- )
- func (x OrderStatusEnum) Enum() *OrderStatusEnum {
- p := new(OrderStatusEnum)
- *p = x
- return p
- }
- func (x OrderStatusEnum) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (OrderStatusEnum) Descriptor() protoreflect.EnumDescriptor {
- return file_proto_base_shopping_service_proto_enumTypes[1].Descriptor()
- }
- func (OrderStatusEnum) Type() protoreflect.EnumType {
- return &file_proto_base_shopping_service_proto_enumTypes[1]
- }
- func (x OrderStatusEnum) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use OrderStatusEnum.Descriptor instead.
- func (OrderStatusEnum) EnumDescriptor() ([]byte, []int) {
- return file_proto_base_shopping_service_proto_rawDescGZIP(), []int{1}
- }
- type PaymentStatusEnum int32
- const (
- PaymentStatusEnum_PAYMENT_UNKNOWN PaymentStatusEnum = 0
- PaymentStatusEnum_PAYMENT_PENDING PaymentStatusEnum = 1 // 待支付 订单已创建,但尚未支付。
- PaymentStatusEnum_PAYMENT_PROCESSING PaymentStatusEnum = 2 // 支付中 支付请求已经提交,正在处理中。
- PaymentStatusEnum_PAYMENT_PAID PaymentStatusEnum = 3 // 支付成功 支付已成功完成。
- PaymentStatusEnum_PAYMENT_FAILED PaymentStatusEnum = 4 // 支付失败 支付尝试失败。
- PaymentStatusEnum_PAYMENT_CANCELED PaymentStatusEnum = 5 // 取消支付 用户或系统取消了支付。
- PaymentStatusEnum_PAYMENT_REFUNDING PaymentStatusEnum = 6 // 退款中 用户请求退款,退款正在处理中。
- PaymentStatusEnum_PAYMENT_REFUNDED PaymentStatusEnum = 7 // 已退款 退款已成功完成。
- PaymentStatusEnum_PAYMENT_PARTIALLY_REFUNDING PaymentStatusEnum = 8 // Refunding 部分退款中 用户请求部分退款,部分退款正在处理中。
- PaymentStatusEnum_PAYMENT_PARTIALLY_REFUNDED PaymentStatusEnum = 9 // Refunded 已部分退款 部分退款已成功完成。
- )
- // Enum value maps for PaymentStatusEnum.
- var (
- PaymentStatusEnum_name = map[int32]string{
- 0: "PAYMENT_UNKNOWN",
- 1: "PAYMENT_PENDING",
- 2: "PAYMENT_PROCESSING",
- 3: "PAYMENT_PAID",
- 4: "PAYMENT_FAILED",
- 5: "PAYMENT_CANCELED",
- 6: "PAYMENT_REFUNDING",
- 7: "PAYMENT_REFUNDED",
- 8: "PAYMENT_PARTIALLY_REFUNDING",
- 9: "PAYMENT_PARTIALLY_REFUNDED",
- }
- PaymentStatusEnum_value = map[string]int32{
- "PAYMENT_UNKNOWN": 0,
- "PAYMENT_PENDING": 1,
- "PAYMENT_PROCESSING": 2,
- "PAYMENT_PAID": 3,
- "PAYMENT_FAILED": 4,
- "PAYMENT_CANCELED": 5,
- "PAYMENT_REFUNDING": 6,
- "PAYMENT_REFUNDED": 7,
- "PAYMENT_PARTIALLY_REFUNDING": 8,
- "PAYMENT_PARTIALLY_REFUNDED": 9,
- }
- )
- func (x PaymentStatusEnum) Enum() *PaymentStatusEnum {
- p := new(PaymentStatusEnum)
- *p = x
- return p
- }
- func (x PaymentStatusEnum) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (PaymentStatusEnum) Descriptor() protoreflect.EnumDescriptor {
- return file_proto_base_shopping_service_proto_enumTypes[2].Descriptor()
- }
- func (PaymentStatusEnum) Type() protoreflect.EnumType {
- return &file_proto_base_shopping_service_proto_enumTypes[2]
- }
- func (x PaymentStatusEnum) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use PaymentStatusEnum.Descriptor instead.
- func (PaymentStatusEnum) EnumDescriptor() ([]byte, []int) {
- return file_proto_base_shopping_service_proto_rawDescGZIP(), []int{2}
- }
- type PaymentMethodEnum int32
- const (
- PaymentMethodEnum_Payment_Method_UNKNOWN PaymentMethodEnum = 0 // 未知类型
- PaymentMethodEnum_PAYMENT_METHOD_BANKCARD PaymentMethodEnum = 1 // 银行卡
- PaymentMethodEnum_PAYMENT_METHOD_ALIPAY PaymentMethodEnum = 3 // 支付宝
- PaymentMethodEnum_PAYMENT_METHOD_WECHAT_PAY PaymentMethodEnum = 4 // 微信
- )
- // Enum value maps for PaymentMethodEnum.
- var (
- PaymentMethodEnum_name = map[int32]string{
- 0: "Payment_Method_UNKNOWN",
- 1: "PAYMENT_METHOD_BANKCARD",
- 3: "PAYMENT_METHOD_ALIPAY",
- 4: "PAYMENT_METHOD_WECHAT_PAY",
- }
- PaymentMethodEnum_value = map[string]int32{
- "Payment_Method_UNKNOWN": 0,
- "PAYMENT_METHOD_BANKCARD": 1,
- "PAYMENT_METHOD_ALIPAY": 3,
- "PAYMENT_METHOD_WECHAT_PAY": 4,
- }
- )
- func (x PaymentMethodEnum) Enum() *PaymentMethodEnum {
- p := new(PaymentMethodEnum)
- *p = x
- return p
- }
- func (x PaymentMethodEnum) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (PaymentMethodEnum) Descriptor() protoreflect.EnumDescriptor {
- return file_proto_base_shopping_service_proto_enumTypes[3].Descriptor()
- }
- func (PaymentMethodEnum) Type() protoreflect.EnumType {
- return &file_proto_base_shopping_service_proto_enumTypes[3]
- }
- func (x PaymentMethodEnum) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use PaymentMethodEnum.Descriptor instead.
- func (PaymentMethodEnum) EnumDescriptor() ([]byte, []int) {
- return file_proto_base_shopping_service_proto_rawDescGZIP(), []int{3}
- }
- type Address struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
- UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
- Country string `protobuf:"bytes,3,opt,name=country,proto3" json:"country,omitempty"`
- Province string `protobuf:"bytes,4,opt,name=province,proto3" json:"province,omitempty"`
- City string `protobuf:"bytes,5,opt,name=city,proto3" json:"city,omitempty"`
- District string `protobuf:"bytes,6,opt,name=district,proto3" json:"district,omitempty"`
- Street string `protobuf:"bytes,7,opt,name=street,proto3" json:"street,omitempty"`
- Remark string `protobuf:"bytes,8,opt,name=remark,proto3" json:"remark,omitempty"`
- IsDefault int32 `protobuf:"varint,9,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
- Location *Location `protobuf:"bytes,10,opt,name=location,proto3" json:"location,omitempty"`
- CreatedAt int64 `protobuf:"varint,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
- UpdatedAt int64 `protobuf:"varint,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
- }
- func (x *Address) Reset() {
- *x = Address{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_base_shopping_service_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Address) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Address) ProtoMessage() {}
- func (x *Address) ProtoReflect() protoreflect.Message {
- mi := &file_proto_base_shopping_service_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 Address.ProtoReflect.Descriptor instead.
- func (*Address) Descriptor() ([]byte, []int) {
- return file_proto_base_shopping_service_proto_rawDescGZIP(), []int{0}
- }
- func (x *Address) GetId() int64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *Address) GetUserId() int64 {
- if x != nil {
- return x.UserId
- }
- return 0
- }
- func (x *Address) GetCountry() string {
- if x != nil {
- return x.Country
- }
- return ""
- }
- func (x *Address) GetProvince() string {
- if x != nil {
- return x.Province
- }
- return ""
- }
- func (x *Address) GetCity() string {
- if x != nil {
- return x.City
- }
- return ""
- }
- func (x *Address) GetDistrict() string {
- if x != nil {
- return x.District
- }
- return ""
- }
- func (x *Address) GetStreet() string {
- if x != nil {
- return x.Street
- }
- return ""
- }
- func (x *Address) GetRemark() string {
- if x != nil {
- return x.Remark
- }
- return ""
- }
- func (x *Address) GetIsDefault() int32 {
- if x != nil {
- return x.IsDefault
- }
- return 0
- }
- func (x *Address) GetLocation() *Location {
- if x != nil {
- return x.Location
- }
- return nil
- }
- func (x *Address) GetCreatedAt() int64 {
- if x != nil {
- return x.CreatedAt
- }
- return 0
- }
- func (x *Address) GetUpdatedAt() int64 {
- if x != nil {
- return x.UpdatedAt
- }
- return 0
- }
- type Location struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
- AddressId int64 `protobuf:"varint,2,opt,name=address_id,json=addressId,proto3" json:"address_id,omitempty"`
- Lon float32 `protobuf:"fixed32,3,opt,name=lon,proto3" json:"lon,omitempty"`
- Lat float32 `protobuf:"fixed32,4,opt,name=lat,proto3" json:"lat,omitempty"`
- }
- func (x *Location) Reset() {
- *x = Location{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_base_shopping_service_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Location) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Location) ProtoMessage() {}
- func (x *Location) ProtoReflect() protoreflect.Message {
- mi := &file_proto_base_shopping_service_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 Location.ProtoReflect.Descriptor instead.
- func (*Location) Descriptor() ([]byte, []int) {
- return file_proto_base_shopping_service_proto_rawDescGZIP(), []int{1}
- }
- func (x *Location) GetId() int64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *Location) GetAddressId() int64 {
- if x != nil {
- return x.AddressId
- }
- return 0
- }
- func (x *Location) GetLon() float32 {
- if x != nil {
- return x.Lon
- }
- return 0
- }
- func (x *Location) GetLat() float32 {
- if x != nil {
- return x.Lat
- }
- return 0
- }
- type Category struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
- Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
- CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
- UpdatedAt int64 `protobuf:"varint,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
- ParentCategoryId int64 `protobuf:"varint,6,opt,name=parent_category_id,json=parentCategoryId,proto3" json:"parent_category_id,omitempty"`
- }
- func (x *Category) Reset() {
- *x = Category{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_base_shopping_service_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Category) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Category) ProtoMessage() {}
- func (x *Category) ProtoReflect() protoreflect.Message {
- mi := &file_proto_base_shopping_service_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 Category.ProtoReflect.Descriptor instead.
- func (*Category) Descriptor() ([]byte, []int) {
- return file_proto_base_shopping_service_proto_rawDescGZIP(), []int{2}
- }
- func (x *Category) GetId() int64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *Category) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *Category) GetDescription() string {
- if x != nil {
- return x.Description
- }
- return ""
- }
- func (x *Category) GetCreatedAt() int64 {
- if x != nil {
- return x.CreatedAt
- }
- return 0
- }
- func (x *Category) GetUpdatedAt() int64 {
- if x != nil {
- return x.UpdatedAt
- }
- return 0
- }
- func (x *Category) GetParentCategoryId() int64 {
- if x != nil {
- return x.ParentCategoryId
- }
- return 0
- }
- type Order struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
- UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
- User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
- AddressId int64 `protobuf:"varint,4,opt,name=address_id,json=addressId,proto3" json:"address_id,omitempty"`
- Address *Address `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"`
- TotalAmount int32 `protobuf:"varint,6,opt,name=total_amount,json=totalAmount,proto3" json:"total_amount,omitempty"`
- Status OrderStatusEnum `protobuf:"varint,7,opt,name=status,proto3,enum=base_shopping_service.OrderStatusEnum" json:"status,omitempty"`
- PaymentMethod PaymentMethodEnum `protobuf:"varint,8,opt,name=payment_method,json=paymentMethod,proto3,enum=base_shopping_service.PaymentMethodEnum" json:"payment_method,omitempty"`
- CreatedAt int64 `protobuf:"varint,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
- UpdatedAt int64 `protobuf:"varint,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
- OrderItems []*OrderItem `protobuf:"bytes,11,rep,name=order_items,json=orderItems,proto3" json:"order_items,omitempty"`
- Payment *Payment `protobuf:"bytes,12,opt,name=payment,proto3" json:"payment,omitempty"`
- }
- func (x *Order) Reset() {
- *x = Order{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_base_shopping_service_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Order) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Order) ProtoMessage() {}
- func (x *Order) ProtoReflect() protoreflect.Message {
- mi := &file_proto_base_shopping_service_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 Order.ProtoReflect.Descriptor instead.
- func (*Order) Descriptor() ([]byte, []int) {
- return file_proto_base_shopping_service_proto_rawDescGZIP(), []int{3}
- }
- func (x *Order) GetId() int64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *Order) GetUserId() int64 {
- if x != nil {
- return x.UserId
- }
- return 0
- }
- func (x *Order) GetUser() *User {
- if x != nil {
- return x.User
- }
- return nil
- }
- func (x *Order) GetAddressId() int64 {
- if x != nil {
- return x.AddressId
- }
- return 0
- }
- func (x *Order) GetAddress() *Address {
- if x != nil {
- return x.Address
- }
- return nil
- }
- func (x *Order) GetTotalAmount() int32 {
- if x != nil {
- return x.TotalAmount
- }
- return 0
- }
- func (x *Order) GetStatus() OrderStatusEnum {
- if x != nil {
- return x.Status
- }
- return OrderStatusEnum_ORDER_UNKNOWN
- }
- func (x *Order) GetPaymentMethod() PaymentMethodEnum {
- if x != nil {
- return x.PaymentMethod
- }
- return PaymentMethodEnum_Payment_Method_UNKNOWN
- }
- func (x *Order) GetCreatedAt() int64 {
- if x != nil {
- return x.CreatedAt
- }
- return 0
- }
- func (x *Order) GetUpdatedAt() int64 {
- if x != nil {
- return x.UpdatedAt
- }
- return 0
- }
- func (x *Order) GetOrderItems() []*OrderItem {
- if x != nil {
- return x.OrderItems
- }
- return nil
- }
- func (x *Order) GetPayment() *Payment {
- if x != nil {
- return x.Payment
- }
- return nil
- }
- type OrderItem struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
- OrderId int64 `protobuf:"varint,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
- Order *Order `protobuf:"bytes,3,opt,name=order,proto3" json:"order,omitempty"`
- ProductId int64 `protobuf:"varint,4,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
- Product *Product `protobuf:"bytes,5,opt,name=product,proto3" json:"product,omitempty"`
- Quantity int64 `protobuf:"varint,6,opt,name=quantity,proto3" json:"quantity,omitempty"`
- Subtotal int64 `protobuf:"varint,7,opt,name=subtotal,proto3" json:"subtotal,omitempty"`
- }
- func (x *OrderItem) Reset() {
- *x = OrderItem{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_base_shopping_service_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *OrderItem) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*OrderItem) ProtoMessage() {}
- func (x *OrderItem) ProtoReflect() protoreflect.Message {
- mi := &file_proto_base_shopping_service_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 OrderItem.ProtoReflect.Descriptor instead.
- func (*OrderItem) Descriptor() ([]byte, []int) {
- return file_proto_base_shopping_service_proto_rawDescGZIP(), []int{4}
- }
- func (x *OrderItem) GetId() int64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *OrderItem) GetOrderId() int64 {
- if x != nil {
- return x.OrderId
- }
- return 0
- }
- func (x *OrderItem) GetOrder() *Order {
- if x != nil {
- return x.Order
- }
- return nil
- }
- func (x *OrderItem) GetProductId() int64 {
- if x != nil {
- return x.ProductId
- }
- return 0
- }
- func (x *OrderItem) GetProduct() *Product {
- if x != nil {
- return x.Product
- }
- return nil
- }
- func (x *OrderItem) GetQuantity() int64 {
- if x != nil {
- return x.Quantity
- }
- return 0
- }
- func (x *OrderItem) GetSubtotal() int64 {
- if x != nil {
- return x.Subtotal
- }
- return 0
- }
- type Payment struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
- OrderId int64 `protobuf:"varint,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
- Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
- Status PaymentStatusEnum `protobuf:"varint,4,opt,name=status,proto3,enum=base_shopping_service.PaymentStatusEnum" json:"status,omitempty"`
- PaymentMethod PaymentMethodEnum `protobuf:"varint,5,opt,name=payment_method,json=paymentMethod,proto3,enum=base_shopping_service.PaymentMethodEnum" json:"payment_method,omitempty"`
- CreatedAt int64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
- UpdatedAt int64 `protobuf:"varint,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
- }
- func (x *Payment) Reset() {
- *x = Payment{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_base_shopping_service_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Payment) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Payment) ProtoMessage() {}
- func (x *Payment) ProtoReflect() protoreflect.Message {
- mi := &file_proto_base_shopping_service_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 Payment.ProtoReflect.Descriptor instead.
- func (*Payment) Descriptor() ([]byte, []int) {
- return file_proto_base_shopping_service_proto_rawDescGZIP(), []int{5}
- }
- func (x *Payment) GetId() int64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *Payment) GetOrderId() int64 {
- if x != nil {
- return x.OrderId
- }
- return 0
- }
- func (x *Payment) GetAmount() int64 {
- if x != nil {
- return x.Amount
- }
- return 0
- }
- func (x *Payment) GetStatus() PaymentStatusEnum {
- if x != nil {
- return x.Status
- }
- return PaymentStatusEnum_PAYMENT_UNKNOWN
- }
- func (x *Payment) GetPaymentMethod() PaymentMethodEnum {
- if x != nil {
- return x.PaymentMethod
- }
- return PaymentMethodEnum_Payment_Method_UNKNOWN
- }
- func (x *Payment) GetCreatedAt() int64 {
- if x != nil {
- return x.CreatedAt
- }
- return 0
- }
- func (x *Payment) GetUpdatedAt() int64 {
- if x != nil {
- return x.UpdatedAt
- }
- return 0
- }
- type Product struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
- Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
- Price int32 `protobuf:"varint,4,opt,name=price,proto3" json:"price,omitempty"`
- StockQuantity int32 `protobuf:"varint,5,opt,name=stock_quantity,json=stockQuantity,proto3" json:"stock_quantity,omitempty"`
- CreatedAt int64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
- UpdatedAt int64 `protobuf:"varint,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
- CategoryId int64 `protobuf:"varint,8,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`
- Category *Category `protobuf:"bytes,9,opt,name=category,proto3" json:"category,omitempty"`
- }
- func (x *Product) Reset() {
- *x = Product{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_base_shopping_service_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Product) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Product) ProtoMessage() {}
- func (x *Product) ProtoReflect() protoreflect.Message {
- mi := &file_proto_base_shopping_service_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 Product.ProtoReflect.Descriptor instead.
- func (*Product) Descriptor() ([]byte, []int) {
- return file_proto_base_shopping_service_proto_rawDescGZIP(), []int{6}
- }
- func (x *Product) GetId() int64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *Product) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *Product) GetDescription() string {
- if x != nil {
- return x.Description
- }
- return ""
- }
- func (x *Product) GetPrice() int32 {
- if x != nil {
- return x.Price
- }
- return 0
- }
- func (x *Product) GetStockQuantity() int32 {
- if x != nil {
- return x.StockQuantity
- }
- return 0
- }
- func (x *Product) GetCreatedAt() int64 {
- if x != nil {
- return x.CreatedAt
- }
- return 0
- }
- func (x *Product) GetUpdatedAt() int64 {
- if x != nil {
- return x.UpdatedAt
- }
- return 0
- }
- func (x *Product) GetCategoryId() int64 {
- if x != nil {
- return x.CategoryId
- }
- return 0
- }
- func (x *Product) GetCategory() *Category {
- if x != nil {
- return x.Category
- }
- return nil
- }
- type ShoppingCart struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
- UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
- CreatedAt int64 `protobuf:"varint,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
- UpdatedAt int64 `protobuf:"varint,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
- Quantity int64 `protobuf:"varint,5,opt,name=quantity,proto3" json:"quantity,omitempty"`
- Items []*ShoppingCartItem `protobuf:"bytes,6,rep,name=items,proto3" json:"items,omitempty"`
- }
- func (x *ShoppingCart) Reset() {
- *x = ShoppingCart{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_base_shopping_service_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *ShoppingCart) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ShoppingCart) ProtoMessage() {}
- func (x *ShoppingCart) ProtoReflect() protoreflect.Message {
- mi := &file_proto_base_shopping_service_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 ShoppingCart.ProtoReflect.Descriptor instead.
- func (*ShoppingCart) Descriptor() ([]byte, []int) {
- return file_proto_base_shopping_service_proto_rawDescGZIP(), []int{7}
- }
- func (x *ShoppingCart) GetId() int64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *ShoppingCart) GetUserId() int64 {
- if x != nil {
- return x.UserId
- }
- return 0
- }
- func (x *ShoppingCart) GetCreatedAt() int64 {
- if x != nil {
- return x.CreatedAt
- }
- return 0
- }
- func (x *ShoppingCart) GetUpdatedAt() int64 {
- if x != nil {
- return x.UpdatedAt
- }
- return 0
- }
- func (x *ShoppingCart) GetQuantity() int64 {
- if x != nil {
- return x.Quantity
- }
- return 0
- }
- func (x *ShoppingCart) GetItems() []*ShoppingCartItem {
- if x != nil {
- return x.Items
- }
- return nil
- }
- type ShoppingCartItem struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
- ShoppingCartId int64 `protobuf:"varint,2,opt,name=shopping_cart_id,json=shoppingCartId,proto3" json:"shopping_cart_id,omitempty"`
- ProductId int64 `protobuf:"varint,3,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
- Product *Product `protobuf:"bytes,4,opt,name=product,proto3" json:"product,omitempty"`
- Quantity int32 `protobuf:"varint,5,opt,name=quantity,proto3" json:"quantity,omitempty"`
- TotalPrice int32 `protobuf:"varint,6,opt,name=total_price,json=totalPrice,proto3" json:"total_price,omitempty"`
- }
- func (x *ShoppingCartItem) Reset() {
- *x = ShoppingCartItem{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_base_shopping_service_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *ShoppingCartItem) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ShoppingCartItem) ProtoMessage() {}
- func (x *ShoppingCartItem) ProtoReflect() protoreflect.Message {
- mi := &file_proto_base_shopping_service_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 ShoppingCartItem.ProtoReflect.Descriptor instead.
- func (*ShoppingCartItem) Descriptor() ([]byte, []int) {
- return file_proto_base_shopping_service_proto_rawDescGZIP(), []int{8}
- }
- func (x *ShoppingCartItem) GetId() int64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *ShoppingCartItem) GetShoppingCartId() int64 {
- if x != nil {
- return x.ShoppingCartId
- }
- return 0
- }
- func (x *ShoppingCartItem) GetProductId() int64 {
- if x != nil {
- return x.ProductId
- }
- return 0
- }
- func (x *ShoppingCartItem) GetProduct() *Product {
- if x != nil {
- return x.Product
- }
- return nil
- }
- func (x *ShoppingCartItem) GetQuantity() int32 {
- if x != nil {
- return x.Quantity
- }
- return 0
- }
- func (x *ShoppingCartItem) GetTotalPrice() int32 {
- if x != nil {
- return x.TotalPrice
- }
- return 0
- }
- type UserAuth struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
- UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
- OauthType string `protobuf:"bytes,3,opt,name=oauth_type,json=oauthType,proto3" json:"oauth_type,omitempty"`
- OauthId string `protobuf:"bytes,4,opt,name=oauth_id,json=oauthId,proto3" json:"oauth_id,omitempty"`
- UnionId string `protobuf:"bytes,5,opt,name=union_id,json=unionId,proto3" json:"union_id,omitempty"`
- Credential string `protobuf:"bytes,6,opt,name=credential,proto3" json:"credential,omitempty"`
- }
- func (x *UserAuth) Reset() {
- *x = UserAuth{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_base_shopping_service_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *UserAuth) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*UserAuth) ProtoMessage() {}
- func (x *UserAuth) ProtoReflect() protoreflect.Message {
- mi := &file_proto_base_shopping_service_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 UserAuth.ProtoReflect.Descriptor instead.
- func (*UserAuth) Descriptor() ([]byte, []int) {
- return file_proto_base_shopping_service_proto_rawDescGZIP(), []int{9}
- }
- func (x *UserAuth) GetId() int64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *UserAuth) GetUserId() int64 {
- if x != nil {
- return x.UserId
- }
- return 0
- }
- func (x *UserAuth) GetOauthType() string {
- if x != nil {
- return x.OauthType
- }
- return ""
- }
- func (x *UserAuth) GetOauthId() string {
- if x != nil {
- return x.OauthId
- }
- return ""
- }
- func (x *UserAuth) GetUnionId() string {
- if x != nil {
- return x.UnionId
- }
- return ""
- }
- func (x *UserAuth) GetCredential() string {
- if x != nil {
- return x.Credential
- }
- return ""
- }
- type User struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
- Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
- Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
- PhoneNumber string `protobuf:"bytes,4,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
- Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
- Avatar string `protobuf:"bytes,6,opt,name=avatar,proto3" json:"avatar,omitempty"`
- CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
- CreatedBy string `protobuf:"bytes,8,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
- UpdatedAt int64 `protobuf:"varint,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
- UpdatedBy string `protobuf:"bytes,10,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`
- Addresses []*Address `protobuf:"bytes,11,rep,name=addresses,proto3" json:"addresses,omitempty"`
- ShoppingCart *ShoppingCart `protobuf:"bytes,12,opt,name=shopping_cart,json=shoppingCart,proto3" json:"shopping_cart,omitempty"`
- Orders []*Order `protobuf:"bytes,13,rep,name=orders,proto3" json:"orders,omitempty"`
- UserAuth []*UserAuth `protobuf:"bytes,14,rep,name=user_auth,json=userAuth,proto3" json:"user_auth,omitempty"`
- Status StatusEnum `protobuf:"varint,15,opt,name=status,proto3,enum=base_shopping_service.StatusEnum" json:"status,omitempty"`
- Roles []*Base `protobuf:"bytes,16,rep,name=roles,proto3" json:"roles,omitempty"`
- GroupId int64 `protobuf:"varint,17,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
- Group *UserGroup `protobuf:"bytes,18,opt,name=group,proto3" json:"group,omitempty"`
- }
- func (x *User) Reset() {
- *x = User{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_base_shopping_service_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *User) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*User) ProtoMessage() {}
- func (x *User) ProtoReflect() protoreflect.Message {
- mi := &file_proto_base_shopping_service_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 User.ProtoReflect.Descriptor instead.
- func (*User) Descriptor() ([]byte, []int) {
- return file_proto_base_shopping_service_proto_rawDescGZIP(), []int{10}
- }
- func (x *User) GetId() int64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *User) GetUsername() string {
- if x != nil {
- return x.Username
- }
- return ""
- }
- func (x *User) GetPassword() string {
- if x != nil {
- return x.Password
- }
- return ""
- }
- func (x *User) GetPhoneNumber() string {
- if x != nil {
- return x.PhoneNumber
- }
- return ""
- }
- func (x *User) GetEmail() string {
- if x != nil {
- return x.Email
- }
- return ""
- }
- func (x *User) GetAvatar() string {
- if x != nil {
- return x.Avatar
- }
- return ""
- }
- func (x *User) GetCreatedAt() int64 {
- if x != nil {
- return x.CreatedAt
- }
- return 0
- }
- func (x *User) GetCreatedBy() string {
- if x != nil {
- return x.CreatedBy
- }
- return ""
- }
- func (x *User) GetUpdatedAt() int64 {
- if x != nil {
- return x.UpdatedAt
- }
- return 0
- }
- func (x *User) GetUpdatedBy() string {
- if x != nil {
- return x.UpdatedBy
- }
- return ""
- }
- func (x *User) GetAddresses() []*Address {
- if x != nil {
- return x.Addresses
- }
- return nil
- }
- func (x *User) GetShoppingCart() *ShoppingCart {
- if x != nil {
- return x.ShoppingCart
- }
- return nil
- }
- func (x *User) GetOrders() []*Order {
- if x != nil {
- return x.Orders
- }
- return nil
- }
- func (x *User) GetUserAuth() []*UserAuth {
- if x != nil {
- return x.UserAuth
- }
- return nil
- }
- func (x *User) GetStatus() StatusEnum {
- if x != nil {
- return x.Status
- }
- return StatusEnum_UNKNOWN
- }
- func (x *User) GetRoles() []*Base {
- if x != nil {
- return x.Roles
- }
- return nil
- }
- func (x *User) GetGroupId() int64 {
- if x != nil {
- return x.GroupId
- }
- return 0
- }
- func (x *User) GetGroup() *UserGroup {
- if x != nil {
- return x.Group
- }
- return nil
- }
- type UserGroup struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
- Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
- Code string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"`
- CreatedAt int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
- CreatedBy string `protobuf:"bytes,6,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
- UpdatedAt int64 `protobuf:"varint,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
- UpdatedBy string `protobuf:"bytes,8,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`
- }
- func (x *UserGroup) Reset() {
- *x = UserGroup{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_base_shopping_service_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *UserGroup) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*UserGroup) ProtoMessage() {}
- func (x *UserGroup) ProtoReflect() protoreflect.Message {
- mi := &file_proto_base_shopping_service_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 UserGroup.ProtoReflect.Descriptor instead.
- func (*UserGroup) Descriptor() ([]byte, []int) {
- return file_proto_base_shopping_service_proto_rawDescGZIP(), []int{11}
- }
- func (x *UserGroup) GetId() int64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *UserGroup) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *UserGroup) GetDescription() string {
- if x != nil {
- return x.Description
- }
- return ""
- }
- func (x *UserGroup) GetCode() string {
- if x != nil {
- return x.Code
- }
- return ""
- }
- func (x *UserGroup) GetCreatedAt() int64 {
- if x != nil {
- return x.CreatedAt
- }
- return 0
- }
- func (x *UserGroup) GetCreatedBy() string {
- if x != nil {
- return x.CreatedBy
- }
- return ""
- }
- func (x *UserGroup) GetUpdatedAt() int64 {
- if x != nil {
- return x.UpdatedAt
- }
- return 0
- }
- func (x *UserGroup) GetUpdatedBy() string {
- if x != nil {
- return x.UpdatedBy
- }
- return ""
- }
- type Base struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
- Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
- }
- func (x *Base) Reset() {
- *x = Base{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_base_shopping_service_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Base) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Base) ProtoMessage() {}
- func (x *Base) ProtoReflect() protoreflect.Message {
- mi := &file_proto_base_shopping_service_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 Base.ProtoReflect.Descriptor instead.
- func (*Base) Descriptor() ([]byte, []int) {
- return file_proto_base_shopping_service_proto_rawDescGZIP(), []int{12}
- }
- func (x *Base) GetKey() string {
- if x != nil {
- return x.Key
- }
- return ""
- }
- func (x *Base) GetValue() string {
- if x != nil {
- return x.Value
- }
- return ""
- }
- type Role struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
- Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
- Users []*Base `protobuf:"bytes,4,rep,name=users,proto3" json:"users,omitempty"`
- Permissions []*Base `protobuf:"bytes,5,rep,name=permissions,proto3" json:"permissions,omitempty"`
- CreatedBy string `protobuf:"bytes,6,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
- CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
- UpdatedAt int64 `protobuf:"varint,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
- UpdatedBy string `protobuf:"bytes,9,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`
- Status StatusEnum `protobuf:"varint,10,opt,name=status,proto3,enum=base_shopping_service.StatusEnum" json:"status,omitempty"`
- IsReserved bool `protobuf:"varint,11,opt,name=is_reserved,json=isReserved,proto3" json:"is_reserved,omitempty"`
- }
- func (x *Role) Reset() {
- *x = Role{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_base_shopping_service_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Role) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Role) ProtoMessage() {}
- func (x *Role) ProtoReflect() protoreflect.Message {
- mi := &file_proto_base_shopping_service_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 Role.ProtoReflect.Descriptor instead.
- func (*Role) Descriptor() ([]byte, []int) {
- return file_proto_base_shopping_service_proto_rawDescGZIP(), []int{13}
- }
- func (x *Role) GetId() int64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *Role) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *Role) GetDescription() string {
- if x != nil {
- return x.Description
- }
- return ""
- }
- func (x *Role) GetUsers() []*Base {
- if x != nil {
- return x.Users
- }
- return nil
- }
- func (x *Role) GetPermissions() []*Base {
- if x != nil {
- return x.Permissions
- }
- return nil
- }
- func (x *Role) GetCreatedBy() string {
- if x != nil {
- return x.CreatedBy
- }
- return ""
- }
- func (x *Role) GetCreatedAt() int64 {
- if x != nil {
- return x.CreatedAt
- }
- return 0
- }
- func (x *Role) GetUpdatedAt() int64 {
- if x != nil {
- return x.UpdatedAt
- }
- return 0
- }
- func (x *Role) GetUpdatedBy() string {
- if x != nil {
- return x.UpdatedBy
- }
- return ""
- }
- func (x *Role) GetStatus() StatusEnum {
- if x != nil {
- return x.Status
- }
- return StatusEnum_UNKNOWN
- }
- func (x *Role) GetIsReserved() bool {
- if x != nil {
- return x.IsReserved
- }
- return false
- }
- type Permission struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
- Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
- Roles []*Base `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"`
- CreatedAt int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
- CreatedBy string `protobuf:"bytes,6,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
- UpdatedAt int64 `protobuf:"varint,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
- UpdatedBy string `protobuf:"bytes,8,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`
- Status StatusEnum `protobuf:"varint,9,opt,name=status,proto3,enum=base_shopping_service.StatusEnum" json:"status,omitempty"`
- IsReserved bool `protobuf:"varint,10,opt,name=is_reserved,json=isReserved,proto3" json:"is_reserved,omitempty"`
- Endpoint string `protobuf:"bytes,11,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
- }
- func (x *Permission) Reset() {
- *x = Permission{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_base_shopping_service_proto_msgTypes[14]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Permission) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Permission) ProtoMessage() {}
- func (x *Permission) ProtoReflect() protoreflect.Message {
- mi := &file_proto_base_shopping_service_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 Permission.ProtoReflect.Descriptor instead.
- func (*Permission) Descriptor() ([]byte, []int) {
- return file_proto_base_shopping_service_proto_rawDescGZIP(), []int{14}
- }
- func (x *Permission) GetId() int64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *Permission) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *Permission) GetDescription() string {
- if x != nil {
- return x.Description
- }
- return ""
- }
- func (x *Permission) GetRoles() []*Base {
- if x != nil {
- return x.Roles
- }
- return nil
- }
- func (x *Permission) GetCreatedAt() int64 {
- if x != nil {
- return x.CreatedAt
- }
- return 0
- }
- func (x *Permission) GetCreatedBy() string {
- if x != nil {
- return x.CreatedBy
- }
- return ""
- }
- func (x *Permission) GetUpdatedAt() int64 {
- if x != nil {
- return x.UpdatedAt
- }
- return 0
- }
- func (x *Permission) GetUpdatedBy() string {
- if x != nil {
- return x.UpdatedBy
- }
- return ""
- }
- func (x *Permission) GetStatus() StatusEnum {
- if x != nil {
- return x.Status
- }
- return StatusEnum_UNKNOWN
- }
- func (x *Permission) GetIsReserved() bool {
- if x != nil {
- return x.IsReserved
- }
- return false
- }
- func (x *Permission) GetEndpoint() string {
- if x != nil {
- return x.Endpoint
- }
- return ""
- }
- var File_proto_base_shopping_service_proto protoreflect.FileDescriptor
- var file_proto_base_shopping_service_proto_rawDesc = []byte{
- 0x0a, 0x21, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f,
- 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69,
- 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0xe2, 0x02, 0x0a, 0x07, 0x41,
- 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69,
- 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12,
- 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f,
- 0x76, 0x69, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f,
- 0x76, 0x69, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x69, 0x74, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73,
- 0x74, 0x72, 0x69, 0x63, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x69, 0x73,
- 0x74, 0x72, 0x69, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x18,
- 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x12, 0x16, 0x0a,
- 0x06, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72,
- 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x64, 0x65, 0x66, 0x61,
- 0x75, 0x6c, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x69, 0x73, 0x44, 0x65, 0x66,
- 0x61, 0x75, 0x6c, 0x74, 0x12, 0x3b, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68,
- 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x4c,
- 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18,
- 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74,
- 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0c,
- 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22,
- 0x5d, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69,
- 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61,
- 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
- 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x6f,
- 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x03, 0x6c, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03,
- 0x6c, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x03, 0x6c, 0x61, 0x74, 0x22, 0xbc,
- 0x01, 0x0a, 0x08, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69,
- 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 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,
- 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18,
- 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74,
- 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x05,
- 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12,
- 0x2c, 0x0a, 0x12, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f,
- 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x70, 0x61, 0x72,
- 0x65, 0x6e, 0x74, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x22, 0xa9, 0x04,
- 0x0a, 0x05, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f,
- 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64,
- 0x12, 0x2f, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b,
- 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73,
- 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65,
- 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x18,
- 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x49, 0x64,
- 0x12, 0x38, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
- 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73,
- 0x73, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x6f,
- 0x74, 0x61, 0x6c, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05,
- 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3e, 0x0a,
- 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e,
- 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65,
- 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75,
- 0x73, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x4f, 0x0a,
- 0x0e, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18,
- 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f,
- 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x50, 0x61,
- 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x52,
- 0x0d, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x1d,
- 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01,
- 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a,
- 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28,
- 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x41, 0x0a, 0x0b,
- 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28,
- 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
- 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49,
- 0x74, 0x65, 0x6d, 0x52, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12,
- 0x38, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
- 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74,
- 0x52, 0x07, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xfb, 0x01, 0x0a, 0x09, 0x4f, 0x72,
- 0x64, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72,
- 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72,
- 0x49, 0x64, 0x12, 0x32, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
- 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52,
- 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63,
- 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x64,
- 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, 0x38, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74,
- 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68,
- 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x50,
- 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x12,
- 0x1a, 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28,
- 0x03, 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x73,
- 0x75, 0x62, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73,
- 0x75, 0x62, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x22, 0x9d, 0x02, 0x0a, 0x07, 0x50, 0x61, 0x79, 0x6d,
- 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
- 0x02, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16,
- 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
- 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x40, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
- 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68,
- 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x50,
- 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x6e, 0x75, 0x6d,
- 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x4f, 0x0a, 0x0e, 0x70, 0x61, 0x79, 0x6d,
- 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e,
- 0x32, 0x28, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
- 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74,
- 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0d, 0x70, 0x61, 0x79, 0x6d,
- 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65,
- 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63,
- 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61,
- 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70,
- 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0xa8, 0x02, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x64,
- 0x75, 0x63, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 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, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,
- 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65,
- 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69,
- 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12,
- 0x25, 0x0a, 0x0e, 0x73, 0x74, 0x6f, 0x63, 0x6b, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74,
- 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x73, 0x74, 0x6f, 0x63, 0x6b, 0x51, 0x75,
- 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
- 0x64, 0x5f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61,
- 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64,
- 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74,
- 0x65, 0x64, 0x41, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79,
- 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67,
- 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x3b, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72,
- 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73,
- 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e,
- 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f,
- 0x72, 0x79, 0x22, 0xd0, 0x01, 0x0a, 0x0c, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x43,
- 0x61, 0x72, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
- 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a,
- 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03,
- 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52,
- 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x71, 0x75,
- 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x71, 0x75,
- 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x3d, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18,
- 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f,
- 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x68,
- 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x43, 0x61, 0x72, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x05,
- 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0xe2, 0x01, 0x0a, 0x10, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69,
- 0x6e, 0x67, 0x43, 0x61, 0x72, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x68,
- 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x43, 0x61,
- 0x72, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f,
- 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63,
- 0x74, 0x49, 0x64, 0x12, 0x38, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x18, 0x04,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70,
- 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x50, 0x72, 0x6f,
- 0x64, 0x75, 0x63, 0x74, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x12, 0x1a, 0x0a,
- 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52,
- 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74,
- 0x61, 0x6c, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a,
- 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x22, 0xa8, 0x01, 0x0a, 0x08, 0x55,
- 0x73, 0x65, 0x72, 0x41, 0x75, 0x74, 0x68, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f,
- 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64,
- 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12,
- 0x19, 0x0a, 0x08, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x07, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x6e,
- 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x75, 0x6e,
- 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74,
- 0x69, 0x61, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x64, 0x65,
- 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x22, 0xd8, 0x05, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x0e,
- 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a,
- 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61,
- 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61,
- 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f,
- 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x68,
- 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61,
- 0x69, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12,
- 0x16, 0x0a, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74,
- 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65,
- 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
- 0x64, 0x5f, 0x62, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61,
- 0x74, 0x65, 0x64, 0x42, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64,
- 0x5f, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74,
- 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f,
- 0x62, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
- 0x64, 0x42, 0x79, 0x12, 0x3c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73,
- 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68,
- 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x41,
- 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65,
- 0x73, 0x12, 0x48, 0x0a, 0x0d, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x61,
- 0x72, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f,
- 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
- 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x43, 0x61, 0x72, 0x74, 0x52, 0x0c, 0x73,
- 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x43, 0x61, 0x72, 0x74, 0x12, 0x34, 0x0a, 0x06, 0x6f,
- 0x72, 0x64, 0x65, 0x72, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x61,
- 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76,
- 0x69, 0x63, 0x65, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72,
- 0x73, 0x12, 0x3c, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x18, 0x0e,
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70,
- 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x55, 0x73, 0x65,
- 0x72, 0x41, 0x75, 0x74, 0x68, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x41, 0x75, 0x74, 0x68, 0x12,
- 0x39, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32,
- 0x21, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f,
- 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x6e,
- 0x75, 0x6d, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x05, 0x72, 0x6f,
- 0x6c, 0x65, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x73, 0x65,
- 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
- 0x65, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x19, 0x0a,
- 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x11, 0x20, 0x01, 0x28, 0x03, 0x52,
- 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75,
- 0x70, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73,
- 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e,
- 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70,
- 0x22, 0xe1, 0x01, 0x0a, 0x09, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x0e,
- 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 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, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61,
- 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72,
- 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74,
- 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65,
- 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
- 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61,
- 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64,
- 0x5f, 0x62, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74,
- 0x65, 0x64, 0x42, 0x79, 0x22, 0x2e, 0x0a, 0x04, 0x42, 0x61, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03,
- 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14,
- 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76,
- 0x61, 0x6c, 0x75, 0x65, 0x22, 0x96, 0x03, 0x0a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x0e, 0x0a,
- 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 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, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x12, 0x31, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03,
- 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69,
- 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x52,
- 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x12, 0x3d, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73,
- 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61,
- 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76,
- 0x69, 0x63, 0x65, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73,
- 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
- 0x5f, 0x62, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74,
- 0x65, 0x64, 0x42, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f,
- 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
- 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61,
- 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64,
- 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79,
- 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x42,
- 0x79, 0x12, 0x39, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28,
- 0x0e, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
- 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
- 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1f, 0x0a, 0x0b,
- 0x69, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28,
- 0x08, 0x52, 0x0a, 0x69, 0x73, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x22, 0xf9, 0x02,
- 0x0a, 0x0a, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02,
- 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 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, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x12, 0x31, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28,
- 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
- 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x52, 0x05,
- 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
- 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74,
- 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f,
- 0x62, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
- 0x64, 0x42, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61,
- 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64,
- 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79,
- 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x42,
- 0x79, 0x12, 0x39, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28,
- 0x0e, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
- 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
- 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1f, 0x0a, 0x0b,
- 0x69, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28,
- 0x08, 0x52, 0x0a, 0x69, 0x73, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x12, 0x1a, 0x0a,
- 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2a, 0x41, 0x0a, 0x0a, 0x53, 0x74, 0x61,
- 0x74, 0x75, 0x73, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f,
- 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10,
- 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x12,
- 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x03, 0x2a, 0xaa, 0x02, 0x0a,
- 0x0f, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x6e, 0x75, 0x6d,
- 0x12, 0x11, 0x0a, 0x0d, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57,
- 0x4e, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x43, 0x52, 0x45,
- 0x41, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x19, 0x0a, 0x15, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f,
- 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x41, 0x59, 0x4d, 0x45, 0x4e, 0x54, 0x10,
- 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x50, 0x41, 0x49, 0x44, 0x10,
- 0x03, 0x12, 0x14, 0x0a, 0x10, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x50, 0x52, 0x4f, 0x43, 0x45,
- 0x53, 0x53, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x11, 0x0a, 0x0d, 0x4f, 0x52, 0x44, 0x45, 0x52,
- 0x5f, 0x53, 0x48, 0x49, 0x50, 0x50, 0x45, 0x44, 0x10, 0x05, 0x12, 0x13, 0x0a, 0x0f, 0x4f, 0x52,
- 0x44, 0x45, 0x52, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x06, 0x12,
- 0x12, 0x0a, 0x0e, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x45,
- 0x44, 0x10, 0x07, 0x12, 0x1c, 0x0a, 0x18, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x52, 0x45, 0x46,
- 0x55, 0x4e, 0x44, 0x5f, 0x49, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10,
- 0x08, 0x12, 0x12, 0x0a, 0x0e, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x52, 0x45, 0x46, 0x55, 0x4e,
- 0x44, 0x45, 0x44, 0x10, 0x09, 0x12, 0x1c, 0x0a, 0x18, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x52,
- 0x45, 0x54, 0x55, 0x52, 0x4e, 0x5f, 0x49, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53,
- 0x53, 0x10, 0x0a, 0x12, 0x12, 0x0a, 0x0e, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x52, 0x45, 0x54,
- 0x55, 0x52, 0x4e, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x4e, 0x44, 0x45, 0x52,
- 0x5f, 0x52, 0x45, 0x56, 0x49, 0x45, 0x57, 0x10, 0x0c, 0x2a, 0xff, 0x01, 0x0a, 0x11, 0x50, 0x61,
- 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x6e, 0x75, 0x6d, 0x12,
- 0x13, 0x0a, 0x0f, 0x50, 0x41, 0x59, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f,
- 0x57, 0x4e, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x41, 0x59, 0x4d, 0x45, 0x4e, 0x54, 0x5f,
- 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x41, 0x59,
- 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x43, 0x45, 0x53, 0x53, 0x49, 0x4e, 0x47, 0x10,
- 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x41, 0x59, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x50, 0x41, 0x49,
- 0x44, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x50, 0x41, 0x59, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x46,
- 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x41, 0x59, 0x4d, 0x45,
- 0x4e, 0x54, 0x5f, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x15, 0x0a,
- 0x11, 0x50, 0x41, 0x59, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x52, 0x45, 0x46, 0x55, 0x4e, 0x44, 0x49,
- 0x4e, 0x47, 0x10, 0x06, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x41, 0x59, 0x4d, 0x45, 0x4e, 0x54, 0x5f,
- 0x52, 0x45, 0x46, 0x55, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x07, 0x12, 0x1f, 0x0a, 0x1b, 0x50, 0x41,
- 0x59, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x50, 0x41, 0x52, 0x54, 0x49, 0x41, 0x4c, 0x4c, 0x59, 0x5f,
- 0x52, 0x45, 0x46, 0x55, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x08, 0x12, 0x1e, 0x0a, 0x1a, 0x50,
- 0x41, 0x59, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x50, 0x41, 0x52, 0x54, 0x49, 0x41, 0x4c, 0x4c, 0x59,
- 0x5f, 0x52, 0x45, 0x46, 0x55, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x09, 0x2a, 0x86, 0x01, 0x0a, 0x11,
- 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x45, 0x6e, 0x75,
- 0x6d, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x4d, 0x65, 0x74,
- 0x68, 0x6f, 0x64, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x1b, 0x0a,
- 0x17, 0x50, 0x41, 0x59, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f,
- 0x42, 0x41, 0x4e, 0x4b, 0x43, 0x41, 0x52, 0x44, 0x10, 0x01, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x41,
- 0x59, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f, 0x41, 0x4c, 0x49,
- 0x50, 0x41, 0x59, 0x10, 0x03, 0x12, 0x1d, 0x0a, 0x19, 0x50, 0x41, 0x59, 0x4d, 0x45, 0x4e, 0x54,
- 0x5f, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f, 0x57, 0x45, 0x43, 0x48, 0x41, 0x54, 0x5f, 0x50,
- 0x41, 0x59, 0x10, 0x04, 0x42, 0x1a, 0x5a, 0x18, 0x2e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3b,
- 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
- 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
- }
- var (
- file_proto_base_shopping_service_proto_rawDescOnce sync.Once
- file_proto_base_shopping_service_proto_rawDescData = file_proto_base_shopping_service_proto_rawDesc
- )
- func file_proto_base_shopping_service_proto_rawDescGZIP() []byte {
- file_proto_base_shopping_service_proto_rawDescOnce.Do(func() {
- file_proto_base_shopping_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_base_shopping_service_proto_rawDescData)
- })
- return file_proto_base_shopping_service_proto_rawDescData
- }
- var file_proto_base_shopping_service_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
- var file_proto_base_shopping_service_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
- var file_proto_base_shopping_service_proto_goTypes = []interface{}{
- (StatusEnum)(0), // 0: base_shopping_service.StatusEnum
- (OrderStatusEnum)(0), // 1: base_shopping_service.OrderStatusEnum
- (PaymentStatusEnum)(0), // 2: base_shopping_service.PaymentStatusEnum
- (PaymentMethodEnum)(0), // 3: base_shopping_service.PaymentMethodEnum
- (*Address)(nil), // 4: base_shopping_service.Address
- (*Location)(nil), // 5: base_shopping_service.Location
- (*Category)(nil), // 6: base_shopping_service.Category
- (*Order)(nil), // 7: base_shopping_service.Order
- (*OrderItem)(nil), // 8: base_shopping_service.OrderItem
- (*Payment)(nil), // 9: base_shopping_service.Payment
- (*Product)(nil), // 10: base_shopping_service.Product
- (*ShoppingCart)(nil), // 11: base_shopping_service.ShoppingCart
- (*ShoppingCartItem)(nil), // 12: base_shopping_service.ShoppingCartItem
- (*UserAuth)(nil), // 13: base_shopping_service.UserAuth
- (*User)(nil), // 14: base_shopping_service.User
- (*UserGroup)(nil), // 15: base_shopping_service.UserGroup
- (*Base)(nil), // 16: base_shopping_service.Base
- (*Role)(nil), // 17: base_shopping_service.Role
- (*Permission)(nil), // 18: base_shopping_service.Permission
- }
- var file_proto_base_shopping_service_proto_depIdxs = []int32{
- 5, // 0: base_shopping_service.Address.location:type_name -> base_shopping_service.Location
- 14, // 1: base_shopping_service.Order.user:type_name -> base_shopping_service.User
- 4, // 2: base_shopping_service.Order.address:type_name -> base_shopping_service.Address
- 1, // 3: base_shopping_service.Order.status:type_name -> base_shopping_service.OrderStatusEnum
- 3, // 4: base_shopping_service.Order.payment_method:type_name -> base_shopping_service.PaymentMethodEnum
- 8, // 5: base_shopping_service.Order.order_items:type_name -> base_shopping_service.OrderItem
- 9, // 6: base_shopping_service.Order.payment:type_name -> base_shopping_service.Payment
- 7, // 7: base_shopping_service.OrderItem.order:type_name -> base_shopping_service.Order
- 10, // 8: base_shopping_service.OrderItem.product:type_name -> base_shopping_service.Product
- 2, // 9: base_shopping_service.Payment.status:type_name -> base_shopping_service.PaymentStatusEnum
- 3, // 10: base_shopping_service.Payment.payment_method:type_name -> base_shopping_service.PaymentMethodEnum
- 6, // 11: base_shopping_service.Product.category:type_name -> base_shopping_service.Category
- 12, // 12: base_shopping_service.ShoppingCart.items:type_name -> base_shopping_service.ShoppingCartItem
- 10, // 13: base_shopping_service.ShoppingCartItem.product:type_name -> base_shopping_service.Product
- 4, // 14: base_shopping_service.User.addresses:type_name -> base_shopping_service.Address
- 11, // 15: base_shopping_service.User.shopping_cart:type_name -> base_shopping_service.ShoppingCart
- 7, // 16: base_shopping_service.User.orders:type_name -> base_shopping_service.Order
- 13, // 17: base_shopping_service.User.user_auth:type_name -> base_shopping_service.UserAuth
- 0, // 18: base_shopping_service.User.status:type_name -> base_shopping_service.StatusEnum
- 16, // 19: base_shopping_service.User.roles:type_name -> base_shopping_service.Base
- 15, // 20: base_shopping_service.User.group:type_name -> base_shopping_service.UserGroup
- 16, // 21: base_shopping_service.Role.users:type_name -> base_shopping_service.Base
- 16, // 22: base_shopping_service.Role.permissions:type_name -> base_shopping_service.Base
- 0, // 23: base_shopping_service.Role.status:type_name -> base_shopping_service.StatusEnum
- 16, // 24: base_shopping_service.Permission.roles:type_name -> base_shopping_service.Base
- 0, // 25: base_shopping_service.Permission.status:type_name -> base_shopping_service.StatusEnum
- 26, // [26:26] is the sub-list for method output_type
- 26, // [26:26] is the sub-list for method input_type
- 26, // [26:26] is the sub-list for extension type_name
- 26, // [26:26] is the sub-list for extension extendee
- 0, // [0:26] is the sub-list for field type_name
- }
- func init() { file_proto_base_shopping_service_proto_init() }
- func file_proto_base_shopping_service_proto_init() {
- if File_proto_base_shopping_service_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_proto_base_shopping_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Address); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_base_shopping_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Location); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_base_shopping_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Category); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_base_shopping_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Order); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_base_shopping_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*OrderItem); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_base_shopping_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Payment); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_base_shopping_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Product); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_base_shopping_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ShoppingCart); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_base_shopping_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ShoppingCartItem); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_base_shopping_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UserAuth); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_base_shopping_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*User); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_base_shopping_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UserGroup); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_base_shopping_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Base); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_base_shopping_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Role); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_base_shopping_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Permission); 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_base_shopping_service_proto_rawDesc,
- NumEnums: 4,
- NumMessages: 15,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_proto_base_shopping_service_proto_goTypes,
- DependencyIndexes: file_proto_base_shopping_service_proto_depIdxs,
- EnumInfos: file_proto_base_shopping_service_proto_enumTypes,
- MessageInfos: file_proto_base_shopping_service_proto_msgTypes,
- }.Build()
- File_proto_base_shopping_service_proto = out.File
- file_proto_base_shopping_service_proto_rawDesc = nil
- file_proto_base_shopping_service_proto_goTypes = nil
- file_proto_base_shopping_service_proto_depIdxs = nil
- }
|