You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
818 lines
20 KiB
818 lines
20 KiB
// Code generated by protoc-gen-gogo. DO NOT EDIT. |
|
// source: app/service/openplatform/ticket-item/api/grpc/v1/screen.proto |
|
|
|
package v1 |
|
|
|
import proto "github.com/gogo/protobuf/proto" |
|
import fmt "fmt" |
|
import math "math" |
|
import _ "github.com/gogo/protobuf/gogoproto" |
|
|
|
import io "io" |
|
|
|
// Reference imports to suppress errors if they are not otherwise used. |
|
var _ = proto.Marshal |
|
var _ = fmt.Errorf |
|
var _ = math.Inf |
|
|
|
// The response message containing the ScreenInfo |
|
type ScreenInfo struct { |
|
ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id" validate:"min=0"` |
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` |
|
Status int32 `protobuf:"varint,3,opt,name=status,proto3" json:"status" validate:"min=0"` |
|
// 类型: 1-坐, 2-站 |
|
Type int32 `protobuf:"varint,4,opt,name=type,proto3" json:"type" validate:"min=0"` |
|
// 出票方式: 1-纸质票, 2-电子票, 3-外部票 |
|
TicketType int32 `protobuf:"varint,5,opt,name=ticket_type,json=ticketType,proto3" json:"ticket_type" validate:"min=0"` |
|
// 票区分的场次类型: 1-普通场次, 2-通票场次 3-联票场次 |
|
ScreenType int32 `protobuf:"varint,6,opt,name=screen_type,json=screenType,proto3" json:"screen_type" validate:"min=0"` |
|
// 配送方式: 1-不配送, 2-自取, 3-快递 |
|
DeliveryType int32 `protobuf:"varint,7,opt,name=delivery_type,json=deliveryType,proto3" json:"delivery_type" validate:"min=0"` |
|
// 是否选座 是-1,否-0 |
|
PickSeat int32 `protobuf:"varint,8,opt,name=pick_seat,json=pickSeat,proto3" json:"pick_seat" validate:"min=0"` |
|
// 售卖状态 |
|
SaleFlag int32 `protobuf:"varint,9,opt,name=sale_flag,json=saleFlag,proto3" json:"sale_flag" validate:"min=0"` |
|
ScTime *ScreenTime `protobuf:"bytes,10,opt,name=sc_time,json=scTime" json:"time"` |
|
Ticket map[int64]*TicketInfo `protobuf:"bytes,11,rep,name=Ticket" json:"ticket" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"` |
|
} |
|
|
|
func (m *ScreenInfo) Reset() { *m = ScreenInfo{} } |
|
func (m *ScreenInfo) String() string { return proto.CompactTextString(m) } |
|
func (*ScreenInfo) ProtoMessage() {} |
|
func (*ScreenInfo) Descriptor() ([]byte, []int) { return fileDescriptorScreen, []int{0} } |
|
|
|
func (m *ScreenInfo) GetID() int64 { |
|
if m != nil { |
|
return m.ID |
|
} |
|
return 0 |
|
} |
|
|
|
func (m *ScreenInfo) GetName() string { |
|
if m != nil { |
|
return m.Name |
|
} |
|
return "" |
|
} |
|
|
|
func (m *ScreenInfo) GetStatus() int32 { |
|
if m != nil { |
|
return m.Status |
|
} |
|
return 0 |
|
} |
|
|
|
func (m *ScreenInfo) GetType() int32 { |
|
if m != nil { |
|
return m.Type |
|
} |
|
return 0 |
|
} |
|
|
|
func (m *ScreenInfo) GetTicketType() int32 { |
|
if m != nil { |
|
return m.TicketType |
|
} |
|
return 0 |
|
} |
|
|
|
func (m *ScreenInfo) GetScreenType() int32 { |
|
if m != nil { |
|
return m.ScreenType |
|
} |
|
return 0 |
|
} |
|
|
|
func (m *ScreenInfo) GetDeliveryType() int32 { |
|
if m != nil { |
|
return m.DeliveryType |
|
} |
|
return 0 |
|
} |
|
|
|
func (m *ScreenInfo) GetPickSeat() int32 { |
|
if m != nil { |
|
return m.PickSeat |
|
} |
|
return 0 |
|
} |
|
|
|
func (m *ScreenInfo) GetSaleFlag() int32 { |
|
if m != nil { |
|
return m.SaleFlag |
|
} |
|
return 0 |
|
} |
|
|
|
func (m *ScreenInfo) GetScTime() *ScreenTime { |
|
if m != nil { |
|
return m.ScTime |
|
} |
|
return nil |
|
} |
|
|
|
func (m *ScreenInfo) GetTicket() map[int64]*TicketInfo { |
|
if m != nil { |
|
return m.Ticket |
|
} |
|
return nil |
|
} |
|
|
|
func init() { |
|
proto.RegisterType((*ScreenInfo)(nil), "ticket.service.item.v1.ScreenInfo") |
|
} |
|
func (m *ScreenInfo) Marshal() (dAtA []byte, err error) { |
|
size := m.Size() |
|
dAtA = make([]byte, size) |
|
n, err := m.MarshalTo(dAtA) |
|
if err != nil { |
|
return nil, err |
|
} |
|
return dAtA[:n], nil |
|
} |
|
|
|
func (m *ScreenInfo) MarshalTo(dAtA []byte) (int, error) { |
|
var i int |
|
_ = i |
|
var l int |
|
_ = l |
|
if m.ID != 0 { |
|
dAtA[i] = 0x8 |
|
i++ |
|
i = encodeVarintScreen(dAtA, i, uint64(m.ID)) |
|
} |
|
if len(m.Name) > 0 { |
|
dAtA[i] = 0x12 |
|
i++ |
|
i = encodeVarintScreen(dAtA, i, uint64(len(m.Name))) |
|
i += copy(dAtA[i:], m.Name) |
|
} |
|
if m.Status != 0 { |
|
dAtA[i] = 0x18 |
|
i++ |
|
i = encodeVarintScreen(dAtA, i, uint64(m.Status)) |
|
} |
|
if m.Type != 0 { |
|
dAtA[i] = 0x20 |
|
i++ |
|
i = encodeVarintScreen(dAtA, i, uint64(m.Type)) |
|
} |
|
if m.TicketType != 0 { |
|
dAtA[i] = 0x28 |
|
i++ |
|
i = encodeVarintScreen(dAtA, i, uint64(m.TicketType)) |
|
} |
|
if m.ScreenType != 0 { |
|
dAtA[i] = 0x30 |
|
i++ |
|
i = encodeVarintScreen(dAtA, i, uint64(m.ScreenType)) |
|
} |
|
if m.DeliveryType != 0 { |
|
dAtA[i] = 0x38 |
|
i++ |
|
i = encodeVarintScreen(dAtA, i, uint64(m.DeliveryType)) |
|
} |
|
if m.PickSeat != 0 { |
|
dAtA[i] = 0x40 |
|
i++ |
|
i = encodeVarintScreen(dAtA, i, uint64(m.PickSeat)) |
|
} |
|
if m.SaleFlag != 0 { |
|
dAtA[i] = 0x48 |
|
i++ |
|
i = encodeVarintScreen(dAtA, i, uint64(m.SaleFlag)) |
|
} |
|
if m.ScTime != nil { |
|
dAtA[i] = 0x52 |
|
i++ |
|
i = encodeVarintScreen(dAtA, i, uint64(m.ScTime.Size())) |
|
n1, err := m.ScTime.MarshalTo(dAtA[i:]) |
|
if err != nil { |
|
return 0, err |
|
} |
|
i += n1 |
|
} |
|
if len(m.Ticket) > 0 { |
|
for k, _ := range m.Ticket { |
|
dAtA[i] = 0x5a |
|
i++ |
|
v := m.Ticket[k] |
|
msgSize := 0 |
|
if v != nil { |
|
msgSize = v.Size() |
|
msgSize += 1 + sovScreen(uint64(msgSize)) |
|
} |
|
mapSize := 1 + sovScreen(uint64(k)) + msgSize |
|
i = encodeVarintScreen(dAtA, i, uint64(mapSize)) |
|
dAtA[i] = 0x8 |
|
i++ |
|
i = encodeVarintScreen(dAtA, i, uint64(k)) |
|
if v != nil { |
|
dAtA[i] = 0x12 |
|
i++ |
|
i = encodeVarintScreen(dAtA, i, uint64(v.Size())) |
|
n2, err := v.MarshalTo(dAtA[i:]) |
|
if err != nil { |
|
return 0, err |
|
} |
|
i += n2 |
|
} |
|
} |
|
} |
|
return i, nil |
|
} |
|
|
|
func encodeVarintScreen(dAtA []byte, offset int, v uint64) int { |
|
for v >= 1<<7 { |
|
dAtA[offset] = uint8(v&0x7f | 0x80) |
|
v >>= 7 |
|
offset++ |
|
} |
|
dAtA[offset] = uint8(v) |
|
return offset + 1 |
|
} |
|
func (m *ScreenInfo) Size() (n int) { |
|
var l int |
|
_ = l |
|
if m.ID != 0 { |
|
n += 1 + sovScreen(uint64(m.ID)) |
|
} |
|
l = len(m.Name) |
|
if l > 0 { |
|
n += 1 + l + sovScreen(uint64(l)) |
|
} |
|
if m.Status != 0 { |
|
n += 1 + sovScreen(uint64(m.Status)) |
|
} |
|
if m.Type != 0 { |
|
n += 1 + sovScreen(uint64(m.Type)) |
|
} |
|
if m.TicketType != 0 { |
|
n += 1 + sovScreen(uint64(m.TicketType)) |
|
} |
|
if m.ScreenType != 0 { |
|
n += 1 + sovScreen(uint64(m.ScreenType)) |
|
} |
|
if m.DeliveryType != 0 { |
|
n += 1 + sovScreen(uint64(m.DeliveryType)) |
|
} |
|
if m.PickSeat != 0 { |
|
n += 1 + sovScreen(uint64(m.PickSeat)) |
|
} |
|
if m.SaleFlag != 0 { |
|
n += 1 + sovScreen(uint64(m.SaleFlag)) |
|
} |
|
if m.ScTime != nil { |
|
l = m.ScTime.Size() |
|
n += 1 + l + sovScreen(uint64(l)) |
|
} |
|
if len(m.Ticket) > 0 { |
|
for k, v := range m.Ticket { |
|
_ = k |
|
_ = v |
|
l = 0 |
|
if v != nil { |
|
l = v.Size() |
|
l += 1 + sovScreen(uint64(l)) |
|
} |
|
mapEntrySize := 1 + sovScreen(uint64(k)) + l |
|
n += mapEntrySize + 1 + sovScreen(uint64(mapEntrySize)) |
|
} |
|
} |
|
return n |
|
} |
|
|
|
func sovScreen(x uint64) (n int) { |
|
for { |
|
n++ |
|
x >>= 7 |
|
if x == 0 { |
|
break |
|
} |
|
} |
|
return n |
|
} |
|
func sozScreen(x uint64) (n int) { |
|
return sovScreen(uint64((x << 1) ^ uint64((int64(x) >> 63)))) |
|
} |
|
func (m *ScreenInfo) Unmarshal(dAtA []byte) error { |
|
l := len(dAtA) |
|
iNdEx := 0 |
|
for iNdEx < l { |
|
preIndex := iNdEx |
|
var wire uint64 |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return ErrIntOverflowScreen |
|
} |
|
if iNdEx >= l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
wire |= (uint64(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
fieldNum := int32(wire >> 3) |
|
wireType := int(wire & 0x7) |
|
if wireType == 4 { |
|
return fmt.Errorf("proto: ScreenInfo: wiretype end group for non-group") |
|
} |
|
if fieldNum <= 0 { |
|
return fmt.Errorf("proto: ScreenInfo: illegal tag %d (wire type %d)", fieldNum, wire) |
|
} |
|
switch fieldNum { |
|
case 1: |
|
if wireType != 0 { |
|
return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType) |
|
} |
|
m.ID = 0 |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return ErrIntOverflowScreen |
|
} |
|
if iNdEx >= l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
m.ID |= (int64(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
case 2: |
|
if wireType != 2 { |
|
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) |
|
} |
|
var stringLen uint64 |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return ErrIntOverflowScreen |
|
} |
|
if iNdEx >= l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
stringLen |= (uint64(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
intStringLen := int(stringLen) |
|
if intStringLen < 0 { |
|
return ErrInvalidLengthScreen |
|
} |
|
postIndex := iNdEx + intStringLen |
|
if postIndex > l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
m.Name = string(dAtA[iNdEx:postIndex]) |
|
iNdEx = postIndex |
|
case 3: |
|
if wireType != 0 { |
|
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) |
|
} |
|
m.Status = 0 |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return ErrIntOverflowScreen |
|
} |
|
if iNdEx >= l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
m.Status |= (int32(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
case 4: |
|
if wireType != 0 { |
|
return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) |
|
} |
|
m.Type = 0 |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return ErrIntOverflowScreen |
|
} |
|
if iNdEx >= l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
m.Type |= (int32(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
case 5: |
|
if wireType != 0 { |
|
return fmt.Errorf("proto: wrong wireType = %d for field TicketType", wireType) |
|
} |
|
m.TicketType = 0 |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return ErrIntOverflowScreen |
|
} |
|
if iNdEx >= l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
m.TicketType |= (int32(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
case 6: |
|
if wireType != 0 { |
|
return fmt.Errorf("proto: wrong wireType = %d for field ScreenType", wireType) |
|
} |
|
m.ScreenType = 0 |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return ErrIntOverflowScreen |
|
} |
|
if iNdEx >= l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
m.ScreenType |= (int32(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
case 7: |
|
if wireType != 0 { |
|
return fmt.Errorf("proto: wrong wireType = %d for field DeliveryType", wireType) |
|
} |
|
m.DeliveryType = 0 |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return ErrIntOverflowScreen |
|
} |
|
if iNdEx >= l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
m.DeliveryType |= (int32(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
case 8: |
|
if wireType != 0 { |
|
return fmt.Errorf("proto: wrong wireType = %d for field PickSeat", wireType) |
|
} |
|
m.PickSeat = 0 |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return ErrIntOverflowScreen |
|
} |
|
if iNdEx >= l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
m.PickSeat |= (int32(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
case 9: |
|
if wireType != 0 { |
|
return fmt.Errorf("proto: wrong wireType = %d for field SaleFlag", wireType) |
|
} |
|
m.SaleFlag = 0 |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return ErrIntOverflowScreen |
|
} |
|
if iNdEx >= l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
m.SaleFlag |= (int32(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
case 10: |
|
if wireType != 2 { |
|
return fmt.Errorf("proto: wrong wireType = %d for field ScTime", wireType) |
|
} |
|
var msglen int |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return ErrIntOverflowScreen |
|
} |
|
if iNdEx >= l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
msglen |= (int(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
if msglen < 0 { |
|
return ErrInvalidLengthScreen |
|
} |
|
postIndex := iNdEx + msglen |
|
if postIndex > l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
if m.ScTime == nil { |
|
m.ScTime = &ScreenTime{} |
|
} |
|
if err := m.ScTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
|
return err |
|
} |
|
iNdEx = postIndex |
|
case 11: |
|
if wireType != 2 { |
|
return fmt.Errorf("proto: wrong wireType = %d for field Ticket", wireType) |
|
} |
|
var msglen int |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return ErrIntOverflowScreen |
|
} |
|
if iNdEx >= l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
msglen |= (int(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
if msglen < 0 { |
|
return ErrInvalidLengthScreen |
|
} |
|
postIndex := iNdEx + msglen |
|
if postIndex > l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
if m.Ticket == nil { |
|
m.Ticket = make(map[int64]*TicketInfo) |
|
} |
|
var mapkey int64 |
|
var mapvalue *TicketInfo |
|
for iNdEx < postIndex { |
|
entryPreIndex := iNdEx |
|
var wire uint64 |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return ErrIntOverflowScreen |
|
} |
|
if iNdEx >= l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
wire |= (uint64(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
fieldNum := int32(wire >> 3) |
|
if fieldNum == 1 { |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return ErrIntOverflowScreen |
|
} |
|
if iNdEx >= l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
mapkey |= (int64(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
} else if fieldNum == 2 { |
|
var mapmsglen int |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return ErrIntOverflowScreen |
|
} |
|
if iNdEx >= l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
mapmsglen |= (int(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
if mapmsglen < 0 { |
|
return ErrInvalidLengthScreen |
|
} |
|
postmsgIndex := iNdEx + mapmsglen |
|
if mapmsglen < 0 { |
|
return ErrInvalidLengthScreen |
|
} |
|
if postmsgIndex > l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
mapvalue = &TicketInfo{} |
|
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { |
|
return err |
|
} |
|
iNdEx = postmsgIndex |
|
} else { |
|
iNdEx = entryPreIndex |
|
skippy, err := skipScreen(dAtA[iNdEx:]) |
|
if err != nil { |
|
return err |
|
} |
|
if skippy < 0 { |
|
return ErrInvalidLengthScreen |
|
} |
|
if (iNdEx + skippy) > postIndex { |
|
return io.ErrUnexpectedEOF |
|
} |
|
iNdEx += skippy |
|
} |
|
} |
|
m.Ticket[mapkey] = mapvalue |
|
iNdEx = postIndex |
|
default: |
|
iNdEx = preIndex |
|
skippy, err := skipScreen(dAtA[iNdEx:]) |
|
if err != nil { |
|
return err |
|
} |
|
if skippy < 0 { |
|
return ErrInvalidLengthScreen |
|
} |
|
if (iNdEx + skippy) > l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
iNdEx += skippy |
|
} |
|
} |
|
|
|
if iNdEx > l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
return nil |
|
} |
|
func skipScreen(dAtA []byte) (n int, err error) { |
|
l := len(dAtA) |
|
iNdEx := 0 |
|
for iNdEx < l { |
|
var wire uint64 |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return 0, ErrIntOverflowScreen |
|
} |
|
if iNdEx >= l { |
|
return 0, io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
wire |= (uint64(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
wireType := int(wire & 0x7) |
|
switch wireType { |
|
case 0: |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return 0, ErrIntOverflowScreen |
|
} |
|
if iNdEx >= l { |
|
return 0, io.ErrUnexpectedEOF |
|
} |
|
iNdEx++ |
|
if dAtA[iNdEx-1] < 0x80 { |
|
break |
|
} |
|
} |
|
return iNdEx, nil |
|
case 1: |
|
iNdEx += 8 |
|
return iNdEx, nil |
|
case 2: |
|
var length int |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return 0, ErrIntOverflowScreen |
|
} |
|
if iNdEx >= l { |
|
return 0, io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
length |= (int(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
iNdEx += length |
|
if length < 0 { |
|
return 0, ErrInvalidLengthScreen |
|
} |
|
return iNdEx, nil |
|
case 3: |
|
for { |
|
var innerWire uint64 |
|
var start int = iNdEx |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return 0, ErrIntOverflowScreen |
|
} |
|
if iNdEx >= l { |
|
return 0, io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
innerWire |= (uint64(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
innerWireType := int(innerWire & 0x7) |
|
if innerWireType == 4 { |
|
break |
|
} |
|
next, err := skipScreen(dAtA[start:]) |
|
if err != nil { |
|
return 0, err |
|
} |
|
iNdEx = start + next |
|
} |
|
return iNdEx, nil |
|
case 4: |
|
return iNdEx, nil |
|
case 5: |
|
iNdEx += 4 |
|
return iNdEx, nil |
|
default: |
|
return 0, fmt.Errorf("proto: illegal wireType %d", wireType) |
|
} |
|
} |
|
panic("unreachable") |
|
} |
|
|
|
var ( |
|
ErrInvalidLengthScreen = fmt.Errorf("proto: negative length found during unmarshaling") |
|
ErrIntOverflowScreen = fmt.Errorf("proto: integer overflow") |
|
) |
|
|
|
func init() { |
|
proto.RegisterFile("app/service/openplatform/ticket-item/api/grpc/v1/screen.proto", fileDescriptorScreen) |
|
} |
|
|
|
var fileDescriptorScreen = []byte{ |
|
// 514 bytes of a gzipped FileDescriptorProto |
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0xcf, 0x8a, 0xd3, 0x40, |
|
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