shopping_address_service.pb.go 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.31.0
  4. // protoc v4.25.0
  5. // source: proto/shopping_address_service.proto
  6. package shopping_service
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type CreateAddressRequest struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
  24. Country string `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"`
  25. Province string `protobuf:"bytes,3,opt,name=province,proto3" json:"province,omitempty"`
  26. City string `protobuf:"bytes,4,opt,name=city,proto3" json:"city,omitempty"`
  27. District string `protobuf:"bytes,5,opt,name=district,proto3" json:"district,omitempty"`
  28. Street string `protobuf:"bytes,6,opt,name=street,proto3" json:"street,omitempty"`
  29. Remark string `protobuf:"bytes,7,opt,name=remark,proto3" json:"remark,omitempty"`
  30. IsDefault int32 `protobuf:"varint,8,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
  31. Location *Location `protobuf:"bytes,9,opt,name=location,proto3" json:"location,omitempty"`
  32. }
  33. func (x *CreateAddressRequest) Reset() {
  34. *x = CreateAddressRequest{}
  35. if protoimpl.UnsafeEnabled {
  36. mi := &file_proto_shopping_address_service_proto_msgTypes[0]
  37. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  38. ms.StoreMessageInfo(mi)
  39. }
  40. }
  41. func (x *CreateAddressRequest) String() string {
  42. return protoimpl.X.MessageStringOf(x)
  43. }
  44. func (*CreateAddressRequest) ProtoMessage() {}
  45. func (x *CreateAddressRequest) ProtoReflect() protoreflect.Message {
  46. mi := &file_proto_shopping_address_service_proto_msgTypes[0]
  47. if protoimpl.UnsafeEnabled && x != nil {
  48. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  49. if ms.LoadMessageInfo() == nil {
  50. ms.StoreMessageInfo(mi)
  51. }
  52. return ms
  53. }
  54. return mi.MessageOf(x)
  55. }
  56. // Deprecated: Use CreateAddressRequest.ProtoReflect.Descriptor instead.
  57. func (*CreateAddressRequest) Descriptor() ([]byte, []int) {
  58. return file_proto_shopping_address_service_proto_rawDescGZIP(), []int{0}
  59. }
  60. func (x *CreateAddressRequest) GetUserId() int64 {
  61. if x != nil {
  62. return x.UserId
  63. }
  64. return 0
  65. }
  66. func (x *CreateAddressRequest) GetCountry() string {
  67. if x != nil {
  68. return x.Country
  69. }
  70. return ""
  71. }
  72. func (x *CreateAddressRequest) GetProvince() string {
  73. if x != nil {
  74. return x.Province
  75. }
  76. return ""
  77. }
  78. func (x *CreateAddressRequest) GetCity() string {
  79. if x != nil {
  80. return x.City
  81. }
  82. return ""
  83. }
  84. func (x *CreateAddressRequest) GetDistrict() string {
  85. if x != nil {
  86. return x.District
  87. }
  88. return ""
  89. }
  90. func (x *CreateAddressRequest) GetStreet() string {
  91. if x != nil {
  92. return x.Street
  93. }
  94. return ""
  95. }
  96. func (x *CreateAddressRequest) GetRemark() string {
  97. if x != nil {
  98. return x.Remark
  99. }
  100. return ""
  101. }
  102. func (x *CreateAddressRequest) GetIsDefault() int32 {
  103. if x != nil {
  104. return x.IsDefault
  105. }
  106. return 0
  107. }
  108. func (x *CreateAddressRequest) GetLocation() *Location {
  109. if x != nil {
  110. return x.Location
  111. }
  112. return nil
  113. }
  114. type CreateAddressResponse struct {
  115. state protoimpl.MessageState
  116. sizeCache protoimpl.SizeCache
  117. unknownFields protoimpl.UnknownFields
  118. }
  119. func (x *CreateAddressResponse) Reset() {
  120. *x = CreateAddressResponse{}
  121. if protoimpl.UnsafeEnabled {
  122. mi := &file_proto_shopping_address_service_proto_msgTypes[1]
  123. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  124. ms.StoreMessageInfo(mi)
  125. }
  126. }
  127. func (x *CreateAddressResponse) String() string {
  128. return protoimpl.X.MessageStringOf(x)
  129. }
  130. func (*CreateAddressResponse) ProtoMessage() {}
  131. func (x *CreateAddressResponse) ProtoReflect() protoreflect.Message {
  132. mi := &file_proto_shopping_address_service_proto_msgTypes[1]
  133. if protoimpl.UnsafeEnabled && x != nil {
  134. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  135. if ms.LoadMessageInfo() == nil {
  136. ms.StoreMessageInfo(mi)
  137. }
  138. return ms
  139. }
  140. return mi.MessageOf(x)
  141. }
  142. // Deprecated: Use CreateAddressResponse.ProtoReflect.Descriptor instead.
  143. func (*CreateAddressResponse) Descriptor() ([]byte, []int) {
  144. return file_proto_shopping_address_service_proto_rawDescGZIP(), []int{1}
  145. }
  146. type GetAddressListRequest struct {
  147. state protoimpl.MessageState
  148. sizeCache protoimpl.SizeCache
  149. unknownFields protoimpl.UnknownFields
  150. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  151. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  152. Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"`
  153. UserId int64 `protobuf:"varint,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
  154. }
  155. func (x *GetAddressListRequest) Reset() {
  156. *x = GetAddressListRequest{}
  157. if protoimpl.UnsafeEnabled {
  158. mi := &file_proto_shopping_address_service_proto_msgTypes[2]
  159. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  160. ms.StoreMessageInfo(mi)
  161. }
  162. }
  163. func (x *GetAddressListRequest) String() string {
  164. return protoimpl.X.MessageStringOf(x)
  165. }
  166. func (*GetAddressListRequest) ProtoMessage() {}
  167. func (x *GetAddressListRequest) ProtoReflect() protoreflect.Message {
  168. mi := &file_proto_shopping_address_service_proto_msgTypes[2]
  169. if protoimpl.UnsafeEnabled && x != nil {
  170. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  171. if ms.LoadMessageInfo() == nil {
  172. ms.StoreMessageInfo(mi)
  173. }
  174. return ms
  175. }
  176. return mi.MessageOf(x)
  177. }
  178. // Deprecated: Use GetAddressListRequest.ProtoReflect.Descriptor instead.
  179. func (*GetAddressListRequest) Descriptor() ([]byte, []int) {
  180. return file_proto_shopping_address_service_proto_rawDescGZIP(), []int{2}
  181. }
  182. func (x *GetAddressListRequest) GetPage() int32 {
  183. if x != nil {
  184. return x.Page
  185. }
  186. return 0
  187. }
  188. func (x *GetAddressListRequest) GetPageSize() int32 {
  189. if x != nil {
  190. return x.PageSize
  191. }
  192. return 0
  193. }
  194. func (x *GetAddressListRequest) GetKeyword() string {
  195. if x != nil {
  196. return x.Keyword
  197. }
  198. return ""
  199. }
  200. func (x *GetAddressListRequest) GetUserId() int64 {
  201. if x != nil {
  202. return x.UserId
  203. }
  204. return 0
  205. }
  206. type GetAddressListResponse struct {
  207. state protoimpl.MessageState
  208. sizeCache protoimpl.SizeCache
  209. unknownFields protoimpl.UnknownFields
  210. Items []*Address `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
  211. TotalCount int64 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
  212. }
  213. func (x *GetAddressListResponse) Reset() {
  214. *x = GetAddressListResponse{}
  215. if protoimpl.UnsafeEnabled {
  216. mi := &file_proto_shopping_address_service_proto_msgTypes[3]
  217. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  218. ms.StoreMessageInfo(mi)
  219. }
  220. }
  221. func (x *GetAddressListResponse) String() string {
  222. return protoimpl.X.MessageStringOf(x)
  223. }
  224. func (*GetAddressListResponse) ProtoMessage() {}
  225. func (x *GetAddressListResponse) ProtoReflect() protoreflect.Message {
  226. mi := &file_proto_shopping_address_service_proto_msgTypes[3]
  227. if protoimpl.UnsafeEnabled && x != nil {
  228. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  229. if ms.LoadMessageInfo() == nil {
  230. ms.StoreMessageInfo(mi)
  231. }
  232. return ms
  233. }
  234. return mi.MessageOf(x)
  235. }
  236. // Deprecated: Use GetAddressListResponse.ProtoReflect.Descriptor instead.
  237. func (*GetAddressListResponse) Descriptor() ([]byte, []int) {
  238. return file_proto_shopping_address_service_proto_rawDescGZIP(), []int{3}
  239. }
  240. func (x *GetAddressListResponse) GetItems() []*Address {
  241. if x != nil {
  242. return x.Items
  243. }
  244. return nil
  245. }
  246. func (x *GetAddressListResponse) GetTotalCount() int64 {
  247. if x != nil {
  248. return x.TotalCount
  249. }
  250. return 0
  251. }
  252. type GetAddressRequest struct {
  253. state protoimpl.MessageState
  254. sizeCache protoimpl.SizeCache
  255. unknownFields protoimpl.UnknownFields
  256. AddressId int64 `protobuf:"varint,1,opt,name=address_id,json=addressId,proto3" json:"address_id,omitempty"`
  257. }
  258. func (x *GetAddressRequest) Reset() {
  259. *x = GetAddressRequest{}
  260. if protoimpl.UnsafeEnabled {
  261. mi := &file_proto_shopping_address_service_proto_msgTypes[4]
  262. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  263. ms.StoreMessageInfo(mi)
  264. }
  265. }
  266. func (x *GetAddressRequest) String() string {
  267. return protoimpl.X.MessageStringOf(x)
  268. }
  269. func (*GetAddressRequest) ProtoMessage() {}
  270. func (x *GetAddressRequest) ProtoReflect() protoreflect.Message {
  271. mi := &file_proto_shopping_address_service_proto_msgTypes[4]
  272. if protoimpl.UnsafeEnabled && x != nil {
  273. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  274. if ms.LoadMessageInfo() == nil {
  275. ms.StoreMessageInfo(mi)
  276. }
  277. return ms
  278. }
  279. return mi.MessageOf(x)
  280. }
  281. // Deprecated: Use GetAddressRequest.ProtoReflect.Descriptor instead.
  282. func (*GetAddressRequest) Descriptor() ([]byte, []int) {
  283. return file_proto_shopping_address_service_proto_rawDescGZIP(), []int{4}
  284. }
  285. func (x *GetAddressRequest) GetAddressId() int64 {
  286. if x != nil {
  287. return x.AddressId
  288. }
  289. return 0
  290. }
  291. type GetAddressResponse struct {
  292. state protoimpl.MessageState
  293. sizeCache protoimpl.SizeCache
  294. unknownFields protoimpl.UnknownFields
  295. Data *Address `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
  296. }
  297. func (x *GetAddressResponse) Reset() {
  298. *x = GetAddressResponse{}
  299. if protoimpl.UnsafeEnabled {
  300. mi := &file_proto_shopping_address_service_proto_msgTypes[5]
  301. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  302. ms.StoreMessageInfo(mi)
  303. }
  304. }
  305. func (x *GetAddressResponse) String() string {
  306. return protoimpl.X.MessageStringOf(x)
  307. }
  308. func (*GetAddressResponse) ProtoMessage() {}
  309. func (x *GetAddressResponse) ProtoReflect() protoreflect.Message {
  310. mi := &file_proto_shopping_address_service_proto_msgTypes[5]
  311. if protoimpl.UnsafeEnabled && x != nil {
  312. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  313. if ms.LoadMessageInfo() == nil {
  314. ms.StoreMessageInfo(mi)
  315. }
  316. return ms
  317. }
  318. return mi.MessageOf(x)
  319. }
  320. // Deprecated: Use GetAddressResponse.ProtoReflect.Descriptor instead.
  321. func (*GetAddressResponse) Descriptor() ([]byte, []int) {
  322. return file_proto_shopping_address_service_proto_rawDescGZIP(), []int{5}
  323. }
  324. func (x *GetAddressResponse) GetData() *Address {
  325. if x != nil {
  326. return x.Data
  327. }
  328. return nil
  329. }
  330. type UpdateAddressRequest struct {
  331. state protoimpl.MessageState
  332. sizeCache protoimpl.SizeCache
  333. unknownFields protoimpl.UnknownFields
  334. AddressId int64 `protobuf:"varint,1,opt,name=address_id,json=addressId,proto3" json:"address_id,omitempty"`
  335. Country string `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"`
  336. Province string `protobuf:"bytes,3,opt,name=province,proto3" json:"province,omitempty"`
  337. City string `protobuf:"bytes,4,opt,name=city,proto3" json:"city,omitempty"`
  338. District string `protobuf:"bytes,5,opt,name=district,proto3" json:"district,omitempty"`
  339. Street string `protobuf:"bytes,6,opt,name=street,proto3" json:"street,omitempty"`
  340. Remark string `protobuf:"bytes,7,opt,name=remark,proto3" json:"remark,omitempty"`
  341. IsDefault int32 `protobuf:"varint,8,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
  342. Location *Location `protobuf:"bytes,9,opt,name=location,proto3" json:"location,omitempty"`
  343. }
  344. func (x *UpdateAddressRequest) Reset() {
  345. *x = UpdateAddressRequest{}
  346. if protoimpl.UnsafeEnabled {
  347. mi := &file_proto_shopping_address_service_proto_msgTypes[6]
  348. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  349. ms.StoreMessageInfo(mi)
  350. }
  351. }
  352. func (x *UpdateAddressRequest) String() string {
  353. return protoimpl.X.MessageStringOf(x)
  354. }
  355. func (*UpdateAddressRequest) ProtoMessage() {}
  356. func (x *UpdateAddressRequest) ProtoReflect() protoreflect.Message {
  357. mi := &file_proto_shopping_address_service_proto_msgTypes[6]
  358. if protoimpl.UnsafeEnabled && x != nil {
  359. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  360. if ms.LoadMessageInfo() == nil {
  361. ms.StoreMessageInfo(mi)
  362. }
  363. return ms
  364. }
  365. return mi.MessageOf(x)
  366. }
  367. // Deprecated: Use UpdateAddressRequest.ProtoReflect.Descriptor instead.
  368. func (*UpdateAddressRequest) Descriptor() ([]byte, []int) {
  369. return file_proto_shopping_address_service_proto_rawDescGZIP(), []int{6}
  370. }
  371. func (x *UpdateAddressRequest) GetAddressId() int64 {
  372. if x != nil {
  373. return x.AddressId
  374. }
  375. return 0
  376. }
  377. func (x *UpdateAddressRequest) GetCountry() string {
  378. if x != nil {
  379. return x.Country
  380. }
  381. return ""
  382. }
  383. func (x *UpdateAddressRequest) GetProvince() string {
  384. if x != nil {
  385. return x.Province
  386. }
  387. return ""
  388. }
  389. func (x *UpdateAddressRequest) GetCity() string {
  390. if x != nil {
  391. return x.City
  392. }
  393. return ""
  394. }
  395. func (x *UpdateAddressRequest) GetDistrict() string {
  396. if x != nil {
  397. return x.District
  398. }
  399. return ""
  400. }
  401. func (x *UpdateAddressRequest) GetStreet() string {
  402. if x != nil {
  403. return x.Street
  404. }
  405. return ""
  406. }
  407. func (x *UpdateAddressRequest) GetRemark() string {
  408. if x != nil {
  409. return x.Remark
  410. }
  411. return ""
  412. }
  413. func (x *UpdateAddressRequest) GetIsDefault() int32 {
  414. if x != nil {
  415. return x.IsDefault
  416. }
  417. return 0
  418. }
  419. func (x *UpdateAddressRequest) GetLocation() *Location {
  420. if x != nil {
  421. return x.Location
  422. }
  423. return nil
  424. }
  425. type UpdateAddressResponse struct {
  426. state protoimpl.MessageState
  427. sizeCache protoimpl.SizeCache
  428. unknownFields protoimpl.UnknownFields
  429. }
  430. func (x *UpdateAddressResponse) Reset() {
  431. *x = UpdateAddressResponse{}
  432. if protoimpl.UnsafeEnabled {
  433. mi := &file_proto_shopping_address_service_proto_msgTypes[7]
  434. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  435. ms.StoreMessageInfo(mi)
  436. }
  437. }
  438. func (x *UpdateAddressResponse) String() string {
  439. return protoimpl.X.MessageStringOf(x)
  440. }
  441. func (*UpdateAddressResponse) ProtoMessage() {}
  442. func (x *UpdateAddressResponse) ProtoReflect() protoreflect.Message {
  443. mi := &file_proto_shopping_address_service_proto_msgTypes[7]
  444. if protoimpl.UnsafeEnabled && x != nil {
  445. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  446. if ms.LoadMessageInfo() == nil {
  447. ms.StoreMessageInfo(mi)
  448. }
  449. return ms
  450. }
  451. return mi.MessageOf(x)
  452. }
  453. // Deprecated: Use UpdateAddressResponse.ProtoReflect.Descriptor instead.
  454. func (*UpdateAddressResponse) Descriptor() ([]byte, []int) {
  455. return file_proto_shopping_address_service_proto_rawDescGZIP(), []int{7}
  456. }
  457. type DeleteAddressRequest struct {
  458. state protoimpl.MessageState
  459. sizeCache protoimpl.SizeCache
  460. unknownFields protoimpl.UnknownFields
  461. AddressId int64 `protobuf:"varint,1,opt,name=address_id,json=addressId,proto3" json:"address_id,omitempty"`
  462. }
  463. func (x *DeleteAddressRequest) Reset() {
  464. *x = DeleteAddressRequest{}
  465. if protoimpl.UnsafeEnabled {
  466. mi := &file_proto_shopping_address_service_proto_msgTypes[8]
  467. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  468. ms.StoreMessageInfo(mi)
  469. }
  470. }
  471. func (x *DeleteAddressRequest) String() string {
  472. return protoimpl.X.MessageStringOf(x)
  473. }
  474. func (*DeleteAddressRequest) ProtoMessage() {}
  475. func (x *DeleteAddressRequest) ProtoReflect() protoreflect.Message {
  476. mi := &file_proto_shopping_address_service_proto_msgTypes[8]
  477. if protoimpl.UnsafeEnabled && x != nil {
  478. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  479. if ms.LoadMessageInfo() == nil {
  480. ms.StoreMessageInfo(mi)
  481. }
  482. return ms
  483. }
  484. return mi.MessageOf(x)
  485. }
  486. // Deprecated: Use DeleteAddressRequest.ProtoReflect.Descriptor instead.
  487. func (*DeleteAddressRequest) Descriptor() ([]byte, []int) {
  488. return file_proto_shopping_address_service_proto_rawDescGZIP(), []int{8}
  489. }
  490. func (x *DeleteAddressRequest) GetAddressId() int64 {
  491. if x != nil {
  492. return x.AddressId
  493. }
  494. return 0
  495. }
  496. type DeleteAddressResponse struct {
  497. state protoimpl.MessageState
  498. sizeCache protoimpl.SizeCache
  499. unknownFields protoimpl.UnknownFields
  500. }
  501. func (x *DeleteAddressResponse) Reset() {
  502. *x = DeleteAddressResponse{}
  503. if protoimpl.UnsafeEnabled {
  504. mi := &file_proto_shopping_address_service_proto_msgTypes[9]
  505. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  506. ms.StoreMessageInfo(mi)
  507. }
  508. }
  509. func (x *DeleteAddressResponse) String() string {
  510. return protoimpl.X.MessageStringOf(x)
  511. }
  512. func (*DeleteAddressResponse) ProtoMessage() {}
  513. func (x *DeleteAddressResponse) ProtoReflect() protoreflect.Message {
  514. mi := &file_proto_shopping_address_service_proto_msgTypes[9]
  515. if protoimpl.UnsafeEnabled && x != nil {
  516. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  517. if ms.LoadMessageInfo() == nil {
  518. ms.StoreMessageInfo(mi)
  519. }
  520. return ms
  521. }
  522. return mi.MessageOf(x)
  523. }
  524. // Deprecated: Use DeleteAddressResponse.ProtoReflect.Descriptor instead.
  525. func (*DeleteAddressResponse) Descriptor() ([]byte, []int) {
  526. return file_proto_shopping_address_service_proto_rawDescGZIP(), []int{9}
  527. }
  528. var File_proto_shopping_address_service_proto protoreflect.FileDescriptor
  529. var file_proto_shopping_address_service_proto_rawDesc = []byte{
  530. 0x0a, 0x24, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
  531. 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
  532. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
  533. 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
  534. 0x1a, 0x21, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f,
  535. 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72,
  536. 0x6f, 0x74, 0x6f, 0x22, 0xa1, 0x02, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x64,
  537. 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07,
  538. 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75,
  539. 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79,
  540. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x12,
  541. 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
  542. 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63,
  543. 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x69, 0x74, 0x79, 0x12,
  544. 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28,
  545. 0x09, 0x52, 0x08, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73,
  546. 0x74, 0x72, 0x65, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x72,
  547. 0x65, 0x65, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x18, 0x07, 0x20,
  548. 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x12, 0x1d, 0x0a, 0x0a, 0x69,
  549. 0x73, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52,
  550. 0x09, 0x69, 0x73, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x3b, 0x0a, 0x08, 0x6c, 0x6f,
  551. 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62,
  552. 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72,
  553. 0x76, 0x69, 0x63, 0x65, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c,
  554. 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x17, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74,
  555. 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  556. 0x22, 0x7b, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4c, 0x69,
  557. 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67,
  558. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a,
  559. 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
  560. 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65,
  561. 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79,
  562. 0x77, 0x6f, 0x72, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18,
  563. 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x6f, 0x0a,
  564. 0x16, 0x47, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52,
  565. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73,
  566. 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68,
  567. 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x41,
  568. 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x1f, 0x0a,
  569. 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01,
  570. 0x28, 0x03, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x32,
  571. 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75,
  572. 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x69,
  573. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
  574. 0x49, 0x64, 0x22, 0x48, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
  575. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61,
  576. 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68,
  577. 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x41,
  578. 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xa7, 0x02, 0x0a,
  579. 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65,
  580. 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
  581. 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65,
  582. 0x73, 0x73, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x18,
  583. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1a,
  584. 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  585. 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x69,
  586. 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x69, 0x74, 0x79, 0x12, 0x1a,
  587. 0x0a, 0x08, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
  588. 0x52, 0x08, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74,
  589. 0x72, 0x65, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x72, 0x65,
  590. 0x65, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x18, 0x07, 0x20, 0x01,
  591. 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73,
  592. 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09,
  593. 0x69, 0x73, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x3b, 0x0a, 0x08, 0x6c, 0x6f, 0x63,
  594. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x61,
  595. 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76,
  596. 0x69, 0x63, 0x65, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f,
  597. 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x17, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
  598. 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
  599. 0x35, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
  600. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x64, 0x64, 0x72, 0x65,
  601. 0x73, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x64, 0x64,
  602. 0x72, 0x65, 0x73, 0x73, 0x49, 0x64, 0x22, 0x17, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
  603. 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32,
  604. 0xcc, 0x04, 0x0a, 0x16, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x41, 0x64, 0x64, 0x72,
  605. 0x65, 0x73, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x70, 0x0a, 0x0d, 0x43, 0x72,
  606. 0x65, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2e, 0x2e, 0x73, 0x68,
  607. 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x73,
  608. 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64,
  609. 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x73, 0x68,
  610. 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x73,
  611. 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64,
  612. 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x73, 0x0a, 0x0e,
  613. 0x47, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2f,
  614. 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
  615. 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x64, 0x64,
  616. 0x72, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  617. 0x30, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65,
  618. 0x73, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x64,
  619. 0x64, 0x72, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  620. 0x65, 0x12, 0x67, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12,
  621. 0x2b, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65,
  622. 0x73, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x64,
  623. 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x73,
  624. 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f,
  625. 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65,
  626. 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x70, 0x0a, 0x0d, 0x55, 0x70,
  627. 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2e, 0x2e, 0x73, 0x68,
  628. 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x73,
  629. 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64,
  630. 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x73, 0x68,
  631. 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x73,
  632. 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64,
  633. 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x70, 0x0a, 0x0d,
  634. 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2e, 0x2e,
  635. 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
  636. 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41,
  637. 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e,
  638. 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
  639. 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41,
  640. 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x1a,
  641. 0x5a, 0x18, 0x2e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3b, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69,
  642. 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
  643. 0x6f, 0x33,
  644. }
  645. var (
  646. file_proto_shopping_address_service_proto_rawDescOnce sync.Once
  647. file_proto_shopping_address_service_proto_rawDescData = file_proto_shopping_address_service_proto_rawDesc
  648. )
  649. func file_proto_shopping_address_service_proto_rawDescGZIP() []byte {
  650. file_proto_shopping_address_service_proto_rawDescOnce.Do(func() {
  651. file_proto_shopping_address_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_shopping_address_service_proto_rawDescData)
  652. })
  653. return file_proto_shopping_address_service_proto_rawDescData
  654. }
  655. var file_proto_shopping_address_service_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
  656. var file_proto_shopping_address_service_proto_goTypes = []interface{}{
  657. (*CreateAddressRequest)(nil), // 0: shopping_address_service.CreateAddressRequest
  658. (*CreateAddressResponse)(nil), // 1: shopping_address_service.CreateAddressResponse
  659. (*GetAddressListRequest)(nil), // 2: shopping_address_service.GetAddressListRequest
  660. (*GetAddressListResponse)(nil), // 3: shopping_address_service.GetAddressListResponse
  661. (*GetAddressRequest)(nil), // 4: shopping_address_service.GetAddressRequest
  662. (*GetAddressResponse)(nil), // 5: shopping_address_service.GetAddressResponse
  663. (*UpdateAddressRequest)(nil), // 6: shopping_address_service.UpdateAddressRequest
  664. (*UpdateAddressResponse)(nil), // 7: shopping_address_service.UpdateAddressResponse
  665. (*DeleteAddressRequest)(nil), // 8: shopping_address_service.DeleteAddressRequest
  666. (*DeleteAddressResponse)(nil), // 9: shopping_address_service.DeleteAddressResponse
  667. (*Location)(nil), // 10: base_shopping_service.Location
  668. (*Address)(nil), // 11: base_shopping_service.Address
  669. }
  670. var file_proto_shopping_address_service_proto_depIdxs = []int32{
  671. 10, // 0: shopping_address_service.CreateAddressRequest.location:type_name -> base_shopping_service.Location
  672. 11, // 1: shopping_address_service.GetAddressListResponse.items:type_name -> base_shopping_service.Address
  673. 11, // 2: shopping_address_service.GetAddressResponse.data:type_name -> base_shopping_service.Address
  674. 10, // 3: shopping_address_service.UpdateAddressRequest.location:type_name -> base_shopping_service.Location
  675. 0, // 4: shopping_address_service.ShoppingAddressService.CreateAddress:input_type -> shopping_address_service.CreateAddressRequest
  676. 2, // 5: shopping_address_service.ShoppingAddressService.GetAddressList:input_type -> shopping_address_service.GetAddressListRequest
  677. 4, // 6: shopping_address_service.ShoppingAddressService.GetAddress:input_type -> shopping_address_service.GetAddressRequest
  678. 6, // 7: shopping_address_service.ShoppingAddressService.UpdateAddress:input_type -> shopping_address_service.UpdateAddressRequest
  679. 8, // 8: shopping_address_service.ShoppingAddressService.DeleteAddress:input_type -> shopping_address_service.DeleteAddressRequest
  680. 1, // 9: shopping_address_service.ShoppingAddressService.CreateAddress:output_type -> shopping_address_service.CreateAddressResponse
  681. 3, // 10: shopping_address_service.ShoppingAddressService.GetAddressList:output_type -> shopping_address_service.GetAddressListResponse
  682. 5, // 11: shopping_address_service.ShoppingAddressService.GetAddress:output_type -> shopping_address_service.GetAddressResponse
  683. 7, // 12: shopping_address_service.ShoppingAddressService.UpdateAddress:output_type -> shopping_address_service.UpdateAddressResponse
  684. 9, // 13: shopping_address_service.ShoppingAddressService.DeleteAddress:output_type -> shopping_address_service.DeleteAddressResponse
  685. 9, // [9:14] is the sub-list for method output_type
  686. 4, // [4:9] is the sub-list for method input_type
  687. 4, // [4:4] is the sub-list for extension type_name
  688. 4, // [4:4] is the sub-list for extension extendee
  689. 0, // [0:4] is the sub-list for field type_name
  690. }
  691. func init() { file_proto_shopping_address_service_proto_init() }
  692. func file_proto_shopping_address_service_proto_init() {
  693. if File_proto_shopping_address_service_proto != nil {
  694. return
  695. }
  696. file_proto_base_shopping_service_proto_init()
  697. if !protoimpl.UnsafeEnabled {
  698. file_proto_shopping_address_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  699. switch v := v.(*CreateAddressRequest); i {
  700. case 0:
  701. return &v.state
  702. case 1:
  703. return &v.sizeCache
  704. case 2:
  705. return &v.unknownFields
  706. default:
  707. return nil
  708. }
  709. }
  710. file_proto_shopping_address_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  711. switch v := v.(*CreateAddressResponse); i {
  712. case 0:
  713. return &v.state
  714. case 1:
  715. return &v.sizeCache
  716. case 2:
  717. return &v.unknownFields
  718. default:
  719. return nil
  720. }
  721. }
  722. file_proto_shopping_address_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  723. switch v := v.(*GetAddressListRequest); i {
  724. case 0:
  725. return &v.state
  726. case 1:
  727. return &v.sizeCache
  728. case 2:
  729. return &v.unknownFields
  730. default:
  731. return nil
  732. }
  733. }
  734. file_proto_shopping_address_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  735. switch v := v.(*GetAddressListResponse); i {
  736. case 0:
  737. return &v.state
  738. case 1:
  739. return &v.sizeCache
  740. case 2:
  741. return &v.unknownFields
  742. default:
  743. return nil
  744. }
  745. }
  746. file_proto_shopping_address_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  747. switch v := v.(*GetAddressRequest); i {
  748. case 0:
  749. return &v.state
  750. case 1:
  751. return &v.sizeCache
  752. case 2:
  753. return &v.unknownFields
  754. default:
  755. return nil
  756. }
  757. }
  758. file_proto_shopping_address_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  759. switch v := v.(*GetAddressResponse); i {
  760. case 0:
  761. return &v.state
  762. case 1:
  763. return &v.sizeCache
  764. case 2:
  765. return &v.unknownFields
  766. default:
  767. return nil
  768. }
  769. }
  770. file_proto_shopping_address_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  771. switch v := v.(*UpdateAddressRequest); i {
  772. case 0:
  773. return &v.state
  774. case 1:
  775. return &v.sizeCache
  776. case 2:
  777. return &v.unknownFields
  778. default:
  779. return nil
  780. }
  781. }
  782. file_proto_shopping_address_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  783. switch v := v.(*UpdateAddressResponse); i {
  784. case 0:
  785. return &v.state
  786. case 1:
  787. return &v.sizeCache
  788. case 2:
  789. return &v.unknownFields
  790. default:
  791. return nil
  792. }
  793. }
  794. file_proto_shopping_address_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  795. switch v := v.(*DeleteAddressRequest); i {
  796. case 0:
  797. return &v.state
  798. case 1:
  799. return &v.sizeCache
  800. case 2:
  801. return &v.unknownFields
  802. default:
  803. return nil
  804. }
  805. }
  806. file_proto_shopping_address_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  807. switch v := v.(*DeleteAddressResponse); i {
  808. case 0:
  809. return &v.state
  810. case 1:
  811. return &v.sizeCache
  812. case 2:
  813. return &v.unknownFields
  814. default:
  815. return nil
  816. }
  817. }
  818. }
  819. type x struct{}
  820. out := protoimpl.TypeBuilder{
  821. File: protoimpl.DescBuilder{
  822. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  823. RawDescriptor: file_proto_shopping_address_service_proto_rawDesc,
  824. NumEnums: 0,
  825. NumMessages: 10,
  826. NumExtensions: 0,
  827. NumServices: 1,
  828. },
  829. GoTypes: file_proto_shopping_address_service_proto_goTypes,
  830. DependencyIndexes: file_proto_shopping_address_service_proto_depIdxs,
  831. MessageInfos: file_proto_shopping_address_service_proto_msgTypes,
  832. }.Build()
  833. File_proto_shopping_address_service_proto = out.File
  834. file_proto_shopping_address_service_proto_rawDesc = nil
  835. file_proto_shopping_address_service_proto_goTypes = nil
  836. file_proto_shopping_address_service_proto_depIdxs = nil
  837. }