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

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