github.com/onosproject/onos-api/go@v0.10.32/onos/mho/mho.pb.go (about)

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: onos/mho/mho.proto
     3  
     4  package mho
     5  
     6  import (
     7  	context "context"
     8  	fmt "fmt"
     9  	proto "github.com/gogo/protobuf/proto"
    10  	grpc "google.golang.org/grpc"
    11  	codes "google.golang.org/grpc/codes"
    12  	status "google.golang.org/grpc/status"
    13  	io "io"
    14  	math "math"
    15  	math_bits "math/bits"
    16  )
    17  
    18  // Reference imports to suppress errors if they are not otherwise used.
    19  var _ = proto.Marshal
    20  var _ = fmt.Errorf
    21  var _ = math.Inf
    22  
    23  // This is a compile-time assertion to ensure that this generated file
    24  // is compatible with the proto package it is being compiled against.
    25  // A compilation error at this line likely means your copy of the
    26  // proto package needs to be updated.
    27  const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    28  
    29  type GetRequest struct {
    30  }
    31  
    32  func (m *GetRequest) Reset()         { *m = GetRequest{} }
    33  func (m *GetRequest) String() string { return proto.CompactTextString(m) }
    34  func (*GetRequest) ProtoMessage()    {}
    35  func (*GetRequest) Descriptor() ([]byte, []int) {
    36  	return fileDescriptor_2241cd1f7f71b11c, []int{0}
    37  }
    38  func (m *GetRequest) XXX_Unmarshal(b []byte) error {
    39  	return m.Unmarshal(b)
    40  }
    41  func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    42  	if deterministic {
    43  		return xxx_messageInfo_GetRequest.Marshal(b, m, deterministic)
    44  	} else {
    45  		b = b[:cap(b)]
    46  		n, err := m.MarshalToSizedBuffer(b)
    47  		if err != nil {
    48  			return nil, err
    49  		}
    50  		return b[:n], nil
    51  	}
    52  }
    53  func (m *GetRequest) XXX_Merge(src proto.Message) {
    54  	xxx_messageInfo_GetRequest.Merge(m, src)
    55  }
    56  func (m *GetRequest) XXX_Size() int {
    57  	return m.Size()
    58  }
    59  func (m *GetRequest) XXX_DiscardUnknown() {
    60  	xxx_messageInfo_GetRequest.DiscardUnknown(m)
    61  }
    62  
    63  var xxx_messageInfo_GetRequest proto.InternalMessageInfo
    64  
    65  type UeList struct {
    66  	Ues []*UE `protobuf:"bytes,1,rep,name=ues,proto3" json:"ues,omitempty"`
    67  }
    68  
    69  func (m *UeList) Reset()         { *m = UeList{} }
    70  func (m *UeList) String() string { return proto.CompactTextString(m) }
    71  func (*UeList) ProtoMessage()    {}
    72  func (*UeList) Descriptor() ([]byte, []int) {
    73  	return fileDescriptor_2241cd1f7f71b11c, []int{1}
    74  }
    75  func (m *UeList) XXX_Unmarshal(b []byte) error {
    76  	return m.Unmarshal(b)
    77  }
    78  func (m *UeList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    79  	if deterministic {
    80  		return xxx_messageInfo_UeList.Marshal(b, m, deterministic)
    81  	} else {
    82  		b = b[:cap(b)]
    83  		n, err := m.MarshalToSizedBuffer(b)
    84  		if err != nil {
    85  			return nil, err
    86  		}
    87  		return b[:n], nil
    88  	}
    89  }
    90  func (m *UeList) XXX_Merge(src proto.Message) {
    91  	xxx_messageInfo_UeList.Merge(m, src)
    92  }
    93  func (m *UeList) XXX_Size() int {
    94  	return m.Size()
    95  }
    96  func (m *UeList) XXX_DiscardUnknown() {
    97  	xxx_messageInfo_UeList.DiscardUnknown(m)
    98  }
    99  
   100  var xxx_messageInfo_UeList proto.InternalMessageInfo
   101  
   102  func (m *UeList) GetUes() []*UE {
   103  	if m != nil {
   104  		return m.Ues
   105  	}
   106  	return nil
   107  }
   108  
   109  type CellList struct {
   110  	Cells []*Cell `protobuf:"bytes,1,rep,name=cells,proto3" json:"cells,omitempty"`
   111  }
   112  
   113  func (m *CellList) Reset()         { *m = CellList{} }
   114  func (m *CellList) String() string { return proto.CompactTextString(m) }
   115  func (*CellList) ProtoMessage()    {}
   116  func (*CellList) Descriptor() ([]byte, []int) {
   117  	return fileDescriptor_2241cd1f7f71b11c, []int{2}
   118  }
   119  func (m *CellList) XXX_Unmarshal(b []byte) error {
   120  	return m.Unmarshal(b)
   121  }
   122  func (m *CellList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   123  	if deterministic {
   124  		return xxx_messageInfo_CellList.Marshal(b, m, deterministic)
   125  	} else {
   126  		b = b[:cap(b)]
   127  		n, err := m.MarshalToSizedBuffer(b)
   128  		if err != nil {
   129  			return nil, err
   130  		}
   131  		return b[:n], nil
   132  	}
   133  }
   134  func (m *CellList) XXX_Merge(src proto.Message) {
   135  	xxx_messageInfo_CellList.Merge(m, src)
   136  }
   137  func (m *CellList) XXX_Size() int {
   138  	return m.Size()
   139  }
   140  func (m *CellList) XXX_DiscardUnknown() {
   141  	xxx_messageInfo_CellList.DiscardUnknown(m)
   142  }
   143  
   144  var xxx_messageInfo_CellList proto.InternalMessageInfo
   145  
   146  func (m *CellList) GetCells() []*Cell {
   147  	if m != nil {
   148  		return m.Cells
   149  	}
   150  	return nil
   151  }
   152  
   153  type UE struct {
   154  	UeId    string `protobuf:"bytes,1,opt,name=ue_id,json=ueId,proto3" json:"ue_id,omitempty"`
   155  	HoState string `protobuf:"bytes,2,opt,name=ho_state,json=hoState,proto3" json:"ho_state,omitempty"`
   156  	Cgi     string `protobuf:"bytes,3,opt,name=cgi,proto3" json:"cgi,omitempty"`
   157  }
   158  
   159  func (m *UE) Reset()         { *m = UE{} }
   160  func (m *UE) String() string { return proto.CompactTextString(m) }
   161  func (*UE) ProtoMessage()    {}
   162  func (*UE) Descriptor() ([]byte, []int) {
   163  	return fileDescriptor_2241cd1f7f71b11c, []int{3}
   164  }
   165  func (m *UE) XXX_Unmarshal(b []byte) error {
   166  	return m.Unmarshal(b)
   167  }
   168  func (m *UE) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   169  	if deterministic {
   170  		return xxx_messageInfo_UE.Marshal(b, m, deterministic)
   171  	} else {
   172  		b = b[:cap(b)]
   173  		n, err := m.MarshalToSizedBuffer(b)
   174  		if err != nil {
   175  			return nil, err
   176  		}
   177  		return b[:n], nil
   178  	}
   179  }
   180  func (m *UE) XXX_Merge(src proto.Message) {
   181  	xxx_messageInfo_UE.Merge(m, src)
   182  }
   183  func (m *UE) XXX_Size() int {
   184  	return m.Size()
   185  }
   186  func (m *UE) XXX_DiscardUnknown() {
   187  	xxx_messageInfo_UE.DiscardUnknown(m)
   188  }
   189  
   190  var xxx_messageInfo_UE proto.InternalMessageInfo
   191  
   192  func (m *UE) GetUeId() string {
   193  	if m != nil {
   194  		return m.UeId
   195  	}
   196  	return ""
   197  }
   198  
   199  func (m *UE) GetHoState() string {
   200  	if m != nil {
   201  		return m.HoState
   202  	}
   203  	return ""
   204  }
   205  
   206  func (m *UE) GetCgi() string {
   207  	if m != nil {
   208  		return m.Cgi
   209  	}
   210  	return ""
   211  }
   212  
   213  type Cell struct {
   214  	Cgi                    string `protobuf:"bytes,1,opt,name=cgi,proto3" json:"cgi,omitempty"`
   215  	NumUes                 int64  `protobuf:"varint,2,opt,name=num_ues,json=numUes,proto3" json:"num_ues,omitempty"`
   216  	CumulativeHandoversIn  int64  `protobuf:"varint,4,opt,name=cumulative_handovers_in,json=cumulativeHandoversIn,proto3" json:"cumulative_handovers_in,omitempty"`
   217  	CumulativeHandoversOut int64  `protobuf:"varint,5,opt,name=cumulative_handovers_out,json=cumulativeHandoversOut,proto3" json:"cumulative_handovers_out,omitempty"`
   218  }
   219  
   220  func (m *Cell) Reset()         { *m = Cell{} }
   221  func (m *Cell) String() string { return proto.CompactTextString(m) }
   222  func (*Cell) ProtoMessage()    {}
   223  func (*Cell) Descriptor() ([]byte, []int) {
   224  	return fileDescriptor_2241cd1f7f71b11c, []int{4}
   225  }
   226  func (m *Cell) XXX_Unmarshal(b []byte) error {
   227  	return m.Unmarshal(b)
   228  }
   229  func (m *Cell) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   230  	if deterministic {
   231  		return xxx_messageInfo_Cell.Marshal(b, m, deterministic)
   232  	} else {
   233  		b = b[:cap(b)]
   234  		n, err := m.MarshalToSizedBuffer(b)
   235  		if err != nil {
   236  			return nil, err
   237  		}
   238  		return b[:n], nil
   239  	}
   240  }
   241  func (m *Cell) XXX_Merge(src proto.Message) {
   242  	xxx_messageInfo_Cell.Merge(m, src)
   243  }
   244  func (m *Cell) XXX_Size() int {
   245  	return m.Size()
   246  }
   247  func (m *Cell) XXX_DiscardUnknown() {
   248  	xxx_messageInfo_Cell.DiscardUnknown(m)
   249  }
   250  
   251  var xxx_messageInfo_Cell proto.InternalMessageInfo
   252  
   253  func (m *Cell) GetCgi() string {
   254  	if m != nil {
   255  		return m.Cgi
   256  	}
   257  	return ""
   258  }
   259  
   260  func (m *Cell) GetNumUes() int64 {
   261  	if m != nil {
   262  		return m.NumUes
   263  	}
   264  	return 0
   265  }
   266  
   267  func (m *Cell) GetCumulativeHandoversIn() int64 {
   268  	if m != nil {
   269  		return m.CumulativeHandoversIn
   270  	}
   271  	return 0
   272  }
   273  
   274  func (m *Cell) GetCumulativeHandoversOut() int64 {
   275  	if m != nil {
   276  		return m.CumulativeHandoversOut
   277  	}
   278  	return 0
   279  }
   280  
   281  func init() {
   282  	proto.RegisterType((*GetRequest)(nil), "onos.mho.GetRequest")
   283  	proto.RegisterType((*UeList)(nil), "onos.mho.UeList")
   284  	proto.RegisterType((*CellList)(nil), "onos.mho.CellList")
   285  	proto.RegisterType((*UE)(nil), "onos.mho.UE")
   286  	proto.RegisterType((*Cell)(nil), "onos.mho.Cell")
   287  }
   288  
   289  func init() { proto.RegisterFile("onos/mho/mho.proto", fileDescriptor_2241cd1f7f71b11c) }
   290  
   291  var fileDescriptor_2241cd1f7f71b11c = []byte{
   292  	// 342 bytes of a gzipped FileDescriptorProto
   293  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91, 0xcd, 0x4a, 0xc3, 0x40,
   294  	0x14, 0x85, 0x33, 0x4d, 0x9b, 0xc6, 0x6b, 0x91, 0x32, 0xfe, 0x74, 0x74, 0x11, 0x4a, 0x70, 0xd1,
   295  	0x55, 0x94, 0x0a, 0xc5, 0xb5, 0x52, 0x6b, 0x41, 0x10, 0x22, 0x59, 0x87, 0xda, 0x5e, 0x4c, 0x20,
   296  	0xc9, 0xd8, 0xce, 0x4c, 0x9f, 0xc3, 0x77, 0xf0, 0x65, 0x5c, 0x76, 0xe9, 0x52, 0xda, 0x17, 0x91,
   297  	0x99, 0x12, 0xa3, 0x50, 0x17, 0x81, 0xcc, 0x39, 0xdf, 0xb9, 0xdc, 0x39, 0x03, 0x94, 0x17, 0x5c,
   298  	0x5c, 0xe4, 0x09, 0xd7, 0x5f, 0xf0, 0xba, 0xe0, 0x92, 0x53, 0x57, 0x6b, 0x41, 0x9e, 0x70, 0xbf,
   299  	0x05, 0x30, 0x42, 0x19, 0xe2, 0x5c, 0xa1, 0x90, 0x7e, 0x0f, 0x9c, 0x08, 0x1f, 0x52, 0x21, 0xa9,
   300  	0x07, 0xb6, 0x42, 0xc1, 0x48, 0xd7, 0xee, 0xed, 0xf7, 0x5b, 0x41, 0xc9, 0x07, 0xd1, 0x30, 0xd4,
   301  	0x86, 0x7f, 0x09, 0xee, 0x2d, 0x66, 0x99, 0x61, 0xcf, 0xa1, 0x31, 0xc5, 0x2c, 0x2b, 0xe9, 0x83,
   302  	0x8a, 0xd6, 0x48, 0xb8, 0x35, 0xfd, 0x3b, 0xa8, 0x45, 0x43, 0x7a, 0x08, 0x0d, 0x85, 0x71, 0x3a,
   303  	0x63, 0xa4, 0x4b, 0x7a, 0x7b, 0x61, 0x5d, 0xe1, 0x78, 0x46, 0x4f, 0xc1, 0x4d, 0x78, 0x2c, 0xe4,
   304  	0x44, 0x22, 0xab, 0x19, 0xbd, 0x99, 0xf0, 0x27, 0x7d, 0xa4, 0x6d, 0xb0, 0xa7, 0x2f, 0x29, 0xb3,
   305  	0x8d, 0xaa, 0x7f, 0xfd, 0x77, 0x02, 0x75, 0x3d, 0xb7, 0xb4, 0xc8, 0x8f, 0x45, 0x3b, 0xd0, 0x2c,
   306  	0x54, 0x1e, 0xeb, 0xc5, 0xf5, 0x18, 0x3b, 0x74, 0x0a, 0x95, 0x47, 0x28, 0xe8, 0x00, 0x3a, 0x53,
   307  	0x95, 0xab, 0x6c, 0x22, 0xd3, 0x25, 0xc6, 0xc9, 0xa4, 0x98, 0xf1, 0x25, 0x2e, 0x44, 0x9c, 0x16,
   308  	0xac, 0x6e, 0xc0, 0xe3, 0xca, 0xbe, 0x2f, 0xdd, 0x71, 0x41, 0xaf, 0x81, 0xed, 0xcc, 0x71, 0x25,
   309  	0x59, 0xc3, 0x04, 0x4f, 0x76, 0x04, 0x1f, 0x95, 0xec, 0xcf, 0xc1, 0xce, 0x13, 0x4e, 0xfb, 0xe0,
   310  	0x8c, 0x50, 0xea, 0x15, 0x8e, 0xaa, 0x56, 0xaa, 0xc2, 0xcf, 0xda, 0xbf, 0x9a, 0x35, 0xc5, 0xfb,
   311  	0x16, 0x1d, 0x80, 0x3b, 0x42, 0xa9, 0xaf, 0xf8, 0x5f, 0x8a, 0xfe, 0x6d, 0x78, 0x9b, 0xbb, 0x61,
   312  	0x1f, 0x6b, 0x8f, 0xac, 0xd6, 0x1e, 0xf9, 0x5a, 0x7b, 0xe4, 0x6d, 0xe3, 0x59, 0xab, 0x8d, 0x67,
   313  	0x7d, 0x6e, 0x3c, 0xeb, 0xd9, 0x31, 0xaf, 0x7e, 0xf5, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x98, 0xa5,
   314  	0x55, 0xa1, 0x0b, 0x02, 0x00, 0x00,
   315  }
   316  
   317  // Reference imports to suppress errors if they are not otherwise used.
   318  var _ context.Context
   319  var _ grpc.ClientConn
   320  
   321  // This is a compile-time assertion to ensure that this generated file
   322  // is compatible with the grpc package it is being compiled against.
   323  const _ = grpc.SupportPackageIsVersion4
   324  
   325  // MhoClient is the client API for Mho service.
   326  //
   327  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   328  type MhoClient interface {
   329  	GetUes(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*UeList, error)
   330  	GetCells(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*CellList, error)
   331  }
   332  
   333  type mhoClient struct {
   334  	cc *grpc.ClientConn
   335  }
   336  
   337  func NewMhoClient(cc *grpc.ClientConn) MhoClient {
   338  	return &mhoClient{cc}
   339  }
   340  
   341  func (c *mhoClient) GetUes(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*UeList, error) {
   342  	out := new(UeList)
   343  	err := c.cc.Invoke(ctx, "/onos.mho.mho/GetUes", in, out, opts...)
   344  	if err != nil {
   345  		return nil, err
   346  	}
   347  	return out, nil
   348  }
   349  
   350  func (c *mhoClient) GetCells(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*CellList, error) {
   351  	out := new(CellList)
   352  	err := c.cc.Invoke(ctx, "/onos.mho.mho/GetCells", in, out, opts...)
   353  	if err != nil {
   354  		return nil, err
   355  	}
   356  	return out, nil
   357  }
   358  
   359  // MhoServer is the server API for Mho service.
   360  type MhoServer interface {
   361  	GetUes(context.Context, *GetRequest) (*UeList, error)
   362  	GetCells(context.Context, *GetRequest) (*CellList, error)
   363  }
   364  
   365  // UnimplementedMhoServer can be embedded to have forward compatible implementations.
   366  type UnimplementedMhoServer struct {
   367  }
   368  
   369  func (*UnimplementedMhoServer) GetUes(ctx context.Context, req *GetRequest) (*UeList, error) {
   370  	return nil, status.Errorf(codes.Unimplemented, "method GetUes not implemented")
   371  }
   372  func (*UnimplementedMhoServer) GetCells(ctx context.Context, req *GetRequest) (*CellList, error) {
   373  	return nil, status.Errorf(codes.Unimplemented, "method GetCells not implemented")
   374  }
   375  
   376  func RegisterMhoServer(s *grpc.Server, srv MhoServer) {
   377  	s.RegisterService(&_Mho_serviceDesc, srv)
   378  }
   379  
   380  func _Mho_GetUes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   381  	in := new(GetRequest)
   382  	if err := dec(in); err != nil {
   383  		return nil, err
   384  	}
   385  	if interceptor == nil {
   386  		return srv.(MhoServer).GetUes(ctx, in)
   387  	}
   388  	info := &grpc.UnaryServerInfo{
   389  		Server:     srv,
   390  		FullMethod: "/onos.mho.mho/GetUes",
   391  	}
   392  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   393  		return srv.(MhoServer).GetUes(ctx, req.(*GetRequest))
   394  	}
   395  	return interceptor(ctx, in, info, handler)
   396  }
   397  
   398  func _Mho_GetCells_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   399  	in := new(GetRequest)
   400  	if err := dec(in); err != nil {
   401  		return nil, err
   402  	}
   403  	if interceptor == nil {
   404  		return srv.(MhoServer).GetCells(ctx, in)
   405  	}
   406  	info := &grpc.UnaryServerInfo{
   407  		Server:     srv,
   408  		FullMethod: "/onos.mho.mho/GetCells",
   409  	}
   410  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   411  		return srv.(MhoServer).GetCells(ctx, req.(*GetRequest))
   412  	}
   413  	return interceptor(ctx, in, info, handler)
   414  }
   415  
   416  var _Mho_serviceDesc = grpc.ServiceDesc{
   417  	ServiceName: "onos.mho.mho",
   418  	HandlerType: (*MhoServer)(nil),
   419  	Methods: []grpc.MethodDesc{
   420  		{
   421  			MethodName: "GetUes",
   422  			Handler:    _Mho_GetUes_Handler,
   423  		},
   424  		{
   425  			MethodName: "GetCells",
   426  			Handler:    _Mho_GetCells_Handler,
   427  		},
   428  	},
   429  	Streams:  []grpc.StreamDesc{},
   430  	Metadata: "onos/mho/mho.proto",
   431  }
   432  
   433  func (m *GetRequest) Marshal() (dAtA []byte, err error) {
   434  	size := m.Size()
   435  	dAtA = make([]byte, size)
   436  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   437  	if err != nil {
   438  		return nil, err
   439  	}
   440  	return dAtA[:n], nil
   441  }
   442  
   443  func (m *GetRequest) MarshalTo(dAtA []byte) (int, error) {
   444  	size := m.Size()
   445  	return m.MarshalToSizedBuffer(dAtA[:size])
   446  }
   447  
   448  func (m *GetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   449  	i := len(dAtA)
   450  	_ = i
   451  	var l int
   452  	_ = l
   453  	return len(dAtA) - i, nil
   454  }
   455  
   456  func (m *UeList) Marshal() (dAtA []byte, err error) {
   457  	size := m.Size()
   458  	dAtA = make([]byte, size)
   459  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   460  	if err != nil {
   461  		return nil, err
   462  	}
   463  	return dAtA[:n], nil
   464  }
   465  
   466  func (m *UeList) MarshalTo(dAtA []byte) (int, error) {
   467  	size := m.Size()
   468  	return m.MarshalToSizedBuffer(dAtA[:size])
   469  }
   470  
   471  func (m *UeList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   472  	i := len(dAtA)
   473  	_ = i
   474  	var l int
   475  	_ = l
   476  	if len(m.Ues) > 0 {
   477  		for iNdEx := len(m.Ues) - 1; iNdEx >= 0; iNdEx-- {
   478  			{
   479  				size, err := m.Ues[iNdEx].MarshalToSizedBuffer(dAtA[:i])
   480  				if err != nil {
   481  					return 0, err
   482  				}
   483  				i -= size
   484  				i = encodeVarintMho(dAtA, i, uint64(size))
   485  			}
   486  			i--
   487  			dAtA[i] = 0xa
   488  		}
   489  	}
   490  	return len(dAtA) - i, nil
   491  }
   492  
   493  func (m *CellList) Marshal() (dAtA []byte, err error) {
   494  	size := m.Size()
   495  	dAtA = make([]byte, size)
   496  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   497  	if err != nil {
   498  		return nil, err
   499  	}
   500  	return dAtA[:n], nil
   501  }
   502  
   503  func (m *CellList) MarshalTo(dAtA []byte) (int, error) {
   504  	size := m.Size()
   505  	return m.MarshalToSizedBuffer(dAtA[:size])
   506  }
   507  
   508  func (m *CellList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   509  	i := len(dAtA)
   510  	_ = i
   511  	var l int
   512  	_ = l
   513  	if len(m.Cells) > 0 {
   514  		for iNdEx := len(m.Cells) - 1; iNdEx >= 0; iNdEx-- {
   515  			{
   516  				size, err := m.Cells[iNdEx].MarshalToSizedBuffer(dAtA[:i])
   517  				if err != nil {
   518  					return 0, err
   519  				}
   520  				i -= size
   521  				i = encodeVarintMho(dAtA, i, uint64(size))
   522  			}
   523  			i--
   524  			dAtA[i] = 0xa
   525  		}
   526  	}
   527  	return len(dAtA) - i, nil
   528  }
   529  
   530  func (m *UE) Marshal() (dAtA []byte, err error) {
   531  	size := m.Size()
   532  	dAtA = make([]byte, size)
   533  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   534  	if err != nil {
   535  		return nil, err
   536  	}
   537  	return dAtA[:n], nil
   538  }
   539  
   540  func (m *UE) MarshalTo(dAtA []byte) (int, error) {
   541  	size := m.Size()
   542  	return m.MarshalToSizedBuffer(dAtA[:size])
   543  }
   544  
   545  func (m *UE) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   546  	i := len(dAtA)
   547  	_ = i
   548  	var l int
   549  	_ = l
   550  	if len(m.Cgi) > 0 {
   551  		i -= len(m.Cgi)
   552  		copy(dAtA[i:], m.Cgi)
   553  		i = encodeVarintMho(dAtA, i, uint64(len(m.Cgi)))
   554  		i--
   555  		dAtA[i] = 0x1a
   556  	}
   557  	if len(m.HoState) > 0 {
   558  		i -= len(m.HoState)
   559  		copy(dAtA[i:], m.HoState)
   560  		i = encodeVarintMho(dAtA, i, uint64(len(m.HoState)))
   561  		i--
   562  		dAtA[i] = 0x12
   563  	}
   564  	if len(m.UeId) > 0 {
   565  		i -= len(m.UeId)
   566  		copy(dAtA[i:], m.UeId)
   567  		i = encodeVarintMho(dAtA, i, uint64(len(m.UeId)))
   568  		i--
   569  		dAtA[i] = 0xa
   570  	}
   571  	return len(dAtA) - i, nil
   572  }
   573  
   574  func (m *Cell) Marshal() (dAtA []byte, err error) {
   575  	size := m.Size()
   576  	dAtA = make([]byte, size)
   577  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   578  	if err != nil {
   579  		return nil, err
   580  	}
   581  	return dAtA[:n], nil
   582  }
   583  
   584  func (m *Cell) MarshalTo(dAtA []byte) (int, error) {
   585  	size := m.Size()
   586  	return m.MarshalToSizedBuffer(dAtA[:size])
   587  }
   588  
   589  func (m *Cell) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   590  	i := len(dAtA)
   591  	_ = i
   592  	var l int
   593  	_ = l
   594  	if m.CumulativeHandoversOut != 0 {
   595  		i = encodeVarintMho(dAtA, i, uint64(m.CumulativeHandoversOut))
   596  		i--
   597  		dAtA[i] = 0x28
   598  	}
   599  	if m.CumulativeHandoversIn != 0 {
   600  		i = encodeVarintMho(dAtA, i, uint64(m.CumulativeHandoversIn))
   601  		i--
   602  		dAtA[i] = 0x20
   603  	}
   604  	if m.NumUes != 0 {
   605  		i = encodeVarintMho(dAtA, i, uint64(m.NumUes))
   606  		i--
   607  		dAtA[i] = 0x10
   608  	}
   609  	if len(m.Cgi) > 0 {
   610  		i -= len(m.Cgi)
   611  		copy(dAtA[i:], m.Cgi)
   612  		i = encodeVarintMho(dAtA, i, uint64(len(m.Cgi)))
   613  		i--
   614  		dAtA[i] = 0xa
   615  	}
   616  	return len(dAtA) - i, nil
   617  }
   618  
   619  func encodeVarintMho(dAtA []byte, offset int, v uint64) int {
   620  	offset -= sovMho(v)
   621  	base := offset
   622  	for v >= 1<<7 {
   623  		dAtA[offset] = uint8(v&0x7f | 0x80)
   624  		v >>= 7
   625  		offset++
   626  	}
   627  	dAtA[offset] = uint8(v)
   628  	return base
   629  }
   630  func (m *GetRequest) Size() (n int) {
   631  	if m == nil {
   632  		return 0
   633  	}
   634  	var l int
   635  	_ = l
   636  	return n
   637  }
   638  
   639  func (m *UeList) Size() (n int) {
   640  	if m == nil {
   641  		return 0
   642  	}
   643  	var l int
   644  	_ = l
   645  	if len(m.Ues) > 0 {
   646  		for _, e := range m.Ues {
   647  			l = e.Size()
   648  			n += 1 + l + sovMho(uint64(l))
   649  		}
   650  	}
   651  	return n
   652  }
   653  
   654  func (m *CellList) Size() (n int) {
   655  	if m == nil {
   656  		return 0
   657  	}
   658  	var l int
   659  	_ = l
   660  	if len(m.Cells) > 0 {
   661  		for _, e := range m.Cells {
   662  			l = e.Size()
   663  			n += 1 + l + sovMho(uint64(l))
   664  		}
   665  	}
   666  	return n
   667  }
   668  
   669  func (m *UE) Size() (n int) {
   670  	if m == nil {
   671  		return 0
   672  	}
   673  	var l int
   674  	_ = l
   675  	l = len(m.UeId)
   676  	if l > 0 {
   677  		n += 1 + l + sovMho(uint64(l))
   678  	}
   679  	l = len(m.HoState)
   680  	if l > 0 {
   681  		n += 1 + l + sovMho(uint64(l))
   682  	}
   683  	l = len(m.Cgi)
   684  	if l > 0 {
   685  		n += 1 + l + sovMho(uint64(l))
   686  	}
   687  	return n
   688  }
   689  
   690  func (m *Cell) Size() (n int) {
   691  	if m == nil {
   692  		return 0
   693  	}
   694  	var l int
   695  	_ = l
   696  	l = len(m.Cgi)
   697  	if l > 0 {
   698  		n += 1 + l + sovMho(uint64(l))
   699  	}
   700  	if m.NumUes != 0 {
   701  		n += 1 + sovMho(uint64(m.NumUes))
   702  	}
   703  	if m.CumulativeHandoversIn != 0 {
   704  		n += 1 + sovMho(uint64(m.CumulativeHandoversIn))
   705  	}
   706  	if m.CumulativeHandoversOut != 0 {
   707  		n += 1 + sovMho(uint64(m.CumulativeHandoversOut))
   708  	}
   709  	return n
   710  }
   711  
   712  func sovMho(x uint64) (n int) {
   713  	return (math_bits.Len64(x|1) + 6) / 7
   714  }
   715  func sozMho(x uint64) (n int) {
   716  	return sovMho(uint64((x << 1) ^ uint64((int64(x) >> 63))))
   717  }
   718  func (m *GetRequest) Unmarshal(dAtA []byte) error {
   719  	l := len(dAtA)
   720  	iNdEx := 0
   721  	for iNdEx < l {
   722  		preIndex := iNdEx
   723  		var wire uint64
   724  		for shift := uint(0); ; shift += 7 {
   725  			if shift >= 64 {
   726  				return ErrIntOverflowMho
   727  			}
   728  			if iNdEx >= l {
   729  				return io.ErrUnexpectedEOF
   730  			}
   731  			b := dAtA[iNdEx]
   732  			iNdEx++
   733  			wire |= uint64(b&0x7F) << shift
   734  			if b < 0x80 {
   735  				break
   736  			}
   737  		}
   738  		fieldNum := int32(wire >> 3)
   739  		wireType := int(wire & 0x7)
   740  		if wireType == 4 {
   741  			return fmt.Errorf("proto: GetRequest: wiretype end group for non-group")
   742  		}
   743  		if fieldNum <= 0 {
   744  			return fmt.Errorf("proto: GetRequest: illegal tag %d (wire type %d)", fieldNum, wire)
   745  		}
   746  		switch fieldNum {
   747  		default:
   748  			iNdEx = preIndex
   749  			skippy, err := skipMho(dAtA[iNdEx:])
   750  			if err != nil {
   751  				return err
   752  			}
   753  			if (skippy < 0) || (iNdEx+skippy) < 0 {
   754  				return ErrInvalidLengthMho
   755  			}
   756  			if (iNdEx + skippy) > l {
   757  				return io.ErrUnexpectedEOF
   758  			}
   759  			iNdEx += skippy
   760  		}
   761  	}
   762  
   763  	if iNdEx > l {
   764  		return io.ErrUnexpectedEOF
   765  	}
   766  	return nil
   767  }
   768  func (m *UeList) Unmarshal(dAtA []byte) error {
   769  	l := len(dAtA)
   770  	iNdEx := 0
   771  	for iNdEx < l {
   772  		preIndex := iNdEx
   773  		var wire uint64
   774  		for shift := uint(0); ; shift += 7 {
   775  			if shift >= 64 {
   776  				return ErrIntOverflowMho
   777  			}
   778  			if iNdEx >= l {
   779  				return io.ErrUnexpectedEOF
   780  			}
   781  			b := dAtA[iNdEx]
   782  			iNdEx++
   783  			wire |= uint64(b&0x7F) << shift
   784  			if b < 0x80 {
   785  				break
   786  			}
   787  		}
   788  		fieldNum := int32(wire >> 3)
   789  		wireType := int(wire & 0x7)
   790  		if wireType == 4 {
   791  			return fmt.Errorf("proto: UeList: wiretype end group for non-group")
   792  		}
   793  		if fieldNum <= 0 {
   794  			return fmt.Errorf("proto: UeList: illegal tag %d (wire type %d)", fieldNum, wire)
   795  		}
   796  		switch fieldNum {
   797  		case 1:
   798  			if wireType != 2 {
   799  				return fmt.Errorf("proto: wrong wireType = %d for field Ues", wireType)
   800  			}
   801  			var msglen int
   802  			for shift := uint(0); ; shift += 7 {
   803  				if shift >= 64 {
   804  					return ErrIntOverflowMho
   805  				}
   806  				if iNdEx >= l {
   807  					return io.ErrUnexpectedEOF
   808  				}
   809  				b := dAtA[iNdEx]
   810  				iNdEx++
   811  				msglen |= int(b&0x7F) << shift
   812  				if b < 0x80 {
   813  					break
   814  				}
   815  			}
   816  			if msglen < 0 {
   817  				return ErrInvalidLengthMho
   818  			}
   819  			postIndex := iNdEx + msglen
   820  			if postIndex < 0 {
   821  				return ErrInvalidLengthMho
   822  			}
   823  			if postIndex > l {
   824  				return io.ErrUnexpectedEOF
   825  			}
   826  			m.Ues = append(m.Ues, &UE{})
   827  			if err := m.Ues[len(m.Ues)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
   828  				return err
   829  			}
   830  			iNdEx = postIndex
   831  		default:
   832  			iNdEx = preIndex
   833  			skippy, err := skipMho(dAtA[iNdEx:])
   834  			if err != nil {
   835  				return err
   836  			}
   837  			if (skippy < 0) || (iNdEx+skippy) < 0 {
   838  				return ErrInvalidLengthMho
   839  			}
   840  			if (iNdEx + skippy) > l {
   841  				return io.ErrUnexpectedEOF
   842  			}
   843  			iNdEx += skippy
   844  		}
   845  	}
   846  
   847  	if iNdEx > l {
   848  		return io.ErrUnexpectedEOF
   849  	}
   850  	return nil
   851  }
   852  func (m *CellList) Unmarshal(dAtA []byte) error {
   853  	l := len(dAtA)
   854  	iNdEx := 0
   855  	for iNdEx < l {
   856  		preIndex := iNdEx
   857  		var wire uint64
   858  		for shift := uint(0); ; shift += 7 {
   859  			if shift >= 64 {
   860  				return ErrIntOverflowMho
   861  			}
   862  			if iNdEx >= l {
   863  				return io.ErrUnexpectedEOF
   864  			}
   865  			b := dAtA[iNdEx]
   866  			iNdEx++
   867  			wire |= uint64(b&0x7F) << shift
   868  			if b < 0x80 {
   869  				break
   870  			}
   871  		}
   872  		fieldNum := int32(wire >> 3)
   873  		wireType := int(wire & 0x7)
   874  		if wireType == 4 {
   875  			return fmt.Errorf("proto: CellList: wiretype end group for non-group")
   876  		}
   877  		if fieldNum <= 0 {
   878  			return fmt.Errorf("proto: CellList: illegal tag %d (wire type %d)", fieldNum, wire)
   879  		}
   880  		switch fieldNum {
   881  		case 1:
   882  			if wireType != 2 {
   883  				return fmt.Errorf("proto: wrong wireType = %d for field Cells", wireType)
   884  			}
   885  			var msglen int
   886  			for shift := uint(0); ; shift += 7 {
   887  				if shift >= 64 {
   888  					return ErrIntOverflowMho
   889  				}
   890  				if iNdEx >= l {
   891  					return io.ErrUnexpectedEOF
   892  				}
   893  				b := dAtA[iNdEx]
   894  				iNdEx++
   895  				msglen |= int(b&0x7F) << shift
   896  				if b < 0x80 {
   897  					break
   898  				}
   899  			}
   900  			if msglen < 0 {
   901  				return ErrInvalidLengthMho
   902  			}
   903  			postIndex := iNdEx + msglen
   904  			if postIndex < 0 {
   905  				return ErrInvalidLengthMho
   906  			}
   907  			if postIndex > l {
   908  				return io.ErrUnexpectedEOF
   909  			}
   910  			m.Cells = append(m.Cells, &Cell{})
   911  			if err := m.Cells[len(m.Cells)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
   912  				return err
   913  			}
   914  			iNdEx = postIndex
   915  		default:
   916  			iNdEx = preIndex
   917  			skippy, err := skipMho(dAtA[iNdEx:])
   918  			if err != nil {
   919  				return err
   920  			}
   921  			if (skippy < 0) || (iNdEx+skippy) < 0 {
   922  				return ErrInvalidLengthMho
   923  			}
   924  			if (iNdEx + skippy) > l {
   925  				return io.ErrUnexpectedEOF
   926  			}
   927  			iNdEx += skippy
   928  		}
   929  	}
   930  
   931  	if iNdEx > l {
   932  		return io.ErrUnexpectedEOF
   933  	}
   934  	return nil
   935  }
   936  func (m *UE) Unmarshal(dAtA []byte) error {
   937  	l := len(dAtA)
   938  	iNdEx := 0
   939  	for iNdEx < l {
   940  		preIndex := iNdEx
   941  		var wire uint64
   942  		for shift := uint(0); ; shift += 7 {
   943  			if shift >= 64 {
   944  				return ErrIntOverflowMho
   945  			}
   946  			if iNdEx >= l {
   947  				return io.ErrUnexpectedEOF
   948  			}
   949  			b := dAtA[iNdEx]
   950  			iNdEx++
   951  			wire |= uint64(b&0x7F) << shift
   952  			if b < 0x80 {
   953  				break
   954  			}
   955  		}
   956  		fieldNum := int32(wire >> 3)
   957  		wireType := int(wire & 0x7)
   958  		if wireType == 4 {
   959  			return fmt.Errorf("proto: UE: wiretype end group for non-group")
   960  		}
   961  		if fieldNum <= 0 {
   962  			return fmt.Errorf("proto: UE: illegal tag %d (wire type %d)", fieldNum, wire)
   963  		}
   964  		switch fieldNum {
   965  		case 1:
   966  			if wireType != 2 {
   967  				return fmt.Errorf("proto: wrong wireType = %d for field UeId", wireType)
   968  			}
   969  			var stringLen uint64
   970  			for shift := uint(0); ; shift += 7 {
   971  				if shift >= 64 {
   972  					return ErrIntOverflowMho
   973  				}
   974  				if iNdEx >= l {
   975  					return io.ErrUnexpectedEOF
   976  				}
   977  				b := dAtA[iNdEx]
   978  				iNdEx++
   979  				stringLen |= uint64(b&0x7F) << shift
   980  				if b < 0x80 {
   981  					break
   982  				}
   983  			}
   984  			intStringLen := int(stringLen)
   985  			if intStringLen < 0 {
   986  				return ErrInvalidLengthMho
   987  			}
   988  			postIndex := iNdEx + intStringLen
   989  			if postIndex < 0 {
   990  				return ErrInvalidLengthMho
   991  			}
   992  			if postIndex > l {
   993  				return io.ErrUnexpectedEOF
   994  			}
   995  			m.UeId = string(dAtA[iNdEx:postIndex])
   996  			iNdEx = postIndex
   997  		case 2:
   998  			if wireType != 2 {
   999  				return fmt.Errorf("proto: wrong wireType = %d for field HoState", wireType)
  1000  			}
  1001  			var stringLen uint64
  1002  			for shift := uint(0); ; shift += 7 {
  1003  				if shift >= 64 {
  1004  					return ErrIntOverflowMho
  1005  				}
  1006  				if iNdEx >= l {
  1007  					return io.ErrUnexpectedEOF
  1008  				}
  1009  				b := dAtA[iNdEx]
  1010  				iNdEx++
  1011  				stringLen |= uint64(b&0x7F) << shift
  1012  				if b < 0x80 {
  1013  					break
  1014  				}
  1015  			}
  1016  			intStringLen := int(stringLen)
  1017  			if intStringLen < 0 {
  1018  				return ErrInvalidLengthMho
  1019  			}
  1020  			postIndex := iNdEx + intStringLen
  1021  			if postIndex < 0 {
  1022  				return ErrInvalidLengthMho
  1023  			}
  1024  			if postIndex > l {
  1025  				return io.ErrUnexpectedEOF
  1026  			}
  1027  			m.HoState = string(dAtA[iNdEx:postIndex])
  1028  			iNdEx = postIndex
  1029  		case 3:
  1030  			if wireType != 2 {
  1031  				return fmt.Errorf("proto: wrong wireType = %d for field Cgi", wireType)
  1032  			}
  1033  			var stringLen uint64
  1034  			for shift := uint(0); ; shift += 7 {
  1035  				if shift >= 64 {
  1036  					return ErrIntOverflowMho
  1037  				}
  1038  				if iNdEx >= l {
  1039  					return io.ErrUnexpectedEOF
  1040  				}
  1041  				b := dAtA[iNdEx]
  1042  				iNdEx++
  1043  				stringLen |= uint64(b&0x7F) << shift
  1044  				if b < 0x80 {
  1045  					break
  1046  				}
  1047  			}
  1048  			intStringLen := int(stringLen)
  1049  			if intStringLen < 0 {
  1050  				return ErrInvalidLengthMho
  1051  			}
  1052  			postIndex := iNdEx + intStringLen
  1053  			if postIndex < 0 {
  1054  				return ErrInvalidLengthMho
  1055  			}
  1056  			if postIndex > l {
  1057  				return io.ErrUnexpectedEOF
  1058  			}
  1059  			m.Cgi = string(dAtA[iNdEx:postIndex])
  1060  			iNdEx = postIndex
  1061  		default:
  1062  			iNdEx = preIndex
  1063  			skippy, err := skipMho(dAtA[iNdEx:])
  1064  			if err != nil {
  1065  				return err
  1066  			}
  1067  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1068  				return ErrInvalidLengthMho
  1069  			}
  1070  			if (iNdEx + skippy) > l {
  1071  				return io.ErrUnexpectedEOF
  1072  			}
  1073  			iNdEx += skippy
  1074  		}
  1075  	}
  1076  
  1077  	if iNdEx > l {
  1078  		return io.ErrUnexpectedEOF
  1079  	}
  1080  	return nil
  1081  }
  1082  func (m *Cell) Unmarshal(dAtA []byte) error {
  1083  	l := len(dAtA)
  1084  	iNdEx := 0
  1085  	for iNdEx < l {
  1086  		preIndex := iNdEx
  1087  		var wire uint64
  1088  		for shift := uint(0); ; shift += 7 {
  1089  			if shift >= 64 {
  1090  				return ErrIntOverflowMho
  1091  			}
  1092  			if iNdEx >= l {
  1093  				return io.ErrUnexpectedEOF
  1094  			}
  1095  			b := dAtA[iNdEx]
  1096  			iNdEx++
  1097  			wire |= uint64(b&0x7F) << shift
  1098  			if b < 0x80 {
  1099  				break
  1100  			}
  1101  		}
  1102  		fieldNum := int32(wire >> 3)
  1103  		wireType := int(wire & 0x7)
  1104  		if wireType == 4 {
  1105  			return fmt.Errorf("proto: Cell: wiretype end group for non-group")
  1106  		}
  1107  		if fieldNum <= 0 {
  1108  			return fmt.Errorf("proto: Cell: illegal tag %d (wire type %d)", fieldNum, wire)
  1109  		}
  1110  		switch fieldNum {
  1111  		case 1:
  1112  			if wireType != 2 {
  1113  				return fmt.Errorf("proto: wrong wireType = %d for field Cgi", wireType)
  1114  			}
  1115  			var stringLen uint64
  1116  			for shift := uint(0); ; shift += 7 {
  1117  				if shift >= 64 {
  1118  					return ErrIntOverflowMho
  1119  				}
  1120  				if iNdEx >= l {
  1121  					return io.ErrUnexpectedEOF
  1122  				}
  1123  				b := dAtA[iNdEx]
  1124  				iNdEx++
  1125  				stringLen |= uint64(b&0x7F) << shift
  1126  				if b < 0x80 {
  1127  					break
  1128  				}
  1129  			}
  1130  			intStringLen := int(stringLen)
  1131  			if intStringLen < 0 {
  1132  				return ErrInvalidLengthMho
  1133  			}
  1134  			postIndex := iNdEx + intStringLen
  1135  			if postIndex < 0 {
  1136  				return ErrInvalidLengthMho
  1137  			}
  1138  			if postIndex > l {
  1139  				return io.ErrUnexpectedEOF
  1140  			}
  1141  			m.Cgi = string(dAtA[iNdEx:postIndex])
  1142  			iNdEx = postIndex
  1143  		case 2:
  1144  			if wireType != 0 {
  1145  				return fmt.Errorf("proto: wrong wireType = %d for field NumUes", wireType)
  1146  			}
  1147  			m.NumUes = 0
  1148  			for shift := uint(0); ; shift += 7 {
  1149  				if shift >= 64 {
  1150  					return ErrIntOverflowMho
  1151  				}
  1152  				if iNdEx >= l {
  1153  					return io.ErrUnexpectedEOF
  1154  				}
  1155  				b := dAtA[iNdEx]
  1156  				iNdEx++
  1157  				m.NumUes |= int64(b&0x7F) << shift
  1158  				if b < 0x80 {
  1159  					break
  1160  				}
  1161  			}
  1162  		case 4:
  1163  			if wireType != 0 {
  1164  				return fmt.Errorf("proto: wrong wireType = %d for field CumulativeHandoversIn", wireType)
  1165  			}
  1166  			m.CumulativeHandoversIn = 0
  1167  			for shift := uint(0); ; shift += 7 {
  1168  				if shift >= 64 {
  1169  					return ErrIntOverflowMho
  1170  				}
  1171  				if iNdEx >= l {
  1172  					return io.ErrUnexpectedEOF
  1173  				}
  1174  				b := dAtA[iNdEx]
  1175  				iNdEx++
  1176  				m.CumulativeHandoversIn |= int64(b&0x7F) << shift
  1177  				if b < 0x80 {
  1178  					break
  1179  				}
  1180  			}
  1181  		case 5:
  1182  			if wireType != 0 {
  1183  				return fmt.Errorf("proto: wrong wireType = %d for field CumulativeHandoversOut", wireType)
  1184  			}
  1185  			m.CumulativeHandoversOut = 0
  1186  			for shift := uint(0); ; shift += 7 {
  1187  				if shift >= 64 {
  1188  					return ErrIntOverflowMho
  1189  				}
  1190  				if iNdEx >= l {
  1191  					return io.ErrUnexpectedEOF
  1192  				}
  1193  				b := dAtA[iNdEx]
  1194  				iNdEx++
  1195  				m.CumulativeHandoversOut |= int64(b&0x7F) << shift
  1196  				if b < 0x80 {
  1197  					break
  1198  				}
  1199  			}
  1200  		default:
  1201  			iNdEx = preIndex
  1202  			skippy, err := skipMho(dAtA[iNdEx:])
  1203  			if err != nil {
  1204  				return err
  1205  			}
  1206  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1207  				return ErrInvalidLengthMho
  1208  			}
  1209  			if (iNdEx + skippy) > l {
  1210  				return io.ErrUnexpectedEOF
  1211  			}
  1212  			iNdEx += skippy
  1213  		}
  1214  	}
  1215  
  1216  	if iNdEx > l {
  1217  		return io.ErrUnexpectedEOF
  1218  	}
  1219  	return nil
  1220  }
  1221  func skipMho(dAtA []byte) (n int, err error) {
  1222  	l := len(dAtA)
  1223  	iNdEx := 0
  1224  	depth := 0
  1225  	for iNdEx < l {
  1226  		var wire uint64
  1227  		for shift := uint(0); ; shift += 7 {
  1228  			if shift >= 64 {
  1229  				return 0, ErrIntOverflowMho
  1230  			}
  1231  			if iNdEx >= l {
  1232  				return 0, io.ErrUnexpectedEOF
  1233  			}
  1234  			b := dAtA[iNdEx]
  1235  			iNdEx++
  1236  			wire |= (uint64(b) & 0x7F) << shift
  1237  			if b < 0x80 {
  1238  				break
  1239  			}
  1240  		}
  1241  		wireType := int(wire & 0x7)
  1242  		switch wireType {
  1243  		case 0:
  1244  			for shift := uint(0); ; shift += 7 {
  1245  				if shift >= 64 {
  1246  					return 0, ErrIntOverflowMho
  1247  				}
  1248  				if iNdEx >= l {
  1249  					return 0, io.ErrUnexpectedEOF
  1250  				}
  1251  				iNdEx++
  1252  				if dAtA[iNdEx-1] < 0x80 {
  1253  					break
  1254  				}
  1255  			}
  1256  		case 1:
  1257  			iNdEx += 8
  1258  		case 2:
  1259  			var length int
  1260  			for shift := uint(0); ; shift += 7 {
  1261  				if shift >= 64 {
  1262  					return 0, ErrIntOverflowMho
  1263  				}
  1264  				if iNdEx >= l {
  1265  					return 0, io.ErrUnexpectedEOF
  1266  				}
  1267  				b := dAtA[iNdEx]
  1268  				iNdEx++
  1269  				length |= (int(b) & 0x7F) << shift
  1270  				if b < 0x80 {
  1271  					break
  1272  				}
  1273  			}
  1274  			if length < 0 {
  1275  				return 0, ErrInvalidLengthMho
  1276  			}
  1277  			iNdEx += length
  1278  		case 3:
  1279  			depth++
  1280  		case 4:
  1281  			if depth == 0 {
  1282  				return 0, ErrUnexpectedEndOfGroupMho
  1283  			}
  1284  			depth--
  1285  		case 5:
  1286  			iNdEx += 4
  1287  		default:
  1288  			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  1289  		}
  1290  		if iNdEx < 0 {
  1291  			return 0, ErrInvalidLengthMho
  1292  		}
  1293  		if depth == 0 {
  1294  			return iNdEx, nil
  1295  		}
  1296  	}
  1297  	return 0, io.ErrUnexpectedEOF
  1298  }
  1299  
  1300  var (
  1301  	ErrInvalidLengthMho        = fmt.Errorf("proto: negative length found during unmarshaling")
  1302  	ErrIntOverflowMho          = fmt.Errorf("proto: integer overflow")
  1303  	ErrUnexpectedEndOfGroupMho = fmt.Errorf("proto: unexpected end of group")
  1304  )