bilibili-backup/app/service/openplatform/ticket-item/api/grpc/v1/place.pb.go
2019-04-22 02:59:20 +00:00

1006 lines
25 KiB
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: app/service/openplatform/ticket-item/api/grpc/v1/place.proto
package v1
import proto "github.com/gogo/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "github.com/gogo/protobuf/gogoproto"
import context "golang.org/x/net/context"
import grpc "google.golang.org/grpc"
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 Place info
type PlaceInfo struct {
// 状态
ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
// 场地名
Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status"`
// 场地底图
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name"`
// 场馆ID
BasePic string `protobuf:"bytes,4,opt,name=base_pic,json=basePic,proto3" json:"base_pic"`
// mis画框宽度
DWidth int32 `protobuf:"varint,5,opt,name=d_width,json=dWidth,proto3" json:"d_width"`
// mis画框高度
DHeight int32 `protobuf:"varint,6,opt,name=d_height,json=dHeight,proto3" json:"d_height"`
}
func (m *PlaceInfo) Reset() { *m = PlaceInfo{} }
func (m *PlaceInfo) String() string { return proto.CompactTextString(m) }
func (*PlaceInfo) ProtoMessage() {}
func (*PlaceInfo) Descriptor() ([]byte, []int) { return fileDescriptorPlace, []int{0} }
// placeInfo接口请求
type PlaceInfoRequest struct {
// 待修改场地的ID为0表示创建
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"id" validate:"min=0"`
// 状态
Status int32 `protobuf:"varint,2,opt,name=Status,proto3" json:"status" validate:"min=0,max=1"`
// 场地名
Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"name" validate:"max=16"`
// 场地底图
BasePic string `protobuf:"bytes,4,opt,name=BasePic,proto3" json:"base_pic" validate:"max=128"`
// 场馆ID
Venue int64 `protobuf:"varint,5,opt,name=Venue,proto3" json:"venue" validate:"min=1"`
// mis画框宽度
DWidth int32 `protobuf:"varint,6,opt,name=DWidth,proto3" json:"d_width" validate:"min=0"`
// mis画框高度
DHeight int32 `protobuf:"varint,7,opt,name=DHeight,proto3" json:"d_height" validate:"min=0"`
}
func (m *PlaceInfoRequest) Reset() { *m = PlaceInfoRequest{} }
func (m *PlaceInfoRequest) String() string { return proto.CompactTextString(m) }
func (*PlaceInfoRequest) ProtoMessage() {}
func (*PlaceInfoRequest) Descriptor() ([]byte, []int) { return fileDescriptorPlace, []int{1} }
// placeInfo接口返回
type PlaceInfoReply struct {
// 操作结果
Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"success"`
// 操作场地ID
ID int64 `protobuf:"varint,2,opt,name=ID,proto3" json:"id"`
}
func (m *PlaceInfoReply) Reset() { *m = PlaceInfoReply{} }
func (m *PlaceInfoReply) String() string { return proto.CompactTextString(m) }
func (*PlaceInfoReply) ProtoMessage() {}
func (*PlaceInfoReply) Descriptor() ([]byte, []int) { return fileDescriptorPlace, []int{2} }
func init() {
proto.RegisterType((*PlaceInfo)(nil), "ticket.service.item.v1.PlaceInfo")
proto.RegisterType((*PlaceInfoRequest)(nil), "ticket.service.item.v1.PlaceInfoRequest")
proto.RegisterType((*PlaceInfoReply)(nil), "ticket.service.item.v1.PlaceInfoReply")
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// Client API for Place service
type PlaceClient interface {
PlaceInfo(ctx context.Context, in *PlaceInfoRequest, opts ...grpc.CallOption) (*PlaceInfoReply, error)
}
type placeClient struct {
cc *grpc.ClientConn
}
func NewPlaceClient(cc *grpc.ClientConn) PlaceClient {
return &placeClient{cc}
}
func (c *placeClient) PlaceInfo(ctx context.Context, in *PlaceInfoRequest, opts ...grpc.CallOption) (*PlaceInfoReply, error) {
out := new(PlaceInfoReply)
err := grpc.Invoke(ctx, "/ticket.service.item.v1.Place/PlaceInfo", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for Place service
type PlaceServer interface {
PlaceInfo(context.Context, *PlaceInfoRequest) (*PlaceInfoReply, error)
}
func RegisterPlaceServer(s *grpc.Server, srv PlaceServer) {
s.RegisterService(&_Place_serviceDesc, srv)
}
func _Place_PlaceInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(PlaceInfoRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(PlaceServer).PlaceInfo(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ticket.service.item.v1.Place/PlaceInfo",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(PlaceServer).PlaceInfo(ctx, req.(*PlaceInfoRequest))
}
return interceptor(ctx, in, info, handler)
}
var _Place_serviceDesc = grpc.ServiceDesc{
ServiceName: "ticket.service.item.v1.Place",
HandlerType: (*PlaceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "PlaceInfo",
Handler: _Place_PlaceInfo_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "app/service/openplatform/ticket-item/api/grpc/v1/place.proto",
}
func (m *PlaceInfo) 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 *PlaceInfo) MarshalTo(dAtA []byte) (int, error) {
var i int
_ = i
var l int
_ = l
if m.ID != 0 {
dAtA[i] = 0x8
i++
i = encodeVarintPlace(dAtA, i, uint64(m.ID))
}
if m.Status != 0 {
dAtA[i] = 0x10
i++
i = encodeVarintPlace(dAtA, i, uint64(m.Status))
}
if len(m.Name) > 0 {
dAtA[i] = 0x1a
i++
i = encodeVarintPlace(dAtA, i, uint64(len(m.Name)))
i += copy(dAtA[i:], m.Name)
}
if len(m.BasePic) > 0 {
dAtA[i] = 0x22
i++
i = encodeVarintPlace(dAtA, i, uint64(len(m.BasePic)))
i += copy(dAtA[i:], m.BasePic)
}
if m.DWidth != 0 {
dAtA[i] = 0x28
i++
i = encodeVarintPlace(dAtA, i, uint64(m.DWidth))
}
if m.DHeight != 0 {
dAtA[i] = 0x30
i++
i = encodeVarintPlace(dAtA, i, uint64(m.DHeight))
}
return i, nil
}
func (m *PlaceInfoRequest) 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 *PlaceInfoRequest) MarshalTo(dAtA []byte) (int, error) {
var i int
_ = i
var l int
_ = l
if m.ID != 0 {
dAtA[i] = 0x8
i++
i = encodeVarintPlace(dAtA, i, uint64(m.ID))
}
if m.Status != 0 {
dAtA[i] = 0x10
i++
i = encodeVarintPlace(dAtA, i, uint64(m.Status))
}
if len(m.Name) > 0 {
dAtA[i] = 0x1a
i++
i = encodeVarintPlace(dAtA, i, uint64(len(m.Name)))
i += copy(dAtA[i:], m.Name)
}
if len(m.BasePic) > 0 {
dAtA[i] = 0x22
i++
i = encodeVarintPlace(dAtA, i, uint64(len(m.BasePic)))
i += copy(dAtA[i:], m.BasePic)
}
if m.Venue != 0 {
dAtA[i] = 0x28
i++
i = encodeVarintPlace(dAtA, i, uint64(m.Venue))
}
if m.DWidth != 0 {
dAtA[i] = 0x30
i++
i = encodeVarintPlace(dAtA, i, uint64(m.DWidth))
}
if m.DHeight != 0 {
dAtA[i] = 0x38
i++
i = encodeVarintPlace(dAtA, i, uint64(m.DHeight))
}
return i, nil
}
func (m *PlaceInfoReply) 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 *PlaceInfoReply) MarshalTo(dAtA []byte) (int, error) {
var i int
_ = i
var l int
_ = l
if m.Success {
dAtA[i] = 0x8
i++
if m.Success {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
i++
}
if m.ID != 0 {
dAtA[i] = 0x10
i++
i = encodeVarintPlace(dAtA, i, uint64(m.ID))
}
return i, nil
}
func encodeVarintPlace(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 *PlaceInfo) Size() (n int) {
var l int
_ = l
if m.ID != 0 {
n += 1 + sovPlace(uint64(m.ID))
}
if m.Status != 0 {
n += 1 + sovPlace(uint64(m.Status))
}
l = len(m.Name)
if l > 0 {
n += 1 + l + sovPlace(uint64(l))
}
l = len(m.BasePic)
if l > 0 {
n += 1 + l + sovPlace(uint64(l))
}
if m.DWidth != 0 {
n += 1 + sovPlace(uint64(m.DWidth))
}
if m.DHeight != 0 {
n += 1 + sovPlace(uint64(m.DHeight))
}
return n
}
func (m *PlaceInfoRequest) Size() (n int) {
var l int
_ = l
if m.ID != 0 {
n += 1 + sovPlace(uint64(m.ID))
}
if m.Status != 0 {
n += 1 + sovPlace(uint64(m.Status))
}
l = len(m.Name)
if l > 0 {
n += 1 + l + sovPlace(uint64(l))
}
l = len(m.BasePic)
if l > 0 {
n += 1 + l + sovPlace(uint64(l))
}
if m.Venue != 0 {
n += 1 + sovPlace(uint64(m.Venue))
}
if m.DWidth != 0 {
n += 1 + sovPlace(uint64(m.DWidth))
}
if m.DHeight != 0 {
n += 1 + sovPlace(uint64(m.DHeight))
}
return n
}
func (m *PlaceInfoReply) Size() (n int) {
var l int
_ = l
if m.Success {
n += 2
}
if m.ID != 0 {
n += 1 + sovPlace(uint64(m.ID))
}
return n
}
func sovPlace(x uint64) (n int) {
for {
n++
x >>= 7
if x == 0 {
break
}
}
return n
}
func sozPlace(x uint64) (n int) {
return sovPlace(uint64((x << 1) ^ uint64((int64(x) >> 63))))
}
func (m *PlaceInfo) 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 ErrIntOverflowPlace
}
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: PlaceInfo: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: PlaceInfo: 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 ErrIntOverflowPlace
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.ID |= (int64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 2:
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 ErrIntOverflowPlace
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.Status |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 3:
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 ErrIntOverflowPlace
}
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 ErrInvalidLengthPlace
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Name = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 4:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field BasePic", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowPlace
}
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 ErrInvalidLengthPlace
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.BasePic = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 5:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field DWidth", wireType)
}
m.DWidth = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowPlace
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.DWidth |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 6:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field DHeight", wireType)
}
m.DHeight = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowPlace
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.DHeight |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
default:
iNdEx = preIndex
skippy, err := skipPlace(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthPlace
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *PlaceInfoRequest) 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 ErrIntOverflowPlace
}
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: PlaceInfoRequest: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: PlaceInfoRequest: 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 ErrIntOverflowPlace
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.ID |= (int64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 2:
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 ErrIntOverflowPlace
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.Status |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 3:
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 ErrIntOverflowPlace
}
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 ErrInvalidLengthPlace
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Name = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 4:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field BasePic", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowPlace
}
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 ErrInvalidLengthPlace
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.BasePic = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 5:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Venue", wireType)
}
m.Venue = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowPlace
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.Venue |= (int64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 6:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field DWidth", wireType)
}
m.DWidth = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowPlace
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.DWidth |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 7:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field DHeight", wireType)
}
m.DHeight = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowPlace
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.DHeight |= (int32(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
default:
iNdEx = preIndex
skippy, err := skipPlace(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthPlace
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *PlaceInfoReply) 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 ErrIntOverflowPlace
}
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: PlaceInfoReply: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: PlaceInfoReply: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Success", wireType)
}
var v int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowPlace
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
v |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
m.Success = bool(v != 0)
case 2:
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 ErrIntOverflowPlace
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.ID |= (int64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
default:
iNdEx = preIndex
skippy, err := skipPlace(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthPlace
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func skipPlace(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, ErrIntOverflowPlace
}
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, ErrIntOverflowPlace
}
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, ErrIntOverflowPlace
}
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, ErrInvalidLengthPlace
}
return iNdEx, nil
case 3:
for {
var innerWire uint64
var start int = iNdEx
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 0, ErrIntOverflowPlace
}
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 := skipPlace(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 (
ErrInvalidLengthPlace = fmt.Errorf("proto: negative length found during unmarshaling")
ErrIntOverflowPlace = fmt.Errorf("proto: integer overflow")
)
func init() {
proto.RegisterFile("app/service/openplatform/ticket-item/api/grpc/v1/place.proto", fileDescriptorPlace)
}
var fileDescriptorPlace = []byte{
// 560 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x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