seat.pb.go 45 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: app/service/openplatform/ticket-item/api/grpc/v1/seat.proto
  3. package v1
  4. import proto "github.com/gogo/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "github.com/gogo/protobuf/gogoproto"
  8. import context "golang.org/x/net/context"
  9. import grpc "google.golang.org/grpc"
  10. import io "io"
  11. // Reference imports to suppress errors if they are not otherwise used.
  12. var _ = proto.Marshal
  13. var _ = fmt.Errorf
  14. var _ = math.Inf
  15. // 单个座位信息
  16. type AreaSeatInfo struct {
  17. // 座位图x
  18. X int32 `protobuf:"varint,1,opt,name=X,proto3" json:"x" validate:"min=0"`
  19. // 座位图y
  20. Y int32 `protobuf:"varint,2,opt,name=Y,proto3" json:"y" validate:"min=0"`
  21. // 座位号
  22. Label string `protobuf:"bytes,3,opt,name=Label,proto3" json:"label" validate:"min=1"`
  23. // 背景色
  24. Bgcolor string `protobuf:"bytes,4,opt,name=Bgcolor,proto3" json:"bgcolor" validate:"min=1"`
  25. // 区域ID
  26. Area int64 `protobuf:"varint,5,opt,name=Area,proto3" json:"area" validate:"min=1"`
  27. }
  28. func (m *AreaSeatInfo) Reset() { *m = AreaSeatInfo{} }
  29. func (m *AreaSeatInfo) String() string { return proto.CompactTextString(m) }
  30. func (*AreaSeatInfo) ProtoMessage() {}
  31. func (*AreaSeatInfo) Descriptor() ([]byte, []int) { return fileDescriptorSeat, []int{0} }
  32. // seatInfo接口请求
  33. type SeatInfoRequest struct {
  34. // 区域ID
  35. Area int64 `protobuf:"varint,1,opt,name=Area,proto3" json:"area" validate:"min=1"`
  36. // 座位数
  37. SeatsNum int32 `protobuf:"varint,2,opt,name=SeatsNum,proto3" json:"seats_num" validate:"min=1"`
  38. // 座位图
  39. SeatMap string `protobuf:"bytes,3,opt,name=SeatMap,proto3" json:"seat_map" validate:"min=1"`
  40. // 座位数组
  41. Seats []*AreaSeatInfo `protobuf:"bytes,4,rep,name=Seats" json:"seats" validate:"min=1"`
  42. // 坐区宽度
  43. Width int32 `protobuf:"varint,5,opt,name=Width,proto3" json:"width" validate:"min=1"`
  44. // 坐区高度
  45. Height int32 `protobuf:"varint,6,opt,name=Height,proto3" json:"height" validate:"min=1"`
  46. // 行号序列
  47. RowList string `protobuf:"bytes,7,opt,name=RowList,proto3" json:"row_list" validate:"min=1"`
  48. // 座位起始坐标
  49. SeatStart string `protobuf:"bytes,8,opt,name=SeatStart,proto3" json:"seat_start" validate:"min=1"`
  50. }
  51. func (m *SeatInfoRequest) Reset() { *m = SeatInfoRequest{} }
  52. func (m *SeatInfoRequest) String() string { return proto.CompactTextString(m) }
  53. func (*SeatInfoRequest) ProtoMessage() {}
  54. func (*SeatInfoRequest) Descriptor() ([]byte, []int) { return fileDescriptorSeat, []int{1} }
  55. // seatInfo接口返回
  56. type SeatInfoReply struct {
  57. // 操作结果
  58. Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"success"`
  59. }
  60. func (m *SeatInfoReply) Reset() { *m = SeatInfoReply{} }
  61. func (m *SeatInfoReply) String() string { return proto.CompactTextString(m) }
  62. func (*SeatInfoReply) ProtoMessage() {}
  63. func (*SeatInfoReply) Descriptor() ([]byte, []int) { return fileDescriptorSeat, []int{2} }
  64. // 座位票种
  65. type SeatPrice struct {
  66. // 座位图x
  67. X int32 `protobuf:"varint,1,opt,name=X,proto3" json:"x" validate:"min=0"`
  68. // 座位图y
  69. Y int32 `protobuf:"varint,2,opt,name=Y,proto3" json:"y" validate:"min=0"`
  70. // 票种ID
  71. Price int64 `protobuf:"varint,3,opt,name=Price,proto3" json:"price" validate:"min=1"`
  72. }
  73. func (m *SeatPrice) Reset() { *m = SeatPrice{} }
  74. func (m *SeatPrice) String() string { return proto.CompactTextString(m) }
  75. func (*SeatPrice) ProtoMessage() {}
  76. func (*SeatPrice) Descriptor() ([]byte, []int) { return fileDescriptorSeat, []int{3} }
  77. // seatStock接口请求
  78. type SeatStockRequest struct {
  79. // 场次ID
  80. Screen int64 `protobuf:"varint,1,opt,name=Screen,proto3" json:"screen" validate:"min=1"`
  81. // 区域ID
  82. Area int64 `protobuf:"varint,2,opt,name=Area,proto3" json:"area" validate:"min=1"`
  83. // 座位票种定义数组
  84. SeatInfo []*SeatPrice `protobuf:"bytes,3,rep,name=SeatInfo" json:"seatInfo" validate:"min=1"`
  85. }
  86. func (m *SeatStockRequest) Reset() { *m = SeatStockRequest{} }
  87. func (m *SeatStockRequest) String() string { return proto.CompactTextString(m) }
  88. func (*SeatStockRequest) ProtoMessage() {}
  89. func (*SeatStockRequest) Descriptor() ([]byte, []int) { return fileDescriptorSeat, []int{4} }
  90. // seatStock接口返回
  91. type SeatStockReply struct {
  92. // 操作结果
  93. Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"success"`
  94. }
  95. func (m *SeatStockReply) Reset() { *m = SeatStockReply{} }
  96. func (m *SeatStockReply) String() string { return proto.CompactTextString(m) }
  97. func (*SeatStockReply) ProtoMessage() {}
  98. func (*SeatStockReply) Descriptor() ([]byte, []int) { return fileDescriptorSeat, []int{5} }
  99. // removeSeatOrders接口请求
  100. type RemoveSeatOrdersRequest struct {
  101. // 票价ID
  102. Price int64 `protobuf:"varint,1,opt,name=Price,proto3" json:"price" validate:"min=1"`
  103. }
  104. func (m *RemoveSeatOrdersRequest) Reset() { *m = RemoveSeatOrdersRequest{} }
  105. func (m *RemoveSeatOrdersRequest) String() string { return proto.CompactTextString(m) }
  106. func (*RemoveSeatOrdersRequest) ProtoMessage() {}
  107. func (*RemoveSeatOrdersRequest) Descriptor() ([]byte, []int) { return fileDescriptorSeat, []int{6} }
  108. // removeSeatOrders接口返回
  109. type RemoveSeatOrdersReply struct {
  110. // 影响的区域
  111. Areas []int64 `protobuf:"varint,1,rep,packed,name=Areas" json:"areas"`
  112. }
  113. func (m *RemoveSeatOrdersReply) Reset() { *m = RemoveSeatOrdersReply{} }
  114. func (m *RemoveSeatOrdersReply) String() string { return proto.CompactTextString(m) }
  115. func (*RemoveSeatOrdersReply) ProtoMessage() {}
  116. func (*RemoveSeatOrdersReply) Descriptor() ([]byte, []int) { return fileDescriptorSeat, []int{7} }
  117. func init() {
  118. proto.RegisterType((*AreaSeatInfo)(nil), "ticket.service.item.v1.AreaSeatInfo")
  119. proto.RegisterType((*SeatInfoRequest)(nil), "ticket.service.item.v1.SeatInfoRequest")
  120. proto.RegisterType((*SeatInfoReply)(nil), "ticket.service.item.v1.SeatInfoReply")
  121. proto.RegisterType((*SeatPrice)(nil), "ticket.service.item.v1.SeatPrice")
  122. proto.RegisterType((*SeatStockRequest)(nil), "ticket.service.item.v1.SeatStockRequest")
  123. proto.RegisterType((*SeatStockReply)(nil), "ticket.service.item.v1.SeatStockReply")
  124. proto.RegisterType((*RemoveSeatOrdersRequest)(nil), "ticket.service.item.v1.RemoveSeatOrdersRequest")
  125. proto.RegisterType((*RemoveSeatOrdersReply)(nil), "ticket.service.item.v1.RemoveSeatOrdersReply")
  126. }
  127. // Reference imports to suppress errors if they are not otherwise used.
  128. var _ context.Context
  129. var _ grpc.ClientConn
  130. // This is a compile-time assertion to ensure that this generated file
  131. // is compatible with the grpc package it is being compiled against.
  132. const _ = grpc.SupportPackageIsVersion4
  133. // Client API for Seat service
  134. type SeatClient interface {
  135. SeatInfo(ctx context.Context, in *SeatInfoRequest, opts ...grpc.CallOption) (*SeatInfoReply, error)
  136. SeatStock(ctx context.Context, in *SeatStockRequest, opts ...grpc.CallOption) (*SeatStockReply, error)
  137. RemoveSeatOrders(ctx context.Context, in *RemoveSeatOrdersRequest, opts ...grpc.CallOption) (*RemoveSeatOrdersReply, error)
  138. }
  139. type seatClient struct {
  140. cc *grpc.ClientConn
  141. }
  142. func NewSeatClient(cc *grpc.ClientConn) SeatClient {
  143. return &seatClient{cc}
  144. }
  145. func (c *seatClient) SeatInfo(ctx context.Context, in *SeatInfoRequest, opts ...grpc.CallOption) (*SeatInfoReply, error) {
  146. out := new(SeatInfoReply)
  147. err := grpc.Invoke(ctx, "/ticket.service.item.v1.Seat/SeatInfo", in, out, c.cc, opts...)
  148. if err != nil {
  149. return nil, err
  150. }
  151. return out, nil
  152. }
  153. func (c *seatClient) SeatStock(ctx context.Context, in *SeatStockRequest, opts ...grpc.CallOption) (*SeatStockReply, error) {
  154. out := new(SeatStockReply)
  155. err := grpc.Invoke(ctx, "/ticket.service.item.v1.Seat/SeatStock", in, out, c.cc, opts...)
  156. if err != nil {
  157. return nil, err
  158. }
  159. return out, nil
  160. }
  161. func (c *seatClient) RemoveSeatOrders(ctx context.Context, in *RemoveSeatOrdersRequest, opts ...grpc.CallOption) (*RemoveSeatOrdersReply, error) {
  162. out := new(RemoveSeatOrdersReply)
  163. err := grpc.Invoke(ctx, "/ticket.service.item.v1.Seat/RemoveSeatOrders", in, out, c.cc, opts...)
  164. if err != nil {
  165. return nil, err
  166. }
  167. return out, nil
  168. }
  169. // Server API for Seat service
  170. type SeatServer interface {
  171. SeatInfo(context.Context, *SeatInfoRequest) (*SeatInfoReply, error)
  172. SeatStock(context.Context, *SeatStockRequest) (*SeatStockReply, error)
  173. RemoveSeatOrders(context.Context, *RemoveSeatOrdersRequest) (*RemoveSeatOrdersReply, error)
  174. }
  175. func RegisterSeatServer(s *grpc.Server, srv SeatServer) {
  176. s.RegisterService(&_Seat_serviceDesc, srv)
  177. }
  178. func _Seat_SeatInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  179. in := new(SeatInfoRequest)
  180. if err := dec(in); err != nil {
  181. return nil, err
  182. }
  183. if interceptor == nil {
  184. return srv.(SeatServer).SeatInfo(ctx, in)
  185. }
  186. info := &grpc.UnaryServerInfo{
  187. Server: srv,
  188. FullMethod: "/ticket.service.item.v1.Seat/SeatInfo",
  189. }
  190. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  191. return srv.(SeatServer).SeatInfo(ctx, req.(*SeatInfoRequest))
  192. }
  193. return interceptor(ctx, in, info, handler)
  194. }
  195. func _Seat_SeatStock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  196. in := new(SeatStockRequest)
  197. if err := dec(in); err != nil {
  198. return nil, err
  199. }
  200. if interceptor == nil {
  201. return srv.(SeatServer).SeatStock(ctx, in)
  202. }
  203. info := &grpc.UnaryServerInfo{
  204. Server: srv,
  205. FullMethod: "/ticket.service.item.v1.Seat/SeatStock",
  206. }
  207. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  208. return srv.(SeatServer).SeatStock(ctx, req.(*SeatStockRequest))
  209. }
  210. return interceptor(ctx, in, info, handler)
  211. }
  212. func _Seat_RemoveSeatOrders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  213. in := new(RemoveSeatOrdersRequest)
  214. if err := dec(in); err != nil {
  215. return nil, err
  216. }
  217. if interceptor == nil {
  218. return srv.(SeatServer).RemoveSeatOrders(ctx, in)
  219. }
  220. info := &grpc.UnaryServerInfo{
  221. Server: srv,
  222. FullMethod: "/ticket.service.item.v1.Seat/RemoveSeatOrders",
  223. }
  224. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  225. return srv.(SeatServer).RemoveSeatOrders(ctx, req.(*RemoveSeatOrdersRequest))
  226. }
  227. return interceptor(ctx, in, info, handler)
  228. }
  229. var _Seat_serviceDesc = grpc.ServiceDesc{
  230. ServiceName: "ticket.service.item.v1.Seat",
  231. HandlerType: (*SeatServer)(nil),
  232. Methods: []grpc.MethodDesc{
  233. {
  234. MethodName: "SeatInfo",
  235. Handler: _Seat_SeatInfo_Handler,
  236. },
  237. {
  238. MethodName: "SeatStock",
  239. Handler: _Seat_SeatStock_Handler,
  240. },
  241. {
  242. MethodName: "RemoveSeatOrders",
  243. Handler: _Seat_RemoveSeatOrders_Handler,
  244. },
  245. },
  246. Streams: []grpc.StreamDesc{},
  247. Metadata: "app/service/openplatform/ticket-item/api/grpc/v1/seat.proto",
  248. }
  249. func (m *AreaSeatInfo) Marshal() (dAtA []byte, err error) {
  250. size := m.Size()
  251. dAtA = make([]byte, size)
  252. n, err := m.MarshalTo(dAtA)
  253. if err != nil {
  254. return nil, err
  255. }
  256. return dAtA[:n], nil
  257. }
  258. func (m *AreaSeatInfo) MarshalTo(dAtA []byte) (int, error) {
  259. var i int
  260. _ = i
  261. var l int
  262. _ = l
  263. if m.X != 0 {
  264. dAtA[i] = 0x8
  265. i++
  266. i = encodeVarintSeat(dAtA, i, uint64(m.X))
  267. }
  268. if m.Y != 0 {
  269. dAtA[i] = 0x10
  270. i++
  271. i = encodeVarintSeat(dAtA, i, uint64(m.Y))
  272. }
  273. if len(m.Label) > 0 {
  274. dAtA[i] = 0x1a
  275. i++
  276. i = encodeVarintSeat(dAtA, i, uint64(len(m.Label)))
  277. i += copy(dAtA[i:], m.Label)
  278. }
  279. if len(m.Bgcolor) > 0 {
  280. dAtA[i] = 0x22
  281. i++
  282. i = encodeVarintSeat(dAtA, i, uint64(len(m.Bgcolor)))
  283. i += copy(dAtA[i:], m.Bgcolor)
  284. }
  285. if m.Area != 0 {
  286. dAtA[i] = 0x28
  287. i++
  288. i = encodeVarintSeat(dAtA, i, uint64(m.Area))
  289. }
  290. return i, nil
  291. }
  292. func (m *SeatInfoRequest) Marshal() (dAtA []byte, err error) {
  293. size := m.Size()
  294. dAtA = make([]byte, size)
  295. n, err := m.MarshalTo(dAtA)
  296. if err != nil {
  297. return nil, err
  298. }
  299. return dAtA[:n], nil
  300. }
  301. func (m *SeatInfoRequest) MarshalTo(dAtA []byte) (int, error) {
  302. var i int
  303. _ = i
  304. var l int
  305. _ = l
  306. if m.Area != 0 {
  307. dAtA[i] = 0x8
  308. i++
  309. i = encodeVarintSeat(dAtA, i, uint64(m.Area))
  310. }
  311. if m.SeatsNum != 0 {
  312. dAtA[i] = 0x10
  313. i++
  314. i = encodeVarintSeat(dAtA, i, uint64(m.SeatsNum))
  315. }
  316. if len(m.SeatMap) > 0 {
  317. dAtA[i] = 0x1a
  318. i++
  319. i = encodeVarintSeat(dAtA, i, uint64(len(m.SeatMap)))
  320. i += copy(dAtA[i:], m.SeatMap)
  321. }
  322. if len(m.Seats) > 0 {
  323. for _, msg := range m.Seats {
  324. dAtA[i] = 0x22
  325. i++
  326. i = encodeVarintSeat(dAtA, i, uint64(msg.Size()))
  327. n, err := msg.MarshalTo(dAtA[i:])
  328. if err != nil {
  329. return 0, err
  330. }
  331. i += n
  332. }
  333. }
  334. if m.Width != 0 {
  335. dAtA[i] = 0x28
  336. i++
  337. i = encodeVarintSeat(dAtA, i, uint64(m.Width))
  338. }
  339. if m.Height != 0 {
  340. dAtA[i] = 0x30
  341. i++
  342. i = encodeVarintSeat(dAtA, i, uint64(m.Height))
  343. }
  344. if len(m.RowList) > 0 {
  345. dAtA[i] = 0x3a
  346. i++
  347. i = encodeVarintSeat(dAtA, i, uint64(len(m.RowList)))
  348. i += copy(dAtA[i:], m.RowList)
  349. }
  350. if len(m.SeatStart) > 0 {
  351. dAtA[i] = 0x42
  352. i++
  353. i = encodeVarintSeat(dAtA, i, uint64(len(m.SeatStart)))
  354. i += copy(dAtA[i:], m.SeatStart)
  355. }
  356. return i, nil
  357. }
  358. func (m *SeatInfoReply) Marshal() (dAtA []byte, err error) {
  359. size := m.Size()
  360. dAtA = make([]byte, size)
  361. n, err := m.MarshalTo(dAtA)
  362. if err != nil {
  363. return nil, err
  364. }
  365. return dAtA[:n], nil
  366. }
  367. func (m *SeatInfoReply) MarshalTo(dAtA []byte) (int, error) {
  368. var i int
  369. _ = i
  370. var l int
  371. _ = l
  372. if m.Success {
  373. dAtA[i] = 0x8
  374. i++
  375. if m.Success {
  376. dAtA[i] = 1
  377. } else {
  378. dAtA[i] = 0
  379. }
  380. i++
  381. }
  382. return i, nil
  383. }
  384. func (m *SeatPrice) Marshal() (dAtA []byte, err error) {
  385. size := m.Size()
  386. dAtA = make([]byte, size)
  387. n, err := m.MarshalTo(dAtA)
  388. if err != nil {
  389. return nil, err
  390. }
  391. return dAtA[:n], nil
  392. }
  393. func (m *SeatPrice) MarshalTo(dAtA []byte) (int, error) {
  394. var i int
  395. _ = i
  396. var l int
  397. _ = l
  398. if m.X != 0 {
  399. dAtA[i] = 0x8
  400. i++
  401. i = encodeVarintSeat(dAtA, i, uint64(m.X))
  402. }
  403. if m.Y != 0 {
  404. dAtA[i] = 0x10
  405. i++
  406. i = encodeVarintSeat(dAtA, i, uint64(m.Y))
  407. }
  408. if m.Price != 0 {
  409. dAtA[i] = 0x18
  410. i++
  411. i = encodeVarintSeat(dAtA, i, uint64(m.Price))
  412. }
  413. return i, nil
  414. }
  415. func (m *SeatStockRequest) Marshal() (dAtA []byte, err error) {
  416. size := m.Size()
  417. dAtA = make([]byte, size)
  418. n, err := m.MarshalTo(dAtA)
  419. if err != nil {
  420. return nil, err
  421. }
  422. return dAtA[:n], nil
  423. }
  424. func (m *SeatStockRequest) MarshalTo(dAtA []byte) (int, error) {
  425. var i int
  426. _ = i
  427. var l int
  428. _ = l
  429. if m.Screen != 0 {
  430. dAtA[i] = 0x8
  431. i++
  432. i = encodeVarintSeat(dAtA, i, uint64(m.Screen))
  433. }
  434. if m.Area != 0 {
  435. dAtA[i] = 0x10
  436. i++
  437. i = encodeVarintSeat(dAtA, i, uint64(m.Area))
  438. }
  439. if len(m.SeatInfo) > 0 {
  440. for _, msg := range m.SeatInfo {
  441. dAtA[i] = 0x1a
  442. i++
  443. i = encodeVarintSeat(dAtA, i, uint64(msg.Size()))
  444. n, err := msg.MarshalTo(dAtA[i:])
  445. if err != nil {
  446. return 0, err
  447. }
  448. i += n
  449. }
  450. }
  451. return i, nil
  452. }
  453. func (m *SeatStockReply) Marshal() (dAtA []byte, err error) {
  454. size := m.Size()
  455. dAtA = make([]byte, size)
  456. n, err := m.MarshalTo(dAtA)
  457. if err != nil {
  458. return nil, err
  459. }
  460. return dAtA[:n], nil
  461. }
  462. func (m *SeatStockReply) MarshalTo(dAtA []byte) (int, error) {
  463. var i int
  464. _ = i
  465. var l int
  466. _ = l
  467. if m.Success {
  468. dAtA[i] = 0x8
  469. i++
  470. if m.Success {
  471. dAtA[i] = 1
  472. } else {
  473. dAtA[i] = 0
  474. }
  475. i++
  476. }
  477. return i, nil
  478. }
  479. func (m *RemoveSeatOrdersRequest) Marshal() (dAtA []byte, err error) {
  480. size := m.Size()
  481. dAtA = make([]byte, size)
  482. n, err := m.MarshalTo(dAtA)
  483. if err != nil {
  484. return nil, err
  485. }
  486. return dAtA[:n], nil
  487. }
  488. func (m *RemoveSeatOrdersRequest) MarshalTo(dAtA []byte) (int, error) {
  489. var i int
  490. _ = i
  491. var l int
  492. _ = l
  493. if m.Price != 0 {
  494. dAtA[i] = 0x8
  495. i++
  496. i = encodeVarintSeat(dAtA, i, uint64(m.Price))
  497. }
  498. return i, nil
  499. }
  500. func (m *RemoveSeatOrdersReply) Marshal() (dAtA []byte, err error) {
  501. size := m.Size()
  502. dAtA = make([]byte, size)
  503. n, err := m.MarshalTo(dAtA)
  504. if err != nil {
  505. return nil, err
  506. }
  507. return dAtA[:n], nil
  508. }
  509. func (m *RemoveSeatOrdersReply) MarshalTo(dAtA []byte) (int, error) {
  510. var i int
  511. _ = i
  512. var l int
  513. _ = l
  514. if len(m.Areas) > 0 {
  515. dAtA2 := make([]byte, len(m.Areas)*10)
  516. var j1 int
  517. for _, num1 := range m.Areas {
  518. num := uint64(num1)
  519. for num >= 1<<7 {
  520. dAtA2[j1] = uint8(uint64(num)&0x7f | 0x80)
  521. num >>= 7
  522. j1++
  523. }
  524. dAtA2[j1] = uint8(num)
  525. j1++
  526. }
  527. dAtA[i] = 0xa
  528. i++
  529. i = encodeVarintSeat(dAtA, i, uint64(j1))
  530. i += copy(dAtA[i:], dAtA2[:j1])
  531. }
  532. return i, nil
  533. }
  534. func encodeVarintSeat(dAtA []byte, offset int, v uint64) int {
  535. for v >= 1<<7 {
  536. dAtA[offset] = uint8(v&0x7f | 0x80)
  537. v >>= 7
  538. offset++
  539. }
  540. dAtA[offset] = uint8(v)
  541. return offset + 1
  542. }
  543. func (m *AreaSeatInfo) Size() (n int) {
  544. var l int
  545. _ = l
  546. if m.X != 0 {
  547. n += 1 + sovSeat(uint64(m.X))
  548. }
  549. if m.Y != 0 {
  550. n += 1 + sovSeat(uint64(m.Y))
  551. }
  552. l = len(m.Label)
  553. if l > 0 {
  554. n += 1 + l + sovSeat(uint64(l))
  555. }
  556. l = len(m.Bgcolor)
  557. if l > 0 {
  558. n += 1 + l + sovSeat(uint64(l))
  559. }
  560. if m.Area != 0 {
  561. n += 1 + sovSeat(uint64(m.Area))
  562. }
  563. return n
  564. }
  565. func (m *SeatInfoRequest) Size() (n int) {
  566. var l int
  567. _ = l
  568. if m.Area != 0 {
  569. n += 1 + sovSeat(uint64(m.Area))
  570. }
  571. if m.SeatsNum != 0 {
  572. n += 1 + sovSeat(uint64(m.SeatsNum))
  573. }
  574. l = len(m.SeatMap)
  575. if l > 0 {
  576. n += 1 + l + sovSeat(uint64(l))
  577. }
  578. if len(m.Seats) > 0 {
  579. for _, e := range m.Seats {
  580. l = e.Size()
  581. n += 1 + l + sovSeat(uint64(l))
  582. }
  583. }
  584. if m.Width != 0 {
  585. n += 1 + sovSeat(uint64(m.Width))
  586. }
  587. if m.Height != 0 {
  588. n += 1 + sovSeat(uint64(m.Height))
  589. }
  590. l = len(m.RowList)
  591. if l > 0 {
  592. n += 1 + l + sovSeat(uint64(l))
  593. }
  594. l = len(m.SeatStart)
  595. if l > 0 {
  596. n += 1 + l + sovSeat(uint64(l))
  597. }
  598. return n
  599. }
  600. func (m *SeatInfoReply) Size() (n int) {
  601. var l int
  602. _ = l
  603. if m.Success {
  604. n += 2
  605. }
  606. return n
  607. }
  608. func (m *SeatPrice) Size() (n int) {
  609. var l int
  610. _ = l
  611. if m.X != 0 {
  612. n += 1 + sovSeat(uint64(m.X))
  613. }
  614. if m.Y != 0 {
  615. n += 1 + sovSeat(uint64(m.Y))
  616. }
  617. if m.Price != 0 {
  618. n += 1 + sovSeat(uint64(m.Price))
  619. }
  620. return n
  621. }
  622. func (m *SeatStockRequest) Size() (n int) {
  623. var l int
  624. _ = l
  625. if m.Screen != 0 {
  626. n += 1 + sovSeat(uint64(m.Screen))
  627. }
  628. if m.Area != 0 {
  629. n += 1 + sovSeat(uint64(m.Area))
  630. }
  631. if len(m.SeatInfo) > 0 {
  632. for _, e := range m.SeatInfo {
  633. l = e.Size()
  634. n += 1 + l + sovSeat(uint64(l))
  635. }
  636. }
  637. return n
  638. }
  639. func (m *SeatStockReply) Size() (n int) {
  640. var l int
  641. _ = l
  642. if m.Success {
  643. n += 2
  644. }
  645. return n
  646. }
  647. func (m *RemoveSeatOrdersRequest) Size() (n int) {
  648. var l int
  649. _ = l
  650. if m.Price != 0 {
  651. n += 1 + sovSeat(uint64(m.Price))
  652. }
  653. return n
  654. }
  655. func (m *RemoveSeatOrdersReply) Size() (n int) {
  656. var l int
  657. _ = l
  658. if len(m.Areas) > 0 {
  659. l = 0
  660. for _, e := range m.Areas {
  661. l += sovSeat(uint64(e))
  662. }
  663. n += 1 + sovSeat(uint64(l)) + l
  664. }
  665. return n
  666. }
  667. func sovSeat(x uint64) (n int) {
  668. for {
  669. n++
  670. x >>= 7
  671. if x == 0 {
  672. break
  673. }
  674. }
  675. return n
  676. }
  677. func sozSeat(x uint64) (n int) {
  678. return sovSeat(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  679. }
  680. func (m *AreaSeatInfo) Unmarshal(dAtA []byte) error {
  681. l := len(dAtA)
  682. iNdEx := 0
  683. for iNdEx < l {
  684. preIndex := iNdEx
  685. var wire uint64
  686. for shift := uint(0); ; shift += 7 {
  687. if shift >= 64 {
  688. return ErrIntOverflowSeat
  689. }
  690. if iNdEx >= l {
  691. return io.ErrUnexpectedEOF
  692. }
  693. b := dAtA[iNdEx]
  694. iNdEx++
  695. wire |= (uint64(b) & 0x7F) << shift
  696. if b < 0x80 {
  697. break
  698. }
  699. }
  700. fieldNum := int32(wire >> 3)
  701. wireType := int(wire & 0x7)
  702. if wireType == 4 {
  703. return fmt.Errorf("proto: AreaSeatInfo: wiretype end group for non-group")
  704. }
  705. if fieldNum <= 0 {
  706. return fmt.Errorf("proto: AreaSeatInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  707. }
  708. switch fieldNum {
  709. case 1:
  710. if wireType != 0 {
  711. return fmt.Errorf("proto: wrong wireType = %d for field X", wireType)
  712. }
  713. m.X = 0
  714. for shift := uint(0); ; shift += 7 {
  715. if shift >= 64 {
  716. return ErrIntOverflowSeat
  717. }
  718. if iNdEx >= l {
  719. return io.ErrUnexpectedEOF
  720. }
  721. b := dAtA[iNdEx]
  722. iNdEx++
  723. m.X |= (int32(b) & 0x7F) << shift
  724. if b < 0x80 {
  725. break
  726. }
  727. }
  728. case 2:
  729. if wireType != 0 {
  730. return fmt.Errorf("proto: wrong wireType = %d for field Y", wireType)
  731. }
  732. m.Y = 0
  733. for shift := uint(0); ; shift += 7 {
  734. if shift >= 64 {
  735. return ErrIntOverflowSeat
  736. }
  737. if iNdEx >= l {
  738. return io.ErrUnexpectedEOF
  739. }
  740. b := dAtA[iNdEx]
  741. iNdEx++
  742. m.Y |= (int32(b) & 0x7F) << shift
  743. if b < 0x80 {
  744. break
  745. }
  746. }
  747. case 3:
  748. if wireType != 2 {
  749. return fmt.Errorf("proto: wrong wireType = %d for field Label", wireType)
  750. }
  751. var stringLen uint64
  752. for shift := uint(0); ; shift += 7 {
  753. if shift >= 64 {
  754. return ErrIntOverflowSeat
  755. }
  756. if iNdEx >= l {
  757. return io.ErrUnexpectedEOF
  758. }
  759. b := dAtA[iNdEx]
  760. iNdEx++
  761. stringLen |= (uint64(b) & 0x7F) << shift
  762. if b < 0x80 {
  763. break
  764. }
  765. }
  766. intStringLen := int(stringLen)
  767. if intStringLen < 0 {
  768. return ErrInvalidLengthSeat
  769. }
  770. postIndex := iNdEx + intStringLen
  771. if postIndex > l {
  772. return io.ErrUnexpectedEOF
  773. }
  774. m.Label = string(dAtA[iNdEx:postIndex])
  775. iNdEx = postIndex
  776. case 4:
  777. if wireType != 2 {
  778. return fmt.Errorf("proto: wrong wireType = %d for field Bgcolor", wireType)
  779. }
  780. var stringLen uint64
  781. for shift := uint(0); ; shift += 7 {
  782. if shift >= 64 {
  783. return ErrIntOverflowSeat
  784. }
  785. if iNdEx >= l {
  786. return io.ErrUnexpectedEOF
  787. }
  788. b := dAtA[iNdEx]
  789. iNdEx++
  790. stringLen |= (uint64(b) & 0x7F) << shift
  791. if b < 0x80 {
  792. break
  793. }
  794. }
  795. intStringLen := int(stringLen)
  796. if intStringLen < 0 {
  797. return ErrInvalidLengthSeat
  798. }
  799. postIndex := iNdEx + intStringLen
  800. if postIndex > l {
  801. return io.ErrUnexpectedEOF
  802. }
  803. m.Bgcolor = string(dAtA[iNdEx:postIndex])
  804. iNdEx = postIndex
  805. case 5:
  806. if wireType != 0 {
  807. return fmt.Errorf("proto: wrong wireType = %d for field Area", wireType)
  808. }
  809. m.Area = 0
  810. for shift := uint(0); ; shift += 7 {
  811. if shift >= 64 {
  812. return ErrIntOverflowSeat
  813. }
  814. if iNdEx >= l {
  815. return io.ErrUnexpectedEOF
  816. }
  817. b := dAtA[iNdEx]
  818. iNdEx++
  819. m.Area |= (int64(b) & 0x7F) << shift
  820. if b < 0x80 {
  821. break
  822. }
  823. }
  824. default:
  825. iNdEx = preIndex
  826. skippy, err := skipSeat(dAtA[iNdEx:])
  827. if err != nil {
  828. return err
  829. }
  830. if skippy < 0 {
  831. return ErrInvalidLengthSeat
  832. }
  833. if (iNdEx + skippy) > l {
  834. return io.ErrUnexpectedEOF
  835. }
  836. iNdEx += skippy
  837. }
  838. }
  839. if iNdEx > l {
  840. return io.ErrUnexpectedEOF
  841. }
  842. return nil
  843. }
  844. func (m *SeatInfoRequest) Unmarshal(dAtA []byte) error {
  845. l := len(dAtA)
  846. iNdEx := 0
  847. for iNdEx < l {
  848. preIndex := iNdEx
  849. var wire uint64
  850. for shift := uint(0); ; shift += 7 {
  851. if shift >= 64 {
  852. return ErrIntOverflowSeat
  853. }
  854. if iNdEx >= l {
  855. return io.ErrUnexpectedEOF
  856. }
  857. b := dAtA[iNdEx]
  858. iNdEx++
  859. wire |= (uint64(b) & 0x7F) << shift
  860. if b < 0x80 {
  861. break
  862. }
  863. }
  864. fieldNum := int32(wire >> 3)
  865. wireType := int(wire & 0x7)
  866. if wireType == 4 {
  867. return fmt.Errorf("proto: SeatInfoRequest: wiretype end group for non-group")
  868. }
  869. if fieldNum <= 0 {
  870. return fmt.Errorf("proto: SeatInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  871. }
  872. switch fieldNum {
  873. case 1:
  874. if wireType != 0 {
  875. return fmt.Errorf("proto: wrong wireType = %d for field Area", wireType)
  876. }
  877. m.Area = 0
  878. for shift := uint(0); ; shift += 7 {
  879. if shift >= 64 {
  880. return ErrIntOverflowSeat
  881. }
  882. if iNdEx >= l {
  883. return io.ErrUnexpectedEOF
  884. }
  885. b := dAtA[iNdEx]
  886. iNdEx++
  887. m.Area |= (int64(b) & 0x7F) << shift
  888. if b < 0x80 {
  889. break
  890. }
  891. }
  892. case 2:
  893. if wireType != 0 {
  894. return fmt.Errorf("proto: wrong wireType = %d for field SeatsNum", wireType)
  895. }
  896. m.SeatsNum = 0
  897. for shift := uint(0); ; shift += 7 {
  898. if shift >= 64 {
  899. return ErrIntOverflowSeat
  900. }
  901. if iNdEx >= l {
  902. return io.ErrUnexpectedEOF
  903. }
  904. b := dAtA[iNdEx]
  905. iNdEx++
  906. m.SeatsNum |= (int32(b) & 0x7F) << shift
  907. if b < 0x80 {
  908. break
  909. }
  910. }
  911. case 3:
  912. if wireType != 2 {
  913. return fmt.Errorf("proto: wrong wireType = %d for field SeatMap", wireType)
  914. }
  915. var stringLen uint64
  916. for shift := uint(0); ; shift += 7 {
  917. if shift >= 64 {
  918. return ErrIntOverflowSeat
  919. }
  920. if iNdEx >= l {
  921. return io.ErrUnexpectedEOF
  922. }
  923. b := dAtA[iNdEx]
  924. iNdEx++
  925. stringLen |= (uint64(b) & 0x7F) << shift
  926. if b < 0x80 {
  927. break
  928. }
  929. }
  930. intStringLen := int(stringLen)
  931. if intStringLen < 0 {
  932. return ErrInvalidLengthSeat
  933. }
  934. postIndex := iNdEx + intStringLen
  935. if postIndex > l {
  936. return io.ErrUnexpectedEOF
  937. }
  938. m.SeatMap = string(dAtA[iNdEx:postIndex])
  939. iNdEx = postIndex
  940. case 4:
  941. if wireType != 2 {
  942. return fmt.Errorf("proto: wrong wireType = %d for field Seats", wireType)
  943. }
  944. var msglen int
  945. for shift := uint(0); ; shift += 7 {
  946. if shift >= 64 {
  947. return ErrIntOverflowSeat
  948. }
  949. if iNdEx >= l {
  950. return io.ErrUnexpectedEOF
  951. }
  952. b := dAtA[iNdEx]
  953. iNdEx++
  954. msglen |= (int(b) & 0x7F) << shift
  955. if b < 0x80 {
  956. break
  957. }
  958. }
  959. if msglen < 0 {
  960. return ErrInvalidLengthSeat
  961. }
  962. postIndex := iNdEx + msglen
  963. if postIndex > l {
  964. return io.ErrUnexpectedEOF
  965. }
  966. m.Seats = append(m.Seats, &AreaSeatInfo{})
  967. if err := m.Seats[len(m.Seats)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  968. return err
  969. }
  970. iNdEx = postIndex
  971. case 5:
  972. if wireType != 0 {
  973. return fmt.Errorf("proto: wrong wireType = %d for field Width", wireType)
  974. }
  975. m.Width = 0
  976. for shift := uint(0); ; shift += 7 {
  977. if shift >= 64 {
  978. return ErrIntOverflowSeat
  979. }
  980. if iNdEx >= l {
  981. return io.ErrUnexpectedEOF
  982. }
  983. b := dAtA[iNdEx]
  984. iNdEx++
  985. m.Width |= (int32(b) & 0x7F) << shift
  986. if b < 0x80 {
  987. break
  988. }
  989. }
  990. case 6:
  991. if wireType != 0 {
  992. return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
  993. }
  994. m.Height = 0
  995. for shift := uint(0); ; shift += 7 {
  996. if shift >= 64 {
  997. return ErrIntOverflowSeat
  998. }
  999. if iNdEx >= l {
  1000. return io.ErrUnexpectedEOF
  1001. }
  1002. b := dAtA[iNdEx]
  1003. iNdEx++
  1004. m.Height |= (int32(b) & 0x7F) << shift
  1005. if b < 0x80 {
  1006. break
  1007. }
  1008. }
  1009. case 7:
  1010. if wireType != 2 {
  1011. return fmt.Errorf("proto: wrong wireType = %d for field RowList", wireType)
  1012. }
  1013. var stringLen uint64
  1014. for shift := uint(0); ; shift += 7 {
  1015. if shift >= 64 {
  1016. return ErrIntOverflowSeat
  1017. }
  1018. if iNdEx >= l {
  1019. return io.ErrUnexpectedEOF
  1020. }
  1021. b := dAtA[iNdEx]
  1022. iNdEx++
  1023. stringLen |= (uint64(b) & 0x7F) << shift
  1024. if b < 0x80 {
  1025. break
  1026. }
  1027. }
  1028. intStringLen := int(stringLen)
  1029. if intStringLen < 0 {
  1030. return ErrInvalidLengthSeat
  1031. }
  1032. postIndex := iNdEx + intStringLen
  1033. if postIndex > l {
  1034. return io.ErrUnexpectedEOF
  1035. }
  1036. m.RowList = string(dAtA[iNdEx:postIndex])
  1037. iNdEx = postIndex
  1038. case 8:
  1039. if wireType != 2 {
  1040. return fmt.Errorf("proto: wrong wireType = %d for field SeatStart", wireType)
  1041. }
  1042. var stringLen uint64
  1043. for shift := uint(0); ; shift += 7 {
  1044. if shift >= 64 {
  1045. return ErrIntOverflowSeat
  1046. }
  1047. if iNdEx >= l {
  1048. return io.ErrUnexpectedEOF
  1049. }
  1050. b := dAtA[iNdEx]
  1051. iNdEx++
  1052. stringLen |= (uint64(b) & 0x7F) << shift
  1053. if b < 0x80 {
  1054. break
  1055. }
  1056. }
  1057. intStringLen := int(stringLen)
  1058. if intStringLen < 0 {
  1059. return ErrInvalidLengthSeat
  1060. }
  1061. postIndex := iNdEx + intStringLen
  1062. if postIndex > l {
  1063. return io.ErrUnexpectedEOF
  1064. }
  1065. m.SeatStart = string(dAtA[iNdEx:postIndex])
  1066. iNdEx = postIndex
  1067. default:
  1068. iNdEx = preIndex
  1069. skippy, err := skipSeat(dAtA[iNdEx:])
  1070. if err != nil {
  1071. return err
  1072. }
  1073. if skippy < 0 {
  1074. return ErrInvalidLengthSeat
  1075. }
  1076. if (iNdEx + skippy) > l {
  1077. return io.ErrUnexpectedEOF
  1078. }
  1079. iNdEx += skippy
  1080. }
  1081. }
  1082. if iNdEx > l {
  1083. return io.ErrUnexpectedEOF
  1084. }
  1085. return nil
  1086. }
  1087. func (m *SeatInfoReply) Unmarshal(dAtA []byte) error {
  1088. l := len(dAtA)
  1089. iNdEx := 0
  1090. for iNdEx < l {
  1091. preIndex := iNdEx
  1092. var wire uint64
  1093. for shift := uint(0); ; shift += 7 {
  1094. if shift >= 64 {
  1095. return ErrIntOverflowSeat
  1096. }
  1097. if iNdEx >= l {
  1098. return io.ErrUnexpectedEOF
  1099. }
  1100. b := dAtA[iNdEx]
  1101. iNdEx++
  1102. wire |= (uint64(b) & 0x7F) << shift
  1103. if b < 0x80 {
  1104. break
  1105. }
  1106. }
  1107. fieldNum := int32(wire >> 3)
  1108. wireType := int(wire & 0x7)
  1109. if wireType == 4 {
  1110. return fmt.Errorf("proto: SeatInfoReply: wiretype end group for non-group")
  1111. }
  1112. if fieldNum <= 0 {
  1113. return fmt.Errorf("proto: SeatInfoReply: illegal tag %d (wire type %d)", fieldNum, wire)
  1114. }
  1115. switch fieldNum {
  1116. case 1:
  1117. if wireType != 0 {
  1118. return fmt.Errorf("proto: wrong wireType = %d for field Success", wireType)
  1119. }
  1120. var v int
  1121. for shift := uint(0); ; shift += 7 {
  1122. if shift >= 64 {
  1123. return ErrIntOverflowSeat
  1124. }
  1125. if iNdEx >= l {
  1126. return io.ErrUnexpectedEOF
  1127. }
  1128. b := dAtA[iNdEx]
  1129. iNdEx++
  1130. v |= (int(b) & 0x7F) << shift
  1131. if b < 0x80 {
  1132. break
  1133. }
  1134. }
  1135. m.Success = bool(v != 0)
  1136. default:
  1137. iNdEx = preIndex
  1138. skippy, err := skipSeat(dAtA[iNdEx:])
  1139. if err != nil {
  1140. return err
  1141. }
  1142. if skippy < 0 {
  1143. return ErrInvalidLengthSeat
  1144. }
  1145. if (iNdEx + skippy) > l {
  1146. return io.ErrUnexpectedEOF
  1147. }
  1148. iNdEx += skippy
  1149. }
  1150. }
  1151. if iNdEx > l {
  1152. return io.ErrUnexpectedEOF
  1153. }
  1154. return nil
  1155. }
  1156. func (m *SeatPrice) Unmarshal(dAtA []byte) error {
  1157. l := len(dAtA)
  1158. iNdEx := 0
  1159. for iNdEx < l {
  1160. preIndex := iNdEx
  1161. var wire uint64
  1162. for shift := uint(0); ; shift += 7 {
  1163. if shift >= 64 {
  1164. return ErrIntOverflowSeat
  1165. }
  1166. if iNdEx >= l {
  1167. return io.ErrUnexpectedEOF
  1168. }
  1169. b := dAtA[iNdEx]
  1170. iNdEx++
  1171. wire |= (uint64(b) & 0x7F) << shift
  1172. if b < 0x80 {
  1173. break
  1174. }
  1175. }
  1176. fieldNum := int32(wire >> 3)
  1177. wireType := int(wire & 0x7)
  1178. if wireType == 4 {
  1179. return fmt.Errorf("proto: SeatPrice: wiretype end group for non-group")
  1180. }
  1181. if fieldNum <= 0 {
  1182. return fmt.Errorf("proto: SeatPrice: illegal tag %d (wire type %d)", fieldNum, wire)
  1183. }
  1184. switch fieldNum {
  1185. case 1:
  1186. if wireType != 0 {
  1187. return fmt.Errorf("proto: wrong wireType = %d for field X", wireType)
  1188. }
  1189. m.X = 0
  1190. for shift := uint(0); ; shift += 7 {
  1191. if shift >= 64 {
  1192. return ErrIntOverflowSeat
  1193. }
  1194. if iNdEx >= l {
  1195. return io.ErrUnexpectedEOF
  1196. }
  1197. b := dAtA[iNdEx]
  1198. iNdEx++
  1199. m.X |= (int32(b) & 0x7F) << shift
  1200. if b < 0x80 {
  1201. break
  1202. }
  1203. }
  1204. case 2:
  1205. if wireType != 0 {
  1206. return fmt.Errorf("proto: wrong wireType = %d for field Y", wireType)
  1207. }
  1208. m.Y = 0
  1209. for shift := uint(0); ; shift += 7 {
  1210. if shift >= 64 {
  1211. return ErrIntOverflowSeat
  1212. }
  1213. if iNdEx >= l {
  1214. return io.ErrUnexpectedEOF
  1215. }
  1216. b := dAtA[iNdEx]
  1217. iNdEx++
  1218. m.Y |= (int32(b) & 0x7F) << shift
  1219. if b < 0x80 {
  1220. break
  1221. }
  1222. }
  1223. case 3:
  1224. if wireType != 0 {
  1225. return fmt.Errorf("proto: wrong wireType = %d for field Price", wireType)
  1226. }
  1227. m.Price = 0
  1228. for shift := uint(0); ; shift += 7 {
  1229. if shift >= 64 {
  1230. return ErrIntOverflowSeat
  1231. }
  1232. if iNdEx >= l {
  1233. return io.ErrUnexpectedEOF
  1234. }
  1235. b := dAtA[iNdEx]
  1236. iNdEx++
  1237. m.Price |= (int64(b) & 0x7F) << shift
  1238. if b < 0x80 {
  1239. break
  1240. }
  1241. }
  1242. default:
  1243. iNdEx = preIndex
  1244. skippy, err := skipSeat(dAtA[iNdEx:])
  1245. if err != nil {
  1246. return err
  1247. }
  1248. if skippy < 0 {
  1249. return ErrInvalidLengthSeat
  1250. }
  1251. if (iNdEx + skippy) > l {
  1252. return io.ErrUnexpectedEOF
  1253. }
  1254. iNdEx += skippy
  1255. }
  1256. }
  1257. if iNdEx > l {
  1258. return io.ErrUnexpectedEOF
  1259. }
  1260. return nil
  1261. }
  1262. func (m *SeatStockRequest) Unmarshal(dAtA []byte) error {
  1263. l := len(dAtA)
  1264. iNdEx := 0
  1265. for iNdEx < l {
  1266. preIndex := iNdEx
  1267. var wire uint64
  1268. for shift := uint(0); ; shift += 7 {
  1269. if shift >= 64 {
  1270. return ErrIntOverflowSeat
  1271. }
  1272. if iNdEx >= l {
  1273. return io.ErrUnexpectedEOF
  1274. }
  1275. b := dAtA[iNdEx]
  1276. iNdEx++
  1277. wire |= (uint64(b) & 0x7F) << shift
  1278. if b < 0x80 {
  1279. break
  1280. }
  1281. }
  1282. fieldNum := int32(wire >> 3)
  1283. wireType := int(wire & 0x7)
  1284. if wireType == 4 {
  1285. return fmt.Errorf("proto: SeatStockRequest: wiretype end group for non-group")
  1286. }
  1287. if fieldNum <= 0 {
  1288. return fmt.Errorf("proto: SeatStockRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  1289. }
  1290. switch fieldNum {
  1291. case 1:
  1292. if wireType != 0 {
  1293. return fmt.Errorf("proto: wrong wireType = %d for field Screen", wireType)
  1294. }
  1295. m.Screen = 0
  1296. for shift := uint(0); ; shift += 7 {
  1297. if shift >= 64 {
  1298. return ErrIntOverflowSeat
  1299. }
  1300. if iNdEx >= l {
  1301. return io.ErrUnexpectedEOF
  1302. }
  1303. b := dAtA[iNdEx]
  1304. iNdEx++
  1305. m.Screen |= (int64(b) & 0x7F) << shift
  1306. if b < 0x80 {
  1307. break
  1308. }
  1309. }
  1310. case 2:
  1311. if wireType != 0 {
  1312. return fmt.Errorf("proto: wrong wireType = %d for field Area", wireType)
  1313. }
  1314. m.Area = 0
  1315. for shift := uint(0); ; shift += 7 {
  1316. if shift >= 64 {
  1317. return ErrIntOverflowSeat
  1318. }
  1319. if iNdEx >= l {
  1320. return io.ErrUnexpectedEOF
  1321. }
  1322. b := dAtA[iNdEx]
  1323. iNdEx++
  1324. m.Area |= (int64(b) & 0x7F) << shift
  1325. if b < 0x80 {
  1326. break
  1327. }
  1328. }
  1329. case 3:
  1330. if wireType != 2 {
  1331. return fmt.Errorf("proto: wrong wireType = %d for field SeatInfo", wireType)
  1332. }
  1333. var msglen int
  1334. for shift := uint(0); ; shift += 7 {
  1335. if shift >= 64 {
  1336. return ErrIntOverflowSeat
  1337. }
  1338. if iNdEx >= l {
  1339. return io.ErrUnexpectedEOF
  1340. }
  1341. b := dAtA[iNdEx]
  1342. iNdEx++
  1343. msglen |= (int(b) & 0x7F) << shift
  1344. if b < 0x80 {
  1345. break
  1346. }
  1347. }
  1348. if msglen < 0 {
  1349. return ErrInvalidLengthSeat
  1350. }
  1351. postIndex := iNdEx + msglen
  1352. if postIndex > l {
  1353. return io.ErrUnexpectedEOF
  1354. }
  1355. m.SeatInfo = append(m.SeatInfo, &SeatPrice{})
  1356. if err := m.SeatInfo[len(m.SeatInfo)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1357. return err
  1358. }
  1359. iNdEx = postIndex
  1360. default:
  1361. iNdEx = preIndex
  1362. skippy, err := skipSeat(dAtA[iNdEx:])
  1363. if err != nil {
  1364. return err
  1365. }
  1366. if skippy < 0 {
  1367. return ErrInvalidLengthSeat
  1368. }
  1369. if (iNdEx + skippy) > l {
  1370. return io.ErrUnexpectedEOF
  1371. }
  1372. iNdEx += skippy
  1373. }
  1374. }
  1375. if iNdEx > l {
  1376. return io.ErrUnexpectedEOF
  1377. }
  1378. return nil
  1379. }
  1380. func (m *SeatStockReply) Unmarshal(dAtA []byte) error {
  1381. l := len(dAtA)
  1382. iNdEx := 0
  1383. for iNdEx < l {
  1384. preIndex := iNdEx
  1385. var wire uint64
  1386. for shift := uint(0); ; shift += 7 {
  1387. if shift >= 64 {
  1388. return ErrIntOverflowSeat
  1389. }
  1390. if iNdEx >= l {
  1391. return io.ErrUnexpectedEOF
  1392. }
  1393. b := dAtA[iNdEx]
  1394. iNdEx++
  1395. wire |= (uint64(b) & 0x7F) << shift
  1396. if b < 0x80 {
  1397. break
  1398. }
  1399. }
  1400. fieldNum := int32(wire >> 3)
  1401. wireType := int(wire & 0x7)
  1402. if wireType == 4 {
  1403. return fmt.Errorf("proto: SeatStockReply: wiretype end group for non-group")
  1404. }
  1405. if fieldNum <= 0 {
  1406. return fmt.Errorf("proto: SeatStockReply: illegal tag %d (wire type %d)", fieldNum, wire)
  1407. }
  1408. switch fieldNum {
  1409. case 1:
  1410. if wireType != 0 {
  1411. return fmt.Errorf("proto: wrong wireType = %d for field Success", wireType)
  1412. }
  1413. var v int
  1414. for shift := uint(0); ; shift += 7 {
  1415. if shift >= 64 {
  1416. return ErrIntOverflowSeat
  1417. }
  1418. if iNdEx >= l {
  1419. return io.ErrUnexpectedEOF
  1420. }
  1421. b := dAtA[iNdEx]
  1422. iNdEx++
  1423. v |= (int(b) & 0x7F) << shift
  1424. if b < 0x80 {
  1425. break
  1426. }
  1427. }
  1428. m.Success = bool(v != 0)
  1429. default:
  1430. iNdEx = preIndex
  1431. skippy, err := skipSeat(dAtA[iNdEx:])
  1432. if err != nil {
  1433. return err
  1434. }
  1435. if skippy < 0 {
  1436. return ErrInvalidLengthSeat
  1437. }
  1438. if (iNdEx + skippy) > l {
  1439. return io.ErrUnexpectedEOF
  1440. }
  1441. iNdEx += skippy
  1442. }
  1443. }
  1444. if iNdEx > l {
  1445. return io.ErrUnexpectedEOF
  1446. }
  1447. return nil
  1448. }
  1449. func (m *RemoveSeatOrdersRequest) Unmarshal(dAtA []byte) error {
  1450. l := len(dAtA)
  1451. iNdEx := 0
  1452. for iNdEx < l {
  1453. preIndex := iNdEx
  1454. var wire uint64
  1455. for shift := uint(0); ; shift += 7 {
  1456. if shift >= 64 {
  1457. return ErrIntOverflowSeat
  1458. }
  1459. if iNdEx >= l {
  1460. return io.ErrUnexpectedEOF
  1461. }
  1462. b := dAtA[iNdEx]
  1463. iNdEx++
  1464. wire |= (uint64(b) & 0x7F) << shift
  1465. if b < 0x80 {
  1466. break
  1467. }
  1468. }
  1469. fieldNum := int32(wire >> 3)
  1470. wireType := int(wire & 0x7)
  1471. if wireType == 4 {
  1472. return fmt.Errorf("proto: RemoveSeatOrdersRequest: wiretype end group for non-group")
  1473. }
  1474. if fieldNum <= 0 {
  1475. return fmt.Errorf("proto: RemoveSeatOrdersRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  1476. }
  1477. switch fieldNum {
  1478. case 1:
  1479. if wireType != 0 {
  1480. return fmt.Errorf("proto: wrong wireType = %d for field Price", wireType)
  1481. }
  1482. m.Price = 0
  1483. for shift := uint(0); ; shift += 7 {
  1484. if shift >= 64 {
  1485. return ErrIntOverflowSeat
  1486. }
  1487. if iNdEx >= l {
  1488. return io.ErrUnexpectedEOF
  1489. }
  1490. b := dAtA[iNdEx]
  1491. iNdEx++
  1492. m.Price |= (int64(b) & 0x7F) << shift
  1493. if b < 0x80 {
  1494. break
  1495. }
  1496. }
  1497. default:
  1498. iNdEx = preIndex
  1499. skippy, err := skipSeat(dAtA[iNdEx:])
  1500. if err != nil {
  1501. return err
  1502. }
  1503. if skippy < 0 {
  1504. return ErrInvalidLengthSeat
  1505. }
  1506. if (iNdEx + skippy) > l {
  1507. return io.ErrUnexpectedEOF
  1508. }
  1509. iNdEx += skippy
  1510. }
  1511. }
  1512. if iNdEx > l {
  1513. return io.ErrUnexpectedEOF
  1514. }
  1515. return nil
  1516. }
  1517. func (m *RemoveSeatOrdersReply) Unmarshal(dAtA []byte) error {
  1518. l := len(dAtA)
  1519. iNdEx := 0
  1520. for iNdEx < l {
  1521. preIndex := iNdEx
  1522. var wire uint64
  1523. for shift := uint(0); ; shift += 7 {
  1524. if shift >= 64 {
  1525. return ErrIntOverflowSeat
  1526. }
  1527. if iNdEx >= l {
  1528. return io.ErrUnexpectedEOF
  1529. }
  1530. b := dAtA[iNdEx]
  1531. iNdEx++
  1532. wire |= (uint64(b) & 0x7F) << shift
  1533. if b < 0x80 {
  1534. break
  1535. }
  1536. }
  1537. fieldNum := int32(wire >> 3)
  1538. wireType := int(wire & 0x7)
  1539. if wireType == 4 {
  1540. return fmt.Errorf("proto: RemoveSeatOrdersReply: wiretype end group for non-group")
  1541. }
  1542. if fieldNum <= 0 {
  1543. return fmt.Errorf("proto: RemoveSeatOrdersReply: illegal tag %d (wire type %d)", fieldNum, wire)
  1544. }
  1545. switch fieldNum {
  1546. case 1:
  1547. if wireType == 0 {
  1548. var v int64
  1549. for shift := uint(0); ; shift += 7 {
  1550. if shift >= 64 {
  1551. return ErrIntOverflowSeat
  1552. }
  1553. if iNdEx >= l {
  1554. return io.ErrUnexpectedEOF
  1555. }
  1556. b := dAtA[iNdEx]
  1557. iNdEx++
  1558. v |= (int64(b) & 0x7F) << shift
  1559. if b < 0x80 {
  1560. break
  1561. }
  1562. }
  1563. m.Areas = append(m.Areas, v)
  1564. } else if wireType == 2 {
  1565. var packedLen int
  1566. for shift := uint(0); ; shift += 7 {
  1567. if shift >= 64 {
  1568. return ErrIntOverflowSeat
  1569. }
  1570. if iNdEx >= l {
  1571. return io.ErrUnexpectedEOF
  1572. }
  1573. b := dAtA[iNdEx]
  1574. iNdEx++
  1575. packedLen |= (int(b) & 0x7F) << shift
  1576. if b < 0x80 {
  1577. break
  1578. }
  1579. }
  1580. if packedLen < 0 {
  1581. return ErrInvalidLengthSeat
  1582. }
  1583. postIndex := iNdEx + packedLen
  1584. if postIndex > l {
  1585. return io.ErrUnexpectedEOF
  1586. }
  1587. for iNdEx < postIndex {
  1588. var v int64
  1589. for shift := uint(0); ; shift += 7 {
  1590. if shift >= 64 {
  1591. return ErrIntOverflowSeat
  1592. }
  1593. if iNdEx >= l {
  1594. return io.ErrUnexpectedEOF
  1595. }
  1596. b := dAtA[iNdEx]
  1597. iNdEx++
  1598. v |= (int64(b) & 0x7F) << shift
  1599. if b < 0x80 {
  1600. break
  1601. }
  1602. }
  1603. m.Areas = append(m.Areas, v)
  1604. }
  1605. } else {
  1606. return fmt.Errorf("proto: wrong wireType = %d for field Areas", wireType)
  1607. }
  1608. default:
  1609. iNdEx = preIndex
  1610. skippy, err := skipSeat(dAtA[iNdEx:])
  1611. if err != nil {
  1612. return err
  1613. }
  1614. if skippy < 0 {
  1615. return ErrInvalidLengthSeat
  1616. }
  1617. if (iNdEx + skippy) > l {
  1618. return io.ErrUnexpectedEOF
  1619. }
  1620. iNdEx += skippy
  1621. }
  1622. }
  1623. if iNdEx > l {
  1624. return io.ErrUnexpectedEOF
  1625. }
  1626. return nil
  1627. }
  1628. func skipSeat(dAtA []byte) (n int, err error) {
  1629. l := len(dAtA)
  1630. iNdEx := 0
  1631. for iNdEx < l {
  1632. var wire uint64
  1633. for shift := uint(0); ; shift += 7 {
  1634. if shift >= 64 {
  1635. return 0, ErrIntOverflowSeat
  1636. }
  1637. if iNdEx >= l {
  1638. return 0, io.ErrUnexpectedEOF
  1639. }
  1640. b := dAtA[iNdEx]
  1641. iNdEx++
  1642. wire |= (uint64(b) & 0x7F) << shift
  1643. if b < 0x80 {
  1644. break
  1645. }
  1646. }
  1647. wireType := int(wire & 0x7)
  1648. switch wireType {
  1649. case 0:
  1650. for shift := uint(0); ; shift += 7 {
  1651. if shift >= 64 {
  1652. return 0, ErrIntOverflowSeat
  1653. }
  1654. if iNdEx >= l {
  1655. return 0, io.ErrUnexpectedEOF
  1656. }
  1657. iNdEx++
  1658. if dAtA[iNdEx-1] < 0x80 {
  1659. break
  1660. }
  1661. }
  1662. return iNdEx, nil
  1663. case 1:
  1664. iNdEx += 8
  1665. return iNdEx, nil
  1666. case 2:
  1667. var length int
  1668. for shift := uint(0); ; shift += 7 {
  1669. if shift >= 64 {
  1670. return 0, ErrIntOverflowSeat
  1671. }
  1672. if iNdEx >= l {
  1673. return 0, io.ErrUnexpectedEOF
  1674. }
  1675. b := dAtA[iNdEx]
  1676. iNdEx++
  1677. length |= (int(b) & 0x7F) << shift
  1678. if b < 0x80 {
  1679. break
  1680. }
  1681. }
  1682. iNdEx += length
  1683. if length < 0 {
  1684. return 0, ErrInvalidLengthSeat
  1685. }
  1686. return iNdEx, nil
  1687. case 3:
  1688. for {
  1689. var innerWire uint64
  1690. var start int = iNdEx
  1691. for shift := uint(0); ; shift += 7 {
  1692. if shift >= 64 {
  1693. return 0, ErrIntOverflowSeat
  1694. }
  1695. if iNdEx >= l {
  1696. return 0, io.ErrUnexpectedEOF
  1697. }
  1698. b := dAtA[iNdEx]
  1699. iNdEx++
  1700. innerWire |= (uint64(b) & 0x7F) << shift
  1701. if b < 0x80 {
  1702. break
  1703. }
  1704. }
  1705. innerWireType := int(innerWire & 0x7)
  1706. if innerWireType == 4 {
  1707. break
  1708. }
  1709. next, err := skipSeat(dAtA[start:])
  1710. if err != nil {
  1711. return 0, err
  1712. }
  1713. iNdEx = start + next
  1714. }
  1715. return iNdEx, nil
  1716. case 4:
  1717. return iNdEx, nil
  1718. case 5:
  1719. iNdEx += 4
  1720. return iNdEx, nil
  1721. default:
  1722. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  1723. }
  1724. }
  1725. panic("unreachable")
  1726. }
  1727. var (
  1728. ErrInvalidLengthSeat = fmt.Errorf("proto: negative length found during unmarshaling")
  1729. ErrIntOverflowSeat = fmt.Errorf("proto: integer overflow")
  1730. )
  1731. func init() {
  1732. proto.RegisterFile("app/service/openplatform/ticket-item/api/grpc/v1/seat.proto", fileDescriptorSeat)
  1733. }
  1734. var fileDescriptorSeat = []byte{
  1735. // 730 bytes of a gzipped FileDescriptorProto
  1736. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x95, 0xdf, 0x6e, 0xd3, 0x3c,
  1737. 0x18, 0xc6, 0xe7, 0xfe, 0xaf, 0xf7, 0x7d, 0x30, 0x59, 0x02, 0x42, 0x05, 0x4d, 0x17, 0x31, 0xd6,
  1738. 0x93, 0x35, 0xeb, 0x26, 0x0d, 0x18, 0x9a, 0x04, 0x39, 0x02, 0x69, 0x0c, 0x94, 0x1e, 0xb0, 0x21,
  1739. 0xa4, 0xca, 0xcd, 0xbc, 0x36, 0x5a, 0x52, 0x87, 0xd8, 0xed, 0xd8, 0x29, 0xe2, 0x0a, 0xb8, 0x1d,
  1740. 0x6e, 0x60, 0x87, 0xbb, 0x01, 0x22, 0xb6, 0xc3, 0x1c, 0x72, 0x05, 0xc8, 0x76, 0xd3, 0x56, 0x2c,
  1741. 0x1d, 0xdd, 0x01, 0x67, 0xc9, 0x9b, 0xe7, 0xf7, 0xda, 0x7e, 0xde, 0xc7, 0x2d, 0x7c, 0x8e, 0x83,
  1742. 0xc0, 0x64, 0x24, 0x1c, 0xba, 0x0e, 0x31, 0x69, 0x40, 0xfa, 0x81, 0x87, 0xf9, 0x11, 0x0d, 0x7d,
  1743. 0x93, 0xbb, 0xce, 0x31, 0xe1, 0x6b, 0x2e, 0x27, 0xbe, 0x89, 0x03, 0xd7, 0xec, 0x86, 0x81, 0x63,
  1744. 0x0e, 0x9b, 0x26, 0x23, 0x98, 0x37, 0x82, 0x90, 0x72, 0x8a, 0xee, 0x2a, 0x4d, 0x63, 0xc4, 0x37,
  1745. 0x84, 0xb6, 0x31, 0x6c, 0x56, 0xd6, 0xba, 0x2e, 0xef, 0x0d, 0x3a, 0x0d, 0x87, 0xfa, 0x66, 0x97,
  1746. 0x76, 0xa9, 0x29, 0xe5, 0x9d, 0xc1, 0x91, 0x7c, 0x93, 0x2f, 0xf2, 0x49, 0xb5, 0x31, 0xbe, 0x64,
  1747. 0xe0, 0x7f, 0x2f, 0x43, 0x82, 0x5b, 0x04, 0xf3, 0xd7, 0xfd, 0x23, 0x8a, 0x56, 0x21, 0xd8, 0xd7,
  1748. 0x40, 0x0d, 0xd4, 0xf3, 0xd6, 0xfd, 0x38, 0xd2, 0xc1, 0xe7, 0x5f, 0x91, 0xbe, 0x34, 0xc4, 0x9e,
  1749. 0x7b, 0x88, 0x39, 0xd9, 0x36, 0x7c, 0xb7, 0xbf, 0xb3, 0x6e, 0xd8, 0x60, 0x5f, 0x08, 0x0f, 0xb4,
  1750. 0xcc, 0x44, 0x78, 0x9a, 0x2e, 0x3c, 0x40, 0x9b, 0x30, 0xbf, 0x8b, 0x3b, 0xc4, 0xd3, 0xb2, 0x35,
  1751. 0x50, 0x2f, 0x5b, 0x0f, 0xe3, 0x48, 0xcf, 0x7b, 0xa2, 0x70, 0x15, 0x68, 0x1a, 0xb6, 0xd2, 0xa2,
  1752. 0x67, 0xb0, 0x68, 0x75, 0x1d, 0xea, 0xd1, 0x50, 0xcb, 0x49, 0x4c, 0x8f, 0x23, 0xbd, 0xd8, 0x51,
  1753. 0xa5, 0x54, 0x30, 0xd1, 0xa3, 0x75, 0x98, 0x13, 0x27, 0xd2, 0xf2, 0x35, 0x50, 0xcf, 0x5a, 0x0f,
  1754. 0xe2, 0x48, 0xcf, 0xe1, 0x90, 0xe0, 0x54, 0x48, 0x2a, 0x8d, 0xaf, 0x39, 0x78, 0x3b, 0x31, 0xc0,
  1755. 0x26, 0x9f, 0x06, 0x84, 0xf1, 0x71, 0x17, 0x30, 0x6f, 0x17, 0xb4, 0x03, 0x4b, 0xa2, 0x09, 0xdb,
  1756. 0x1b, 0xf8, 0x23, 0x5f, 0x96, 0xe3, 0x48, 0x2f, 0x8b, 0x99, 0xb1, 0x76, 0x7f, 0xe0, 0xa7, 0xa2,
  1757. 0x63, 0x04, 0x6d, 0xc3, 0xa2, 0x78, 0x7e, 0x83, 0x83, 0x91, 0x51, 0xb5, 0x38, 0xd2, 0x4b, 0x82,
  1758. 0x6e, 0xfb, 0x38, 0x48, 0x3f, 0xf2, 0x08, 0x40, 0x07, 0x30, 0x2f, 0xfb, 0x68, 0xb9, 0x5a, 0xb6,
  1759. 0xbe, 0xb8, 0xf1, 0xa8, 0x91, 0x1e, 0x8e, 0xc6, 0xf4, 0xa4, 0xd5, 0x20, 0xe4, 0xee, 0xd2, 0x07,
  1760. 0x21, 0x3b, 0x8a, 0xe9, 0xbd, 0x77, 0x0f, 0x79, 0x4f, 0xda, 0x99, 0x57, 0xd0, 0x89, 0x28, 0xa4,
  1761. 0x43, 0x52, 0x8b, 0xb6, 0x60, 0xe1, 0x15, 0x71, 0xbb, 0x3d, 0xae, 0x15, 0x24, 0x55, 0x8d, 0x23,
  1762. 0xbd, 0xd0, 0x93, 0x95, 0x54, 0x6c, 0xa4, 0x16, 0x1e, 0xd8, 0xf4, 0x64, 0xd7, 0x65, 0x5c, 0x2b,
  1763. 0x4e, 0x3c, 0x08, 0xe9, 0x49, 0xdb, 0x73, 0x59, 0x3a, 0x9a, 0x00, 0xe8, 0x05, 0x2c, 0x8b, 0x1d,
  1764. 0xb7, 0x38, 0x0e, 0xb9, 0x56, 0x92, 0xb4, 0x11, 0x47, 0x3a, 0x94, 0x0e, 0x32, 0x51, 0x4d, 0xe5,
  1765. 0x27, 0x90, 0xb1, 0x05, 0xff, 0x9f, 0xa4, 0x20, 0xf0, 0x4e, 0xd1, 0x0a, 0x2c, 0xb6, 0x06, 0x8e,
  1766. 0x43, 0x18, 0x93, 0x31, 0x28, 0x59, 0x8b, 0x22, 0x84, 0x4c, 0x95, 0xec, 0xe4, 0x9b, 0xf1, 0x0d,
  1767. 0xa8, 0xa5, 0xdf, 0x85, 0xae, 0x43, 0xfe, 0xcd, 0x05, 0x92, 0xad, 0x65, 0x2e, 0xb2, 0x6a, 0x04,
  1768. 0x81, 0x28, 0xa4, 0x8f, 0x40, 0x6a, 0x8d, 0x1f, 0x00, 0x2e, 0xa9, 0xa3, 0x51, 0xe7, 0x38, 0x09,
  1769. 0xf5, 0x16, 0x2c, 0xb4, 0x9c, 0x90, 0x90, 0xfe, 0x28, 0xd6, 0x72, 0x2e, 0x4c, 0x56, 0xd2, 0xe7,
  1770. 0xa2, 0xd4, 0xe3, 0xcb, 0x90, 0x99, 0xfb, 0x32, 0xb4, 0xd5, 0x65, 0x10, 0x5e, 0x6a, 0x59, 0x19,
  1771. 0xca, 0xe5, 0x59, 0xa1, 0x1c, 0x5b, 0x37, 0x49, 0xbc, 0xc0, 0x66, 0x5f, 0x17, 0xf1, 0xd5, 0x78,
  1772. 0x02, 0x6f, 0x4d, 0x1d, 0xef, 0x06, 0xd3, 0xda, 0x83, 0xf7, 0x6c, 0xe2, 0xd3, 0x21, 0x11, 0xf8,
  1773. 0xdb, 0xf0, 0x90, 0x84, 0x2c, 0xb1, 0x67, 0x6c, 0x34, 0xb8, 0x81, 0xd1, 0x4f, 0xe1, 0x9d, 0xab,
  1774. 0xfd, 0xc4, 0x7e, 0x74, 0x98, 0x17, 0x56, 0x88, 0xdd, 0x64, 0xeb, 0x59, 0xab, 0x2c, 0xba, 0x09,
  1775. 0xd7, 0x98, 0xad, 0xea, 0x1b, 0xdf, 0x33, 0x30, 0x27, 0x20, 0xf4, 0x71, 0x62, 0x16, 0x5a, 0xbd,
  1776. 0xce, 0xa6, 0xa9, 0x1f, 0xa8, 0xca, 0xca, 0xdf, 0x85, 0x81, 0x77, 0x6a, 0x2c, 0xa0, 0x76, 0x72,
  1777. 0x31, 0xa8, 0x73, 0x8c, 0xea, 0xd7, 0x51, 0xd3, 0x59, 0xa9, 0x3c, 0x9e, 0x43, 0xa9, 0x16, 0xe0,
  1778. 0x70, 0xe9, 0x4f, 0x07, 0x90, 0x39, 0x8b, 0x9e, 0xe1, 0x7d, 0x65, 0x6d, 0x7e, 0x40, 0xae, 0x6a,
  1779. 0x69, 0x67, 0x17, 0xd5, 0x85, 0xf3, 0x8b, 0xea, 0xc2, 0xd9, 0x65, 0x15, 0x9c, 0x5f, 0x56, 0xc1,
  1780. 0xcf, 0xcb, 0x2a, 0xf8, 0x90, 0x19, 0x36, 0x3b, 0x05, 0xf9, 0xd7, 0xb6, 0xf9, 0x3b, 0x00, 0x00,
  1781. 0xff, 0xff, 0xca, 0x87, 0xda, 0x6f, 0x60, 0x07, 0x00, 0x00,
  1782. }