go-common/app/interface/main/activity/model/like/missiongroup.pb.go

1042 lines
26 KiB
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: missiongroup.proto
package like
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "github.com/gogo/protobuf/gogoproto"
import go_common_library_time "go-common/library/time"
import io "io"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
type MissionGroup struct {
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"id"`
Sid int64 `protobuf:"varint,2,opt,name=Sid,proto3" json:"sid"`
Mid int64 `protobuf:"varint,3,opt,name=Mid,proto3" json:"mid"`
State int64 `protobuf:"varint,4,opt,name=State,proto3" json:"state"`
Ctime go_common_library_time.Time `protobuf:"varint,5,opt,name=Ctime,proto3,casttype=go-common/library/time.Time" json:"ctime"`
Mtime go_common_library_time.Time `protobuf:"varint,6,opt,name=Mtime,proto3,casttype=go-common/library/time.Time" json:"mtime"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MissionGroup) Reset() { *m = MissionGroup{} }
func (m *MissionGroup) String() string { return proto.CompactTextString(m) }
func (*MissionGroup) ProtoMessage() {}
func (*MissionGroup) Descriptor() ([]byte, []int) {
return fileDescriptor_missiongroup_2ff59dc279cfd0a8, []int{0}
}
func (m *MissionGroup) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MissionGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MissionGroup.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalTo(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (dst *MissionGroup) XXX_Merge(src proto.Message) {
xxx_messageInfo_MissionGroup.Merge(dst, src)
}
func (m *MissionGroup) XXX_Size() int {
return m.Size()
}
func (m *MissionGroup) XXX_DiscardUnknown() {
xxx_messageInfo_MissionGroup.DiscardUnknown(m)
}
var xxx_messageInfo_MissionGroup proto.InternalMessageInfo
type ActMissionGroup struct {
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"id"`
Lid int64 `protobuf:"varint,2,opt,name=Lid,proto3" json:"lid"`
Mid int64 `protobuf:"varint,3,opt,name=Mid,proto3" json:"mid"`
Action int64 `protobuf:"varint,4,opt,name=Action,proto3" json:"action"`
Ctime go_common_library_time.Time `protobuf:"varint,5,opt,name=Ctime,proto3,casttype=go-common/library/time.Time" json:"ctime"`
Mtime go_common_library_time.Time `protobuf:"varint,6,opt,name=Mtime,proto3,casttype=go-common/library/time.Time" json:"mtime"`
Sid int64 `protobuf:"varint,7,opt,name=Sid,proto3" json:"sid"`
IP int64 `protobuf:"varint,8,opt,name=IP,proto3" json:"ip"`
IPv6 []byte `protobuf:"bytes,9,opt,name=IPv6,proto3" json:"ipv6"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ActMissionGroup) Reset() { *m = ActMissionGroup{} }
func (m *ActMissionGroup) String() string { return proto.CompactTextString(m) }
func (*ActMissionGroup) ProtoMessage() {}
func (*ActMissionGroup) Descriptor() ([]byte, []int) {
return fileDescriptor_missiongroup_2ff59dc279cfd0a8, []int{1}
}
func (m *ActMissionGroup) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ActMissionGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ActMissionGroup.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalTo(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (dst *ActMissionGroup) XXX_Merge(src proto.Message) {
xxx_messageInfo_ActMissionGroup.Merge(dst, src)
}
func (m *ActMissionGroup) XXX_Size() int {
return m.Size()
}
func (m *ActMissionGroup) XXX_DiscardUnknown() {
xxx_messageInfo_ActMissionGroup.DiscardUnknown(m)
}
var xxx_messageInfo_ActMissionGroup proto.InternalMessageInfo
type ActMissionGroups struct {
ActMissionGroups []*ActMissionGroup `protobuf:"bytes,1,rep,name=actMissionGroups" json:"actMissionGroups,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ActMissionGroups) Reset() { *m = ActMissionGroups{} }
func (m *ActMissionGroups) String() string { return proto.CompactTextString(m) }
func (*ActMissionGroups) ProtoMessage() {}
func (*ActMissionGroups) Descriptor() ([]byte, []int) {
return fileDescriptor_missiongroup_2ff59dc279cfd0a8, []int{2}
}
func (m *ActMissionGroups) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ActMissionGroups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ActMissionGroups.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalTo(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (dst *ActMissionGroups) XXX_Merge(src proto.Message) {
xxx_messageInfo_ActMissionGroups.Merge(dst, src)
}
func (m *ActMissionGroups) XXX_Size() int {
return m.Size()
}
func (m *ActMissionGroups) XXX_DiscardUnknown() {
xxx_messageInfo_ActMissionGroups.DiscardUnknown(m)
}
var xxx_messageInfo_ActMissionGroups proto.InternalMessageInfo
func init() {
proto.RegisterType((*MissionGroup)(nil), "activity.service.MissionGroup")
proto.RegisterType((*ActMissionGroup)(nil), "activity.service.ActMissionGroup")
proto.RegisterType((*ActMissionGroups)(nil), "activity.service.ActMissionGroups")
}
func (m *MissionGroup) 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 *MissionGroup) MarshalTo(dAtA []byte) (int, error) {
var i int
_ = i
var l int
_ = l
if m.ID != 0 {
dAtA[i] = 0x8
i++
i = encodeVarintMissiongroup(dAtA, i, uint64(m.ID))
}
if m.Sid != 0 {
dAtA[i] = 0x10
i++
i = encodeVarintMissiongroup(dAtA, i, uint64(m.Sid))
}
if m.Mid != 0 {
dAtA[i] = 0x18
i++
i = encodeVarintMissiongroup(dAtA, i, uint64(m.Mid))
}
if m.State != 0 {
dAtA[i] = 0x20
i++
i = encodeVarintMissiongroup(dAtA, i, uint64(m.State))
}
if m.Ctime != 0 {
dAtA[i] = 0x28
i++
i = encodeVarintMissiongroup(dAtA, i, uint64(m.Ctime))
}
if m.Mtime != 0 {
dAtA[i] = 0x30
i++
i = encodeVarintMissiongroup(dAtA, i, uint64(m.Mtime))
}
if m.XXX_unrecognized != nil {
i += copy(dAtA[i:], m.XXX_unrecognized)
}
return i, nil
}
func (m *ActMissionGroup) 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 *ActMissionGroup) MarshalTo(dAtA []byte) (int, error) {
var i int
_ = i
var l int
_ = l
if m.ID != 0 {
dAtA[i] = 0x8
i++
i = encodeVarintMissiongroup(dAtA, i, uint64(m.ID))
}
if m.Lid != 0 {
dAtA[i] = 0x10
i++
i = encodeVarintMissiongroup(dAtA, i, uint64(m.Lid))
}
if m.Mid != 0 {
dAtA[i] = 0x18
i++
i = encodeVarintMissiongroup(dAtA, i, uint64(m.Mid))
}
if m.Action != 0 {
dAtA[i] = 0x20
i++
i = encodeVarintMissiongroup(dAtA, i, uint64(m.Action))
}
if m.Ctime != 0 {
dAtA[i] = 0x28
i++
i = encodeVarintMissiongroup(dAtA, i, uint64(m.Ctime))
}
if m.Mtime != 0 {
dAtA[i] = 0x30
i++
i = encodeVarintMissiongroup(dAtA, i, uint64(m.Mtime))
}
if m.Sid != 0 {
dAtA[i] = 0x38
i++
i = encodeVarintMissiongroup(dAtA, i, uint64(m.Sid))
}
if m.IP != 0 {
dAtA[i] = 0x40
i++
i = encodeVarintMissiongroup(dAtA, i, uint64(m.IP))
}
if len(m.IPv6) > 0 {
dAtA[i] = 0x4a
i++
i = encodeVarintMissiongroup(dAtA, i, uint64(len(m.IPv6)))
i += copy(dAtA[i:], m.IPv6)
}
if m.XXX_unrecognized != nil {
i += copy(dAtA[i:], m.XXX_unrecognized)
}
return i, nil
}
func (m *ActMissionGroups) 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 *ActMissionGroups) MarshalTo(dAtA []byte) (int, error) {
var i int
_ = i
var l int
_ = l
if len(m.ActMissionGroups) > 0 {
for _, msg := range m.ActMissionGroups {
dAtA[i] = 0xa
i++
i = encodeVarintMissiongroup(dAtA, i, uint64(msg.Size()))
n, err := msg.MarshalTo(dAtA[i:])
if err != nil {
return 0, err
}
i += n
}
}
if m.XXX_unrecognized != nil {
i += copy(dAtA[i:], m.XXX_unrecognized)
}
return i, nil
}
func encodeVarintMissiongroup(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 *MissionGroup) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.ID != 0 {
n += 1 + sovMissiongroup(uint64(m.ID))
}
if m.Sid != 0 {
n += 1 + sovMissiongroup(uint64(m.Sid))
}
if m.Mid != 0 {
n += 1 + sovMissiongroup(uint64(m.Mid))
}
if m.State != 0 {
n += 1 + sovMissiongroup(uint64(m.State))
}
if m.Ctime != 0 {
n += 1 + sovMissiongroup(uint64(m.Ctime))
}
if m.Mtime != 0 {
n += 1 + sovMissiongroup(uint64(m.Mtime))
}
if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized)
}
return n
}
func (m *ActMissionGroup) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.ID != 0 {
n += 1 + sovMissiongroup(uint64(m.ID))
}
if m.Lid != 0 {
n += 1 + sovMissiongroup(uint64(m.Lid))
}
if m.Mid != 0 {
n += 1 + sovMissiongroup(uint64(m.Mid))
}
if m.Action != 0 {
n += 1 + sovMissiongroup(uint64(m.Action))
}
if m.Ctime != 0 {
n += 1 + sovMissiongroup(uint64(m.Ctime))
}
if m.Mtime != 0 {
n += 1 + sovMissiongroup(uint64(m.Mtime))
}
if m.Sid != 0 {
n += 1 + sovMissiongroup(uint64(m.Sid))
}
if m.IP != 0 {
n += 1 + sovMissiongroup(uint64(m.IP))
}
l = len(m.IPv6)
if l > 0 {
n += 1 + l + sovMissiongroup(uint64(l))
}
if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized)
}
return n
}
func (m *ActMissionGroups) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if len(m.ActMissionGroups) > 0 {
for _, e := range m.ActMissionGroups {
l = e.Size()
n += 1 + l + sovMissiongroup(uint64(l))
}
}
if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized)
}
return n
}
func sovMissiongroup(x uint64) (n int) {
for {
n++
x >>= 7
if x == 0 {
break
}
}
return n
}
func sozMissiongroup(x uint64) (n int) {
return sovMissiongroup(uint64((x << 1) ^ uint64((int64(x) >> 63))))
}
func (m *MissionGroup) 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 ErrIntOverflowMissiongroup
}
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: MissionGroup: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: MissionGroup: 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 ErrIntOverflowMissiongroup
}
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 Sid", wireType)
}
m.Sid = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowMissiongroup
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.Sid |= (int64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 3:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
}
m.Mid = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowMissiongroup
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.Mid |= (int64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 4:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field State", wireType)
}
m.State = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowMissiongroup
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.State |= (int64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 5:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Ctime", wireType)
}
m.Ctime = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowMissiongroup
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.Ctime |= (go_common_library_time.Time(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 6:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Mtime", wireType)
}
m.Mtime = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowMissiongroup
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.Mtime |= (go_common_library_time.Time(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
default:
iNdEx = preIndex
skippy, err := skipMissiongroup(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthMissiongroup
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *ActMissionGroup) 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 ErrIntOverflowMissiongroup
}
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: ActMissionGroup: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ActMissionGroup: 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 ErrIntOverflowMissiongroup
}
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 Lid", wireType)
}
m.Lid = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowMissiongroup
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.Lid |= (int64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 3:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
}
m.Mid = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowMissiongroup
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.Mid |= (int64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 4:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Action", wireType)
}
m.Action = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowMissiongroup
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.Action |= (int64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 5:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Ctime", wireType)
}
m.Ctime = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowMissiongroup
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.Ctime |= (go_common_library_time.Time(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 6:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Mtime", wireType)
}
m.Mtime = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowMissiongroup
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.Mtime |= (go_common_library_time.Time(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 7:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Sid", wireType)
}
m.Sid = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowMissiongroup
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.Sid |= (int64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 8:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field IP", wireType)
}
m.IP = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowMissiongroup
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.IP |= (int64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 9:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field IPv6", wireType)
}
var byteLen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowMissiongroup
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
byteLen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if byteLen < 0 {
return ErrInvalidLengthMissiongroup
}
postIndex := iNdEx + byteLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.IPv6 = append(m.IPv6[:0], dAtA[iNdEx:postIndex]...)
if m.IPv6 == nil {
m.IPv6 = []byte{}
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipMissiongroup(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthMissiongroup
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *ActMissionGroups) 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 ErrIntOverflowMissiongroup
}
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: ActMissionGroups: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ActMissionGroups: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ActMissionGroups", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowMissiongroup
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthMissiongroup
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.ActMissionGroups = append(m.ActMissionGroups, &ActMissionGroup{})
if err := m.ActMissionGroups[len(m.ActMissionGroups)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipMissiongroup(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthMissiongroup
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func skipMissiongroup(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, ErrIntOverflowMissiongroup
}
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, ErrIntOverflowMissiongroup
}
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, ErrIntOverflowMissiongroup
}
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, ErrInvalidLengthMissiongroup
}
return iNdEx, nil
case 3:
for {
var innerWire uint64
var start int = iNdEx
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 0, ErrIntOverflowMissiongroup
}
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 := skipMissiongroup(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 (
ErrInvalidLengthMissiongroup = fmt.Errorf("proto: negative length found during unmarshaling")
ErrIntOverflowMissiongroup = fmt.Errorf("proto: integer overflow")
)
func init() { proto.RegisterFile("missiongroup.proto", fileDescriptor_missiongroup_2ff59dc279cfd0a8) }
var fileDescriptor_missiongroup_2ff59dc279cfd0a8 = []byte{
// 406 bytes of a gzipped FileDescriptorProto
0x1f, 0x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