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

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: onos/rsm/rsm.proto
     3  
     4  package rsm
     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 SliceType int32
    30  
    31  const (
    32  	SliceType_SLICE_TYPE_DL_SLICE SliceType = 0
    33  	SliceType_SLICE_TYPE_UL_SLICE SliceType = 1
    34  )
    35  
    36  var SliceType_name = map[int32]string{
    37  	0: "SLICE_TYPE_DL_SLICE",
    38  	1: "SLICE_TYPE_UL_SLICE",
    39  }
    40  
    41  var SliceType_value = map[string]int32{
    42  	"SLICE_TYPE_DL_SLICE": 0,
    43  	"SLICE_TYPE_UL_SLICE": 1,
    44  }
    45  
    46  func (x SliceType) String() string {
    47  	return proto.EnumName(SliceType_name, int32(x))
    48  }
    49  
    50  func (SliceType) EnumDescriptor() ([]byte, []int) {
    51  	return fileDescriptor_a53e011a0fb63e56, []int{0}
    52  }
    53  
    54  type SchedulerType int32
    55  
    56  const (
    57  	SchedulerType_SCHEDULER_TYPE_ROUND_ROBIN         SchedulerType = 0
    58  	SchedulerType_SCHEDULER_TYPE_PROPORTIONALLY_FAIR SchedulerType = 1
    59  	SchedulerType_SCHEDULER_TYPE_QOS_BASED           SchedulerType = 2
    60  )
    61  
    62  var SchedulerType_name = map[int32]string{
    63  	0: "SCHEDULER_TYPE_ROUND_ROBIN",
    64  	1: "SCHEDULER_TYPE_PROPORTIONALLY_FAIR",
    65  	2: "SCHEDULER_TYPE_QOS_BASED",
    66  }
    67  
    68  var SchedulerType_value = map[string]int32{
    69  	"SCHEDULER_TYPE_ROUND_ROBIN":         0,
    70  	"SCHEDULER_TYPE_PROPORTIONALLY_FAIR": 1,
    71  	"SCHEDULER_TYPE_QOS_BASED":           2,
    72  }
    73  
    74  func (x SchedulerType) String() string {
    75  	return proto.EnumName(SchedulerType_name, int32(x))
    76  }
    77  
    78  func (SchedulerType) EnumDescriptor() ([]byte, []int) {
    79  	return fileDescriptor_a53e011a0fb63e56, []int{1}
    80  }
    81  
    82  type UeIdType int32
    83  
    84  const (
    85  	UeIdType_UE_ID_TYPE_CU_UE_F1_AP_ID  UeIdType = 0
    86  	UeIdType_UE_ID_TYPE_DU_UE_F1_AP_ID  UeIdType = 1
    87  	UeIdType_UE_ID_TYPE_RAN_UE_NGAP_ID  UeIdType = 2
    88  	UeIdType_UE_ID_TYPE_AMF_UE_NGAP_ID  UeIdType = 3
    89  	UeIdType_UE_ID_TYPE_ENB_UE_S1_AP_ID UeIdType = 4
    90  )
    91  
    92  var UeIdType_name = map[int32]string{
    93  	0: "UE_ID_TYPE_CU_UE_F1_AP_ID",
    94  	1: "UE_ID_TYPE_DU_UE_F1_AP_ID",
    95  	2: "UE_ID_TYPE_RAN_UE_NGAP_ID",
    96  	3: "UE_ID_TYPE_AMF_UE_NGAP_ID",
    97  	4: "UE_ID_TYPE_ENB_UE_S1_AP_ID",
    98  }
    99  
   100  var UeIdType_value = map[string]int32{
   101  	"UE_ID_TYPE_CU_UE_F1_AP_ID":  0,
   102  	"UE_ID_TYPE_DU_UE_F1_AP_ID":  1,
   103  	"UE_ID_TYPE_RAN_UE_NGAP_ID":  2,
   104  	"UE_ID_TYPE_AMF_UE_NGAP_ID":  3,
   105  	"UE_ID_TYPE_ENB_UE_S1_AP_ID": 4,
   106  }
   107  
   108  func (x UeIdType) String() string {
   109  	return proto.EnumName(UeIdType_name, int32(x))
   110  }
   111  
   112  func (UeIdType) EnumDescriptor() ([]byte, []int) {
   113  	return fileDescriptor_a53e011a0fb63e56, []int{2}
   114  }
   115  
   116  type SliceItem struct {
   117  	E2NodeId string   `protobuf:"bytes,1,opt,name=e2_node_id,json=e2NodeId,proto3" json:"e2_node_id,omitempty"`
   118  	SliceIds []string `protobuf:"bytes,2,rep,name=slice_ids,json=sliceIds,proto3" json:"slice_ids,omitempty"`
   119  }
   120  
   121  func (m *SliceItem) Reset()         { *m = SliceItem{} }
   122  func (m *SliceItem) String() string { return proto.CompactTextString(m) }
   123  func (*SliceItem) ProtoMessage()    {}
   124  func (*SliceItem) Descriptor() ([]byte, []int) {
   125  	return fileDescriptor_a53e011a0fb63e56, []int{0}
   126  }
   127  func (m *SliceItem) XXX_Unmarshal(b []byte) error {
   128  	return m.Unmarshal(b)
   129  }
   130  func (m *SliceItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   131  	if deterministic {
   132  		return xxx_messageInfo_SliceItem.Marshal(b, m, deterministic)
   133  	} else {
   134  		b = b[:cap(b)]
   135  		n, err := m.MarshalToSizedBuffer(b)
   136  		if err != nil {
   137  			return nil, err
   138  		}
   139  		return b[:n], nil
   140  	}
   141  }
   142  func (m *SliceItem) XXX_Merge(src proto.Message) {
   143  	xxx_messageInfo_SliceItem.Merge(m, src)
   144  }
   145  func (m *SliceItem) XXX_Size() int {
   146  	return m.Size()
   147  }
   148  func (m *SliceItem) XXX_DiscardUnknown() {
   149  	xxx_messageInfo_SliceItem.DiscardUnknown(m)
   150  }
   151  
   152  var xxx_messageInfo_SliceItem proto.InternalMessageInfo
   153  
   154  func (m *SliceItem) GetE2NodeId() string {
   155  	if m != nil {
   156  		return m.E2NodeId
   157  	}
   158  	return ""
   159  }
   160  
   161  func (m *SliceItem) GetSliceIds() []string {
   162  	if m != nil {
   163  		return m.SliceIds
   164  	}
   165  	return nil
   166  }
   167  
   168  type Ack struct {
   169  	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
   170  	Cause   string `protobuf:"bytes,2,opt,name=cause,proto3" json:"cause,omitempty"`
   171  }
   172  
   173  func (m *Ack) Reset()         { *m = Ack{} }
   174  func (m *Ack) String() string { return proto.CompactTextString(m) }
   175  func (*Ack) ProtoMessage()    {}
   176  func (*Ack) Descriptor() ([]byte, []int) {
   177  	return fileDescriptor_a53e011a0fb63e56, []int{1}
   178  }
   179  func (m *Ack) XXX_Unmarshal(b []byte) error {
   180  	return m.Unmarshal(b)
   181  }
   182  func (m *Ack) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   183  	if deterministic {
   184  		return xxx_messageInfo_Ack.Marshal(b, m, deterministic)
   185  	} else {
   186  		b = b[:cap(b)]
   187  		n, err := m.MarshalToSizedBuffer(b)
   188  		if err != nil {
   189  			return nil, err
   190  		}
   191  		return b[:n], nil
   192  	}
   193  }
   194  func (m *Ack) XXX_Merge(src proto.Message) {
   195  	xxx_messageInfo_Ack.Merge(m, src)
   196  }
   197  func (m *Ack) XXX_Size() int {
   198  	return m.Size()
   199  }
   200  func (m *Ack) XXX_DiscardUnknown() {
   201  	xxx_messageInfo_Ack.DiscardUnknown(m)
   202  }
   203  
   204  var xxx_messageInfo_Ack proto.InternalMessageInfo
   205  
   206  func (m *Ack) GetSuccess() bool {
   207  	if m != nil {
   208  		return m.Success
   209  	}
   210  	return false
   211  }
   212  
   213  func (m *Ack) GetCause() string {
   214  	if m != nil {
   215  		return m.Cause
   216  	}
   217  	return ""
   218  }
   219  
   220  type CreateSliceRequest struct {
   221  	E2NodeId      string        `protobuf:"bytes,1,opt,name=e2_node_id,json=e2NodeId,proto3" json:"e2_node_id,omitempty"`
   222  	SliceId       string        `protobuf:"bytes,2,opt,name=slice_id,json=sliceId,proto3" json:"slice_id,omitempty"`
   223  	SchedulerType SchedulerType `protobuf:"varint,3,opt,name=scheduler_type,json=schedulerType,proto3,enum=onos.rsm.SchedulerType" json:"scheduler_type,omitempty"`
   224  	Weight        string        `protobuf:"bytes,4,opt,name=weight,proto3" json:"weight,omitempty"`
   225  	SliceType     SliceType     `protobuf:"varint,5,opt,name=sliceType,proto3,enum=onos.rsm.SliceType" json:"sliceType,omitempty"`
   226  }
   227  
   228  func (m *CreateSliceRequest) Reset()         { *m = CreateSliceRequest{} }
   229  func (m *CreateSliceRequest) String() string { return proto.CompactTextString(m) }
   230  func (*CreateSliceRequest) ProtoMessage()    {}
   231  func (*CreateSliceRequest) Descriptor() ([]byte, []int) {
   232  	return fileDescriptor_a53e011a0fb63e56, []int{2}
   233  }
   234  func (m *CreateSliceRequest) XXX_Unmarshal(b []byte) error {
   235  	return m.Unmarshal(b)
   236  }
   237  func (m *CreateSliceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   238  	if deterministic {
   239  		return xxx_messageInfo_CreateSliceRequest.Marshal(b, m, deterministic)
   240  	} else {
   241  		b = b[:cap(b)]
   242  		n, err := m.MarshalToSizedBuffer(b)
   243  		if err != nil {
   244  			return nil, err
   245  		}
   246  		return b[:n], nil
   247  	}
   248  }
   249  func (m *CreateSliceRequest) XXX_Merge(src proto.Message) {
   250  	xxx_messageInfo_CreateSliceRequest.Merge(m, src)
   251  }
   252  func (m *CreateSliceRequest) XXX_Size() int {
   253  	return m.Size()
   254  }
   255  func (m *CreateSliceRequest) XXX_DiscardUnknown() {
   256  	xxx_messageInfo_CreateSliceRequest.DiscardUnknown(m)
   257  }
   258  
   259  var xxx_messageInfo_CreateSliceRequest proto.InternalMessageInfo
   260  
   261  func (m *CreateSliceRequest) GetE2NodeId() string {
   262  	if m != nil {
   263  		return m.E2NodeId
   264  	}
   265  	return ""
   266  }
   267  
   268  func (m *CreateSliceRequest) GetSliceId() string {
   269  	if m != nil {
   270  		return m.SliceId
   271  	}
   272  	return ""
   273  }
   274  
   275  func (m *CreateSliceRequest) GetSchedulerType() SchedulerType {
   276  	if m != nil {
   277  		return m.SchedulerType
   278  	}
   279  	return SchedulerType_SCHEDULER_TYPE_ROUND_ROBIN
   280  }
   281  
   282  func (m *CreateSliceRequest) GetWeight() string {
   283  	if m != nil {
   284  		return m.Weight
   285  	}
   286  	return ""
   287  }
   288  
   289  func (m *CreateSliceRequest) GetSliceType() SliceType {
   290  	if m != nil {
   291  		return m.SliceType
   292  	}
   293  	return SliceType_SLICE_TYPE_DL_SLICE
   294  }
   295  
   296  type CreateSliceResponse struct {
   297  	Ack *Ack `protobuf:"bytes,1,opt,name=ack,proto3" json:"ack,omitempty"`
   298  }
   299  
   300  func (m *CreateSliceResponse) Reset()         { *m = CreateSliceResponse{} }
   301  func (m *CreateSliceResponse) String() string { return proto.CompactTextString(m) }
   302  func (*CreateSliceResponse) ProtoMessage()    {}
   303  func (*CreateSliceResponse) Descriptor() ([]byte, []int) {
   304  	return fileDescriptor_a53e011a0fb63e56, []int{3}
   305  }
   306  func (m *CreateSliceResponse) XXX_Unmarshal(b []byte) error {
   307  	return m.Unmarshal(b)
   308  }
   309  func (m *CreateSliceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   310  	if deterministic {
   311  		return xxx_messageInfo_CreateSliceResponse.Marshal(b, m, deterministic)
   312  	} else {
   313  		b = b[:cap(b)]
   314  		n, err := m.MarshalToSizedBuffer(b)
   315  		if err != nil {
   316  			return nil, err
   317  		}
   318  		return b[:n], nil
   319  	}
   320  }
   321  func (m *CreateSliceResponse) XXX_Merge(src proto.Message) {
   322  	xxx_messageInfo_CreateSliceResponse.Merge(m, src)
   323  }
   324  func (m *CreateSliceResponse) XXX_Size() int {
   325  	return m.Size()
   326  }
   327  func (m *CreateSliceResponse) XXX_DiscardUnknown() {
   328  	xxx_messageInfo_CreateSliceResponse.DiscardUnknown(m)
   329  }
   330  
   331  var xxx_messageInfo_CreateSliceResponse proto.InternalMessageInfo
   332  
   333  func (m *CreateSliceResponse) GetAck() *Ack {
   334  	if m != nil {
   335  		return m.Ack
   336  	}
   337  	return nil
   338  }
   339  
   340  type UpdateSliceRequest struct {
   341  	E2NodeId      string        `protobuf:"bytes,1,opt,name=e2_node_id,json=e2NodeId,proto3" json:"e2_node_id,omitempty"`
   342  	SliceId       string        `protobuf:"bytes,2,opt,name=slice_id,json=sliceId,proto3" json:"slice_id,omitempty"`
   343  	SchedulerType SchedulerType `protobuf:"varint,3,opt,name=scheduler_type,json=schedulerType,proto3,enum=onos.rsm.SchedulerType" json:"scheduler_type,omitempty"`
   344  	Weight        string        `protobuf:"bytes,4,opt,name=weight,proto3" json:"weight,omitempty"`
   345  	SliceType     SliceType     `protobuf:"varint,5,opt,name=sliceType,proto3,enum=onos.rsm.SliceType" json:"sliceType,omitempty"`
   346  }
   347  
   348  func (m *UpdateSliceRequest) Reset()         { *m = UpdateSliceRequest{} }
   349  func (m *UpdateSliceRequest) String() string { return proto.CompactTextString(m) }
   350  func (*UpdateSliceRequest) ProtoMessage()    {}
   351  func (*UpdateSliceRequest) Descriptor() ([]byte, []int) {
   352  	return fileDescriptor_a53e011a0fb63e56, []int{4}
   353  }
   354  func (m *UpdateSliceRequest) XXX_Unmarshal(b []byte) error {
   355  	return m.Unmarshal(b)
   356  }
   357  func (m *UpdateSliceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   358  	if deterministic {
   359  		return xxx_messageInfo_UpdateSliceRequest.Marshal(b, m, deterministic)
   360  	} else {
   361  		b = b[:cap(b)]
   362  		n, err := m.MarshalToSizedBuffer(b)
   363  		if err != nil {
   364  			return nil, err
   365  		}
   366  		return b[:n], nil
   367  	}
   368  }
   369  func (m *UpdateSliceRequest) XXX_Merge(src proto.Message) {
   370  	xxx_messageInfo_UpdateSliceRequest.Merge(m, src)
   371  }
   372  func (m *UpdateSliceRequest) XXX_Size() int {
   373  	return m.Size()
   374  }
   375  func (m *UpdateSliceRequest) XXX_DiscardUnknown() {
   376  	xxx_messageInfo_UpdateSliceRequest.DiscardUnknown(m)
   377  }
   378  
   379  var xxx_messageInfo_UpdateSliceRequest proto.InternalMessageInfo
   380  
   381  func (m *UpdateSliceRequest) GetE2NodeId() string {
   382  	if m != nil {
   383  		return m.E2NodeId
   384  	}
   385  	return ""
   386  }
   387  
   388  func (m *UpdateSliceRequest) GetSliceId() string {
   389  	if m != nil {
   390  		return m.SliceId
   391  	}
   392  	return ""
   393  }
   394  
   395  func (m *UpdateSliceRequest) GetSchedulerType() SchedulerType {
   396  	if m != nil {
   397  		return m.SchedulerType
   398  	}
   399  	return SchedulerType_SCHEDULER_TYPE_ROUND_ROBIN
   400  }
   401  
   402  func (m *UpdateSliceRequest) GetWeight() string {
   403  	if m != nil {
   404  		return m.Weight
   405  	}
   406  	return ""
   407  }
   408  
   409  func (m *UpdateSliceRequest) GetSliceType() SliceType {
   410  	if m != nil {
   411  		return m.SliceType
   412  	}
   413  	return SliceType_SLICE_TYPE_DL_SLICE
   414  }
   415  
   416  type UpdateSliceResponse struct {
   417  	Ack *Ack `protobuf:"bytes,1,opt,name=ack,proto3" json:"ack,omitempty"`
   418  }
   419  
   420  func (m *UpdateSliceResponse) Reset()         { *m = UpdateSliceResponse{} }
   421  func (m *UpdateSliceResponse) String() string { return proto.CompactTextString(m) }
   422  func (*UpdateSliceResponse) ProtoMessage()    {}
   423  func (*UpdateSliceResponse) Descriptor() ([]byte, []int) {
   424  	return fileDescriptor_a53e011a0fb63e56, []int{5}
   425  }
   426  func (m *UpdateSliceResponse) XXX_Unmarshal(b []byte) error {
   427  	return m.Unmarshal(b)
   428  }
   429  func (m *UpdateSliceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   430  	if deterministic {
   431  		return xxx_messageInfo_UpdateSliceResponse.Marshal(b, m, deterministic)
   432  	} else {
   433  		b = b[:cap(b)]
   434  		n, err := m.MarshalToSizedBuffer(b)
   435  		if err != nil {
   436  			return nil, err
   437  		}
   438  		return b[:n], nil
   439  	}
   440  }
   441  func (m *UpdateSliceResponse) XXX_Merge(src proto.Message) {
   442  	xxx_messageInfo_UpdateSliceResponse.Merge(m, src)
   443  }
   444  func (m *UpdateSliceResponse) XXX_Size() int {
   445  	return m.Size()
   446  }
   447  func (m *UpdateSliceResponse) XXX_DiscardUnknown() {
   448  	xxx_messageInfo_UpdateSliceResponse.DiscardUnknown(m)
   449  }
   450  
   451  var xxx_messageInfo_UpdateSliceResponse proto.InternalMessageInfo
   452  
   453  func (m *UpdateSliceResponse) GetAck() *Ack {
   454  	if m != nil {
   455  		return m.Ack
   456  	}
   457  	return nil
   458  }
   459  
   460  type DeleteSliceRequest struct {
   461  	E2NodeId  string    `protobuf:"bytes,1,opt,name=e2_node_id,json=e2NodeId,proto3" json:"e2_node_id,omitempty"`
   462  	SliceId   string    `protobuf:"bytes,2,opt,name=slice_id,json=sliceId,proto3" json:"slice_id,omitempty"`
   463  	SliceType SliceType `protobuf:"varint,3,opt,name=sliceType,proto3,enum=onos.rsm.SliceType" json:"sliceType,omitempty"`
   464  }
   465  
   466  func (m *DeleteSliceRequest) Reset()         { *m = DeleteSliceRequest{} }
   467  func (m *DeleteSliceRequest) String() string { return proto.CompactTextString(m) }
   468  func (*DeleteSliceRequest) ProtoMessage()    {}
   469  func (*DeleteSliceRequest) Descriptor() ([]byte, []int) {
   470  	return fileDescriptor_a53e011a0fb63e56, []int{6}
   471  }
   472  func (m *DeleteSliceRequest) XXX_Unmarshal(b []byte) error {
   473  	return m.Unmarshal(b)
   474  }
   475  func (m *DeleteSliceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   476  	if deterministic {
   477  		return xxx_messageInfo_DeleteSliceRequest.Marshal(b, m, deterministic)
   478  	} else {
   479  		b = b[:cap(b)]
   480  		n, err := m.MarshalToSizedBuffer(b)
   481  		if err != nil {
   482  			return nil, err
   483  		}
   484  		return b[:n], nil
   485  	}
   486  }
   487  func (m *DeleteSliceRequest) XXX_Merge(src proto.Message) {
   488  	xxx_messageInfo_DeleteSliceRequest.Merge(m, src)
   489  }
   490  func (m *DeleteSliceRequest) XXX_Size() int {
   491  	return m.Size()
   492  }
   493  func (m *DeleteSliceRequest) XXX_DiscardUnknown() {
   494  	xxx_messageInfo_DeleteSliceRequest.DiscardUnknown(m)
   495  }
   496  
   497  var xxx_messageInfo_DeleteSliceRequest proto.InternalMessageInfo
   498  
   499  func (m *DeleteSliceRequest) GetE2NodeId() string {
   500  	if m != nil {
   501  		return m.E2NodeId
   502  	}
   503  	return ""
   504  }
   505  
   506  func (m *DeleteSliceRequest) GetSliceId() string {
   507  	if m != nil {
   508  		return m.SliceId
   509  	}
   510  	return ""
   511  }
   512  
   513  func (m *DeleteSliceRequest) GetSliceType() SliceType {
   514  	if m != nil {
   515  		return m.SliceType
   516  	}
   517  	return SliceType_SLICE_TYPE_DL_SLICE
   518  }
   519  
   520  type DeleteSliceResponse struct {
   521  	Ack *Ack `protobuf:"bytes,1,opt,name=ack,proto3" json:"ack,omitempty"`
   522  }
   523  
   524  func (m *DeleteSliceResponse) Reset()         { *m = DeleteSliceResponse{} }
   525  func (m *DeleteSliceResponse) String() string { return proto.CompactTextString(m) }
   526  func (*DeleteSliceResponse) ProtoMessage()    {}
   527  func (*DeleteSliceResponse) Descriptor() ([]byte, []int) {
   528  	return fileDescriptor_a53e011a0fb63e56, []int{7}
   529  }
   530  func (m *DeleteSliceResponse) XXX_Unmarshal(b []byte) error {
   531  	return m.Unmarshal(b)
   532  }
   533  func (m *DeleteSliceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   534  	if deterministic {
   535  		return xxx_messageInfo_DeleteSliceResponse.Marshal(b, m, deterministic)
   536  	} else {
   537  		b = b[:cap(b)]
   538  		n, err := m.MarshalToSizedBuffer(b)
   539  		if err != nil {
   540  			return nil, err
   541  		}
   542  		return b[:n], nil
   543  	}
   544  }
   545  func (m *DeleteSliceResponse) XXX_Merge(src proto.Message) {
   546  	xxx_messageInfo_DeleteSliceResponse.Merge(m, src)
   547  }
   548  func (m *DeleteSliceResponse) XXX_Size() int {
   549  	return m.Size()
   550  }
   551  func (m *DeleteSliceResponse) XXX_DiscardUnknown() {
   552  	xxx_messageInfo_DeleteSliceResponse.DiscardUnknown(m)
   553  }
   554  
   555  var xxx_messageInfo_DeleteSliceResponse proto.InternalMessageInfo
   556  
   557  func (m *DeleteSliceResponse) GetAck() *Ack {
   558  	if m != nil {
   559  		return m.Ack
   560  	}
   561  	return nil
   562  }
   563  
   564  type SliceAssocItem struct {
   565  	UeSliceAssocId string     `protobuf:"bytes,1,opt,name=ue_slice_assoc_id,json=ueSliceAssocId,proto3" json:"ue_slice_assoc_id,omitempty"`
   566  	E2NodeId       string     `protobuf:"bytes,2,opt,name=e2_node_id,json=e2NodeId,proto3" json:"e2_node_id,omitempty"`
   567  	UeId           []UeIdType `protobuf:"varint,3,rep,packed,name=ue_id,json=ueId,proto3,enum=onos.rsm.UeIdType" json:"ue_id,omitempty"`
   568  	SliceId        string     `protobuf:"bytes,4,opt,name=slice_id,json=sliceId,proto3" json:"slice_id,omitempty"`
   569  }
   570  
   571  func (m *SliceAssocItem) Reset()         { *m = SliceAssocItem{} }
   572  func (m *SliceAssocItem) String() string { return proto.CompactTextString(m) }
   573  func (*SliceAssocItem) ProtoMessage()    {}
   574  func (*SliceAssocItem) Descriptor() ([]byte, []int) {
   575  	return fileDescriptor_a53e011a0fb63e56, []int{8}
   576  }
   577  func (m *SliceAssocItem) XXX_Unmarshal(b []byte) error {
   578  	return m.Unmarshal(b)
   579  }
   580  func (m *SliceAssocItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   581  	if deterministic {
   582  		return xxx_messageInfo_SliceAssocItem.Marshal(b, m, deterministic)
   583  	} else {
   584  		b = b[:cap(b)]
   585  		n, err := m.MarshalToSizedBuffer(b)
   586  		if err != nil {
   587  			return nil, err
   588  		}
   589  		return b[:n], nil
   590  	}
   591  }
   592  func (m *SliceAssocItem) XXX_Merge(src proto.Message) {
   593  	xxx_messageInfo_SliceAssocItem.Merge(m, src)
   594  }
   595  func (m *SliceAssocItem) XXX_Size() int {
   596  	return m.Size()
   597  }
   598  func (m *SliceAssocItem) XXX_DiscardUnknown() {
   599  	xxx_messageInfo_SliceAssocItem.DiscardUnknown(m)
   600  }
   601  
   602  var xxx_messageInfo_SliceAssocItem proto.InternalMessageInfo
   603  
   604  func (m *SliceAssocItem) GetUeSliceAssocId() string {
   605  	if m != nil {
   606  		return m.UeSliceAssocId
   607  	}
   608  	return ""
   609  }
   610  
   611  func (m *SliceAssocItem) GetE2NodeId() string {
   612  	if m != nil {
   613  		return m.E2NodeId
   614  	}
   615  	return ""
   616  }
   617  
   618  func (m *SliceAssocItem) GetUeId() []UeIdType {
   619  	if m != nil {
   620  		return m.UeId
   621  	}
   622  	return nil
   623  }
   624  
   625  func (m *SliceAssocItem) GetSliceId() string {
   626  	if m != nil {
   627  		return m.SliceId
   628  	}
   629  	return ""
   630  }
   631  
   632  type UeId struct {
   633  	UeId string   `protobuf:"bytes,1,opt,name=ue_id,json=ueId,proto3" json:"ue_id,omitempty"`
   634  	Type UeIdType `protobuf:"varint,2,opt,name=type,proto3,enum=onos.rsm.UeIdType" json:"type,omitempty"`
   635  }
   636  
   637  func (m *UeId) Reset()         { *m = UeId{} }
   638  func (m *UeId) String() string { return proto.CompactTextString(m) }
   639  func (*UeId) ProtoMessage()    {}
   640  func (*UeId) Descriptor() ([]byte, []int) {
   641  	return fileDescriptor_a53e011a0fb63e56, []int{9}
   642  }
   643  func (m *UeId) XXX_Unmarshal(b []byte) error {
   644  	return m.Unmarshal(b)
   645  }
   646  func (m *UeId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   647  	if deterministic {
   648  		return xxx_messageInfo_UeId.Marshal(b, m, deterministic)
   649  	} else {
   650  		b = b[:cap(b)]
   651  		n, err := m.MarshalToSizedBuffer(b)
   652  		if err != nil {
   653  			return nil, err
   654  		}
   655  		return b[:n], nil
   656  	}
   657  }
   658  func (m *UeId) XXX_Merge(src proto.Message) {
   659  	xxx_messageInfo_UeId.Merge(m, src)
   660  }
   661  func (m *UeId) XXX_Size() int {
   662  	return m.Size()
   663  }
   664  func (m *UeId) XXX_DiscardUnknown() {
   665  	xxx_messageInfo_UeId.DiscardUnknown(m)
   666  }
   667  
   668  var xxx_messageInfo_UeId proto.InternalMessageInfo
   669  
   670  func (m *UeId) GetUeId() string {
   671  	if m != nil {
   672  		return m.UeId
   673  	}
   674  	return ""
   675  }
   676  
   677  func (m *UeId) GetType() UeIdType {
   678  	if m != nil {
   679  		return m.Type
   680  	}
   681  	return UeIdType_UE_ID_TYPE_CU_UE_F1_AP_ID
   682  }
   683  
   684  type SetUeSliceAssociationRequest struct {
   685  	E2NodeId  string  `protobuf:"bytes,1,opt,name=e2_node_id,json=e2NodeId,proto3" json:"e2_node_id,omitempty"`
   686  	UeId      []*UeId `protobuf:"bytes,2,rep,name=ue_id,json=ueId,proto3" json:"ue_id,omitempty"`
   687  	DlSliceId string  `protobuf:"bytes,3,opt,name=dl_slice_id,json=dlSliceId,proto3" json:"dl_slice_id,omitempty"`
   688  	UlSliceId string  `protobuf:"bytes,4,opt,name=ul_slice_id,json=ulSliceId,proto3" json:"ul_slice_id,omitempty"`
   689  	DrbId     string  `protobuf:"bytes,5,opt,name=drb_id,json=drbId,proto3" json:"drb_id,omitempty"`
   690  }
   691  
   692  func (m *SetUeSliceAssociationRequest) Reset()         { *m = SetUeSliceAssociationRequest{} }
   693  func (m *SetUeSliceAssociationRequest) String() string { return proto.CompactTextString(m) }
   694  func (*SetUeSliceAssociationRequest) ProtoMessage()    {}
   695  func (*SetUeSliceAssociationRequest) Descriptor() ([]byte, []int) {
   696  	return fileDescriptor_a53e011a0fb63e56, []int{10}
   697  }
   698  func (m *SetUeSliceAssociationRequest) XXX_Unmarshal(b []byte) error {
   699  	return m.Unmarshal(b)
   700  }
   701  func (m *SetUeSliceAssociationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   702  	if deterministic {
   703  		return xxx_messageInfo_SetUeSliceAssociationRequest.Marshal(b, m, deterministic)
   704  	} else {
   705  		b = b[:cap(b)]
   706  		n, err := m.MarshalToSizedBuffer(b)
   707  		if err != nil {
   708  			return nil, err
   709  		}
   710  		return b[:n], nil
   711  	}
   712  }
   713  func (m *SetUeSliceAssociationRequest) XXX_Merge(src proto.Message) {
   714  	xxx_messageInfo_SetUeSliceAssociationRequest.Merge(m, src)
   715  }
   716  func (m *SetUeSliceAssociationRequest) XXX_Size() int {
   717  	return m.Size()
   718  }
   719  func (m *SetUeSliceAssociationRequest) XXX_DiscardUnknown() {
   720  	xxx_messageInfo_SetUeSliceAssociationRequest.DiscardUnknown(m)
   721  }
   722  
   723  var xxx_messageInfo_SetUeSliceAssociationRequest proto.InternalMessageInfo
   724  
   725  func (m *SetUeSliceAssociationRequest) GetE2NodeId() string {
   726  	if m != nil {
   727  		return m.E2NodeId
   728  	}
   729  	return ""
   730  }
   731  
   732  func (m *SetUeSliceAssociationRequest) GetUeId() []*UeId {
   733  	if m != nil {
   734  		return m.UeId
   735  	}
   736  	return nil
   737  }
   738  
   739  func (m *SetUeSliceAssociationRequest) GetDlSliceId() string {
   740  	if m != nil {
   741  		return m.DlSliceId
   742  	}
   743  	return ""
   744  }
   745  
   746  func (m *SetUeSliceAssociationRequest) GetUlSliceId() string {
   747  	if m != nil {
   748  		return m.UlSliceId
   749  	}
   750  	return ""
   751  }
   752  
   753  func (m *SetUeSliceAssociationRequest) GetDrbId() string {
   754  	if m != nil {
   755  		return m.DrbId
   756  	}
   757  	return ""
   758  }
   759  
   760  type SetUeSliceAssociationResponse struct {
   761  	Ack                    *Ack   `protobuf:"bytes,1,opt,name=ack,proto3" json:"ack,omitempty"`
   762  	AssignedUeSliceAssocId string `protobuf:"bytes,2,opt,name=assigned_ue_slice_assoc_id,json=assignedUeSliceAssocId,proto3" json:"assigned_ue_slice_assoc_id,omitempty"`
   763  }
   764  
   765  func (m *SetUeSliceAssociationResponse) Reset()         { *m = SetUeSliceAssociationResponse{} }
   766  func (m *SetUeSliceAssociationResponse) String() string { return proto.CompactTextString(m) }
   767  func (*SetUeSliceAssociationResponse) ProtoMessage()    {}
   768  func (*SetUeSliceAssociationResponse) Descriptor() ([]byte, []int) {
   769  	return fileDescriptor_a53e011a0fb63e56, []int{11}
   770  }
   771  func (m *SetUeSliceAssociationResponse) XXX_Unmarshal(b []byte) error {
   772  	return m.Unmarshal(b)
   773  }
   774  func (m *SetUeSliceAssociationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   775  	if deterministic {
   776  		return xxx_messageInfo_SetUeSliceAssociationResponse.Marshal(b, m, deterministic)
   777  	} else {
   778  		b = b[:cap(b)]
   779  		n, err := m.MarshalToSizedBuffer(b)
   780  		if err != nil {
   781  			return nil, err
   782  		}
   783  		return b[:n], nil
   784  	}
   785  }
   786  func (m *SetUeSliceAssociationResponse) XXX_Merge(src proto.Message) {
   787  	xxx_messageInfo_SetUeSliceAssociationResponse.Merge(m, src)
   788  }
   789  func (m *SetUeSliceAssociationResponse) XXX_Size() int {
   790  	return m.Size()
   791  }
   792  func (m *SetUeSliceAssociationResponse) XXX_DiscardUnknown() {
   793  	xxx_messageInfo_SetUeSliceAssociationResponse.DiscardUnknown(m)
   794  }
   795  
   796  var xxx_messageInfo_SetUeSliceAssociationResponse proto.InternalMessageInfo
   797  
   798  func (m *SetUeSliceAssociationResponse) GetAck() *Ack {
   799  	if m != nil {
   800  		return m.Ack
   801  	}
   802  	return nil
   803  }
   804  
   805  func (m *SetUeSliceAssociationResponse) GetAssignedUeSliceAssocId() string {
   806  	if m != nil {
   807  		return m.AssignedUeSliceAssocId
   808  	}
   809  	return ""
   810  }
   811  
   812  func init() {
   813  	proto.RegisterEnum("onos.rsm.SliceType", SliceType_name, SliceType_value)
   814  	proto.RegisterEnum("onos.rsm.SchedulerType", SchedulerType_name, SchedulerType_value)
   815  	proto.RegisterEnum("onos.rsm.UeIdType", UeIdType_name, UeIdType_value)
   816  	proto.RegisterType((*SliceItem)(nil), "onos.rsm.SliceItem")
   817  	proto.RegisterType((*Ack)(nil), "onos.rsm.Ack")
   818  	proto.RegisterType((*CreateSliceRequest)(nil), "onos.rsm.CreateSliceRequest")
   819  	proto.RegisterType((*CreateSliceResponse)(nil), "onos.rsm.CreateSliceResponse")
   820  	proto.RegisterType((*UpdateSliceRequest)(nil), "onos.rsm.UpdateSliceRequest")
   821  	proto.RegisterType((*UpdateSliceResponse)(nil), "onos.rsm.UpdateSliceResponse")
   822  	proto.RegisterType((*DeleteSliceRequest)(nil), "onos.rsm.DeleteSliceRequest")
   823  	proto.RegisterType((*DeleteSliceResponse)(nil), "onos.rsm.DeleteSliceResponse")
   824  	proto.RegisterType((*SliceAssocItem)(nil), "onos.rsm.SliceAssocItem")
   825  	proto.RegisterType((*UeId)(nil), "onos.rsm.UeId")
   826  	proto.RegisterType((*SetUeSliceAssociationRequest)(nil), "onos.rsm.SetUeSliceAssociationRequest")
   827  	proto.RegisterType((*SetUeSliceAssociationResponse)(nil), "onos.rsm.SetUeSliceAssociationResponse")
   828  }
   829  
   830  func init() { proto.RegisterFile("onos/rsm/rsm.proto", fileDescriptor_a53e011a0fb63e56) }
   831  
   832  var fileDescriptor_a53e011a0fb63e56 = []byte{
   833  	// 787 bytes of a gzipped FileDescriptorProto
   834  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x96, 0xc1, 0x6e, 0xea, 0x46,
   835  	0x14, 0x86, 0x31, 0x86, 0x5c, 0x38, 0x28, 0x88, 0x0e, 0xbd, 0xf7, 0x3a, 0x94, 0xb8, 0xc8, 0x95,
   836  	0x92, 0x34, 0x0b, 0xaa, 0x50, 0xb5, 0x8b, 0x4a, 0xad, 0x64, 0xb0, 0x69, 0x1d, 0x51, 0xa0, 0x76,
   837  	0xbc, 0xc8, 0x6a, 0x44, 0x3c, 0xa3, 0x04, 0x05, 0x30, 0x65, 0x6c, 0x55, 0x91, 0xba, 0xe8, 0x23,
   838  	0xf4, 0x05, 0xba, 0xed, 0x33, 0xf4, 0x11, 0xba, 0x8c, 0xd4, 0x4d, 0x96, 0x55, 0xf2, 0x22, 0x95,
   839  	0xc7, 0x76, 0xb0, 0x0d, 0x69, 0x58, 0x74, 0xd5, 0x45, 0x16, 0xe3, 0xef, 0xcc, 0x3f, 0xff, 0x39,
   840  	0x67, 0xe6, 0x04, 0x40, 0xee, 0xc2, 0x65, 0x9f, 0xad, 0xd8, 0x3c, 0xf8, 0x6b, 0x2f, 0x57, 0xae,
   841  	0xe7, 0xa2, 0x52, 0xf0, 0xad, 0xbd, 0x62, 0x73, 0xa5, 0x0f, 0x65, 0x6b, 0x36, 0x75, 0xa8, 0xe1,
   842  	0xd1, 0x39, 0x6a, 0x02, 0xd0, 0x0e, 0x5e, 0xb8, 0x84, 0xe2, 0x29, 0x91, 0x84, 0x96, 0x70, 0x52,
   843  	0x36, 0x4b, 0xb4, 0x33, 0x74, 0x09, 0x35, 0x08, 0xfa, 0x08, 0xca, 0x2c, 0x08, 0xc5, 0x53, 0xc2,
   844  	0xa4, 0x7c, 0x4b, 0x0c, 0x20, 0xff, 0x60, 0x10, 0xa6, 0x7c, 0x01, 0xa2, 0xea, 0xdc, 0x22, 0x09,
   845  	0xde, 0x30, 0xdf, 0x71, 0x28, 0x63, 0x7c, 0x7b, 0xc9, 0x8c, 0x97, 0xe8, 0x43, 0x28, 0x3a, 0x13,
   846  	0x9f, 0x51, 0x29, 0xcf, 0x65, 0xc3, 0x85, 0xf2, 0x20, 0x00, 0xea, 0xad, 0xe8, 0xc4, 0xa3, 0xdc,
   847  	0x85, 0x49, 0x7f, 0xf4, 0x29, 0xf3, 0x5e, 0x31, 0x72, 0x00, 0xa5, 0xd8, 0x48, 0xa4, 0xf6, 0x26,
   848  	0xf2, 0x81, 0xbe, 0x81, 0x2a, 0x73, 0x6e, 0x28, 0xf1, 0x67, 0x74, 0x85, 0xbd, 0xbb, 0x25, 0x95,
   849  	0xc4, 0x96, 0x70, 0x52, 0xed, 0xbc, 0x6f, 0xc7, 0x19, 0xb7, 0xad, 0x98, 0x5f, 0xdc, 0x2d, 0xa9,
   850  	0xb9, 0xcf, 0x92, 0x4b, 0xf4, 0x0e, 0xf6, 0x7e, 0xa2, 0xd3, 0xeb, 0x1b, 0x4f, 0x2a, 0x70, 0xe1,
   851  	0x68, 0x85, 0xce, 0xa2, 0xdc, 0x83, 0x20, 0xa9, 0xc8, 0x25, 0xeb, 0x09, 0xc9, 0x18, 0x99, 0xeb,
   852  	0x28, 0xe5, 0x4b, 0xa8, 0xa7, 0x32, 0x63, 0x4b, 0x77, 0xc1, 0x28, 0xfa, 0x18, 0xc4, 0x89, 0x73,
   853  	0xcb, 0x73, 0xaa, 0x74, 0xf6, 0xd7, 0x1a, 0xaa, 0x73, 0x6b, 0x06, 0x84, 0x97, 0xc4, 0x5e, 0x92,
   854  	0xff, 0x69, 0x49, 0x52, 0x99, 0xed, 0x5a, 0x92, 0x5f, 0x04, 0x40, 0x1a, 0x9d, 0xd1, 0xff, 0xaa,
   855  	0x24, 0x29, 0xeb, 0xe2, 0xae, 0xd6, 0x53, 0x0e, 0x76, 0xb5, 0xfe, 0x9b, 0x00, 0x55, 0xbe, 0x45,
   856  	0x65, 0xcc, 0x75, 0xf8, 0x2b, 0xfb, 0x14, 0x3e, 0xf0, 0x29, 0x0e, 0xbd, 0x4d, 0x82, 0xaf, 0x6b,
   857  	0xf7, 0x55, 0x9f, 0x26, 0x82, 0x49, 0x26, 0xc3, 0x7c, 0x26, 0xc3, 0x63, 0x28, 0xfa, 0x1c, 0x88,
   858  	0x2d, 0xf1, 0xa4, 0xda, 0x41, 0xeb, 0xe3, 0x6d, 0x6a, 0x10, 0x9e, 0x41, 0xc1, 0xcf, 0x96, 0xa2,
   859  	0x90, 0x2a, 0x85, 0xd2, 0x83, 0x42, 0x10, 0x8c, 0xea, 0xb1, 0x56, 0x68, 0x24, 0xdc, 0x77, 0x04,
   860  	0x05, 0x7e, 0x61, 0xf2, 0xbc, 0x44, 0x5b, 0xf5, 0x03, 0xae, 0xfc, 0x21, 0x40, 0xd3, 0xa2, 0x9e,
   861  	0x9d, 0x30, 0x3f, 0x9d, 0x78, 0x53, 0x77, 0xb1, 0x5b, 0xa7, 0x3e, 0x89, 0xcf, 0x0e, 0x86, 0x4a,
   862  	0xa5, 0x53, 0x4d, 0x9f, 0x13, 0x79, 0x91, 0xa1, 0x42, 0x66, 0xf8, 0x39, 0x0d, 0x91, 0x6b, 0x94,
   863  	0xc9, 0xcc, 0x8a, 0x7a, 0x2a, 0x43, 0xc5, 0x4f, 0xf0, 0x30, 0xcd, 0xb2, 0xff, 0xcc, 0xdf, 0xc2,
   864  	0x1e, 0x59, 0x5d, 0x05, 0xa8, 0x18, 0x0e, 0x20, 0xb2, 0xba, 0x32, 0x88, 0xf2, 0x33, 0x1c, 0xbe,
   865  	0xe0, 0x7c, 0xc7, 0x0e, 0xa3, 0xaf, 0xa0, 0x31, 0x61, 0x6c, 0x7a, 0xbd, 0xa0, 0x04, 0x6f, 0xf6,
   866  	0x35, 0xec, 0xd9, 0xbb, 0x38, 0xc2, 0x4e, 0xf5, 0xf7, 0xf4, 0xeb, 0x68, 0xfa, 0xf2, 0x87, 0xf6,
   867  	0x1e, 0xea, 0xd6, 0xc0, 0xe8, 0xe9, 0xf8, 0xe2, 0x72, 0xac, 0x63, 0x6d, 0x80, 0xf9, 0xaa, 0x96,
   868  	0xcb, 0x00, 0x3b, 0x06, 0xc2, 0xa9, 0x0f, 0xfb, 0xa9, 0xa7, 0x8b, 0x64, 0x68, 0x58, 0xbd, 0xef,
   869  	0x74, 0xcd, 0x1e, 0xe8, 0x66, 0x18, 0x6d, 0x8e, 0xec, 0xa1, 0x86, 0xcd, 0x51, 0xd7, 0x18, 0xd6,
   870  	0x72, 0xe8, 0x08, 0x94, 0x0c, 0x1f, 0x9b, 0xa3, 0xf1, 0xc8, 0xbc, 0x30, 0x46, 0x43, 0x75, 0x30,
   871  	0xb8, 0xc4, 0x7d, 0xd5, 0x30, 0x6b, 0x02, 0x6a, 0x82, 0x94, 0x89, 0xfb, 0x61, 0x64, 0xe1, 0xae,
   872  	0x6a, 0xe9, 0x5a, 0x2d, 0x7f, 0xfa, 0xbb, 0x00, 0xa5, 0xf8, 0x06, 0xa0, 0x43, 0x38, 0xb0, 0x75,
   873  	0x6c, 0x68, 0x61, 0x58, 0xcf, 0xc6, 0xb6, 0x8e, 0xfb, 0x67, 0x58, 0x1d, 0x63, 0x43, 0xab, 0xe5,
   874  	0x32, 0x58, 0x4b, 0x63, 0x21, 0x83, 0x4d, 0x75, 0x18, 0xf0, 0xe1, 0xb7, 0x21, 0xce, 0x67, 0xb0,
   875  	0xfa, 0x7d, 0x3f, 0x89, 0xc5, 0x20, 0xdd, 0x04, 0xd6, 0x87, 0xdd, 0x00, 0x5b, 0xb1, 0x7a, 0xa1,
   876  	0xf3, 0x57, 0x1e, 0x44, 0x93, 0xcd, 0xd1, 0x39, 0x54, 0x12, 0xa3, 0x18, 0x35, 0xd7, 0x5d, 0xdc,
   877  	0xfc, 0xdf, 0xd3, 0x38, 0x7c, 0x81, 0x46, 0xf7, 0xe1, 0x1c, 0x2a, 0x89, 0x19, 0x96, 0xd4, 0xda,
   878  	0x1c, 0xda, 0x49, 0xad, 0x6d, 0x83, 0xef, 0x1c, 0x2a, 0x89, 0xa1, 0x92, 0xd4, 0xda, 0x9c, 0x76,
   879  	0x49, 0xad, 0x6d, 0x93, 0xe8, 0x06, 0xde, 0x6e, 0xbd, 0xc8, 0xe8, 0x28, 0x31, 0xd9, 0xfe, 0xe5,
   880  	0x8d, 0x36, 0x8e, 0x5f, 0x8d, 0x0b, 0x4f, 0xea, 0x4a, 0x7f, 0x3e, 0xca, 0xc2, 0xfd, 0xa3, 0x2c,
   881  	0xfc, 0xfd, 0x28, 0x0b, 0xbf, 0x3e, 0xc9, 0xb9, 0xfb, 0x27, 0x39, 0xf7, 0xf0, 0x24, 0xe7, 0xae,
   882  	0xf6, 0xf8, 0xaf, 0x8b, 0xcf, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0x2f, 0xcc, 0x7f, 0xea, 0x73,
   883  	0x08, 0x00, 0x00,
   884  }
   885  
   886  // Reference imports to suppress errors if they are not otherwise used.
   887  var _ context.Context
   888  var _ grpc.ClientConn
   889  
   890  // This is a compile-time assertion to ensure that this generated file
   891  // is compatible with the grpc package it is being compiled against.
   892  const _ = grpc.SupportPackageIsVersion4
   893  
   894  // RsmClient is the client API for Rsm service.
   895  //
   896  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   897  type RsmClient interface {
   898  	// Slice management
   899  	CreateSlice(ctx context.Context, in *CreateSliceRequest, opts ...grpc.CallOption) (*CreateSliceResponse, error)
   900  	UpdateSlice(ctx context.Context, in *UpdateSliceRequest, opts ...grpc.CallOption) (*UpdateSliceResponse, error)
   901  	DeleteSlice(ctx context.Context, in *DeleteSliceRequest, opts ...grpc.CallOption) (*DeleteSliceResponse, error)
   902  	// UE-Slice association
   903  	SetUeSliceAssociation(ctx context.Context, in *SetUeSliceAssociationRequest, opts ...grpc.CallOption) (*SetUeSliceAssociationResponse, error)
   904  }
   905  
   906  type rsmClient struct {
   907  	cc *grpc.ClientConn
   908  }
   909  
   910  func NewRsmClient(cc *grpc.ClientConn) RsmClient {
   911  	return &rsmClient{cc}
   912  }
   913  
   914  func (c *rsmClient) CreateSlice(ctx context.Context, in *CreateSliceRequest, opts ...grpc.CallOption) (*CreateSliceResponse, error) {
   915  	out := new(CreateSliceResponse)
   916  	err := c.cc.Invoke(ctx, "/onos.rsm.Rsm/CreateSlice", in, out, opts...)
   917  	if err != nil {
   918  		return nil, err
   919  	}
   920  	return out, nil
   921  }
   922  
   923  func (c *rsmClient) UpdateSlice(ctx context.Context, in *UpdateSliceRequest, opts ...grpc.CallOption) (*UpdateSliceResponse, error) {
   924  	out := new(UpdateSliceResponse)
   925  	err := c.cc.Invoke(ctx, "/onos.rsm.Rsm/UpdateSlice", in, out, opts...)
   926  	if err != nil {
   927  		return nil, err
   928  	}
   929  	return out, nil
   930  }
   931  
   932  func (c *rsmClient) DeleteSlice(ctx context.Context, in *DeleteSliceRequest, opts ...grpc.CallOption) (*DeleteSliceResponse, error) {
   933  	out := new(DeleteSliceResponse)
   934  	err := c.cc.Invoke(ctx, "/onos.rsm.Rsm/DeleteSlice", in, out, opts...)
   935  	if err != nil {
   936  		return nil, err
   937  	}
   938  	return out, nil
   939  }
   940  
   941  func (c *rsmClient) SetUeSliceAssociation(ctx context.Context, in *SetUeSliceAssociationRequest, opts ...grpc.CallOption) (*SetUeSliceAssociationResponse, error) {
   942  	out := new(SetUeSliceAssociationResponse)
   943  	err := c.cc.Invoke(ctx, "/onos.rsm.Rsm/SetUeSliceAssociation", in, out, opts...)
   944  	if err != nil {
   945  		return nil, err
   946  	}
   947  	return out, nil
   948  }
   949  
   950  // RsmServer is the server API for Rsm service.
   951  type RsmServer interface {
   952  	// Slice management
   953  	CreateSlice(context.Context, *CreateSliceRequest) (*CreateSliceResponse, error)
   954  	UpdateSlice(context.Context, *UpdateSliceRequest) (*UpdateSliceResponse, error)
   955  	DeleteSlice(context.Context, *DeleteSliceRequest) (*DeleteSliceResponse, error)
   956  	// UE-Slice association
   957  	SetUeSliceAssociation(context.Context, *SetUeSliceAssociationRequest) (*SetUeSliceAssociationResponse, error)
   958  }
   959  
   960  // UnimplementedRsmServer can be embedded to have forward compatible implementations.
   961  type UnimplementedRsmServer struct {
   962  }
   963  
   964  func (*UnimplementedRsmServer) CreateSlice(ctx context.Context, req *CreateSliceRequest) (*CreateSliceResponse, error) {
   965  	return nil, status.Errorf(codes.Unimplemented, "method CreateSlice not implemented")
   966  }
   967  func (*UnimplementedRsmServer) UpdateSlice(ctx context.Context, req *UpdateSliceRequest) (*UpdateSliceResponse, error) {
   968  	return nil, status.Errorf(codes.Unimplemented, "method UpdateSlice not implemented")
   969  }
   970  func (*UnimplementedRsmServer) DeleteSlice(ctx context.Context, req *DeleteSliceRequest) (*DeleteSliceResponse, error) {
   971  	return nil, status.Errorf(codes.Unimplemented, "method DeleteSlice not implemented")
   972  }
   973  func (*UnimplementedRsmServer) SetUeSliceAssociation(ctx context.Context, req *SetUeSliceAssociationRequest) (*SetUeSliceAssociationResponse, error) {
   974  	return nil, status.Errorf(codes.Unimplemented, "method SetUeSliceAssociation not implemented")
   975  }
   976  
   977  func RegisterRsmServer(s *grpc.Server, srv RsmServer) {
   978  	s.RegisterService(&_Rsm_serviceDesc, srv)
   979  }
   980  
   981  func _Rsm_CreateSlice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   982  	in := new(CreateSliceRequest)
   983  	if err := dec(in); err != nil {
   984  		return nil, err
   985  	}
   986  	if interceptor == nil {
   987  		return srv.(RsmServer).CreateSlice(ctx, in)
   988  	}
   989  	info := &grpc.UnaryServerInfo{
   990  		Server:     srv,
   991  		FullMethod: "/onos.rsm.Rsm/CreateSlice",
   992  	}
   993  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   994  		return srv.(RsmServer).CreateSlice(ctx, req.(*CreateSliceRequest))
   995  	}
   996  	return interceptor(ctx, in, info, handler)
   997  }
   998  
   999  func _Rsm_UpdateSlice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1000  	in := new(UpdateSliceRequest)
  1001  	if err := dec(in); err != nil {
  1002  		return nil, err
  1003  	}
  1004  	if interceptor == nil {
  1005  		return srv.(RsmServer).UpdateSlice(ctx, in)
  1006  	}
  1007  	info := &grpc.UnaryServerInfo{
  1008  		Server:     srv,
  1009  		FullMethod: "/onos.rsm.Rsm/UpdateSlice",
  1010  	}
  1011  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1012  		return srv.(RsmServer).UpdateSlice(ctx, req.(*UpdateSliceRequest))
  1013  	}
  1014  	return interceptor(ctx, in, info, handler)
  1015  }
  1016  
  1017  func _Rsm_DeleteSlice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1018  	in := new(DeleteSliceRequest)
  1019  	if err := dec(in); err != nil {
  1020  		return nil, err
  1021  	}
  1022  	if interceptor == nil {
  1023  		return srv.(RsmServer).DeleteSlice(ctx, in)
  1024  	}
  1025  	info := &grpc.UnaryServerInfo{
  1026  		Server:     srv,
  1027  		FullMethod: "/onos.rsm.Rsm/DeleteSlice",
  1028  	}
  1029  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1030  		return srv.(RsmServer).DeleteSlice(ctx, req.(*DeleteSliceRequest))
  1031  	}
  1032  	return interceptor(ctx, in, info, handler)
  1033  }
  1034  
  1035  func _Rsm_SetUeSliceAssociation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1036  	in := new(SetUeSliceAssociationRequest)
  1037  	if err := dec(in); err != nil {
  1038  		return nil, err
  1039  	}
  1040  	if interceptor == nil {
  1041  		return srv.(RsmServer).SetUeSliceAssociation(ctx, in)
  1042  	}
  1043  	info := &grpc.UnaryServerInfo{
  1044  		Server:     srv,
  1045  		FullMethod: "/onos.rsm.Rsm/SetUeSliceAssociation",
  1046  	}
  1047  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1048  		return srv.(RsmServer).SetUeSliceAssociation(ctx, req.(*SetUeSliceAssociationRequest))
  1049  	}
  1050  	return interceptor(ctx, in, info, handler)
  1051  }
  1052  
  1053  var _Rsm_serviceDesc = grpc.ServiceDesc{
  1054  	ServiceName: "onos.rsm.Rsm",
  1055  	HandlerType: (*RsmServer)(nil),
  1056  	Methods: []grpc.MethodDesc{
  1057  		{
  1058  			MethodName: "CreateSlice",
  1059  			Handler:    _Rsm_CreateSlice_Handler,
  1060  		},
  1061  		{
  1062  			MethodName: "UpdateSlice",
  1063  			Handler:    _Rsm_UpdateSlice_Handler,
  1064  		},
  1065  		{
  1066  			MethodName: "DeleteSlice",
  1067  			Handler:    _Rsm_DeleteSlice_Handler,
  1068  		},
  1069  		{
  1070  			MethodName: "SetUeSliceAssociation",
  1071  			Handler:    _Rsm_SetUeSliceAssociation_Handler,
  1072  		},
  1073  	},
  1074  	Streams:  []grpc.StreamDesc{},
  1075  	Metadata: "onos/rsm/rsm.proto",
  1076  }
  1077  
  1078  func (m *SliceItem) Marshal() (dAtA []byte, err error) {
  1079  	size := m.Size()
  1080  	dAtA = make([]byte, size)
  1081  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1082  	if err != nil {
  1083  		return nil, err
  1084  	}
  1085  	return dAtA[:n], nil
  1086  }
  1087  
  1088  func (m *SliceItem) MarshalTo(dAtA []byte) (int, error) {
  1089  	size := m.Size()
  1090  	return m.MarshalToSizedBuffer(dAtA[:size])
  1091  }
  1092  
  1093  func (m *SliceItem) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1094  	i := len(dAtA)
  1095  	_ = i
  1096  	var l int
  1097  	_ = l
  1098  	if len(m.SliceIds) > 0 {
  1099  		for iNdEx := len(m.SliceIds) - 1; iNdEx >= 0; iNdEx-- {
  1100  			i -= len(m.SliceIds[iNdEx])
  1101  			copy(dAtA[i:], m.SliceIds[iNdEx])
  1102  			i = encodeVarintRsm(dAtA, i, uint64(len(m.SliceIds[iNdEx])))
  1103  			i--
  1104  			dAtA[i] = 0x12
  1105  		}
  1106  	}
  1107  	if len(m.E2NodeId) > 0 {
  1108  		i -= len(m.E2NodeId)
  1109  		copy(dAtA[i:], m.E2NodeId)
  1110  		i = encodeVarintRsm(dAtA, i, uint64(len(m.E2NodeId)))
  1111  		i--
  1112  		dAtA[i] = 0xa
  1113  	}
  1114  	return len(dAtA) - i, nil
  1115  }
  1116  
  1117  func (m *Ack) Marshal() (dAtA []byte, err error) {
  1118  	size := m.Size()
  1119  	dAtA = make([]byte, size)
  1120  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1121  	if err != nil {
  1122  		return nil, err
  1123  	}
  1124  	return dAtA[:n], nil
  1125  }
  1126  
  1127  func (m *Ack) MarshalTo(dAtA []byte) (int, error) {
  1128  	size := m.Size()
  1129  	return m.MarshalToSizedBuffer(dAtA[:size])
  1130  }
  1131  
  1132  func (m *Ack) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1133  	i := len(dAtA)
  1134  	_ = i
  1135  	var l int
  1136  	_ = l
  1137  	if len(m.Cause) > 0 {
  1138  		i -= len(m.Cause)
  1139  		copy(dAtA[i:], m.Cause)
  1140  		i = encodeVarintRsm(dAtA, i, uint64(len(m.Cause)))
  1141  		i--
  1142  		dAtA[i] = 0x12
  1143  	}
  1144  	if m.Success {
  1145  		i--
  1146  		if m.Success {
  1147  			dAtA[i] = 1
  1148  		} else {
  1149  			dAtA[i] = 0
  1150  		}
  1151  		i--
  1152  		dAtA[i] = 0x8
  1153  	}
  1154  	return len(dAtA) - i, nil
  1155  }
  1156  
  1157  func (m *CreateSliceRequest) Marshal() (dAtA []byte, err error) {
  1158  	size := m.Size()
  1159  	dAtA = make([]byte, size)
  1160  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1161  	if err != nil {
  1162  		return nil, err
  1163  	}
  1164  	return dAtA[:n], nil
  1165  }
  1166  
  1167  func (m *CreateSliceRequest) MarshalTo(dAtA []byte) (int, error) {
  1168  	size := m.Size()
  1169  	return m.MarshalToSizedBuffer(dAtA[:size])
  1170  }
  1171  
  1172  func (m *CreateSliceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1173  	i := len(dAtA)
  1174  	_ = i
  1175  	var l int
  1176  	_ = l
  1177  	if m.SliceType != 0 {
  1178  		i = encodeVarintRsm(dAtA, i, uint64(m.SliceType))
  1179  		i--
  1180  		dAtA[i] = 0x28
  1181  	}
  1182  	if len(m.Weight) > 0 {
  1183  		i -= len(m.Weight)
  1184  		copy(dAtA[i:], m.Weight)
  1185  		i = encodeVarintRsm(dAtA, i, uint64(len(m.Weight)))
  1186  		i--
  1187  		dAtA[i] = 0x22
  1188  	}
  1189  	if m.SchedulerType != 0 {
  1190  		i = encodeVarintRsm(dAtA, i, uint64(m.SchedulerType))
  1191  		i--
  1192  		dAtA[i] = 0x18
  1193  	}
  1194  	if len(m.SliceId) > 0 {
  1195  		i -= len(m.SliceId)
  1196  		copy(dAtA[i:], m.SliceId)
  1197  		i = encodeVarintRsm(dAtA, i, uint64(len(m.SliceId)))
  1198  		i--
  1199  		dAtA[i] = 0x12
  1200  	}
  1201  	if len(m.E2NodeId) > 0 {
  1202  		i -= len(m.E2NodeId)
  1203  		copy(dAtA[i:], m.E2NodeId)
  1204  		i = encodeVarintRsm(dAtA, i, uint64(len(m.E2NodeId)))
  1205  		i--
  1206  		dAtA[i] = 0xa
  1207  	}
  1208  	return len(dAtA) - i, nil
  1209  }
  1210  
  1211  func (m *CreateSliceResponse) Marshal() (dAtA []byte, err error) {
  1212  	size := m.Size()
  1213  	dAtA = make([]byte, size)
  1214  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1215  	if err != nil {
  1216  		return nil, err
  1217  	}
  1218  	return dAtA[:n], nil
  1219  }
  1220  
  1221  func (m *CreateSliceResponse) MarshalTo(dAtA []byte) (int, error) {
  1222  	size := m.Size()
  1223  	return m.MarshalToSizedBuffer(dAtA[:size])
  1224  }
  1225  
  1226  func (m *CreateSliceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1227  	i := len(dAtA)
  1228  	_ = i
  1229  	var l int
  1230  	_ = l
  1231  	if m.Ack != nil {
  1232  		{
  1233  			size, err := m.Ack.MarshalToSizedBuffer(dAtA[:i])
  1234  			if err != nil {
  1235  				return 0, err
  1236  			}
  1237  			i -= size
  1238  			i = encodeVarintRsm(dAtA, i, uint64(size))
  1239  		}
  1240  		i--
  1241  		dAtA[i] = 0xa
  1242  	}
  1243  	return len(dAtA) - i, nil
  1244  }
  1245  
  1246  func (m *UpdateSliceRequest) Marshal() (dAtA []byte, err error) {
  1247  	size := m.Size()
  1248  	dAtA = make([]byte, size)
  1249  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1250  	if err != nil {
  1251  		return nil, err
  1252  	}
  1253  	return dAtA[:n], nil
  1254  }
  1255  
  1256  func (m *UpdateSliceRequest) MarshalTo(dAtA []byte) (int, error) {
  1257  	size := m.Size()
  1258  	return m.MarshalToSizedBuffer(dAtA[:size])
  1259  }
  1260  
  1261  func (m *UpdateSliceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1262  	i := len(dAtA)
  1263  	_ = i
  1264  	var l int
  1265  	_ = l
  1266  	if m.SliceType != 0 {
  1267  		i = encodeVarintRsm(dAtA, i, uint64(m.SliceType))
  1268  		i--
  1269  		dAtA[i] = 0x28
  1270  	}
  1271  	if len(m.Weight) > 0 {
  1272  		i -= len(m.Weight)
  1273  		copy(dAtA[i:], m.Weight)
  1274  		i = encodeVarintRsm(dAtA, i, uint64(len(m.Weight)))
  1275  		i--
  1276  		dAtA[i] = 0x22
  1277  	}
  1278  	if m.SchedulerType != 0 {
  1279  		i = encodeVarintRsm(dAtA, i, uint64(m.SchedulerType))
  1280  		i--
  1281  		dAtA[i] = 0x18
  1282  	}
  1283  	if len(m.SliceId) > 0 {
  1284  		i -= len(m.SliceId)
  1285  		copy(dAtA[i:], m.SliceId)
  1286  		i = encodeVarintRsm(dAtA, i, uint64(len(m.SliceId)))
  1287  		i--
  1288  		dAtA[i] = 0x12
  1289  	}
  1290  	if len(m.E2NodeId) > 0 {
  1291  		i -= len(m.E2NodeId)
  1292  		copy(dAtA[i:], m.E2NodeId)
  1293  		i = encodeVarintRsm(dAtA, i, uint64(len(m.E2NodeId)))
  1294  		i--
  1295  		dAtA[i] = 0xa
  1296  	}
  1297  	return len(dAtA) - i, nil
  1298  }
  1299  
  1300  func (m *UpdateSliceResponse) Marshal() (dAtA []byte, err error) {
  1301  	size := m.Size()
  1302  	dAtA = make([]byte, size)
  1303  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1304  	if err != nil {
  1305  		return nil, err
  1306  	}
  1307  	return dAtA[:n], nil
  1308  }
  1309  
  1310  func (m *UpdateSliceResponse) MarshalTo(dAtA []byte) (int, error) {
  1311  	size := m.Size()
  1312  	return m.MarshalToSizedBuffer(dAtA[:size])
  1313  }
  1314  
  1315  func (m *UpdateSliceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1316  	i := len(dAtA)
  1317  	_ = i
  1318  	var l int
  1319  	_ = l
  1320  	if m.Ack != nil {
  1321  		{
  1322  			size, err := m.Ack.MarshalToSizedBuffer(dAtA[:i])
  1323  			if err != nil {
  1324  				return 0, err
  1325  			}
  1326  			i -= size
  1327  			i = encodeVarintRsm(dAtA, i, uint64(size))
  1328  		}
  1329  		i--
  1330  		dAtA[i] = 0xa
  1331  	}
  1332  	return len(dAtA) - i, nil
  1333  }
  1334  
  1335  func (m *DeleteSliceRequest) Marshal() (dAtA []byte, err error) {
  1336  	size := m.Size()
  1337  	dAtA = make([]byte, size)
  1338  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1339  	if err != nil {
  1340  		return nil, err
  1341  	}
  1342  	return dAtA[:n], nil
  1343  }
  1344  
  1345  func (m *DeleteSliceRequest) MarshalTo(dAtA []byte) (int, error) {
  1346  	size := m.Size()
  1347  	return m.MarshalToSizedBuffer(dAtA[:size])
  1348  }
  1349  
  1350  func (m *DeleteSliceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1351  	i := len(dAtA)
  1352  	_ = i
  1353  	var l int
  1354  	_ = l
  1355  	if m.SliceType != 0 {
  1356  		i = encodeVarintRsm(dAtA, i, uint64(m.SliceType))
  1357  		i--
  1358  		dAtA[i] = 0x18
  1359  	}
  1360  	if len(m.SliceId) > 0 {
  1361  		i -= len(m.SliceId)
  1362  		copy(dAtA[i:], m.SliceId)
  1363  		i = encodeVarintRsm(dAtA, i, uint64(len(m.SliceId)))
  1364  		i--
  1365  		dAtA[i] = 0x12
  1366  	}
  1367  	if len(m.E2NodeId) > 0 {
  1368  		i -= len(m.E2NodeId)
  1369  		copy(dAtA[i:], m.E2NodeId)
  1370  		i = encodeVarintRsm(dAtA, i, uint64(len(m.E2NodeId)))
  1371  		i--
  1372  		dAtA[i] = 0xa
  1373  	}
  1374  	return len(dAtA) - i, nil
  1375  }
  1376  
  1377  func (m *DeleteSliceResponse) Marshal() (dAtA []byte, err error) {
  1378  	size := m.Size()
  1379  	dAtA = make([]byte, size)
  1380  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1381  	if err != nil {
  1382  		return nil, err
  1383  	}
  1384  	return dAtA[:n], nil
  1385  }
  1386  
  1387  func (m *DeleteSliceResponse) MarshalTo(dAtA []byte) (int, error) {
  1388  	size := m.Size()
  1389  	return m.MarshalToSizedBuffer(dAtA[:size])
  1390  }
  1391  
  1392  func (m *DeleteSliceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1393  	i := len(dAtA)
  1394  	_ = i
  1395  	var l int
  1396  	_ = l
  1397  	if m.Ack != nil {
  1398  		{
  1399  			size, err := m.Ack.MarshalToSizedBuffer(dAtA[:i])
  1400  			if err != nil {
  1401  				return 0, err
  1402  			}
  1403  			i -= size
  1404  			i = encodeVarintRsm(dAtA, i, uint64(size))
  1405  		}
  1406  		i--
  1407  		dAtA[i] = 0xa
  1408  	}
  1409  	return len(dAtA) - i, nil
  1410  }
  1411  
  1412  func (m *SliceAssocItem) Marshal() (dAtA []byte, err error) {
  1413  	size := m.Size()
  1414  	dAtA = make([]byte, size)
  1415  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1416  	if err != nil {
  1417  		return nil, err
  1418  	}
  1419  	return dAtA[:n], nil
  1420  }
  1421  
  1422  func (m *SliceAssocItem) MarshalTo(dAtA []byte) (int, error) {
  1423  	size := m.Size()
  1424  	return m.MarshalToSizedBuffer(dAtA[:size])
  1425  }
  1426  
  1427  func (m *SliceAssocItem) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1428  	i := len(dAtA)
  1429  	_ = i
  1430  	var l int
  1431  	_ = l
  1432  	if len(m.SliceId) > 0 {
  1433  		i -= len(m.SliceId)
  1434  		copy(dAtA[i:], m.SliceId)
  1435  		i = encodeVarintRsm(dAtA, i, uint64(len(m.SliceId)))
  1436  		i--
  1437  		dAtA[i] = 0x22
  1438  	}
  1439  	if len(m.UeId) > 0 {
  1440  		dAtA5 := make([]byte, len(m.UeId)*10)
  1441  		var j4 int
  1442  		for _, num := range m.UeId {
  1443  			for num >= 1<<7 {
  1444  				dAtA5[j4] = uint8(uint64(num)&0x7f | 0x80)
  1445  				num >>= 7
  1446  				j4++
  1447  			}
  1448  			dAtA5[j4] = uint8(num)
  1449  			j4++
  1450  		}
  1451  		i -= j4
  1452  		copy(dAtA[i:], dAtA5[:j4])
  1453  		i = encodeVarintRsm(dAtA, i, uint64(j4))
  1454  		i--
  1455  		dAtA[i] = 0x1a
  1456  	}
  1457  	if len(m.E2NodeId) > 0 {
  1458  		i -= len(m.E2NodeId)
  1459  		copy(dAtA[i:], m.E2NodeId)
  1460  		i = encodeVarintRsm(dAtA, i, uint64(len(m.E2NodeId)))
  1461  		i--
  1462  		dAtA[i] = 0x12
  1463  	}
  1464  	if len(m.UeSliceAssocId) > 0 {
  1465  		i -= len(m.UeSliceAssocId)
  1466  		copy(dAtA[i:], m.UeSliceAssocId)
  1467  		i = encodeVarintRsm(dAtA, i, uint64(len(m.UeSliceAssocId)))
  1468  		i--
  1469  		dAtA[i] = 0xa
  1470  	}
  1471  	return len(dAtA) - i, nil
  1472  }
  1473  
  1474  func (m *UeId) Marshal() (dAtA []byte, err error) {
  1475  	size := m.Size()
  1476  	dAtA = make([]byte, size)
  1477  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1478  	if err != nil {
  1479  		return nil, err
  1480  	}
  1481  	return dAtA[:n], nil
  1482  }
  1483  
  1484  func (m *UeId) MarshalTo(dAtA []byte) (int, error) {
  1485  	size := m.Size()
  1486  	return m.MarshalToSizedBuffer(dAtA[:size])
  1487  }
  1488  
  1489  func (m *UeId) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1490  	i := len(dAtA)
  1491  	_ = i
  1492  	var l int
  1493  	_ = l
  1494  	if m.Type != 0 {
  1495  		i = encodeVarintRsm(dAtA, i, uint64(m.Type))
  1496  		i--
  1497  		dAtA[i] = 0x10
  1498  	}
  1499  	if len(m.UeId) > 0 {
  1500  		i -= len(m.UeId)
  1501  		copy(dAtA[i:], m.UeId)
  1502  		i = encodeVarintRsm(dAtA, i, uint64(len(m.UeId)))
  1503  		i--
  1504  		dAtA[i] = 0xa
  1505  	}
  1506  	return len(dAtA) - i, nil
  1507  }
  1508  
  1509  func (m *SetUeSliceAssociationRequest) Marshal() (dAtA []byte, err error) {
  1510  	size := m.Size()
  1511  	dAtA = make([]byte, size)
  1512  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1513  	if err != nil {
  1514  		return nil, err
  1515  	}
  1516  	return dAtA[:n], nil
  1517  }
  1518  
  1519  func (m *SetUeSliceAssociationRequest) MarshalTo(dAtA []byte) (int, error) {
  1520  	size := m.Size()
  1521  	return m.MarshalToSizedBuffer(dAtA[:size])
  1522  }
  1523  
  1524  func (m *SetUeSliceAssociationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1525  	i := len(dAtA)
  1526  	_ = i
  1527  	var l int
  1528  	_ = l
  1529  	if len(m.DrbId) > 0 {
  1530  		i -= len(m.DrbId)
  1531  		copy(dAtA[i:], m.DrbId)
  1532  		i = encodeVarintRsm(dAtA, i, uint64(len(m.DrbId)))
  1533  		i--
  1534  		dAtA[i] = 0x2a
  1535  	}
  1536  	if len(m.UlSliceId) > 0 {
  1537  		i -= len(m.UlSliceId)
  1538  		copy(dAtA[i:], m.UlSliceId)
  1539  		i = encodeVarintRsm(dAtA, i, uint64(len(m.UlSliceId)))
  1540  		i--
  1541  		dAtA[i] = 0x22
  1542  	}
  1543  	if len(m.DlSliceId) > 0 {
  1544  		i -= len(m.DlSliceId)
  1545  		copy(dAtA[i:], m.DlSliceId)
  1546  		i = encodeVarintRsm(dAtA, i, uint64(len(m.DlSliceId)))
  1547  		i--
  1548  		dAtA[i] = 0x1a
  1549  	}
  1550  	if len(m.UeId) > 0 {
  1551  		for iNdEx := len(m.UeId) - 1; iNdEx >= 0; iNdEx-- {
  1552  			{
  1553  				size, err := m.UeId[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  1554  				if err != nil {
  1555  					return 0, err
  1556  				}
  1557  				i -= size
  1558  				i = encodeVarintRsm(dAtA, i, uint64(size))
  1559  			}
  1560  			i--
  1561  			dAtA[i] = 0x12
  1562  		}
  1563  	}
  1564  	if len(m.E2NodeId) > 0 {
  1565  		i -= len(m.E2NodeId)
  1566  		copy(dAtA[i:], m.E2NodeId)
  1567  		i = encodeVarintRsm(dAtA, i, uint64(len(m.E2NodeId)))
  1568  		i--
  1569  		dAtA[i] = 0xa
  1570  	}
  1571  	return len(dAtA) - i, nil
  1572  }
  1573  
  1574  func (m *SetUeSliceAssociationResponse) Marshal() (dAtA []byte, err error) {
  1575  	size := m.Size()
  1576  	dAtA = make([]byte, size)
  1577  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1578  	if err != nil {
  1579  		return nil, err
  1580  	}
  1581  	return dAtA[:n], nil
  1582  }
  1583  
  1584  func (m *SetUeSliceAssociationResponse) MarshalTo(dAtA []byte) (int, error) {
  1585  	size := m.Size()
  1586  	return m.MarshalToSizedBuffer(dAtA[:size])
  1587  }
  1588  
  1589  func (m *SetUeSliceAssociationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1590  	i := len(dAtA)
  1591  	_ = i
  1592  	var l int
  1593  	_ = l
  1594  	if len(m.AssignedUeSliceAssocId) > 0 {
  1595  		i -= len(m.AssignedUeSliceAssocId)
  1596  		copy(dAtA[i:], m.AssignedUeSliceAssocId)
  1597  		i = encodeVarintRsm(dAtA, i, uint64(len(m.AssignedUeSliceAssocId)))
  1598  		i--
  1599  		dAtA[i] = 0x12
  1600  	}
  1601  	if m.Ack != nil {
  1602  		{
  1603  			size, err := m.Ack.MarshalToSizedBuffer(dAtA[:i])
  1604  			if err != nil {
  1605  				return 0, err
  1606  			}
  1607  			i -= size
  1608  			i = encodeVarintRsm(dAtA, i, uint64(size))
  1609  		}
  1610  		i--
  1611  		dAtA[i] = 0xa
  1612  	}
  1613  	return len(dAtA) - i, nil
  1614  }
  1615  
  1616  func encodeVarintRsm(dAtA []byte, offset int, v uint64) int {
  1617  	offset -= sovRsm(v)
  1618  	base := offset
  1619  	for v >= 1<<7 {
  1620  		dAtA[offset] = uint8(v&0x7f | 0x80)
  1621  		v >>= 7
  1622  		offset++
  1623  	}
  1624  	dAtA[offset] = uint8(v)
  1625  	return base
  1626  }
  1627  func (m *SliceItem) Size() (n int) {
  1628  	if m == nil {
  1629  		return 0
  1630  	}
  1631  	var l int
  1632  	_ = l
  1633  	l = len(m.E2NodeId)
  1634  	if l > 0 {
  1635  		n += 1 + l + sovRsm(uint64(l))
  1636  	}
  1637  	if len(m.SliceIds) > 0 {
  1638  		for _, s := range m.SliceIds {
  1639  			l = len(s)
  1640  			n += 1 + l + sovRsm(uint64(l))
  1641  		}
  1642  	}
  1643  	return n
  1644  }
  1645  
  1646  func (m *Ack) Size() (n int) {
  1647  	if m == nil {
  1648  		return 0
  1649  	}
  1650  	var l int
  1651  	_ = l
  1652  	if m.Success {
  1653  		n += 2
  1654  	}
  1655  	l = len(m.Cause)
  1656  	if l > 0 {
  1657  		n += 1 + l + sovRsm(uint64(l))
  1658  	}
  1659  	return n
  1660  }
  1661  
  1662  func (m *CreateSliceRequest) Size() (n int) {
  1663  	if m == nil {
  1664  		return 0
  1665  	}
  1666  	var l int
  1667  	_ = l
  1668  	l = len(m.E2NodeId)
  1669  	if l > 0 {
  1670  		n += 1 + l + sovRsm(uint64(l))
  1671  	}
  1672  	l = len(m.SliceId)
  1673  	if l > 0 {
  1674  		n += 1 + l + sovRsm(uint64(l))
  1675  	}
  1676  	if m.SchedulerType != 0 {
  1677  		n += 1 + sovRsm(uint64(m.SchedulerType))
  1678  	}
  1679  	l = len(m.Weight)
  1680  	if l > 0 {
  1681  		n += 1 + l + sovRsm(uint64(l))
  1682  	}
  1683  	if m.SliceType != 0 {
  1684  		n += 1 + sovRsm(uint64(m.SliceType))
  1685  	}
  1686  	return n
  1687  }
  1688  
  1689  func (m *CreateSliceResponse) Size() (n int) {
  1690  	if m == nil {
  1691  		return 0
  1692  	}
  1693  	var l int
  1694  	_ = l
  1695  	if m.Ack != nil {
  1696  		l = m.Ack.Size()
  1697  		n += 1 + l + sovRsm(uint64(l))
  1698  	}
  1699  	return n
  1700  }
  1701  
  1702  func (m *UpdateSliceRequest) Size() (n int) {
  1703  	if m == nil {
  1704  		return 0
  1705  	}
  1706  	var l int
  1707  	_ = l
  1708  	l = len(m.E2NodeId)
  1709  	if l > 0 {
  1710  		n += 1 + l + sovRsm(uint64(l))
  1711  	}
  1712  	l = len(m.SliceId)
  1713  	if l > 0 {
  1714  		n += 1 + l + sovRsm(uint64(l))
  1715  	}
  1716  	if m.SchedulerType != 0 {
  1717  		n += 1 + sovRsm(uint64(m.SchedulerType))
  1718  	}
  1719  	l = len(m.Weight)
  1720  	if l > 0 {
  1721  		n += 1 + l + sovRsm(uint64(l))
  1722  	}
  1723  	if m.SliceType != 0 {
  1724  		n += 1 + sovRsm(uint64(m.SliceType))
  1725  	}
  1726  	return n
  1727  }
  1728  
  1729  func (m *UpdateSliceResponse) Size() (n int) {
  1730  	if m == nil {
  1731  		return 0
  1732  	}
  1733  	var l int
  1734  	_ = l
  1735  	if m.Ack != nil {
  1736  		l = m.Ack.Size()
  1737  		n += 1 + l + sovRsm(uint64(l))
  1738  	}
  1739  	return n
  1740  }
  1741  
  1742  func (m *DeleteSliceRequest) Size() (n int) {
  1743  	if m == nil {
  1744  		return 0
  1745  	}
  1746  	var l int
  1747  	_ = l
  1748  	l = len(m.E2NodeId)
  1749  	if l > 0 {
  1750  		n += 1 + l + sovRsm(uint64(l))
  1751  	}
  1752  	l = len(m.SliceId)
  1753  	if l > 0 {
  1754  		n += 1 + l + sovRsm(uint64(l))
  1755  	}
  1756  	if m.SliceType != 0 {
  1757  		n += 1 + sovRsm(uint64(m.SliceType))
  1758  	}
  1759  	return n
  1760  }
  1761  
  1762  func (m *DeleteSliceResponse) Size() (n int) {
  1763  	if m == nil {
  1764  		return 0
  1765  	}
  1766  	var l int
  1767  	_ = l
  1768  	if m.Ack != nil {
  1769  		l = m.Ack.Size()
  1770  		n += 1 + l + sovRsm(uint64(l))
  1771  	}
  1772  	return n
  1773  }
  1774  
  1775  func (m *SliceAssocItem) Size() (n int) {
  1776  	if m == nil {
  1777  		return 0
  1778  	}
  1779  	var l int
  1780  	_ = l
  1781  	l = len(m.UeSliceAssocId)
  1782  	if l > 0 {
  1783  		n += 1 + l + sovRsm(uint64(l))
  1784  	}
  1785  	l = len(m.E2NodeId)
  1786  	if l > 0 {
  1787  		n += 1 + l + sovRsm(uint64(l))
  1788  	}
  1789  	if len(m.UeId) > 0 {
  1790  		l = 0
  1791  		for _, e := range m.UeId {
  1792  			l += sovRsm(uint64(e))
  1793  		}
  1794  		n += 1 + sovRsm(uint64(l)) + l
  1795  	}
  1796  	l = len(m.SliceId)
  1797  	if l > 0 {
  1798  		n += 1 + l + sovRsm(uint64(l))
  1799  	}
  1800  	return n
  1801  }
  1802  
  1803  func (m *UeId) Size() (n int) {
  1804  	if m == nil {
  1805  		return 0
  1806  	}
  1807  	var l int
  1808  	_ = l
  1809  	l = len(m.UeId)
  1810  	if l > 0 {
  1811  		n += 1 + l + sovRsm(uint64(l))
  1812  	}
  1813  	if m.Type != 0 {
  1814  		n += 1 + sovRsm(uint64(m.Type))
  1815  	}
  1816  	return n
  1817  }
  1818  
  1819  func (m *SetUeSliceAssociationRequest) Size() (n int) {
  1820  	if m == nil {
  1821  		return 0
  1822  	}
  1823  	var l int
  1824  	_ = l
  1825  	l = len(m.E2NodeId)
  1826  	if l > 0 {
  1827  		n += 1 + l + sovRsm(uint64(l))
  1828  	}
  1829  	if len(m.UeId) > 0 {
  1830  		for _, e := range m.UeId {
  1831  			l = e.Size()
  1832  			n += 1 + l + sovRsm(uint64(l))
  1833  		}
  1834  	}
  1835  	l = len(m.DlSliceId)
  1836  	if l > 0 {
  1837  		n += 1 + l + sovRsm(uint64(l))
  1838  	}
  1839  	l = len(m.UlSliceId)
  1840  	if l > 0 {
  1841  		n += 1 + l + sovRsm(uint64(l))
  1842  	}
  1843  	l = len(m.DrbId)
  1844  	if l > 0 {
  1845  		n += 1 + l + sovRsm(uint64(l))
  1846  	}
  1847  	return n
  1848  }
  1849  
  1850  func (m *SetUeSliceAssociationResponse) Size() (n int) {
  1851  	if m == nil {
  1852  		return 0
  1853  	}
  1854  	var l int
  1855  	_ = l
  1856  	if m.Ack != nil {
  1857  		l = m.Ack.Size()
  1858  		n += 1 + l + sovRsm(uint64(l))
  1859  	}
  1860  	l = len(m.AssignedUeSliceAssocId)
  1861  	if l > 0 {
  1862  		n += 1 + l + sovRsm(uint64(l))
  1863  	}
  1864  	return n
  1865  }
  1866  
  1867  func sovRsm(x uint64) (n int) {
  1868  	return (math_bits.Len64(x|1) + 6) / 7
  1869  }
  1870  func sozRsm(x uint64) (n int) {
  1871  	return sovRsm(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  1872  }
  1873  func (m *SliceItem) Unmarshal(dAtA []byte) error {
  1874  	l := len(dAtA)
  1875  	iNdEx := 0
  1876  	for iNdEx < l {
  1877  		preIndex := iNdEx
  1878  		var wire uint64
  1879  		for shift := uint(0); ; shift += 7 {
  1880  			if shift >= 64 {
  1881  				return ErrIntOverflowRsm
  1882  			}
  1883  			if iNdEx >= l {
  1884  				return io.ErrUnexpectedEOF
  1885  			}
  1886  			b := dAtA[iNdEx]
  1887  			iNdEx++
  1888  			wire |= uint64(b&0x7F) << shift
  1889  			if b < 0x80 {
  1890  				break
  1891  			}
  1892  		}
  1893  		fieldNum := int32(wire >> 3)
  1894  		wireType := int(wire & 0x7)
  1895  		if wireType == 4 {
  1896  			return fmt.Errorf("proto: SliceItem: wiretype end group for non-group")
  1897  		}
  1898  		if fieldNum <= 0 {
  1899  			return fmt.Errorf("proto: SliceItem: illegal tag %d (wire type %d)", fieldNum, wire)
  1900  		}
  1901  		switch fieldNum {
  1902  		case 1:
  1903  			if wireType != 2 {
  1904  				return fmt.Errorf("proto: wrong wireType = %d for field E2NodeId", wireType)
  1905  			}
  1906  			var stringLen uint64
  1907  			for shift := uint(0); ; shift += 7 {
  1908  				if shift >= 64 {
  1909  					return ErrIntOverflowRsm
  1910  				}
  1911  				if iNdEx >= l {
  1912  					return io.ErrUnexpectedEOF
  1913  				}
  1914  				b := dAtA[iNdEx]
  1915  				iNdEx++
  1916  				stringLen |= uint64(b&0x7F) << shift
  1917  				if b < 0x80 {
  1918  					break
  1919  				}
  1920  			}
  1921  			intStringLen := int(stringLen)
  1922  			if intStringLen < 0 {
  1923  				return ErrInvalidLengthRsm
  1924  			}
  1925  			postIndex := iNdEx + intStringLen
  1926  			if postIndex < 0 {
  1927  				return ErrInvalidLengthRsm
  1928  			}
  1929  			if postIndex > l {
  1930  				return io.ErrUnexpectedEOF
  1931  			}
  1932  			m.E2NodeId = string(dAtA[iNdEx:postIndex])
  1933  			iNdEx = postIndex
  1934  		case 2:
  1935  			if wireType != 2 {
  1936  				return fmt.Errorf("proto: wrong wireType = %d for field SliceIds", wireType)
  1937  			}
  1938  			var stringLen uint64
  1939  			for shift := uint(0); ; shift += 7 {
  1940  				if shift >= 64 {
  1941  					return ErrIntOverflowRsm
  1942  				}
  1943  				if iNdEx >= l {
  1944  					return io.ErrUnexpectedEOF
  1945  				}
  1946  				b := dAtA[iNdEx]
  1947  				iNdEx++
  1948  				stringLen |= uint64(b&0x7F) << shift
  1949  				if b < 0x80 {
  1950  					break
  1951  				}
  1952  			}
  1953  			intStringLen := int(stringLen)
  1954  			if intStringLen < 0 {
  1955  				return ErrInvalidLengthRsm
  1956  			}
  1957  			postIndex := iNdEx + intStringLen
  1958  			if postIndex < 0 {
  1959  				return ErrInvalidLengthRsm
  1960  			}
  1961  			if postIndex > l {
  1962  				return io.ErrUnexpectedEOF
  1963  			}
  1964  			m.SliceIds = append(m.SliceIds, string(dAtA[iNdEx:postIndex]))
  1965  			iNdEx = postIndex
  1966  		default:
  1967  			iNdEx = preIndex
  1968  			skippy, err := skipRsm(dAtA[iNdEx:])
  1969  			if err != nil {
  1970  				return err
  1971  			}
  1972  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1973  				return ErrInvalidLengthRsm
  1974  			}
  1975  			if (iNdEx + skippy) > l {
  1976  				return io.ErrUnexpectedEOF
  1977  			}
  1978  			iNdEx += skippy
  1979  		}
  1980  	}
  1981  
  1982  	if iNdEx > l {
  1983  		return io.ErrUnexpectedEOF
  1984  	}
  1985  	return nil
  1986  }
  1987  func (m *Ack) Unmarshal(dAtA []byte) error {
  1988  	l := len(dAtA)
  1989  	iNdEx := 0
  1990  	for iNdEx < l {
  1991  		preIndex := iNdEx
  1992  		var wire uint64
  1993  		for shift := uint(0); ; shift += 7 {
  1994  			if shift >= 64 {
  1995  				return ErrIntOverflowRsm
  1996  			}
  1997  			if iNdEx >= l {
  1998  				return io.ErrUnexpectedEOF
  1999  			}
  2000  			b := dAtA[iNdEx]
  2001  			iNdEx++
  2002  			wire |= uint64(b&0x7F) << shift
  2003  			if b < 0x80 {
  2004  				break
  2005  			}
  2006  		}
  2007  		fieldNum := int32(wire >> 3)
  2008  		wireType := int(wire & 0x7)
  2009  		if wireType == 4 {
  2010  			return fmt.Errorf("proto: Ack: wiretype end group for non-group")
  2011  		}
  2012  		if fieldNum <= 0 {
  2013  			return fmt.Errorf("proto: Ack: illegal tag %d (wire type %d)", fieldNum, wire)
  2014  		}
  2015  		switch fieldNum {
  2016  		case 1:
  2017  			if wireType != 0 {
  2018  				return fmt.Errorf("proto: wrong wireType = %d for field Success", wireType)
  2019  			}
  2020  			var v int
  2021  			for shift := uint(0); ; shift += 7 {
  2022  				if shift >= 64 {
  2023  					return ErrIntOverflowRsm
  2024  				}
  2025  				if iNdEx >= l {
  2026  					return io.ErrUnexpectedEOF
  2027  				}
  2028  				b := dAtA[iNdEx]
  2029  				iNdEx++
  2030  				v |= int(b&0x7F) << shift
  2031  				if b < 0x80 {
  2032  					break
  2033  				}
  2034  			}
  2035  			m.Success = bool(v != 0)
  2036  		case 2:
  2037  			if wireType != 2 {
  2038  				return fmt.Errorf("proto: wrong wireType = %d for field Cause", wireType)
  2039  			}
  2040  			var stringLen uint64
  2041  			for shift := uint(0); ; shift += 7 {
  2042  				if shift >= 64 {
  2043  					return ErrIntOverflowRsm
  2044  				}
  2045  				if iNdEx >= l {
  2046  					return io.ErrUnexpectedEOF
  2047  				}
  2048  				b := dAtA[iNdEx]
  2049  				iNdEx++
  2050  				stringLen |= uint64(b&0x7F) << shift
  2051  				if b < 0x80 {
  2052  					break
  2053  				}
  2054  			}
  2055  			intStringLen := int(stringLen)
  2056  			if intStringLen < 0 {
  2057  				return ErrInvalidLengthRsm
  2058  			}
  2059  			postIndex := iNdEx + intStringLen
  2060  			if postIndex < 0 {
  2061  				return ErrInvalidLengthRsm
  2062  			}
  2063  			if postIndex > l {
  2064  				return io.ErrUnexpectedEOF
  2065  			}
  2066  			m.Cause = string(dAtA[iNdEx:postIndex])
  2067  			iNdEx = postIndex
  2068  		default:
  2069  			iNdEx = preIndex
  2070  			skippy, err := skipRsm(dAtA[iNdEx:])
  2071  			if err != nil {
  2072  				return err
  2073  			}
  2074  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2075  				return ErrInvalidLengthRsm
  2076  			}
  2077  			if (iNdEx + skippy) > l {
  2078  				return io.ErrUnexpectedEOF
  2079  			}
  2080  			iNdEx += skippy
  2081  		}
  2082  	}
  2083  
  2084  	if iNdEx > l {
  2085  		return io.ErrUnexpectedEOF
  2086  	}
  2087  	return nil
  2088  }
  2089  func (m *CreateSliceRequest) Unmarshal(dAtA []byte) error {
  2090  	l := len(dAtA)
  2091  	iNdEx := 0
  2092  	for iNdEx < l {
  2093  		preIndex := iNdEx
  2094  		var wire uint64
  2095  		for shift := uint(0); ; shift += 7 {
  2096  			if shift >= 64 {
  2097  				return ErrIntOverflowRsm
  2098  			}
  2099  			if iNdEx >= l {
  2100  				return io.ErrUnexpectedEOF
  2101  			}
  2102  			b := dAtA[iNdEx]
  2103  			iNdEx++
  2104  			wire |= uint64(b&0x7F) << shift
  2105  			if b < 0x80 {
  2106  				break
  2107  			}
  2108  		}
  2109  		fieldNum := int32(wire >> 3)
  2110  		wireType := int(wire & 0x7)
  2111  		if wireType == 4 {
  2112  			return fmt.Errorf("proto: CreateSliceRequest: wiretype end group for non-group")
  2113  		}
  2114  		if fieldNum <= 0 {
  2115  			return fmt.Errorf("proto: CreateSliceRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  2116  		}
  2117  		switch fieldNum {
  2118  		case 1:
  2119  			if wireType != 2 {
  2120  				return fmt.Errorf("proto: wrong wireType = %d for field E2NodeId", wireType)
  2121  			}
  2122  			var stringLen uint64
  2123  			for shift := uint(0); ; shift += 7 {
  2124  				if shift >= 64 {
  2125  					return ErrIntOverflowRsm
  2126  				}
  2127  				if iNdEx >= l {
  2128  					return io.ErrUnexpectedEOF
  2129  				}
  2130  				b := dAtA[iNdEx]
  2131  				iNdEx++
  2132  				stringLen |= uint64(b&0x7F) << shift
  2133  				if b < 0x80 {
  2134  					break
  2135  				}
  2136  			}
  2137  			intStringLen := int(stringLen)
  2138  			if intStringLen < 0 {
  2139  				return ErrInvalidLengthRsm
  2140  			}
  2141  			postIndex := iNdEx + intStringLen
  2142  			if postIndex < 0 {
  2143  				return ErrInvalidLengthRsm
  2144  			}
  2145  			if postIndex > l {
  2146  				return io.ErrUnexpectedEOF
  2147  			}
  2148  			m.E2NodeId = string(dAtA[iNdEx:postIndex])
  2149  			iNdEx = postIndex
  2150  		case 2:
  2151  			if wireType != 2 {
  2152  				return fmt.Errorf("proto: wrong wireType = %d for field SliceId", wireType)
  2153  			}
  2154  			var stringLen uint64
  2155  			for shift := uint(0); ; shift += 7 {
  2156  				if shift >= 64 {
  2157  					return ErrIntOverflowRsm
  2158  				}
  2159  				if iNdEx >= l {
  2160  					return io.ErrUnexpectedEOF
  2161  				}
  2162  				b := dAtA[iNdEx]
  2163  				iNdEx++
  2164  				stringLen |= uint64(b&0x7F) << shift
  2165  				if b < 0x80 {
  2166  					break
  2167  				}
  2168  			}
  2169  			intStringLen := int(stringLen)
  2170  			if intStringLen < 0 {
  2171  				return ErrInvalidLengthRsm
  2172  			}
  2173  			postIndex := iNdEx + intStringLen
  2174  			if postIndex < 0 {
  2175  				return ErrInvalidLengthRsm
  2176  			}
  2177  			if postIndex > l {
  2178  				return io.ErrUnexpectedEOF
  2179  			}
  2180  			m.SliceId = string(dAtA[iNdEx:postIndex])
  2181  			iNdEx = postIndex
  2182  		case 3:
  2183  			if wireType != 0 {
  2184  				return fmt.Errorf("proto: wrong wireType = %d for field SchedulerType", wireType)
  2185  			}
  2186  			m.SchedulerType = 0
  2187  			for shift := uint(0); ; shift += 7 {
  2188  				if shift >= 64 {
  2189  					return ErrIntOverflowRsm
  2190  				}
  2191  				if iNdEx >= l {
  2192  					return io.ErrUnexpectedEOF
  2193  				}
  2194  				b := dAtA[iNdEx]
  2195  				iNdEx++
  2196  				m.SchedulerType |= SchedulerType(b&0x7F) << shift
  2197  				if b < 0x80 {
  2198  					break
  2199  				}
  2200  			}
  2201  		case 4:
  2202  			if wireType != 2 {
  2203  				return fmt.Errorf("proto: wrong wireType = %d for field Weight", wireType)
  2204  			}
  2205  			var stringLen uint64
  2206  			for shift := uint(0); ; shift += 7 {
  2207  				if shift >= 64 {
  2208  					return ErrIntOverflowRsm
  2209  				}
  2210  				if iNdEx >= l {
  2211  					return io.ErrUnexpectedEOF
  2212  				}
  2213  				b := dAtA[iNdEx]
  2214  				iNdEx++
  2215  				stringLen |= uint64(b&0x7F) << shift
  2216  				if b < 0x80 {
  2217  					break
  2218  				}
  2219  			}
  2220  			intStringLen := int(stringLen)
  2221  			if intStringLen < 0 {
  2222  				return ErrInvalidLengthRsm
  2223  			}
  2224  			postIndex := iNdEx + intStringLen
  2225  			if postIndex < 0 {
  2226  				return ErrInvalidLengthRsm
  2227  			}
  2228  			if postIndex > l {
  2229  				return io.ErrUnexpectedEOF
  2230  			}
  2231  			m.Weight = string(dAtA[iNdEx:postIndex])
  2232  			iNdEx = postIndex
  2233  		case 5:
  2234  			if wireType != 0 {
  2235  				return fmt.Errorf("proto: wrong wireType = %d for field SliceType", wireType)
  2236  			}
  2237  			m.SliceType = 0
  2238  			for shift := uint(0); ; shift += 7 {
  2239  				if shift >= 64 {
  2240  					return ErrIntOverflowRsm
  2241  				}
  2242  				if iNdEx >= l {
  2243  					return io.ErrUnexpectedEOF
  2244  				}
  2245  				b := dAtA[iNdEx]
  2246  				iNdEx++
  2247  				m.SliceType |= SliceType(b&0x7F) << shift
  2248  				if b < 0x80 {
  2249  					break
  2250  				}
  2251  			}
  2252  		default:
  2253  			iNdEx = preIndex
  2254  			skippy, err := skipRsm(dAtA[iNdEx:])
  2255  			if err != nil {
  2256  				return err
  2257  			}
  2258  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2259  				return ErrInvalidLengthRsm
  2260  			}
  2261  			if (iNdEx + skippy) > l {
  2262  				return io.ErrUnexpectedEOF
  2263  			}
  2264  			iNdEx += skippy
  2265  		}
  2266  	}
  2267  
  2268  	if iNdEx > l {
  2269  		return io.ErrUnexpectedEOF
  2270  	}
  2271  	return nil
  2272  }
  2273  func (m *CreateSliceResponse) Unmarshal(dAtA []byte) error {
  2274  	l := len(dAtA)
  2275  	iNdEx := 0
  2276  	for iNdEx < l {
  2277  		preIndex := iNdEx
  2278  		var wire uint64
  2279  		for shift := uint(0); ; shift += 7 {
  2280  			if shift >= 64 {
  2281  				return ErrIntOverflowRsm
  2282  			}
  2283  			if iNdEx >= l {
  2284  				return io.ErrUnexpectedEOF
  2285  			}
  2286  			b := dAtA[iNdEx]
  2287  			iNdEx++
  2288  			wire |= uint64(b&0x7F) << shift
  2289  			if b < 0x80 {
  2290  				break
  2291  			}
  2292  		}
  2293  		fieldNum := int32(wire >> 3)
  2294  		wireType := int(wire & 0x7)
  2295  		if wireType == 4 {
  2296  			return fmt.Errorf("proto: CreateSliceResponse: wiretype end group for non-group")
  2297  		}
  2298  		if fieldNum <= 0 {
  2299  			return fmt.Errorf("proto: CreateSliceResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  2300  		}
  2301  		switch fieldNum {
  2302  		case 1:
  2303  			if wireType != 2 {
  2304  				return fmt.Errorf("proto: wrong wireType = %d for field Ack", wireType)
  2305  			}
  2306  			var msglen int
  2307  			for shift := uint(0); ; shift += 7 {
  2308  				if shift >= 64 {
  2309  					return ErrIntOverflowRsm
  2310  				}
  2311  				if iNdEx >= l {
  2312  					return io.ErrUnexpectedEOF
  2313  				}
  2314  				b := dAtA[iNdEx]
  2315  				iNdEx++
  2316  				msglen |= int(b&0x7F) << shift
  2317  				if b < 0x80 {
  2318  					break
  2319  				}
  2320  			}
  2321  			if msglen < 0 {
  2322  				return ErrInvalidLengthRsm
  2323  			}
  2324  			postIndex := iNdEx + msglen
  2325  			if postIndex < 0 {
  2326  				return ErrInvalidLengthRsm
  2327  			}
  2328  			if postIndex > l {
  2329  				return io.ErrUnexpectedEOF
  2330  			}
  2331  			if m.Ack == nil {
  2332  				m.Ack = &Ack{}
  2333  			}
  2334  			if err := m.Ack.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2335  				return err
  2336  			}
  2337  			iNdEx = postIndex
  2338  		default:
  2339  			iNdEx = preIndex
  2340  			skippy, err := skipRsm(dAtA[iNdEx:])
  2341  			if err != nil {
  2342  				return err
  2343  			}
  2344  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2345  				return ErrInvalidLengthRsm
  2346  			}
  2347  			if (iNdEx + skippy) > l {
  2348  				return io.ErrUnexpectedEOF
  2349  			}
  2350  			iNdEx += skippy
  2351  		}
  2352  	}
  2353  
  2354  	if iNdEx > l {
  2355  		return io.ErrUnexpectedEOF
  2356  	}
  2357  	return nil
  2358  }
  2359  func (m *UpdateSliceRequest) Unmarshal(dAtA []byte) error {
  2360  	l := len(dAtA)
  2361  	iNdEx := 0
  2362  	for iNdEx < l {
  2363  		preIndex := iNdEx
  2364  		var wire uint64
  2365  		for shift := uint(0); ; shift += 7 {
  2366  			if shift >= 64 {
  2367  				return ErrIntOverflowRsm
  2368  			}
  2369  			if iNdEx >= l {
  2370  				return io.ErrUnexpectedEOF
  2371  			}
  2372  			b := dAtA[iNdEx]
  2373  			iNdEx++
  2374  			wire |= uint64(b&0x7F) << shift
  2375  			if b < 0x80 {
  2376  				break
  2377  			}
  2378  		}
  2379  		fieldNum := int32(wire >> 3)
  2380  		wireType := int(wire & 0x7)
  2381  		if wireType == 4 {
  2382  			return fmt.Errorf("proto: UpdateSliceRequest: wiretype end group for non-group")
  2383  		}
  2384  		if fieldNum <= 0 {
  2385  			return fmt.Errorf("proto: UpdateSliceRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  2386  		}
  2387  		switch fieldNum {
  2388  		case 1:
  2389  			if wireType != 2 {
  2390  				return fmt.Errorf("proto: wrong wireType = %d for field E2NodeId", wireType)
  2391  			}
  2392  			var stringLen uint64
  2393  			for shift := uint(0); ; shift += 7 {
  2394  				if shift >= 64 {
  2395  					return ErrIntOverflowRsm
  2396  				}
  2397  				if iNdEx >= l {
  2398  					return io.ErrUnexpectedEOF
  2399  				}
  2400  				b := dAtA[iNdEx]
  2401  				iNdEx++
  2402  				stringLen |= uint64(b&0x7F) << shift
  2403  				if b < 0x80 {
  2404  					break
  2405  				}
  2406  			}
  2407  			intStringLen := int(stringLen)
  2408  			if intStringLen < 0 {
  2409  				return ErrInvalidLengthRsm
  2410  			}
  2411  			postIndex := iNdEx + intStringLen
  2412  			if postIndex < 0 {
  2413  				return ErrInvalidLengthRsm
  2414  			}
  2415  			if postIndex > l {
  2416  				return io.ErrUnexpectedEOF
  2417  			}
  2418  			m.E2NodeId = string(dAtA[iNdEx:postIndex])
  2419  			iNdEx = postIndex
  2420  		case 2:
  2421  			if wireType != 2 {
  2422  				return fmt.Errorf("proto: wrong wireType = %d for field SliceId", wireType)
  2423  			}
  2424  			var stringLen uint64
  2425  			for shift := uint(0); ; shift += 7 {
  2426  				if shift >= 64 {
  2427  					return ErrIntOverflowRsm
  2428  				}
  2429  				if iNdEx >= l {
  2430  					return io.ErrUnexpectedEOF
  2431  				}
  2432  				b := dAtA[iNdEx]
  2433  				iNdEx++
  2434  				stringLen |= uint64(b&0x7F) << shift
  2435  				if b < 0x80 {
  2436  					break
  2437  				}
  2438  			}
  2439  			intStringLen := int(stringLen)
  2440  			if intStringLen < 0 {
  2441  				return ErrInvalidLengthRsm
  2442  			}
  2443  			postIndex := iNdEx + intStringLen
  2444  			if postIndex < 0 {
  2445  				return ErrInvalidLengthRsm
  2446  			}
  2447  			if postIndex > l {
  2448  				return io.ErrUnexpectedEOF
  2449  			}
  2450  			m.SliceId = string(dAtA[iNdEx:postIndex])
  2451  			iNdEx = postIndex
  2452  		case 3:
  2453  			if wireType != 0 {
  2454  				return fmt.Errorf("proto: wrong wireType = %d for field SchedulerType", wireType)
  2455  			}
  2456  			m.SchedulerType = 0
  2457  			for shift := uint(0); ; shift += 7 {
  2458  				if shift >= 64 {
  2459  					return ErrIntOverflowRsm
  2460  				}
  2461  				if iNdEx >= l {
  2462  					return io.ErrUnexpectedEOF
  2463  				}
  2464  				b := dAtA[iNdEx]
  2465  				iNdEx++
  2466  				m.SchedulerType |= SchedulerType(b&0x7F) << shift
  2467  				if b < 0x80 {
  2468  					break
  2469  				}
  2470  			}
  2471  		case 4:
  2472  			if wireType != 2 {
  2473  				return fmt.Errorf("proto: wrong wireType = %d for field Weight", wireType)
  2474  			}
  2475  			var stringLen uint64
  2476  			for shift := uint(0); ; shift += 7 {
  2477  				if shift >= 64 {
  2478  					return ErrIntOverflowRsm
  2479  				}
  2480  				if iNdEx >= l {
  2481  					return io.ErrUnexpectedEOF
  2482  				}
  2483  				b := dAtA[iNdEx]
  2484  				iNdEx++
  2485  				stringLen |= uint64(b&0x7F) << shift
  2486  				if b < 0x80 {
  2487  					break
  2488  				}
  2489  			}
  2490  			intStringLen := int(stringLen)
  2491  			if intStringLen < 0 {
  2492  				return ErrInvalidLengthRsm
  2493  			}
  2494  			postIndex := iNdEx + intStringLen
  2495  			if postIndex < 0 {
  2496  				return ErrInvalidLengthRsm
  2497  			}
  2498  			if postIndex > l {
  2499  				return io.ErrUnexpectedEOF
  2500  			}
  2501  			m.Weight = string(dAtA[iNdEx:postIndex])
  2502  			iNdEx = postIndex
  2503  		case 5:
  2504  			if wireType != 0 {
  2505  				return fmt.Errorf("proto: wrong wireType = %d for field SliceType", wireType)
  2506  			}
  2507  			m.SliceType = 0
  2508  			for shift := uint(0); ; shift += 7 {
  2509  				if shift >= 64 {
  2510  					return ErrIntOverflowRsm
  2511  				}
  2512  				if iNdEx >= l {
  2513  					return io.ErrUnexpectedEOF
  2514  				}
  2515  				b := dAtA[iNdEx]
  2516  				iNdEx++
  2517  				m.SliceType |= SliceType(b&0x7F) << shift
  2518  				if b < 0x80 {
  2519  					break
  2520  				}
  2521  			}
  2522  		default:
  2523  			iNdEx = preIndex
  2524  			skippy, err := skipRsm(dAtA[iNdEx:])
  2525  			if err != nil {
  2526  				return err
  2527  			}
  2528  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2529  				return ErrInvalidLengthRsm
  2530  			}
  2531  			if (iNdEx + skippy) > l {
  2532  				return io.ErrUnexpectedEOF
  2533  			}
  2534  			iNdEx += skippy
  2535  		}
  2536  	}
  2537  
  2538  	if iNdEx > l {
  2539  		return io.ErrUnexpectedEOF
  2540  	}
  2541  	return nil
  2542  }
  2543  func (m *UpdateSliceResponse) Unmarshal(dAtA []byte) error {
  2544  	l := len(dAtA)
  2545  	iNdEx := 0
  2546  	for iNdEx < l {
  2547  		preIndex := iNdEx
  2548  		var wire uint64
  2549  		for shift := uint(0); ; shift += 7 {
  2550  			if shift >= 64 {
  2551  				return ErrIntOverflowRsm
  2552  			}
  2553  			if iNdEx >= l {
  2554  				return io.ErrUnexpectedEOF
  2555  			}
  2556  			b := dAtA[iNdEx]
  2557  			iNdEx++
  2558  			wire |= uint64(b&0x7F) << shift
  2559  			if b < 0x80 {
  2560  				break
  2561  			}
  2562  		}
  2563  		fieldNum := int32(wire >> 3)
  2564  		wireType := int(wire & 0x7)
  2565  		if wireType == 4 {
  2566  			return fmt.Errorf("proto: UpdateSliceResponse: wiretype end group for non-group")
  2567  		}
  2568  		if fieldNum <= 0 {
  2569  			return fmt.Errorf("proto: UpdateSliceResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  2570  		}
  2571  		switch fieldNum {
  2572  		case 1:
  2573  			if wireType != 2 {
  2574  				return fmt.Errorf("proto: wrong wireType = %d for field Ack", wireType)
  2575  			}
  2576  			var msglen int
  2577  			for shift := uint(0); ; shift += 7 {
  2578  				if shift >= 64 {
  2579  					return ErrIntOverflowRsm
  2580  				}
  2581  				if iNdEx >= l {
  2582  					return io.ErrUnexpectedEOF
  2583  				}
  2584  				b := dAtA[iNdEx]
  2585  				iNdEx++
  2586  				msglen |= int(b&0x7F) << shift
  2587  				if b < 0x80 {
  2588  					break
  2589  				}
  2590  			}
  2591  			if msglen < 0 {
  2592  				return ErrInvalidLengthRsm
  2593  			}
  2594  			postIndex := iNdEx + msglen
  2595  			if postIndex < 0 {
  2596  				return ErrInvalidLengthRsm
  2597  			}
  2598  			if postIndex > l {
  2599  				return io.ErrUnexpectedEOF
  2600  			}
  2601  			if m.Ack == nil {
  2602  				m.Ack = &Ack{}
  2603  			}
  2604  			if err := m.Ack.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2605  				return err
  2606  			}
  2607  			iNdEx = postIndex
  2608  		default:
  2609  			iNdEx = preIndex
  2610  			skippy, err := skipRsm(dAtA[iNdEx:])
  2611  			if err != nil {
  2612  				return err
  2613  			}
  2614  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2615  				return ErrInvalidLengthRsm
  2616  			}
  2617  			if (iNdEx + skippy) > l {
  2618  				return io.ErrUnexpectedEOF
  2619  			}
  2620  			iNdEx += skippy
  2621  		}
  2622  	}
  2623  
  2624  	if iNdEx > l {
  2625  		return io.ErrUnexpectedEOF
  2626  	}
  2627  	return nil
  2628  }
  2629  func (m *DeleteSliceRequest) Unmarshal(dAtA []byte) error {
  2630  	l := len(dAtA)
  2631  	iNdEx := 0
  2632  	for iNdEx < l {
  2633  		preIndex := iNdEx
  2634  		var wire uint64
  2635  		for shift := uint(0); ; shift += 7 {
  2636  			if shift >= 64 {
  2637  				return ErrIntOverflowRsm
  2638  			}
  2639  			if iNdEx >= l {
  2640  				return io.ErrUnexpectedEOF
  2641  			}
  2642  			b := dAtA[iNdEx]
  2643  			iNdEx++
  2644  			wire |= uint64(b&0x7F) << shift
  2645  			if b < 0x80 {
  2646  				break
  2647  			}
  2648  		}
  2649  		fieldNum := int32(wire >> 3)
  2650  		wireType := int(wire & 0x7)
  2651  		if wireType == 4 {
  2652  			return fmt.Errorf("proto: DeleteSliceRequest: wiretype end group for non-group")
  2653  		}
  2654  		if fieldNum <= 0 {
  2655  			return fmt.Errorf("proto: DeleteSliceRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  2656  		}
  2657  		switch fieldNum {
  2658  		case 1:
  2659  			if wireType != 2 {
  2660  				return fmt.Errorf("proto: wrong wireType = %d for field E2NodeId", wireType)
  2661  			}
  2662  			var stringLen uint64
  2663  			for shift := uint(0); ; shift += 7 {
  2664  				if shift >= 64 {
  2665  					return ErrIntOverflowRsm
  2666  				}
  2667  				if iNdEx >= l {
  2668  					return io.ErrUnexpectedEOF
  2669  				}
  2670  				b := dAtA[iNdEx]
  2671  				iNdEx++
  2672  				stringLen |= uint64(b&0x7F) << shift
  2673  				if b < 0x80 {
  2674  					break
  2675  				}
  2676  			}
  2677  			intStringLen := int(stringLen)
  2678  			if intStringLen < 0 {
  2679  				return ErrInvalidLengthRsm
  2680  			}
  2681  			postIndex := iNdEx + intStringLen
  2682  			if postIndex < 0 {
  2683  				return ErrInvalidLengthRsm
  2684  			}
  2685  			if postIndex > l {
  2686  				return io.ErrUnexpectedEOF
  2687  			}
  2688  			m.E2NodeId = string(dAtA[iNdEx:postIndex])
  2689  			iNdEx = postIndex
  2690  		case 2:
  2691  			if wireType != 2 {
  2692  				return fmt.Errorf("proto: wrong wireType = %d for field SliceId", wireType)
  2693  			}
  2694  			var stringLen uint64
  2695  			for shift := uint(0); ; shift += 7 {
  2696  				if shift >= 64 {
  2697  					return ErrIntOverflowRsm
  2698  				}
  2699  				if iNdEx >= l {
  2700  					return io.ErrUnexpectedEOF
  2701  				}
  2702  				b := dAtA[iNdEx]
  2703  				iNdEx++
  2704  				stringLen |= uint64(b&0x7F) << shift
  2705  				if b < 0x80 {
  2706  					break
  2707  				}
  2708  			}
  2709  			intStringLen := int(stringLen)
  2710  			if intStringLen < 0 {
  2711  				return ErrInvalidLengthRsm
  2712  			}
  2713  			postIndex := iNdEx + intStringLen
  2714  			if postIndex < 0 {
  2715  				return ErrInvalidLengthRsm
  2716  			}
  2717  			if postIndex > l {
  2718  				return io.ErrUnexpectedEOF
  2719  			}
  2720  			m.SliceId = string(dAtA[iNdEx:postIndex])
  2721  			iNdEx = postIndex
  2722  		case 3:
  2723  			if wireType != 0 {
  2724  				return fmt.Errorf("proto: wrong wireType = %d for field SliceType", wireType)
  2725  			}
  2726  			m.SliceType = 0
  2727  			for shift := uint(0); ; shift += 7 {
  2728  				if shift >= 64 {
  2729  					return ErrIntOverflowRsm
  2730  				}
  2731  				if iNdEx >= l {
  2732  					return io.ErrUnexpectedEOF
  2733  				}
  2734  				b := dAtA[iNdEx]
  2735  				iNdEx++
  2736  				m.SliceType |= SliceType(b&0x7F) << shift
  2737  				if b < 0x80 {
  2738  					break
  2739  				}
  2740  			}
  2741  		default:
  2742  			iNdEx = preIndex
  2743  			skippy, err := skipRsm(dAtA[iNdEx:])
  2744  			if err != nil {
  2745  				return err
  2746  			}
  2747  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2748  				return ErrInvalidLengthRsm
  2749  			}
  2750  			if (iNdEx + skippy) > l {
  2751  				return io.ErrUnexpectedEOF
  2752  			}
  2753  			iNdEx += skippy
  2754  		}
  2755  	}
  2756  
  2757  	if iNdEx > l {
  2758  		return io.ErrUnexpectedEOF
  2759  	}
  2760  	return nil
  2761  }
  2762  func (m *DeleteSliceResponse) Unmarshal(dAtA []byte) error {
  2763  	l := len(dAtA)
  2764  	iNdEx := 0
  2765  	for iNdEx < l {
  2766  		preIndex := iNdEx
  2767  		var wire uint64
  2768  		for shift := uint(0); ; shift += 7 {
  2769  			if shift >= 64 {
  2770  				return ErrIntOverflowRsm
  2771  			}
  2772  			if iNdEx >= l {
  2773  				return io.ErrUnexpectedEOF
  2774  			}
  2775  			b := dAtA[iNdEx]
  2776  			iNdEx++
  2777  			wire |= uint64(b&0x7F) << shift
  2778  			if b < 0x80 {
  2779  				break
  2780  			}
  2781  		}
  2782  		fieldNum := int32(wire >> 3)
  2783  		wireType := int(wire & 0x7)
  2784  		if wireType == 4 {
  2785  			return fmt.Errorf("proto: DeleteSliceResponse: wiretype end group for non-group")
  2786  		}
  2787  		if fieldNum <= 0 {
  2788  			return fmt.Errorf("proto: DeleteSliceResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  2789  		}
  2790  		switch fieldNum {
  2791  		case 1:
  2792  			if wireType != 2 {
  2793  				return fmt.Errorf("proto: wrong wireType = %d for field Ack", wireType)
  2794  			}
  2795  			var msglen int
  2796  			for shift := uint(0); ; shift += 7 {
  2797  				if shift >= 64 {
  2798  					return ErrIntOverflowRsm
  2799  				}
  2800  				if iNdEx >= l {
  2801  					return io.ErrUnexpectedEOF
  2802  				}
  2803  				b := dAtA[iNdEx]
  2804  				iNdEx++
  2805  				msglen |= int(b&0x7F) << shift
  2806  				if b < 0x80 {
  2807  					break
  2808  				}
  2809  			}
  2810  			if msglen < 0 {
  2811  				return ErrInvalidLengthRsm
  2812  			}
  2813  			postIndex := iNdEx + msglen
  2814  			if postIndex < 0 {
  2815  				return ErrInvalidLengthRsm
  2816  			}
  2817  			if postIndex > l {
  2818  				return io.ErrUnexpectedEOF
  2819  			}
  2820  			if m.Ack == nil {
  2821  				m.Ack = &Ack{}
  2822  			}
  2823  			if err := m.Ack.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2824  				return err
  2825  			}
  2826  			iNdEx = postIndex
  2827  		default:
  2828  			iNdEx = preIndex
  2829  			skippy, err := skipRsm(dAtA[iNdEx:])
  2830  			if err != nil {
  2831  				return err
  2832  			}
  2833  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2834  				return ErrInvalidLengthRsm
  2835  			}
  2836  			if (iNdEx + skippy) > l {
  2837  				return io.ErrUnexpectedEOF
  2838  			}
  2839  			iNdEx += skippy
  2840  		}
  2841  	}
  2842  
  2843  	if iNdEx > l {
  2844  		return io.ErrUnexpectedEOF
  2845  	}
  2846  	return nil
  2847  }
  2848  func (m *SliceAssocItem) Unmarshal(dAtA []byte) error {
  2849  	l := len(dAtA)
  2850  	iNdEx := 0
  2851  	for iNdEx < l {
  2852  		preIndex := iNdEx
  2853  		var wire uint64
  2854  		for shift := uint(0); ; shift += 7 {
  2855  			if shift >= 64 {
  2856  				return ErrIntOverflowRsm
  2857  			}
  2858  			if iNdEx >= l {
  2859  				return io.ErrUnexpectedEOF
  2860  			}
  2861  			b := dAtA[iNdEx]
  2862  			iNdEx++
  2863  			wire |= uint64(b&0x7F) << shift
  2864  			if b < 0x80 {
  2865  				break
  2866  			}
  2867  		}
  2868  		fieldNum := int32(wire >> 3)
  2869  		wireType := int(wire & 0x7)
  2870  		if wireType == 4 {
  2871  			return fmt.Errorf("proto: SliceAssocItem: wiretype end group for non-group")
  2872  		}
  2873  		if fieldNum <= 0 {
  2874  			return fmt.Errorf("proto: SliceAssocItem: illegal tag %d (wire type %d)", fieldNum, wire)
  2875  		}
  2876  		switch fieldNum {
  2877  		case 1:
  2878  			if wireType != 2 {
  2879  				return fmt.Errorf("proto: wrong wireType = %d for field UeSliceAssocId", wireType)
  2880  			}
  2881  			var stringLen uint64
  2882  			for shift := uint(0); ; shift += 7 {
  2883  				if shift >= 64 {
  2884  					return ErrIntOverflowRsm
  2885  				}
  2886  				if iNdEx >= l {
  2887  					return io.ErrUnexpectedEOF
  2888  				}
  2889  				b := dAtA[iNdEx]
  2890  				iNdEx++
  2891  				stringLen |= uint64(b&0x7F) << shift
  2892  				if b < 0x80 {
  2893  					break
  2894  				}
  2895  			}
  2896  			intStringLen := int(stringLen)
  2897  			if intStringLen < 0 {
  2898  				return ErrInvalidLengthRsm
  2899  			}
  2900  			postIndex := iNdEx + intStringLen
  2901  			if postIndex < 0 {
  2902  				return ErrInvalidLengthRsm
  2903  			}
  2904  			if postIndex > l {
  2905  				return io.ErrUnexpectedEOF
  2906  			}
  2907  			m.UeSliceAssocId = string(dAtA[iNdEx:postIndex])
  2908  			iNdEx = postIndex
  2909  		case 2:
  2910  			if wireType != 2 {
  2911  				return fmt.Errorf("proto: wrong wireType = %d for field E2NodeId", wireType)
  2912  			}
  2913  			var stringLen uint64
  2914  			for shift := uint(0); ; shift += 7 {
  2915  				if shift >= 64 {
  2916  					return ErrIntOverflowRsm
  2917  				}
  2918  				if iNdEx >= l {
  2919  					return io.ErrUnexpectedEOF
  2920  				}
  2921  				b := dAtA[iNdEx]
  2922  				iNdEx++
  2923  				stringLen |= uint64(b&0x7F) << shift
  2924  				if b < 0x80 {
  2925  					break
  2926  				}
  2927  			}
  2928  			intStringLen := int(stringLen)
  2929  			if intStringLen < 0 {
  2930  				return ErrInvalidLengthRsm
  2931  			}
  2932  			postIndex := iNdEx + intStringLen
  2933  			if postIndex < 0 {
  2934  				return ErrInvalidLengthRsm
  2935  			}
  2936  			if postIndex > l {
  2937  				return io.ErrUnexpectedEOF
  2938  			}
  2939  			m.E2NodeId = string(dAtA[iNdEx:postIndex])
  2940  			iNdEx = postIndex
  2941  		case 3:
  2942  			if wireType == 0 {
  2943  				var v UeIdType
  2944  				for shift := uint(0); ; shift += 7 {
  2945  					if shift >= 64 {
  2946  						return ErrIntOverflowRsm
  2947  					}
  2948  					if iNdEx >= l {
  2949  						return io.ErrUnexpectedEOF
  2950  					}
  2951  					b := dAtA[iNdEx]
  2952  					iNdEx++
  2953  					v |= UeIdType(b&0x7F) << shift
  2954  					if b < 0x80 {
  2955  						break
  2956  					}
  2957  				}
  2958  				m.UeId = append(m.UeId, v)
  2959  			} else if wireType == 2 {
  2960  				var packedLen int
  2961  				for shift := uint(0); ; shift += 7 {
  2962  					if shift >= 64 {
  2963  						return ErrIntOverflowRsm
  2964  					}
  2965  					if iNdEx >= l {
  2966  						return io.ErrUnexpectedEOF
  2967  					}
  2968  					b := dAtA[iNdEx]
  2969  					iNdEx++
  2970  					packedLen |= int(b&0x7F) << shift
  2971  					if b < 0x80 {
  2972  						break
  2973  					}
  2974  				}
  2975  				if packedLen < 0 {
  2976  					return ErrInvalidLengthRsm
  2977  				}
  2978  				postIndex := iNdEx + packedLen
  2979  				if postIndex < 0 {
  2980  					return ErrInvalidLengthRsm
  2981  				}
  2982  				if postIndex > l {
  2983  					return io.ErrUnexpectedEOF
  2984  				}
  2985  				var elementCount int
  2986  				if elementCount != 0 && len(m.UeId) == 0 {
  2987  					m.UeId = make([]UeIdType, 0, elementCount)
  2988  				}
  2989  				for iNdEx < postIndex {
  2990  					var v UeIdType
  2991  					for shift := uint(0); ; shift += 7 {
  2992  						if shift >= 64 {
  2993  							return ErrIntOverflowRsm
  2994  						}
  2995  						if iNdEx >= l {
  2996  							return io.ErrUnexpectedEOF
  2997  						}
  2998  						b := dAtA[iNdEx]
  2999  						iNdEx++
  3000  						v |= UeIdType(b&0x7F) << shift
  3001  						if b < 0x80 {
  3002  							break
  3003  						}
  3004  					}
  3005  					m.UeId = append(m.UeId, v)
  3006  				}
  3007  			} else {
  3008  				return fmt.Errorf("proto: wrong wireType = %d for field UeId", wireType)
  3009  			}
  3010  		case 4:
  3011  			if wireType != 2 {
  3012  				return fmt.Errorf("proto: wrong wireType = %d for field SliceId", wireType)
  3013  			}
  3014  			var stringLen uint64
  3015  			for shift := uint(0); ; shift += 7 {
  3016  				if shift >= 64 {
  3017  					return ErrIntOverflowRsm
  3018  				}
  3019  				if iNdEx >= l {
  3020  					return io.ErrUnexpectedEOF
  3021  				}
  3022  				b := dAtA[iNdEx]
  3023  				iNdEx++
  3024  				stringLen |= uint64(b&0x7F) << shift
  3025  				if b < 0x80 {
  3026  					break
  3027  				}
  3028  			}
  3029  			intStringLen := int(stringLen)
  3030  			if intStringLen < 0 {
  3031  				return ErrInvalidLengthRsm
  3032  			}
  3033  			postIndex := iNdEx + intStringLen
  3034  			if postIndex < 0 {
  3035  				return ErrInvalidLengthRsm
  3036  			}
  3037  			if postIndex > l {
  3038  				return io.ErrUnexpectedEOF
  3039  			}
  3040  			m.SliceId = string(dAtA[iNdEx:postIndex])
  3041  			iNdEx = postIndex
  3042  		default:
  3043  			iNdEx = preIndex
  3044  			skippy, err := skipRsm(dAtA[iNdEx:])
  3045  			if err != nil {
  3046  				return err
  3047  			}
  3048  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  3049  				return ErrInvalidLengthRsm
  3050  			}
  3051  			if (iNdEx + skippy) > l {
  3052  				return io.ErrUnexpectedEOF
  3053  			}
  3054  			iNdEx += skippy
  3055  		}
  3056  	}
  3057  
  3058  	if iNdEx > l {
  3059  		return io.ErrUnexpectedEOF
  3060  	}
  3061  	return nil
  3062  }
  3063  func (m *UeId) Unmarshal(dAtA []byte) error {
  3064  	l := len(dAtA)
  3065  	iNdEx := 0
  3066  	for iNdEx < l {
  3067  		preIndex := iNdEx
  3068  		var wire uint64
  3069  		for shift := uint(0); ; shift += 7 {
  3070  			if shift >= 64 {
  3071  				return ErrIntOverflowRsm
  3072  			}
  3073  			if iNdEx >= l {
  3074  				return io.ErrUnexpectedEOF
  3075  			}
  3076  			b := dAtA[iNdEx]
  3077  			iNdEx++
  3078  			wire |= uint64(b&0x7F) << shift
  3079  			if b < 0x80 {
  3080  				break
  3081  			}
  3082  		}
  3083  		fieldNum := int32(wire >> 3)
  3084  		wireType := int(wire & 0x7)
  3085  		if wireType == 4 {
  3086  			return fmt.Errorf("proto: UeId: wiretype end group for non-group")
  3087  		}
  3088  		if fieldNum <= 0 {
  3089  			return fmt.Errorf("proto: UeId: illegal tag %d (wire type %d)", fieldNum, wire)
  3090  		}
  3091  		switch fieldNum {
  3092  		case 1:
  3093  			if wireType != 2 {
  3094  				return fmt.Errorf("proto: wrong wireType = %d for field UeId", wireType)
  3095  			}
  3096  			var stringLen uint64
  3097  			for shift := uint(0); ; shift += 7 {
  3098  				if shift >= 64 {
  3099  					return ErrIntOverflowRsm
  3100  				}
  3101  				if iNdEx >= l {
  3102  					return io.ErrUnexpectedEOF
  3103  				}
  3104  				b := dAtA[iNdEx]
  3105  				iNdEx++
  3106  				stringLen |= uint64(b&0x7F) << shift
  3107  				if b < 0x80 {
  3108  					break
  3109  				}
  3110  			}
  3111  			intStringLen := int(stringLen)
  3112  			if intStringLen < 0 {
  3113  				return ErrInvalidLengthRsm
  3114  			}
  3115  			postIndex := iNdEx + intStringLen
  3116  			if postIndex < 0 {
  3117  				return ErrInvalidLengthRsm
  3118  			}
  3119  			if postIndex > l {
  3120  				return io.ErrUnexpectedEOF
  3121  			}
  3122  			m.UeId = string(dAtA[iNdEx:postIndex])
  3123  			iNdEx = postIndex
  3124  		case 2:
  3125  			if wireType != 0 {
  3126  				return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  3127  			}
  3128  			m.Type = 0
  3129  			for shift := uint(0); ; shift += 7 {
  3130  				if shift >= 64 {
  3131  					return ErrIntOverflowRsm
  3132  				}
  3133  				if iNdEx >= l {
  3134  					return io.ErrUnexpectedEOF
  3135  				}
  3136  				b := dAtA[iNdEx]
  3137  				iNdEx++
  3138  				m.Type |= UeIdType(b&0x7F) << shift
  3139  				if b < 0x80 {
  3140  					break
  3141  				}
  3142  			}
  3143  		default:
  3144  			iNdEx = preIndex
  3145  			skippy, err := skipRsm(dAtA[iNdEx:])
  3146  			if err != nil {
  3147  				return err
  3148  			}
  3149  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  3150  				return ErrInvalidLengthRsm
  3151  			}
  3152  			if (iNdEx + skippy) > l {
  3153  				return io.ErrUnexpectedEOF
  3154  			}
  3155  			iNdEx += skippy
  3156  		}
  3157  	}
  3158  
  3159  	if iNdEx > l {
  3160  		return io.ErrUnexpectedEOF
  3161  	}
  3162  	return nil
  3163  }
  3164  func (m *SetUeSliceAssociationRequest) Unmarshal(dAtA []byte) error {
  3165  	l := len(dAtA)
  3166  	iNdEx := 0
  3167  	for iNdEx < l {
  3168  		preIndex := iNdEx
  3169  		var wire uint64
  3170  		for shift := uint(0); ; shift += 7 {
  3171  			if shift >= 64 {
  3172  				return ErrIntOverflowRsm
  3173  			}
  3174  			if iNdEx >= l {
  3175  				return io.ErrUnexpectedEOF
  3176  			}
  3177  			b := dAtA[iNdEx]
  3178  			iNdEx++
  3179  			wire |= uint64(b&0x7F) << shift
  3180  			if b < 0x80 {
  3181  				break
  3182  			}
  3183  		}
  3184  		fieldNum := int32(wire >> 3)
  3185  		wireType := int(wire & 0x7)
  3186  		if wireType == 4 {
  3187  			return fmt.Errorf("proto: SetUeSliceAssociationRequest: wiretype end group for non-group")
  3188  		}
  3189  		if fieldNum <= 0 {
  3190  			return fmt.Errorf("proto: SetUeSliceAssociationRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  3191  		}
  3192  		switch fieldNum {
  3193  		case 1:
  3194  			if wireType != 2 {
  3195  				return fmt.Errorf("proto: wrong wireType = %d for field E2NodeId", wireType)
  3196  			}
  3197  			var stringLen uint64
  3198  			for shift := uint(0); ; shift += 7 {
  3199  				if shift >= 64 {
  3200  					return ErrIntOverflowRsm
  3201  				}
  3202  				if iNdEx >= l {
  3203  					return io.ErrUnexpectedEOF
  3204  				}
  3205  				b := dAtA[iNdEx]
  3206  				iNdEx++
  3207  				stringLen |= uint64(b&0x7F) << shift
  3208  				if b < 0x80 {
  3209  					break
  3210  				}
  3211  			}
  3212  			intStringLen := int(stringLen)
  3213  			if intStringLen < 0 {
  3214  				return ErrInvalidLengthRsm
  3215  			}
  3216  			postIndex := iNdEx + intStringLen
  3217  			if postIndex < 0 {
  3218  				return ErrInvalidLengthRsm
  3219  			}
  3220  			if postIndex > l {
  3221  				return io.ErrUnexpectedEOF
  3222  			}
  3223  			m.E2NodeId = string(dAtA[iNdEx:postIndex])
  3224  			iNdEx = postIndex
  3225  		case 2:
  3226  			if wireType != 2 {
  3227  				return fmt.Errorf("proto: wrong wireType = %d for field UeId", wireType)
  3228  			}
  3229  			var msglen int
  3230  			for shift := uint(0); ; shift += 7 {
  3231  				if shift >= 64 {
  3232  					return ErrIntOverflowRsm
  3233  				}
  3234  				if iNdEx >= l {
  3235  					return io.ErrUnexpectedEOF
  3236  				}
  3237  				b := dAtA[iNdEx]
  3238  				iNdEx++
  3239  				msglen |= int(b&0x7F) << shift
  3240  				if b < 0x80 {
  3241  					break
  3242  				}
  3243  			}
  3244  			if msglen < 0 {
  3245  				return ErrInvalidLengthRsm
  3246  			}
  3247  			postIndex := iNdEx + msglen
  3248  			if postIndex < 0 {
  3249  				return ErrInvalidLengthRsm
  3250  			}
  3251  			if postIndex > l {
  3252  				return io.ErrUnexpectedEOF
  3253  			}
  3254  			m.UeId = append(m.UeId, &UeId{})
  3255  			if err := m.UeId[len(m.UeId)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3256  				return err
  3257  			}
  3258  			iNdEx = postIndex
  3259  		case 3:
  3260  			if wireType != 2 {
  3261  				return fmt.Errorf("proto: wrong wireType = %d for field DlSliceId", wireType)
  3262  			}
  3263  			var stringLen uint64
  3264  			for shift := uint(0); ; shift += 7 {
  3265  				if shift >= 64 {
  3266  					return ErrIntOverflowRsm
  3267  				}
  3268  				if iNdEx >= l {
  3269  					return io.ErrUnexpectedEOF
  3270  				}
  3271  				b := dAtA[iNdEx]
  3272  				iNdEx++
  3273  				stringLen |= uint64(b&0x7F) << shift
  3274  				if b < 0x80 {
  3275  					break
  3276  				}
  3277  			}
  3278  			intStringLen := int(stringLen)
  3279  			if intStringLen < 0 {
  3280  				return ErrInvalidLengthRsm
  3281  			}
  3282  			postIndex := iNdEx + intStringLen
  3283  			if postIndex < 0 {
  3284  				return ErrInvalidLengthRsm
  3285  			}
  3286  			if postIndex > l {
  3287  				return io.ErrUnexpectedEOF
  3288  			}
  3289  			m.DlSliceId = string(dAtA[iNdEx:postIndex])
  3290  			iNdEx = postIndex
  3291  		case 4:
  3292  			if wireType != 2 {
  3293  				return fmt.Errorf("proto: wrong wireType = %d for field UlSliceId", wireType)
  3294  			}
  3295  			var stringLen uint64
  3296  			for shift := uint(0); ; shift += 7 {
  3297  				if shift >= 64 {
  3298  					return ErrIntOverflowRsm
  3299  				}
  3300  				if iNdEx >= l {
  3301  					return io.ErrUnexpectedEOF
  3302  				}
  3303  				b := dAtA[iNdEx]
  3304  				iNdEx++
  3305  				stringLen |= uint64(b&0x7F) << shift
  3306  				if b < 0x80 {
  3307  					break
  3308  				}
  3309  			}
  3310  			intStringLen := int(stringLen)
  3311  			if intStringLen < 0 {
  3312  				return ErrInvalidLengthRsm
  3313  			}
  3314  			postIndex := iNdEx + intStringLen
  3315  			if postIndex < 0 {
  3316  				return ErrInvalidLengthRsm
  3317  			}
  3318  			if postIndex > l {
  3319  				return io.ErrUnexpectedEOF
  3320  			}
  3321  			m.UlSliceId = string(dAtA[iNdEx:postIndex])
  3322  			iNdEx = postIndex
  3323  		case 5:
  3324  			if wireType != 2 {
  3325  				return fmt.Errorf("proto: wrong wireType = %d for field DrbId", wireType)
  3326  			}
  3327  			var stringLen uint64
  3328  			for shift := uint(0); ; shift += 7 {
  3329  				if shift >= 64 {
  3330  					return ErrIntOverflowRsm
  3331  				}
  3332  				if iNdEx >= l {
  3333  					return io.ErrUnexpectedEOF
  3334  				}
  3335  				b := dAtA[iNdEx]
  3336  				iNdEx++
  3337  				stringLen |= uint64(b&0x7F) << shift
  3338  				if b < 0x80 {
  3339  					break
  3340  				}
  3341  			}
  3342  			intStringLen := int(stringLen)
  3343  			if intStringLen < 0 {
  3344  				return ErrInvalidLengthRsm
  3345  			}
  3346  			postIndex := iNdEx + intStringLen
  3347  			if postIndex < 0 {
  3348  				return ErrInvalidLengthRsm
  3349  			}
  3350  			if postIndex > l {
  3351  				return io.ErrUnexpectedEOF
  3352  			}
  3353  			m.DrbId = string(dAtA[iNdEx:postIndex])
  3354  			iNdEx = postIndex
  3355  		default:
  3356  			iNdEx = preIndex
  3357  			skippy, err := skipRsm(dAtA[iNdEx:])
  3358  			if err != nil {
  3359  				return err
  3360  			}
  3361  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  3362  				return ErrInvalidLengthRsm
  3363  			}
  3364  			if (iNdEx + skippy) > l {
  3365  				return io.ErrUnexpectedEOF
  3366  			}
  3367  			iNdEx += skippy
  3368  		}
  3369  	}
  3370  
  3371  	if iNdEx > l {
  3372  		return io.ErrUnexpectedEOF
  3373  	}
  3374  	return nil
  3375  }
  3376  func (m *SetUeSliceAssociationResponse) Unmarshal(dAtA []byte) error {
  3377  	l := len(dAtA)
  3378  	iNdEx := 0
  3379  	for iNdEx < l {
  3380  		preIndex := iNdEx
  3381  		var wire uint64
  3382  		for shift := uint(0); ; shift += 7 {
  3383  			if shift >= 64 {
  3384  				return ErrIntOverflowRsm
  3385  			}
  3386  			if iNdEx >= l {
  3387  				return io.ErrUnexpectedEOF
  3388  			}
  3389  			b := dAtA[iNdEx]
  3390  			iNdEx++
  3391  			wire |= uint64(b&0x7F) << shift
  3392  			if b < 0x80 {
  3393  				break
  3394  			}
  3395  		}
  3396  		fieldNum := int32(wire >> 3)
  3397  		wireType := int(wire & 0x7)
  3398  		if wireType == 4 {
  3399  			return fmt.Errorf("proto: SetUeSliceAssociationResponse: wiretype end group for non-group")
  3400  		}
  3401  		if fieldNum <= 0 {
  3402  			return fmt.Errorf("proto: SetUeSliceAssociationResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  3403  		}
  3404  		switch fieldNum {
  3405  		case 1:
  3406  			if wireType != 2 {
  3407  				return fmt.Errorf("proto: wrong wireType = %d for field Ack", wireType)
  3408  			}
  3409  			var msglen int
  3410  			for shift := uint(0); ; shift += 7 {
  3411  				if shift >= 64 {
  3412  					return ErrIntOverflowRsm
  3413  				}
  3414  				if iNdEx >= l {
  3415  					return io.ErrUnexpectedEOF
  3416  				}
  3417  				b := dAtA[iNdEx]
  3418  				iNdEx++
  3419  				msglen |= int(b&0x7F) << shift
  3420  				if b < 0x80 {
  3421  					break
  3422  				}
  3423  			}
  3424  			if msglen < 0 {
  3425  				return ErrInvalidLengthRsm
  3426  			}
  3427  			postIndex := iNdEx + msglen
  3428  			if postIndex < 0 {
  3429  				return ErrInvalidLengthRsm
  3430  			}
  3431  			if postIndex > l {
  3432  				return io.ErrUnexpectedEOF
  3433  			}
  3434  			if m.Ack == nil {
  3435  				m.Ack = &Ack{}
  3436  			}
  3437  			if err := m.Ack.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3438  				return err
  3439  			}
  3440  			iNdEx = postIndex
  3441  		case 2:
  3442  			if wireType != 2 {
  3443  				return fmt.Errorf("proto: wrong wireType = %d for field AssignedUeSliceAssocId", wireType)
  3444  			}
  3445  			var stringLen uint64
  3446  			for shift := uint(0); ; shift += 7 {
  3447  				if shift >= 64 {
  3448  					return ErrIntOverflowRsm
  3449  				}
  3450  				if iNdEx >= l {
  3451  					return io.ErrUnexpectedEOF
  3452  				}
  3453  				b := dAtA[iNdEx]
  3454  				iNdEx++
  3455  				stringLen |= uint64(b&0x7F) << shift
  3456  				if b < 0x80 {
  3457  					break
  3458  				}
  3459  			}
  3460  			intStringLen := int(stringLen)
  3461  			if intStringLen < 0 {
  3462  				return ErrInvalidLengthRsm
  3463  			}
  3464  			postIndex := iNdEx + intStringLen
  3465  			if postIndex < 0 {
  3466  				return ErrInvalidLengthRsm
  3467  			}
  3468  			if postIndex > l {
  3469  				return io.ErrUnexpectedEOF
  3470  			}
  3471  			m.AssignedUeSliceAssocId = string(dAtA[iNdEx:postIndex])
  3472  			iNdEx = postIndex
  3473  		default:
  3474  			iNdEx = preIndex
  3475  			skippy, err := skipRsm(dAtA[iNdEx:])
  3476  			if err != nil {
  3477  				return err
  3478  			}
  3479  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  3480  				return ErrInvalidLengthRsm
  3481  			}
  3482  			if (iNdEx + skippy) > l {
  3483  				return io.ErrUnexpectedEOF
  3484  			}
  3485  			iNdEx += skippy
  3486  		}
  3487  	}
  3488  
  3489  	if iNdEx > l {
  3490  		return io.ErrUnexpectedEOF
  3491  	}
  3492  	return nil
  3493  }
  3494  func skipRsm(dAtA []byte) (n int, err error) {
  3495  	l := len(dAtA)
  3496  	iNdEx := 0
  3497  	depth := 0
  3498  	for iNdEx < l {
  3499  		var wire uint64
  3500  		for shift := uint(0); ; shift += 7 {
  3501  			if shift >= 64 {
  3502  				return 0, ErrIntOverflowRsm
  3503  			}
  3504  			if iNdEx >= l {
  3505  				return 0, io.ErrUnexpectedEOF
  3506  			}
  3507  			b := dAtA[iNdEx]
  3508  			iNdEx++
  3509  			wire |= (uint64(b) & 0x7F) << shift
  3510  			if b < 0x80 {
  3511  				break
  3512  			}
  3513  		}
  3514  		wireType := int(wire & 0x7)
  3515  		switch wireType {
  3516  		case 0:
  3517  			for shift := uint(0); ; shift += 7 {
  3518  				if shift >= 64 {
  3519  					return 0, ErrIntOverflowRsm
  3520  				}
  3521  				if iNdEx >= l {
  3522  					return 0, io.ErrUnexpectedEOF
  3523  				}
  3524  				iNdEx++
  3525  				if dAtA[iNdEx-1] < 0x80 {
  3526  					break
  3527  				}
  3528  			}
  3529  		case 1:
  3530  			iNdEx += 8
  3531  		case 2:
  3532  			var length int
  3533  			for shift := uint(0); ; shift += 7 {
  3534  				if shift >= 64 {
  3535  					return 0, ErrIntOverflowRsm
  3536  				}
  3537  				if iNdEx >= l {
  3538  					return 0, io.ErrUnexpectedEOF
  3539  				}
  3540  				b := dAtA[iNdEx]
  3541  				iNdEx++
  3542  				length |= (int(b) & 0x7F) << shift
  3543  				if b < 0x80 {
  3544  					break
  3545  				}
  3546  			}
  3547  			if length < 0 {
  3548  				return 0, ErrInvalidLengthRsm
  3549  			}
  3550  			iNdEx += length
  3551  		case 3:
  3552  			depth++
  3553  		case 4:
  3554  			if depth == 0 {
  3555  				return 0, ErrUnexpectedEndOfGroupRsm
  3556  			}
  3557  			depth--
  3558  		case 5:
  3559  			iNdEx += 4
  3560  		default:
  3561  			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  3562  		}
  3563  		if iNdEx < 0 {
  3564  			return 0, ErrInvalidLengthRsm
  3565  		}
  3566  		if depth == 0 {
  3567  			return iNdEx, nil
  3568  		}
  3569  	}
  3570  	return 0, io.ErrUnexpectedEOF
  3571  }
  3572  
  3573  var (
  3574  	ErrInvalidLengthRsm        = fmt.Errorf("proto: negative length found during unmarshaling")
  3575  	ErrIntOverflowRsm          = fmt.Errorf("proto: integer overflow")
  3576  	ErrUnexpectedEndOfGroupRsm = fmt.Errorf("proto: unexpected end of group")
  3577  )