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

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: onos/e2t/e2/e2.proto
     3  
     4  // Package onos.e2t defines the interior gRPC interfaces for xApps to interact with E2T.
     5  
     6  package e2
     7  
     8  import (
     9  	context "context"
    10  	fmt "fmt"
    11  	_ "github.com/gogo/protobuf/gogoproto"
    12  	proto "github.com/gogo/protobuf/proto"
    13  	grpc "google.golang.org/grpc"
    14  	codes "google.golang.org/grpc/codes"
    15  	status "google.golang.org/grpc/status"
    16  	io "io"
    17  	math "math"
    18  	math_bits "math/bits"
    19  )
    20  
    21  // Reference imports to suppress errors if they are not otherwise used.
    22  var _ = proto.Marshal
    23  var _ = fmt.Errorf
    24  var _ = math.Inf
    25  
    26  // This is a compile-time assertion to ensure that this generated file
    27  // is compatible with the proto package it is being compiled against.
    28  // A compilation error at this line likely means your copy of the
    29  // proto package needs to be updated.
    30  const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    31  
    32  // EncodingType determines encoding type for the response messages
    33  type EncodingType int32
    34  
    35  const (
    36  	EncodingType_PROTO    EncodingType = 0
    37  	EncodingType_ASN1_PER EncodingType = 1
    38  	EncodingType_ASN1_XER EncodingType = 2
    39  )
    40  
    41  var EncodingType_name = map[int32]string{
    42  	0: "PROTO",
    43  	1: "ASN1_PER",
    44  	2: "ASN1_XER",
    45  }
    46  
    47  var EncodingType_value = map[string]int32{
    48  	"PROTO":    0,
    49  	"ASN1_PER": 1,
    50  	"ASN1_XER": 2,
    51  }
    52  
    53  func (x EncodingType) String() string {
    54  	return proto.EnumName(EncodingType_name, int32(x))
    55  }
    56  
    57  func (EncodingType) EnumDescriptor() ([]byte, []int) {
    58  	return fileDescriptor_706d69473e8d707d, []int{0}
    59  }
    60  
    61  // ResponseStatus
    62  type ResponseStatus int32
    63  
    64  const (
    65  	ResponseStatus_FAILED    ResponseStatus = 0
    66  	ResponseStatus_SUCCEEDED ResponseStatus = 1
    67  	ResponseStatus_REJECTED  ResponseStatus = 2
    68  )
    69  
    70  var ResponseStatus_name = map[int32]string{
    71  	0: "FAILED",
    72  	1: "SUCCEEDED",
    73  	2: "REJECTED",
    74  }
    75  
    76  var ResponseStatus_value = map[string]int32{
    77  	"FAILED":    0,
    78  	"SUCCEEDED": 1,
    79  	"REJECTED":  2,
    80  }
    81  
    82  func (x ResponseStatus) String() string {
    83  	return proto.EnumName(ResponseStatus_name, int32(x))
    84  }
    85  
    86  func (ResponseStatus) EnumDescriptor() ([]byte, []int) {
    87  	return fileDescriptor_706d69473e8d707d, []int{1}
    88  }
    89  
    90  // Cause is a failure cause
    91  type Cause int32
    92  
    93  const (
    94  	Cause_CAUSE_UNKNOWN                                                    Cause = 0
    95  	Cause_CAUSE_MISC_CONTROL_PROCESSING_OVERLOAD                           Cause = 1
    96  	Cause_CAUSE_MISC_HARDWARE_FAILURE                                      Cause = 2
    97  	Cause_CAUSE_MISC_OM_INTERVENTION                                       Cause = 3
    98  	Cause_CAUSE_MISC_UNSPECIFIED                                           Cause = 4
    99  	Cause_CAUSE_PROTOCOL_TRANSFER_SYNTAX_ERROR                             Cause = 5
   100  	Cause_CAUSE_PROTOCOL_ABSTRACT_SYNTAX_ERROR_REJECT                      Cause = 6
   101  	Cause_CAUSE_PROTOCOL_ABSTRACT_SYNTAX_ERROR_IGNORE_AND_NOTIFY           Cause = 7
   102  	Cause_CAUSE_PROTOCOL_MESSAGE_NOT_COMPATIBLE_WITH_RECEIVER_STATE        Cause = 8
   103  	Cause_CAUSE_PROTOCOL_SEMANTIC_ERROR                                    Cause = 9
   104  	Cause_CAUSE_PROTOCOL_ABSTRACT_SYNTAX_ERROR_FALSELY_CONSTRUCTED_MESSAGE Cause = 10
   105  	Cause_CAUSE_PROTOCOL_UNSPECIFIED                                       Cause = 11
   106  	Cause_CAUSE_RIC_RAN_FUNCTION_ID_INVALID                                Cause = 12
   107  	Cause_CAUSE_RIC_ACTION_NOT_SUPPORTED                                   Cause = 13
   108  	Cause_CAUSE_RIC_EXCESSIVE_ACTIONS                                      Cause = 14
   109  	Cause_CAUSE_RIC_DUPLICATE_ACTION                                       Cause = 15
   110  	Cause_CAUSE_RIC_DUPLICATE_EVENT                                        Cause = 16
   111  	Cause_CAUSE_RIC_FUNCTION_RESOURCE_LIMIT                                Cause = 17
   112  	Cause_CAUSE_RIC_REQUEST_ID_UNKNOWN                                     Cause = 18
   113  	Cause_CAUSE_RIC_INCONSISTENT_ACTION_SUBSEQUENT_ACTION_SEQUENCE         Cause = 19
   114  	Cause_CAUSE_RIC_CONTROL_MESSAGE_INVALID                                Cause = 20
   115  	Cause_CAUSE_RIC_CALL_PROCESS_ID_INVALID                                Cause = 21
   116  	Cause_CAUSE_RIC_UNSPECIFIED                                            Cause = 22
   117  	Cause_CAUSE_RICSERVICE_FUNCTION_NOT_REQUIRED                           Cause = 23
   118  	Cause_CAUSE_RICSERVICE_EXCESSIVE_FUNCTIONS                             Cause = 24
   119  	Cause_CAUSE_RICSERVICE_RIC_RESOURCE_LIMIT                              Cause = 25
   120  	Cause_CAUSE_TRANSPORT_UNSPECIFIED                                      Cause = 26
   121  	Cause_CAUSE_TRANSPORT_TRANSPORT_RESOURCE_UNAVAILABLE                   Cause = 27
   122  )
   123  
   124  var Cause_name = map[int32]string{
   125  	0:  "CAUSE_UNKNOWN",
   126  	1:  "CAUSE_MISC_CONTROL_PROCESSING_OVERLOAD",
   127  	2:  "CAUSE_MISC_HARDWARE_FAILURE",
   128  	3:  "CAUSE_MISC_OM_INTERVENTION",
   129  	4:  "CAUSE_MISC_UNSPECIFIED",
   130  	5:  "CAUSE_PROTOCOL_TRANSFER_SYNTAX_ERROR",
   131  	6:  "CAUSE_PROTOCOL_ABSTRACT_SYNTAX_ERROR_REJECT",
   132  	7:  "CAUSE_PROTOCOL_ABSTRACT_SYNTAX_ERROR_IGNORE_AND_NOTIFY",
   133  	8:  "CAUSE_PROTOCOL_MESSAGE_NOT_COMPATIBLE_WITH_RECEIVER_STATE",
   134  	9:  "CAUSE_PROTOCOL_SEMANTIC_ERROR",
   135  	10: "CAUSE_PROTOCOL_ABSTRACT_SYNTAX_ERROR_FALSELY_CONSTRUCTED_MESSAGE",
   136  	11: "CAUSE_PROTOCOL_UNSPECIFIED",
   137  	12: "CAUSE_RIC_RAN_FUNCTION_ID_INVALID",
   138  	13: "CAUSE_RIC_ACTION_NOT_SUPPORTED",
   139  	14: "CAUSE_RIC_EXCESSIVE_ACTIONS",
   140  	15: "CAUSE_RIC_DUPLICATE_ACTION",
   141  	16: "CAUSE_RIC_DUPLICATE_EVENT",
   142  	17: "CAUSE_RIC_FUNCTION_RESOURCE_LIMIT",
   143  	18: "CAUSE_RIC_REQUEST_ID_UNKNOWN",
   144  	19: "CAUSE_RIC_INCONSISTENT_ACTION_SUBSEQUENT_ACTION_SEQUENCE",
   145  	20: "CAUSE_RIC_CONTROL_MESSAGE_INVALID",
   146  	21: "CAUSE_RIC_CALL_PROCESS_ID_INVALID",
   147  	22: "CAUSE_RIC_UNSPECIFIED",
   148  	23: "CAUSE_RICSERVICE_FUNCTION_NOT_REQUIRED",
   149  	24: "CAUSE_RICSERVICE_EXCESSIVE_FUNCTIONS",
   150  	25: "CAUSE_RICSERVICE_RIC_RESOURCE_LIMIT",
   151  	26: "CAUSE_TRANSPORT_UNSPECIFIED",
   152  	27: "CAUSE_TRANSPORT_TRANSPORT_RESOURCE_UNAVAILABLE",
   153  }
   154  
   155  var Cause_value = map[string]int32{
   156  	"CAUSE_UNKNOWN":                                                    0,
   157  	"CAUSE_MISC_CONTROL_PROCESSING_OVERLOAD":                           1,
   158  	"CAUSE_MISC_HARDWARE_FAILURE":                                      2,
   159  	"CAUSE_MISC_OM_INTERVENTION":                                       3,
   160  	"CAUSE_MISC_UNSPECIFIED":                                           4,
   161  	"CAUSE_PROTOCOL_TRANSFER_SYNTAX_ERROR":                             5,
   162  	"CAUSE_PROTOCOL_ABSTRACT_SYNTAX_ERROR_REJECT":                      6,
   163  	"CAUSE_PROTOCOL_ABSTRACT_SYNTAX_ERROR_IGNORE_AND_NOTIFY":           7,
   164  	"CAUSE_PROTOCOL_MESSAGE_NOT_COMPATIBLE_WITH_RECEIVER_STATE":        8,
   165  	"CAUSE_PROTOCOL_SEMANTIC_ERROR":                                    9,
   166  	"CAUSE_PROTOCOL_ABSTRACT_SYNTAX_ERROR_FALSELY_CONSTRUCTED_MESSAGE": 10,
   167  	"CAUSE_PROTOCOL_UNSPECIFIED":                                       11,
   168  	"CAUSE_RIC_RAN_FUNCTION_ID_INVALID":                                12,
   169  	"CAUSE_RIC_ACTION_NOT_SUPPORTED":                                   13,
   170  	"CAUSE_RIC_EXCESSIVE_ACTIONS":                                      14,
   171  	"CAUSE_RIC_DUPLICATE_ACTION":                                       15,
   172  	"CAUSE_RIC_DUPLICATE_EVENT":                                        16,
   173  	"CAUSE_RIC_FUNCTION_RESOURCE_LIMIT":                                17,
   174  	"CAUSE_RIC_REQUEST_ID_UNKNOWN":                                     18,
   175  	"CAUSE_RIC_INCONSISTENT_ACTION_SUBSEQUENT_ACTION_SEQUENCE":         19,
   176  	"CAUSE_RIC_CONTROL_MESSAGE_INVALID":                                20,
   177  	"CAUSE_RIC_CALL_PROCESS_ID_INVALID":                                21,
   178  	"CAUSE_RIC_UNSPECIFIED":                                            22,
   179  	"CAUSE_RICSERVICE_FUNCTION_NOT_REQUIRED":                           23,
   180  	"CAUSE_RICSERVICE_EXCESSIVE_FUNCTIONS":                             24,
   181  	"CAUSE_RICSERVICE_RIC_RESOURCE_LIMIT":                              25,
   182  	"CAUSE_TRANSPORT_UNSPECIFIED":                                      26,
   183  	"CAUSE_TRANSPORT_TRANSPORT_RESOURCE_UNAVAILABLE":                   27,
   184  }
   185  
   186  func (x Cause) String() string {
   187  	return proto.EnumName(Cause_name, int32(x))
   188  }
   189  
   190  func (Cause) EnumDescriptor() ([]byte, []int) {
   191  	return fileDescriptor_706d69473e8d707d, []int{2}
   192  }
   193  
   194  type ControlAckRequest int32
   195  
   196  const (
   197  	// Optional RIC Control Acknowledgement is required
   198  	ControlAckRequest_ACK ControlAckRequest = 0
   199  	// Optional RIC Control Acknowledgement is not required
   200  	ControlAckRequest_NO_ACK ControlAckRequest = 1
   201  	// Optional RIC Control Acknowledgement is only required to report failure
   202  	ControlAckRequest_NACK ControlAckRequest = 2
   203  )
   204  
   205  var ControlAckRequest_name = map[int32]string{
   206  	0: "ACK",
   207  	1: "NO_ACK",
   208  	2: "NACK",
   209  }
   210  
   211  var ControlAckRequest_value = map[string]int32{
   212  	"ACK":    0,
   213  	"NO_ACK": 1,
   214  	"NACK":   2,
   215  }
   216  
   217  func (x ControlAckRequest) String() string {
   218  	return proto.EnumName(ControlAckRequest_name, int32(x))
   219  }
   220  
   221  func (ControlAckRequest) EnumDescriptor() ([]byte, []int) {
   222  	return fileDescriptor_706d69473e8d707d, []int{3}
   223  }
   224  
   225  // ServiceModelInfo E2 service model information
   226  type ServiceModel struct {
   227  	Name    ServiceModelName    `protobuf:"bytes,1,opt,name=name,proto3,casttype=ServiceModelName" json:"name,omitempty"`
   228  	Version ServiceModelVersion `protobuf:"bytes,2,opt,name=version,proto3,casttype=ServiceModelVersion" json:"version,omitempty"`
   229  }
   230  
   231  func (m *ServiceModel) Reset()         { *m = ServiceModel{} }
   232  func (m *ServiceModel) String() string { return proto.CompactTextString(m) }
   233  func (*ServiceModel) ProtoMessage()    {}
   234  func (*ServiceModel) Descriptor() ([]byte, []int) {
   235  	return fileDescriptor_706d69473e8d707d, []int{0}
   236  }
   237  func (m *ServiceModel) XXX_Unmarshal(b []byte) error {
   238  	return m.Unmarshal(b)
   239  }
   240  func (m *ServiceModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   241  	if deterministic {
   242  		return xxx_messageInfo_ServiceModel.Marshal(b, m, deterministic)
   243  	} else {
   244  		b = b[:cap(b)]
   245  		n, err := m.MarshalToSizedBuffer(b)
   246  		if err != nil {
   247  			return nil, err
   248  		}
   249  		return b[:n], nil
   250  	}
   251  }
   252  func (m *ServiceModel) XXX_Merge(src proto.Message) {
   253  	xxx_messageInfo_ServiceModel.Merge(m, src)
   254  }
   255  func (m *ServiceModel) XXX_Size() int {
   256  	return m.Size()
   257  }
   258  func (m *ServiceModel) XXX_DiscardUnknown() {
   259  	xxx_messageInfo_ServiceModel.DiscardUnknown(m)
   260  }
   261  
   262  var xxx_messageInfo_ServiceModel proto.InternalMessageInfo
   263  
   264  func (m *ServiceModel) GetName() ServiceModelName {
   265  	if m != nil {
   266  		return m.Name
   267  	}
   268  	return ""
   269  }
   270  
   271  func (m *ServiceModel) GetVersion() ServiceModelVersion {
   272  	if m != nil {
   273  		return m.Version
   274  	}
   275  	return ""
   276  }
   277  
   278  // RequestHeader a common request header for all requests including encoding type, client/xApp/session info, ordering info, etc
   279  type RequestHeader struct {
   280  	EncodingType EncodingType  `protobuf:"varint,1,opt,name=encoding_type,json=encodingType,proto3,enum=onos.e2t.e2.EncodingType" json:"encoding_type,omitempty"`
   281  	ServiceModel *ServiceModel `protobuf:"bytes,2,opt,name=service_model,json=serviceModel,proto3" json:"service_model,omitempty"`
   282  }
   283  
   284  func (m *RequestHeader) Reset()         { *m = RequestHeader{} }
   285  func (m *RequestHeader) String() string { return proto.CompactTextString(m) }
   286  func (*RequestHeader) ProtoMessage()    {}
   287  func (*RequestHeader) Descriptor() ([]byte, []int) {
   288  	return fileDescriptor_706d69473e8d707d, []int{1}
   289  }
   290  func (m *RequestHeader) XXX_Unmarshal(b []byte) error {
   291  	return m.Unmarshal(b)
   292  }
   293  func (m *RequestHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   294  	if deterministic {
   295  		return xxx_messageInfo_RequestHeader.Marshal(b, m, deterministic)
   296  	} else {
   297  		b = b[:cap(b)]
   298  		n, err := m.MarshalToSizedBuffer(b)
   299  		if err != nil {
   300  			return nil, err
   301  		}
   302  		return b[:n], nil
   303  	}
   304  }
   305  func (m *RequestHeader) XXX_Merge(src proto.Message) {
   306  	xxx_messageInfo_RequestHeader.Merge(m, src)
   307  }
   308  func (m *RequestHeader) XXX_Size() int {
   309  	return m.Size()
   310  }
   311  func (m *RequestHeader) XXX_DiscardUnknown() {
   312  	xxx_messageInfo_RequestHeader.DiscardUnknown(m)
   313  }
   314  
   315  var xxx_messageInfo_RequestHeader proto.InternalMessageInfo
   316  
   317  func (m *RequestHeader) GetEncodingType() EncodingType {
   318  	if m != nil {
   319  		return m.EncodingType
   320  	}
   321  	return EncodingType_PROTO
   322  }
   323  
   324  func (m *RequestHeader) GetServiceModel() *ServiceModel {
   325  	if m != nil {
   326  		return m.ServiceModel
   327  	}
   328  	return nil
   329  }
   330  
   331  // ResponseHeader a common response header for all responses including encoding type, client/xApp/session info, ordering info, etc
   332  type ResponseHeader struct {
   333  	EncodingType   EncodingType   `protobuf:"varint,1,opt,name=encoding_type,json=encodingType,proto3,enum=onos.e2t.e2.EncodingType" json:"encoding_type,omitempty"`
   334  	ServiceModel   *ServiceModel  `protobuf:"bytes,2,opt,name=service_model,json=serviceModel,proto3" json:"service_model,omitempty"`
   335  	ResponseStatus ResponseStatus `protobuf:"varint,3,opt,name=response_status,json=responseStatus,proto3,enum=onos.e2t.e2.ResponseStatus" json:"response_status,omitempty"`
   336  }
   337  
   338  func (m *ResponseHeader) Reset()         { *m = ResponseHeader{} }
   339  func (m *ResponseHeader) String() string { return proto.CompactTextString(m) }
   340  func (*ResponseHeader) ProtoMessage()    {}
   341  func (*ResponseHeader) Descriptor() ([]byte, []int) {
   342  	return fileDescriptor_706d69473e8d707d, []int{2}
   343  }
   344  func (m *ResponseHeader) XXX_Unmarshal(b []byte) error {
   345  	return m.Unmarshal(b)
   346  }
   347  func (m *ResponseHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   348  	if deterministic {
   349  		return xxx_messageInfo_ResponseHeader.Marshal(b, m, deterministic)
   350  	} else {
   351  		b = b[:cap(b)]
   352  		n, err := m.MarshalToSizedBuffer(b)
   353  		if err != nil {
   354  			return nil, err
   355  		}
   356  		return b[:n], nil
   357  	}
   358  }
   359  func (m *ResponseHeader) XXX_Merge(src proto.Message) {
   360  	xxx_messageInfo_ResponseHeader.Merge(m, src)
   361  }
   362  func (m *ResponseHeader) XXX_Size() int {
   363  	return m.Size()
   364  }
   365  func (m *ResponseHeader) XXX_DiscardUnknown() {
   366  	xxx_messageInfo_ResponseHeader.DiscardUnknown(m)
   367  }
   368  
   369  var xxx_messageInfo_ResponseHeader proto.InternalMessageInfo
   370  
   371  func (m *ResponseHeader) GetEncodingType() EncodingType {
   372  	if m != nil {
   373  		return m.EncodingType
   374  	}
   375  	return EncodingType_PROTO
   376  }
   377  
   378  func (m *ResponseHeader) GetServiceModel() *ServiceModel {
   379  	if m != nil {
   380  		return m.ServiceModel
   381  	}
   382  	return nil
   383  }
   384  
   385  func (m *ResponseHeader) GetResponseStatus() ResponseStatus {
   386  	if m != nil {
   387  		return m.ResponseStatus
   388  	}
   389  	return ResponseStatus_FAILED
   390  }
   391  
   392  // StreamRequest
   393  type StreamRequest struct {
   394  	Header         *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
   395  	AppID          AppID          `protobuf:"bytes,2,opt,name=app_id,json=appId,proto3,casttype=AppID" json:"app_id,omitempty"`
   396  	InstanceID     InstanceID     `protobuf:"bytes,3,opt,name=instance_id,json=instanceId,proto3,casttype=InstanceID" json:"instance_id,omitempty"`
   397  	SubscriptionID SubscriptionID `protobuf:"bytes,4,opt,name=subscription_id,json=subscriptionId,proto3,casttype=SubscriptionID" json:"subscription_id,omitempty"`
   398  }
   399  
   400  func (m *StreamRequest) Reset()         { *m = StreamRequest{} }
   401  func (m *StreamRequest) String() string { return proto.CompactTextString(m) }
   402  func (*StreamRequest) ProtoMessage()    {}
   403  func (*StreamRequest) Descriptor() ([]byte, []int) {
   404  	return fileDescriptor_706d69473e8d707d, []int{3}
   405  }
   406  func (m *StreamRequest) XXX_Unmarshal(b []byte) error {
   407  	return m.Unmarshal(b)
   408  }
   409  func (m *StreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   410  	if deterministic {
   411  		return xxx_messageInfo_StreamRequest.Marshal(b, m, deterministic)
   412  	} else {
   413  		b = b[:cap(b)]
   414  		n, err := m.MarshalToSizedBuffer(b)
   415  		if err != nil {
   416  			return nil, err
   417  		}
   418  		return b[:n], nil
   419  	}
   420  }
   421  func (m *StreamRequest) XXX_Merge(src proto.Message) {
   422  	xxx_messageInfo_StreamRequest.Merge(m, src)
   423  }
   424  func (m *StreamRequest) XXX_Size() int {
   425  	return m.Size()
   426  }
   427  func (m *StreamRequest) XXX_DiscardUnknown() {
   428  	xxx_messageInfo_StreamRequest.DiscardUnknown(m)
   429  }
   430  
   431  var xxx_messageInfo_StreamRequest proto.InternalMessageInfo
   432  
   433  func (m *StreamRequest) GetHeader() *RequestHeader {
   434  	if m != nil {
   435  		return m.Header
   436  	}
   437  	return nil
   438  }
   439  
   440  func (m *StreamRequest) GetAppID() AppID {
   441  	if m != nil {
   442  		return m.AppID
   443  	}
   444  	return ""
   445  }
   446  
   447  func (m *StreamRequest) GetInstanceID() InstanceID {
   448  	if m != nil {
   449  		return m.InstanceID
   450  	}
   451  	return ""
   452  }
   453  
   454  func (m *StreamRequest) GetSubscriptionID() SubscriptionID {
   455  	if m != nil {
   456  		return m.SubscriptionID
   457  	}
   458  	return ""
   459  }
   460  
   461  // StreamResponse
   462  type StreamResponse struct {
   463  	Header            *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
   464  	IndicationHeader  []byte          `protobuf:"bytes,2,opt,name=indication_header,json=indicationHeader,proto3" json:"indication_header,omitempty"`
   465  	IndicationMessage []byte          `protobuf:"bytes,3,opt,name=indication_message,json=indicationMessage,proto3" json:"indication_message,omitempty"`
   466  }
   467  
   468  func (m *StreamResponse) Reset()         { *m = StreamResponse{} }
   469  func (m *StreamResponse) String() string { return proto.CompactTextString(m) }
   470  func (*StreamResponse) ProtoMessage()    {}
   471  func (*StreamResponse) Descriptor() ([]byte, []int) {
   472  	return fileDescriptor_706d69473e8d707d, []int{4}
   473  }
   474  func (m *StreamResponse) XXX_Unmarshal(b []byte) error {
   475  	return m.Unmarshal(b)
   476  }
   477  func (m *StreamResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   478  	if deterministic {
   479  		return xxx_messageInfo_StreamResponse.Marshal(b, m, deterministic)
   480  	} else {
   481  		b = b[:cap(b)]
   482  		n, err := m.MarshalToSizedBuffer(b)
   483  		if err != nil {
   484  			return nil, err
   485  		}
   486  		return b[:n], nil
   487  	}
   488  }
   489  func (m *StreamResponse) XXX_Merge(src proto.Message) {
   490  	xxx_messageInfo_StreamResponse.Merge(m, src)
   491  }
   492  func (m *StreamResponse) XXX_Size() int {
   493  	return m.Size()
   494  }
   495  func (m *StreamResponse) XXX_DiscardUnknown() {
   496  	xxx_messageInfo_StreamResponse.DiscardUnknown(m)
   497  }
   498  
   499  var xxx_messageInfo_StreamResponse proto.InternalMessageInfo
   500  
   501  func (m *StreamResponse) GetHeader() *ResponseHeader {
   502  	if m != nil {
   503  		return m.Header
   504  	}
   505  	return nil
   506  }
   507  
   508  func (m *StreamResponse) GetIndicationHeader() []byte {
   509  	if m != nil {
   510  		return m.IndicationHeader
   511  	}
   512  	return nil
   513  }
   514  
   515  func (m *StreamResponse) GetIndicationMessage() []byte {
   516  	if m != nil {
   517  		return m.IndicationMessage
   518  	}
   519  	return nil
   520  }
   521  
   522  // ControlRequest E2 control request
   523  type ControlRequest struct {
   524  	Header            *RequestHeader    `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
   525  	E2NodeID          E2NodeID          `protobuf:"bytes,2,opt,name=e2_node_id,json=e2NodeId,proto3,casttype=E2NodeID" json:"e2_node_id,omitempty"`
   526  	ControlHeader     []byte            `protobuf:"bytes,3,opt,name=control_header,json=controlHeader,proto3" json:"control_header,omitempty"`
   527  	ControlMessage    []byte            `protobuf:"bytes,4,opt,name=control_message,json=controlMessage,proto3" json:"control_message,omitempty"`
   528  	ControlAckRequest ControlAckRequest `protobuf:"varint,5,opt,name=control_ack_request,json=controlAckRequest,proto3,enum=onos.e2t.e2.ControlAckRequest" json:"control_ack_request,omitempty"`
   529  }
   530  
   531  func (m *ControlRequest) Reset()         { *m = ControlRequest{} }
   532  func (m *ControlRequest) String() string { return proto.CompactTextString(m) }
   533  func (*ControlRequest) ProtoMessage()    {}
   534  func (*ControlRequest) Descriptor() ([]byte, []int) {
   535  	return fileDescriptor_706d69473e8d707d, []int{5}
   536  }
   537  func (m *ControlRequest) XXX_Unmarshal(b []byte) error {
   538  	return m.Unmarshal(b)
   539  }
   540  func (m *ControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   541  	if deterministic {
   542  		return xxx_messageInfo_ControlRequest.Marshal(b, m, deterministic)
   543  	} else {
   544  		b = b[:cap(b)]
   545  		n, err := m.MarshalToSizedBuffer(b)
   546  		if err != nil {
   547  			return nil, err
   548  		}
   549  		return b[:n], nil
   550  	}
   551  }
   552  func (m *ControlRequest) XXX_Merge(src proto.Message) {
   553  	xxx_messageInfo_ControlRequest.Merge(m, src)
   554  }
   555  func (m *ControlRequest) XXX_Size() int {
   556  	return m.Size()
   557  }
   558  func (m *ControlRequest) XXX_DiscardUnknown() {
   559  	xxx_messageInfo_ControlRequest.DiscardUnknown(m)
   560  }
   561  
   562  var xxx_messageInfo_ControlRequest proto.InternalMessageInfo
   563  
   564  func (m *ControlRequest) GetHeader() *RequestHeader {
   565  	if m != nil {
   566  		return m.Header
   567  	}
   568  	return nil
   569  }
   570  
   571  func (m *ControlRequest) GetE2NodeID() E2NodeID {
   572  	if m != nil {
   573  		return m.E2NodeID
   574  	}
   575  	return ""
   576  }
   577  
   578  func (m *ControlRequest) GetControlHeader() []byte {
   579  	if m != nil {
   580  		return m.ControlHeader
   581  	}
   582  	return nil
   583  }
   584  
   585  func (m *ControlRequest) GetControlMessage() []byte {
   586  	if m != nil {
   587  		return m.ControlMessage
   588  	}
   589  	return nil
   590  }
   591  
   592  func (m *ControlRequest) GetControlAckRequest() ControlAckRequest {
   593  	if m != nil {
   594  		return m.ControlAckRequest
   595  	}
   596  	return ControlAckRequest_ACK
   597  }
   598  
   599  // ControlResponse E2 control response
   600  type ControlResponse struct {
   601  	Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
   602  	// Types that are valid to be assigned to Response:
   603  	//
   604  	//	*ControlResponse_ControlAcknowledge
   605  	//	*ControlResponse_ControlFailure
   606  	Response isControlResponse_Response `protobuf_oneof:"response"`
   607  }
   608  
   609  func (m *ControlResponse) Reset()         { *m = ControlResponse{} }
   610  func (m *ControlResponse) String() string { return proto.CompactTextString(m) }
   611  func (*ControlResponse) ProtoMessage()    {}
   612  func (*ControlResponse) Descriptor() ([]byte, []int) {
   613  	return fileDescriptor_706d69473e8d707d, []int{6}
   614  }
   615  func (m *ControlResponse) XXX_Unmarshal(b []byte) error {
   616  	return m.Unmarshal(b)
   617  }
   618  func (m *ControlResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   619  	if deterministic {
   620  		return xxx_messageInfo_ControlResponse.Marshal(b, m, deterministic)
   621  	} else {
   622  		b = b[:cap(b)]
   623  		n, err := m.MarshalToSizedBuffer(b)
   624  		if err != nil {
   625  			return nil, err
   626  		}
   627  		return b[:n], nil
   628  	}
   629  }
   630  func (m *ControlResponse) XXX_Merge(src proto.Message) {
   631  	xxx_messageInfo_ControlResponse.Merge(m, src)
   632  }
   633  func (m *ControlResponse) XXX_Size() int {
   634  	return m.Size()
   635  }
   636  func (m *ControlResponse) XXX_DiscardUnknown() {
   637  	xxx_messageInfo_ControlResponse.DiscardUnknown(m)
   638  }
   639  
   640  var xxx_messageInfo_ControlResponse proto.InternalMessageInfo
   641  
   642  type isControlResponse_Response interface {
   643  	isControlResponse_Response()
   644  	MarshalTo([]byte) (int, error)
   645  	Size() int
   646  }
   647  
   648  type ControlResponse_ControlAcknowledge struct {
   649  	ControlAcknowledge *ControlAcknowledge `protobuf:"bytes,2,opt,name=control_acknowledge,json=controlAcknowledge,proto3,oneof" json:"control_acknowledge,omitempty"`
   650  }
   651  type ControlResponse_ControlFailure struct {
   652  	ControlFailure *ControlFailure `protobuf:"bytes,3,opt,name=control_failure,json=controlFailure,proto3,oneof" json:"control_failure,omitempty"`
   653  }
   654  
   655  func (*ControlResponse_ControlAcknowledge) isControlResponse_Response() {}
   656  func (*ControlResponse_ControlFailure) isControlResponse_Response()     {}
   657  
   658  func (m *ControlResponse) GetResponse() isControlResponse_Response {
   659  	if m != nil {
   660  		return m.Response
   661  	}
   662  	return nil
   663  }
   664  
   665  func (m *ControlResponse) GetHeader() *ResponseHeader {
   666  	if m != nil {
   667  		return m.Header
   668  	}
   669  	return nil
   670  }
   671  
   672  func (m *ControlResponse) GetControlAcknowledge() *ControlAcknowledge {
   673  	if x, ok := m.GetResponse().(*ControlResponse_ControlAcknowledge); ok {
   674  		return x.ControlAcknowledge
   675  	}
   676  	return nil
   677  }
   678  
   679  func (m *ControlResponse) GetControlFailure() *ControlFailure {
   680  	if x, ok := m.GetResponse().(*ControlResponse_ControlFailure); ok {
   681  		return x.ControlFailure
   682  	}
   683  	return nil
   684  }
   685  
   686  // XXX_OneofWrappers is for the internal use of the proto package.
   687  func (*ControlResponse) XXX_OneofWrappers() []interface{} {
   688  	return []interface{}{
   689  		(*ControlResponse_ControlAcknowledge)(nil),
   690  		(*ControlResponse_ControlFailure)(nil),
   691  	}
   692  }
   693  
   694  // ControlAcknowledge control acknowledgement
   695  type ControlAcknowledge struct {
   696  	ControlOutcome []byte `protobuf:"bytes,1,opt,name=control_outcome,json=controlOutcome,proto3" json:"control_outcome,omitempty"`
   697  }
   698  
   699  func (m *ControlAcknowledge) Reset()         { *m = ControlAcknowledge{} }
   700  func (m *ControlAcknowledge) String() string { return proto.CompactTextString(m) }
   701  func (*ControlAcknowledge) ProtoMessage()    {}
   702  func (*ControlAcknowledge) Descriptor() ([]byte, []int) {
   703  	return fileDescriptor_706d69473e8d707d, []int{7}
   704  }
   705  func (m *ControlAcknowledge) XXX_Unmarshal(b []byte) error {
   706  	return m.Unmarshal(b)
   707  }
   708  func (m *ControlAcknowledge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   709  	if deterministic {
   710  		return xxx_messageInfo_ControlAcknowledge.Marshal(b, m, deterministic)
   711  	} else {
   712  		b = b[:cap(b)]
   713  		n, err := m.MarshalToSizedBuffer(b)
   714  		if err != nil {
   715  			return nil, err
   716  		}
   717  		return b[:n], nil
   718  	}
   719  }
   720  func (m *ControlAcknowledge) XXX_Merge(src proto.Message) {
   721  	xxx_messageInfo_ControlAcknowledge.Merge(m, src)
   722  }
   723  func (m *ControlAcknowledge) XXX_Size() int {
   724  	return m.Size()
   725  }
   726  func (m *ControlAcknowledge) XXX_DiscardUnknown() {
   727  	xxx_messageInfo_ControlAcknowledge.DiscardUnknown(m)
   728  }
   729  
   730  var xxx_messageInfo_ControlAcknowledge proto.InternalMessageInfo
   731  
   732  func (m *ControlAcknowledge) GetControlOutcome() []byte {
   733  	if m != nil {
   734  		return m.ControlOutcome
   735  	}
   736  	return nil
   737  }
   738  
   739  // ControlFailure control failure message
   740  type ControlFailure struct {
   741  	Cause          Cause  `protobuf:"varint,1,opt,name=cause,proto3,enum=onos.e2t.e2.Cause" json:"cause,omitempty"`
   742  	ControlOutcome []byte `protobuf:"bytes,2,opt,name=control_outcome,json=controlOutcome,proto3" json:"control_outcome,omitempty"`
   743  	Message        string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
   744  }
   745  
   746  func (m *ControlFailure) Reset()         { *m = ControlFailure{} }
   747  func (m *ControlFailure) String() string { return proto.CompactTextString(m) }
   748  func (*ControlFailure) ProtoMessage()    {}
   749  func (*ControlFailure) Descriptor() ([]byte, []int) {
   750  	return fileDescriptor_706d69473e8d707d, []int{8}
   751  }
   752  func (m *ControlFailure) XXX_Unmarshal(b []byte) error {
   753  	return m.Unmarshal(b)
   754  }
   755  func (m *ControlFailure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   756  	if deterministic {
   757  		return xxx_messageInfo_ControlFailure.Marshal(b, m, deterministic)
   758  	} else {
   759  		b = b[:cap(b)]
   760  		n, err := m.MarshalToSizedBuffer(b)
   761  		if err != nil {
   762  			return nil, err
   763  		}
   764  		return b[:n], nil
   765  	}
   766  }
   767  func (m *ControlFailure) XXX_Merge(src proto.Message) {
   768  	xxx_messageInfo_ControlFailure.Merge(m, src)
   769  }
   770  func (m *ControlFailure) XXX_Size() int {
   771  	return m.Size()
   772  }
   773  func (m *ControlFailure) XXX_DiscardUnknown() {
   774  	xxx_messageInfo_ControlFailure.DiscardUnknown(m)
   775  }
   776  
   777  var xxx_messageInfo_ControlFailure proto.InternalMessageInfo
   778  
   779  func (m *ControlFailure) GetCause() Cause {
   780  	if m != nil {
   781  		return m.Cause
   782  	}
   783  	return Cause_CAUSE_UNKNOWN
   784  }
   785  
   786  func (m *ControlFailure) GetControlOutcome() []byte {
   787  	if m != nil {
   788  		return m.ControlOutcome
   789  	}
   790  	return nil
   791  }
   792  
   793  func (m *ControlFailure) GetMessage() string {
   794  	if m != nil {
   795  		return m.Message
   796  	}
   797  	return ""
   798  }
   799  
   800  func init() {
   801  	proto.RegisterEnum("onos.e2t.e2.EncodingType", EncodingType_name, EncodingType_value)
   802  	proto.RegisterEnum("onos.e2t.e2.ResponseStatus", ResponseStatus_name, ResponseStatus_value)
   803  	proto.RegisterEnum("onos.e2t.e2.Cause", Cause_name, Cause_value)
   804  	proto.RegisterEnum("onos.e2t.e2.ControlAckRequest", ControlAckRequest_name, ControlAckRequest_value)
   805  	proto.RegisterType((*ServiceModel)(nil), "onos.e2t.e2.ServiceModel")
   806  	proto.RegisterType((*RequestHeader)(nil), "onos.e2t.e2.RequestHeader")
   807  	proto.RegisterType((*ResponseHeader)(nil), "onos.e2t.e2.ResponseHeader")
   808  	proto.RegisterType((*StreamRequest)(nil), "onos.e2t.e2.StreamRequest")
   809  	proto.RegisterType((*StreamResponse)(nil), "onos.e2t.e2.StreamResponse")
   810  	proto.RegisterType((*ControlRequest)(nil), "onos.e2t.e2.ControlRequest")
   811  	proto.RegisterType((*ControlResponse)(nil), "onos.e2t.e2.ControlResponse")
   812  	proto.RegisterType((*ControlAcknowledge)(nil), "onos.e2t.e2.ControlAcknowledge")
   813  	proto.RegisterType((*ControlFailure)(nil), "onos.e2t.e2.ControlFailure")
   814  }
   815  
   816  func init() { proto.RegisterFile("onos/e2t/e2/e2.proto", fileDescriptor_706d69473e8d707d) }
   817  
   818  var fileDescriptor_706d69473e8d707d = []byte{
   819  	// 1358 bytes of a gzipped FileDescriptorProto
   820  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0xcf, 0x6f, 0x1a, 0x47,
   821  	0x1b, 0x66, 0x6d, 0x63, 0xe3, 0xd7, 0x80, 0xd7, 0x93, 0x1f, 0x1f, 0xb6, 0x13, 0x48, 0xf8, 0x92,
   822  	0x2f, 0xfe, 0x1c, 0xd5, 0x4e, 0x37, 0x6a, 0xd4, 0x54, 0x49, 0xd5, 0x65, 0x77, 0x88, 0xa7, 0x81,
   823  	0x5d, 0x3a, 0xb3, 0x90, 0xe4, 0x34, 0x22, 0x30, 0x75, 0x51, 0x6c, 0x96, 0xb2, 0x38, 0x55, 0x0e,
   824  	0xed, 0xbf, 0xd0, 0x5e, 0x2b, 0xf5, 0xd2, 0xff, 0xa6, 0xc7, 0x9c, 0xaa, 0x9e, 0x50, 0x45, 0xee,
   825  	0x95, 0x7a, 0x8d, 0x7a, 0xa8, 0x66, 0x7f, 0xb0, 0x0b, 0xa6, 0x52, 0xa4, 0x5c, 0x7a, 0x9b, 0x79,
   826  	0xe7, 0x79, 0xdf, 0x79, 0x9e, 0xe7, 0x9d, 0x19, 0x16, 0xb8, 0xe8, 0xf6, 0x5d, 0xef, 0x50, 0x68,
   827  	0xa3, 0x43, 0xa1, 0x1d, 0x0a, 0xed, 0x60, 0x30, 0x74, 0x47, 0x2e, 0xda, 0x90, 0xd1, 0x03, 0xa1,
   828  	0x8d, 0x0e, 0x84, 0xb6, 0x73, 0xf1, 0xd8, 0x3d, 0x76, 0xfd, 0xf8, 0xa1, 0x1c, 0x05, 0x90, 0xf2,
   829  	0x77, 0x90, 0x65, 0x62, 0xf8, 0xb2, 0xd7, 0x11, 0x75, 0xb7, 0x2b, 0x4e, 0xd0, 0x1d, 0x58, 0xe9,
   830  	0xb7, 0x4f, 0x45, 0x41, 0xb9, 0xa6, 0xec, 0xad, 0x57, 0xae, 0x4c, 0xc6, 0xa5, 0x15, 0xab, 0x7d,
   831  	0x2a, 0xde, 0x8e, 0x4b, 0x6a, 0x12, 0x27, 0x63, 0xd4, 0x47, 0xa2, 0x07, 0xb0, 0xf6, 0x52, 0x0c,
   832  	0xbd, 0x9e, 0xdb, 0x2f, 0x2c, 0xf9, 0x49, 0xe5, 0xc9, 0xb8, 0xb4, 0xd6, 0x0a, 0x42, 0x6f, 0xc7,
   833  	0xa5, 0x0b, 0xc9, 0xbc, 0x30, 0x4c, 0xa3, 0x94, 0xf2, 0xf7, 0x0a, 0xe4, 0xa8, 0xf8, 0xfa, 0x4c,
   834  	0x78, 0xa3, 0x23, 0xd1, 0xee, 0x8a, 0x21, 0xfa, 0x14, 0x72, 0xa2, 0xdf, 0x71, 0xbb, 0xbd, 0xfe,
   835  	0x31, 0x1f, 0xbd, 0x1a, 0x04, 0x54, 0xf2, 0xda, 0xf6, 0x41, 0x42, 0xcc, 0x01, 0x0e, 0x11, 0xce,
   836  	0xab, 0x81, 0xa0, 0x59, 0x91, 0x98, 0xc9, 0x7c, 0x2f, 0xd8, 0x91, 0x9f, 0xca, 0x2d, 0x7d, 0x56,
   837  	0x1b, 0x73, 0xf9, 0x49, 0x4e, 0x34, 0xeb, 0x25, 0x66, 0xe5, 0x5f, 0x15, 0xc8, 0x53, 0xe1, 0x0d,
   838  	0xdc, 0xbe, 0x27, 0xfe, 0x1d, 0x94, 0x90, 0x09, 0x9b, 0xc3, 0x90, 0x11, 0xf7, 0x46, 0xed, 0xd1,
   839  	0x99, 0x57, 0x58, 0xf6, 0x19, 0xec, 0xce, 0x54, 0x88, 0x58, 0x33, 0x1f, 0x42, 0xf3, 0xc3, 0x99,
   840  	0x79, 0xf9, 0x2f, 0x05, 0x72, 0x6c, 0x34, 0x14, 0xed, 0xd3, 0xd0, 0x70, 0xa4, 0xc1, 0xea, 0x57,
   841  	0xbe, 0x42, 0x5f, 0xd0, 0x86, 0xb6, 0x33, 0x57, 0x2e, 0xd1, 0x16, 0x1a, 0x22, 0xd1, 0xff, 0x61,
   842  	0xb5, 0x3d, 0x18, 0xf0, 0x5e, 0x37, 0xec, 0x36, 0x9a, 0x8c, 0x4b, 0x69, 0x7d, 0x30, 0x20, 0xe6,
   843  	0xdb, 0x68, 0x40, 0xd3, 0xed, 0xc1, 0x80, 0x74, 0xd1, 0x43, 0xd8, 0xe8, 0xf5, 0xbd, 0x51, 0xbb,
   844  	0xdf, 0x11, 0x12, 0xbf, 0x3c, 0x3d, 0x52, 0x40, 0xc2, 0xb0, 0x9f, 0x94, 0x98, 0x51, 0x88, 0x12,
   845  	0x48, 0x17, 0xd5, 0x61, 0xd3, 0x3b, 0x7b, 0xee, 0x75, 0x86, 0xbd, 0xc1, 0xa8, 0xe7, 0xf6, 0x65,
   846  	0x89, 0x15, 0xbf, 0xc4, 0x8d, 0xc9, 0xb8, 0x94, 0x67, 0x89, 0x25, 0xbf, 0xcc, 0x5c, 0x84, 0xe6,
   847  	0x93, 0xc9, 0xa4, 0x5b, 0xfe, 0x59, 0x81, 0x7c, 0x24, 0x3f, 0xf0, 0x05, 0xdd, 0x9d, 0xd3, 0xbf,
   848  	0xd8, 0xce, 0x39, 0x03, 0x6e, 0xc3, 0x56, 0xaf, 0xdf, 0xed, 0x75, 0xda, 0x3e, 0xa9, 0x30, 0x5f,
   849  	0x7a, 0x91, 0xa5, 0x6a, 0xbc, 0x10, 0x9e, 0x9c, 0x0f, 0x00, 0x25, 0xc0, 0xa7, 0xc2, 0xf3, 0xda,
   850  	0xc7, 0xc2, 0x77, 0x22, 0x4b, 0x13, 0x65, 0xea, 0xc1, 0x42, 0xf9, 0xa7, 0x25, 0xc8, 0x1b, 0x6e,
   851  	0x7f, 0x34, 0x74, 0x4f, 0xde, 0xa7, 0x47, 0xf7, 0x00, 0x84, 0xc6, 0xfb, 0x6e, 0x57, 0xc4, 0x7d,
   852  	0x2a, 0x4c, 0xc6, 0xa5, 0x0c, 0xd6, 0x2c, 0xb7, 0x1b, 0xb8, 0x3e, 0x1d, 0xd3, 0x8c, 0x08, 0x46,
   853  	0x5d, 0x74, 0x13, 0xf2, 0x9d, 0x60, 0xf7, 0x48, 0x57, 0xc0, 0x34, 0x17, 0x46, 0x43, 0x51, 0xb7,
   854  	0x60, 0x33, 0x82, 0x45, 0x8a, 0x56, 0x7c, 0x5c, 0x94, 0x1d, 0xca, 0x41, 0x16, 0x5c, 0x88, 0x80,
   855  	0xed, 0xce, 0x0b, 0x3e, 0x0c, 0xc8, 0x16, 0xd2, 0xfe, 0xd9, 0x2d, 0xce, 0x08, 0x09, 0x55, 0xeb,
   856  	0x9d, 0x17, 0xa1, 0x24, 0xba, 0xd5, 0x99, 0x0f, 0x95, 0xff, 0x50, 0x60, 0x73, 0x6a, 0xcf, 0xfb,
   857  	0xf4, 0x90, 0xce, 0x10, 0xeb, 0xbb, 0xdf, 0x9c, 0x88, 0xee, 0xb1, 0x08, 0xaf, 0x65, 0xe9, 0x1f,
   858  	0x88, 0x45, 0xb0, 0xa3, 0x14, 0x45, 0x9d, 0x73, 0x51, 0x54, 0x8d, 0x5d, 0xf9, 0xb2, 0xdd, 0x3b,
   859  	0x39, 0x1b, 0x06, 0x7d, 0x9e, 0x67, 0x14, 0xd6, 0xab, 0x06, 0x90, 0xa3, 0xd4, 0xd4, 0xb4, 0x30,
   860  	0x52, 0x01, 0xc8, 0x44, 0x17, 0xb7, 0xfc, 0x10, 0xd0, 0xf9, 0xfd, 0x93, 0xfe, 0xbb, 0x67, 0xa3,
   861  	0x8e, 0x1b, 0x3e, 0xd7, 0xb1, 0xff, 0x76, 0x10, 0x2d, 0x7f, 0x3b, 0x3d, 0x4d, 0x61, 0x71, 0xb4,
   862  	0x07, 0xe9, 0x4e, 0xfb, 0xcc, 0x8b, 0x5e, 0x30, 0x34, 0x4b, 0x4d, 0xae, 0xd0, 0x00, 0xb0, 0x68,
   863  	0x93, 0xa5, 0x45, 0x9b, 0xa0, 0x02, 0xac, 0x25, 0xcf, 0xf5, 0x3a, 0x8d, 0xa6, 0xfb, 0x1f, 0x41,
   864  	0x36, 0xf9, 0x28, 0xa2, 0x75, 0x48, 0x37, 0xa8, 0xed, 0xd8, 0x6a, 0x0a, 0x65, 0x21, 0xa3, 0x33,
   865  	0xeb, 0x43, 0xde, 0xc0, 0x54, 0x55, 0xa6, 0xb3, 0xa7, 0x98, 0xaa, 0x4b, 0xfb, 0xf7, 0xe3, 0xf7,
   866  	0x37, 0x78, 0xb9, 0x10, 0xc0, 0x6a, 0x55, 0x27, 0x35, 0x6c, 0xaa, 0x29, 0x94, 0x83, 0x75, 0xd6,
   867  	0x34, 0x0c, 0x8c, 0x4d, 0x6c, 0x06, 0xa9, 0x14, 0x7f, 0x8e, 0x0d, 0x07, 0x9b, 0xea, 0xd2, 0xfe,
   868  	0x9f, 0x19, 0x48, 0xfb, 0x2a, 0xd0, 0x16, 0xe4, 0x0c, 0xbd, 0xc9, 0x30, 0x6f, 0x5a, 0x8f, 0x2d,
   869  	0xfb, 0x89, 0xa5, 0xa6, 0xd0, 0x3e, 0xfc, 0x2f, 0x08, 0xd5, 0x09, 0x33, 0xb8, 0x61, 0x5b, 0x0e,
   870  	0xb5, 0x6b, 0xbc, 0x41, 0x6d, 0x03, 0x33, 0x46, 0xac, 0x47, 0xdc, 0x6e, 0x61, 0x5a, 0xb3, 0x75,
   871  	0x59, 0xb6, 0x04, 0xbb, 0x09, 0xec, 0x91, 0x4e, 0xcd, 0x27, 0x3a, 0xc5, 0x5c, 0xb2, 0x68, 0x52,
   872  	0xac, 0x2e, 0xa1, 0x22, 0xec, 0x24, 0x00, 0x76, 0x9d, 0x13, 0xcb, 0xc1, 0xb4, 0x85, 0x2d, 0x87,
   873  	0xd8, 0x96, 0xba, 0x8c, 0x76, 0xe0, 0x72, 0x62, 0xbd, 0x69, 0xb1, 0x06, 0x36, 0x48, 0x95, 0x60,
   874  	0x53, 0x5d, 0x41, 0x7b, 0x70, 0x23, 0x58, 0xf3, 0xdd, 0x30, 0xec, 0x1a, 0x77, 0xa8, 0x6e, 0xb1,
   875  	0x2a, 0xa6, 0x9c, 0x3d, 0xb3, 0x1c, 0xfd, 0x29, 0xc7, 0x94, 0xda, 0x54, 0x4d, 0xa3, 0x43, 0xb8,
   876  	0x3d, 0x87, 0xd4, 0x2b, 0xcc, 0xa1, 0xba, 0xe1, 0xcc, 0x20, 0x79, 0x60, 0x81, 0xba, 0x8a, 0x3e,
   877  	0x81, 0x7b, 0xef, 0x94, 0x40, 0x1e, 0x59, 0x36, 0xc5, 0x5c, 0xb7, 0x4c, 0x6e, 0xd9, 0x0e, 0xa9,
   878  	0x3e, 0x53, 0xd7, 0xd0, 0x43, 0xb8, 0x3f, 0x97, 0x5b, 0xc7, 0x8c, 0xe9, 0x8f, 0xb0, 0x84, 0x70,
   879  	0xc3, 0xae, 0x37, 0x74, 0x87, 0x54, 0x6a, 0x98, 0x3f, 0x21, 0xce, 0x11, 0xa7, 0xd8, 0xc0, 0xa4,
   880  	0x25, 0x29, 0x3b, 0xba, 0x83, 0xd5, 0x0c, 0xba, 0x0e, 0x57, 0xe7, 0xd2, 0x19, 0xae, 0xeb, 0x96,
   881  	0x43, 0x8c, 0x50, 0xce, 0x3a, 0x32, 0xe1, 0xb3, 0x77, 0x62, 0x57, 0xd5, 0x6b, 0x0c, 0xd7, 0x9e,
   882  	0xc9, 0x1e, 0x31, 0x87, 0x36, 0x65, 0x73, 0x23, 0x2e, 0x2a, 0xc4, 0xd6, 0x4f, 0xab, 0x24, 0xed,
   883  	0xdd, 0x40, 0x37, 0xe1, 0x7a, 0xb0, 0x4e, 0x89, 0xc1, 0xa9, 0x6e, 0xf1, 0x6a, 0xd3, 0x32, 0x64,
   884  	0x5b, 0x38, 0x31, 0x39, 0xb1, 0x5a, 0x7a, 0x8d, 0x98, 0x6a, 0x16, 0x95, 0xa1, 0x18, 0xc3, 0xf4,
   885  	0x00, 0x20, 0x85, 0xb2, 0x66, 0xa3, 0x61, 0x53, 0x79, 0x9e, 0x72, 0xf1, 0x31, 0x90, 0x18, 0xfc,
   886  	0xd4, 0x3f, 0x28, 0x2d, 0x1c, 0xa2, 0x99, 0x9a, 0x8f, 0xb9, 0x48, 0x80, 0xd9, 0x6c, 0xd4, 0x88,
   887  	0xa1, 0x3b, 0x11, 0x40, 0xdd, 0x44, 0x57, 0x61, 0x7b, 0xd1, 0x3a, 0x96, 0x07, 0x45, 0x55, 0x67,
   888  	0xa9, 0x4e, 0x69, 0x52, 0xcc, 0xec, 0x26, 0x35, 0x30, 0xaf, 0x91, 0x3a, 0x71, 0xd4, 0x2d, 0x74,
   889  	0x0d, 0xae, 0x24, 0x14, 0xe1, 0x2f, 0x9a, 0x98, 0x39, 0x52, 0x4c, 0x74, 0xb6, 0x11, 0x7a, 0x00,
   890  	0x1f, 0xc7, 0x08, 0x62, 0x49, 0xe3, 0x08, 0x73, 0xb0, 0xe5, 0x44, 0xca, 0x58, 0xb3, 0xc2, 0x64,
   891  	0x62, 0x22, 0xe2, 0x4f, 0x0d, 0xac, 0x5e, 0x98, 0xa5, 0x11, 0x5d, 0x8c, 0xa8, 0xf9, 0x91, 0x63,
   892  	0x17, 0xe7, 0x60, 0x7a, 0x6d, 0x7a, 0x79, 0x92, 0xc6, 0x5e, 0x42, 0xdb, 0x70, 0x29, 0x86, 0x25,
   893  	0x5b, 0x73, 0x39, 0xbe, 0x82, 0x94, 0x18, 0x0c, 0xd3, 0x16, 0x31, 0x70, 0x2c, 0x5b, 0x9a, 0x2f,
   894  	0xc5, 0x11, 0x8a, 0x4d, 0xf5, 0x3f, 0xf1, 0x2d, 0x49, 0x60, 0xe3, 0x16, 0x44, 0x59, 0x4c, 0x2d,
   895  	0xa0, 0x5b, 0xf0, 0xdf, 0x73, 0xc8, 0xc0, 0xa9, 0x19, 0x1f, 0xb7, 0xe3, 0x76, 0xfa, 0xf7, 0x4d,
   896  	0x76, 0x79, 0x86, 0xdf, 0x0e, 0xd2, 0xe0, 0x60, 0x1e, 0x10, 0x8f, 0xa6, 0xe5, 0x9a, 0x96, 0xde,
   897  	0xd2, 0x49, 0x4d, 0xaf, 0xd4, 0xb0, 0xba, 0xbb, 0xaf, 0xc1, 0xd6, 0xb9, 0x1f, 0x2f, 0xb4, 0x06,
   898  	0xcb, 0xba, 0xf1, 0x58, 0x4d, 0xc9, 0xa7, 0xcb, 0xb2, 0xb9, 0x1c, 0x2b, 0x28, 0x03, 0x2b, 0x96,
   899  	0x1c, 0x2d, 0x69, 0x3f, 0x2a, 0x00, 0x58, 0x73, 0xc2, 0x4f, 0x3e, 0x84, 0x61, 0x35, 0xf8, 0x32,
   900  	0x41, 0xb3, 0xbf, 0xee, 0x33, 0x5f, 0x6b, 0x3b, 0xbb, 0x0b, 0xd7, 0x82, 0x87, 0x72, 0x4f, 0xb9,
   901  	0xa3, 0x20, 0x13, 0xd6, 0x42, 0x26, 0x68, 0xe1, 0x6f, 0x4e, 0x54, 0xe8, 0xca, 0xe2, 0xc5, 0xa0,
   902  	0x52, 0xa5, 0xf0, 0xcb, 0xa4, 0xa8, 0xbc, 0x9e, 0x14, 0x95, 0xdf, 0x27, 0x45, 0xe5, 0x87, 0x37,
   903  	0xc5, 0xd4, 0xeb, 0x37, 0xc5, 0xd4, 0x6f, 0x6f, 0x8a, 0xa9, 0xe7, 0xab, 0xfe, 0x5f, 0x86, 0xbb,
   904  	0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0x58, 0xe8, 0xed, 0x8f, 0x6d, 0x0c, 0x00, 0x00,
   905  }
   906  
   907  // Reference imports to suppress errors if they are not otherwise used.
   908  var _ context.Context
   909  var _ grpc.ClientConn
   910  
   911  // This is a compile-time assertion to ensure that this generated file
   912  // is compatible with the grpc package it is being compiled against.
   913  const _ = grpc.SupportPackageIsVersion4
   914  
   915  // E2TServiceClient is the client API for E2TService service.
   916  //
   917  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   918  type E2TServiceClient interface {
   919  	// Stream opens an indications stream
   920  	Stream(ctx context.Context, opts ...grpc.CallOption) (E2TService_StreamClient, error)
   921  	// Control sends a E2 control request
   922  	Control(ctx context.Context, in *ControlRequest, opts ...grpc.CallOption) (*ControlResponse, error)
   923  }
   924  
   925  type e2TServiceClient struct {
   926  	cc *grpc.ClientConn
   927  }
   928  
   929  func NewE2TServiceClient(cc *grpc.ClientConn) E2TServiceClient {
   930  	return &e2TServiceClient{cc}
   931  }
   932  
   933  func (c *e2TServiceClient) Stream(ctx context.Context, opts ...grpc.CallOption) (E2TService_StreamClient, error) {
   934  	stream, err := c.cc.NewStream(ctx, &_E2TService_serviceDesc.Streams[0], "/onos.e2t.e2.E2TService/Stream", opts...)
   935  	if err != nil {
   936  		return nil, err
   937  	}
   938  	x := &e2TServiceStreamClient{stream}
   939  	return x, nil
   940  }
   941  
   942  type E2TService_StreamClient interface {
   943  	Send(*StreamRequest) error
   944  	Recv() (*StreamResponse, error)
   945  	grpc.ClientStream
   946  }
   947  
   948  type e2TServiceStreamClient struct {
   949  	grpc.ClientStream
   950  }
   951  
   952  func (x *e2TServiceStreamClient) Send(m *StreamRequest) error {
   953  	return x.ClientStream.SendMsg(m)
   954  }
   955  
   956  func (x *e2TServiceStreamClient) Recv() (*StreamResponse, error) {
   957  	m := new(StreamResponse)
   958  	if err := x.ClientStream.RecvMsg(m); err != nil {
   959  		return nil, err
   960  	}
   961  	return m, nil
   962  }
   963  
   964  func (c *e2TServiceClient) Control(ctx context.Context, in *ControlRequest, opts ...grpc.CallOption) (*ControlResponse, error) {
   965  	out := new(ControlResponse)
   966  	err := c.cc.Invoke(ctx, "/onos.e2t.e2.E2TService/Control", in, out, opts...)
   967  	if err != nil {
   968  		return nil, err
   969  	}
   970  	return out, nil
   971  }
   972  
   973  // E2TServiceServer is the server API for E2TService service.
   974  type E2TServiceServer interface {
   975  	// Stream opens an indications stream
   976  	Stream(E2TService_StreamServer) error
   977  	// Control sends a E2 control request
   978  	Control(context.Context, *ControlRequest) (*ControlResponse, error)
   979  }
   980  
   981  // UnimplementedE2TServiceServer can be embedded to have forward compatible implementations.
   982  type UnimplementedE2TServiceServer struct {
   983  }
   984  
   985  func (*UnimplementedE2TServiceServer) Stream(srv E2TService_StreamServer) error {
   986  	return status.Errorf(codes.Unimplemented, "method Stream not implemented")
   987  }
   988  func (*UnimplementedE2TServiceServer) Control(ctx context.Context, req *ControlRequest) (*ControlResponse, error) {
   989  	return nil, status.Errorf(codes.Unimplemented, "method Control not implemented")
   990  }
   991  
   992  func RegisterE2TServiceServer(s *grpc.Server, srv E2TServiceServer) {
   993  	s.RegisterService(&_E2TService_serviceDesc, srv)
   994  }
   995  
   996  func _E2TService_Stream_Handler(srv interface{}, stream grpc.ServerStream) error {
   997  	return srv.(E2TServiceServer).Stream(&e2TServiceStreamServer{stream})
   998  }
   999  
  1000  type E2TService_StreamServer interface {
  1001  	Send(*StreamResponse) error
  1002  	Recv() (*StreamRequest, error)
  1003  	grpc.ServerStream
  1004  }
  1005  
  1006  type e2TServiceStreamServer struct {
  1007  	grpc.ServerStream
  1008  }
  1009  
  1010  func (x *e2TServiceStreamServer) Send(m *StreamResponse) error {
  1011  	return x.ServerStream.SendMsg(m)
  1012  }
  1013  
  1014  func (x *e2TServiceStreamServer) Recv() (*StreamRequest, error) {
  1015  	m := new(StreamRequest)
  1016  	if err := x.ServerStream.RecvMsg(m); err != nil {
  1017  		return nil, err
  1018  	}
  1019  	return m, nil
  1020  }
  1021  
  1022  func _E2TService_Control_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1023  	in := new(ControlRequest)
  1024  	if err := dec(in); err != nil {
  1025  		return nil, err
  1026  	}
  1027  	if interceptor == nil {
  1028  		return srv.(E2TServiceServer).Control(ctx, in)
  1029  	}
  1030  	info := &grpc.UnaryServerInfo{
  1031  		Server:     srv,
  1032  		FullMethod: "/onos.e2t.e2.E2TService/Control",
  1033  	}
  1034  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1035  		return srv.(E2TServiceServer).Control(ctx, req.(*ControlRequest))
  1036  	}
  1037  	return interceptor(ctx, in, info, handler)
  1038  }
  1039  
  1040  var _E2TService_serviceDesc = grpc.ServiceDesc{
  1041  	ServiceName: "onos.e2t.e2.E2TService",
  1042  	HandlerType: (*E2TServiceServer)(nil),
  1043  	Methods: []grpc.MethodDesc{
  1044  		{
  1045  			MethodName: "Control",
  1046  			Handler:    _E2TService_Control_Handler,
  1047  		},
  1048  	},
  1049  	Streams: []grpc.StreamDesc{
  1050  		{
  1051  			StreamName:    "Stream",
  1052  			Handler:       _E2TService_Stream_Handler,
  1053  			ServerStreams: true,
  1054  			ClientStreams: true,
  1055  		},
  1056  	},
  1057  	Metadata: "onos/e2t/e2/e2.proto",
  1058  }
  1059  
  1060  func (m *ServiceModel) Marshal() (dAtA []byte, err error) {
  1061  	size := m.Size()
  1062  	dAtA = make([]byte, size)
  1063  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1064  	if err != nil {
  1065  		return nil, err
  1066  	}
  1067  	return dAtA[:n], nil
  1068  }
  1069  
  1070  func (m *ServiceModel) MarshalTo(dAtA []byte) (int, error) {
  1071  	size := m.Size()
  1072  	return m.MarshalToSizedBuffer(dAtA[:size])
  1073  }
  1074  
  1075  func (m *ServiceModel) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1076  	i := len(dAtA)
  1077  	_ = i
  1078  	var l int
  1079  	_ = l
  1080  	if len(m.Version) > 0 {
  1081  		i -= len(m.Version)
  1082  		copy(dAtA[i:], m.Version)
  1083  		i = encodeVarintE2(dAtA, i, uint64(len(m.Version)))
  1084  		i--
  1085  		dAtA[i] = 0x12
  1086  	}
  1087  	if len(m.Name) > 0 {
  1088  		i -= len(m.Name)
  1089  		copy(dAtA[i:], m.Name)
  1090  		i = encodeVarintE2(dAtA, i, uint64(len(m.Name)))
  1091  		i--
  1092  		dAtA[i] = 0xa
  1093  	}
  1094  	return len(dAtA) - i, nil
  1095  }
  1096  
  1097  func (m *RequestHeader) Marshal() (dAtA []byte, err error) {
  1098  	size := m.Size()
  1099  	dAtA = make([]byte, size)
  1100  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1101  	if err != nil {
  1102  		return nil, err
  1103  	}
  1104  	return dAtA[:n], nil
  1105  }
  1106  
  1107  func (m *RequestHeader) MarshalTo(dAtA []byte) (int, error) {
  1108  	size := m.Size()
  1109  	return m.MarshalToSizedBuffer(dAtA[:size])
  1110  }
  1111  
  1112  func (m *RequestHeader) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1113  	i := len(dAtA)
  1114  	_ = i
  1115  	var l int
  1116  	_ = l
  1117  	if m.ServiceModel != nil {
  1118  		{
  1119  			size, err := m.ServiceModel.MarshalToSizedBuffer(dAtA[:i])
  1120  			if err != nil {
  1121  				return 0, err
  1122  			}
  1123  			i -= size
  1124  			i = encodeVarintE2(dAtA, i, uint64(size))
  1125  		}
  1126  		i--
  1127  		dAtA[i] = 0x12
  1128  	}
  1129  	if m.EncodingType != 0 {
  1130  		i = encodeVarintE2(dAtA, i, uint64(m.EncodingType))
  1131  		i--
  1132  		dAtA[i] = 0x8
  1133  	}
  1134  	return len(dAtA) - i, nil
  1135  }
  1136  
  1137  func (m *ResponseHeader) Marshal() (dAtA []byte, err error) {
  1138  	size := m.Size()
  1139  	dAtA = make([]byte, size)
  1140  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1141  	if err != nil {
  1142  		return nil, err
  1143  	}
  1144  	return dAtA[:n], nil
  1145  }
  1146  
  1147  func (m *ResponseHeader) MarshalTo(dAtA []byte) (int, error) {
  1148  	size := m.Size()
  1149  	return m.MarshalToSizedBuffer(dAtA[:size])
  1150  }
  1151  
  1152  func (m *ResponseHeader) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1153  	i := len(dAtA)
  1154  	_ = i
  1155  	var l int
  1156  	_ = l
  1157  	if m.ResponseStatus != 0 {
  1158  		i = encodeVarintE2(dAtA, i, uint64(m.ResponseStatus))
  1159  		i--
  1160  		dAtA[i] = 0x18
  1161  	}
  1162  	if m.ServiceModel != nil {
  1163  		{
  1164  			size, err := m.ServiceModel.MarshalToSizedBuffer(dAtA[:i])
  1165  			if err != nil {
  1166  				return 0, err
  1167  			}
  1168  			i -= size
  1169  			i = encodeVarintE2(dAtA, i, uint64(size))
  1170  		}
  1171  		i--
  1172  		dAtA[i] = 0x12
  1173  	}
  1174  	if m.EncodingType != 0 {
  1175  		i = encodeVarintE2(dAtA, i, uint64(m.EncodingType))
  1176  		i--
  1177  		dAtA[i] = 0x8
  1178  	}
  1179  	return len(dAtA) - i, nil
  1180  }
  1181  
  1182  func (m *StreamRequest) Marshal() (dAtA []byte, err error) {
  1183  	size := m.Size()
  1184  	dAtA = make([]byte, size)
  1185  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1186  	if err != nil {
  1187  		return nil, err
  1188  	}
  1189  	return dAtA[:n], nil
  1190  }
  1191  
  1192  func (m *StreamRequest) MarshalTo(dAtA []byte) (int, error) {
  1193  	size := m.Size()
  1194  	return m.MarshalToSizedBuffer(dAtA[:size])
  1195  }
  1196  
  1197  func (m *StreamRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1198  	i := len(dAtA)
  1199  	_ = i
  1200  	var l int
  1201  	_ = l
  1202  	if len(m.SubscriptionID) > 0 {
  1203  		i -= len(m.SubscriptionID)
  1204  		copy(dAtA[i:], m.SubscriptionID)
  1205  		i = encodeVarintE2(dAtA, i, uint64(len(m.SubscriptionID)))
  1206  		i--
  1207  		dAtA[i] = 0x22
  1208  	}
  1209  	if len(m.InstanceID) > 0 {
  1210  		i -= len(m.InstanceID)
  1211  		copy(dAtA[i:], m.InstanceID)
  1212  		i = encodeVarintE2(dAtA, i, uint64(len(m.InstanceID)))
  1213  		i--
  1214  		dAtA[i] = 0x1a
  1215  	}
  1216  	if len(m.AppID) > 0 {
  1217  		i -= len(m.AppID)
  1218  		copy(dAtA[i:], m.AppID)
  1219  		i = encodeVarintE2(dAtA, i, uint64(len(m.AppID)))
  1220  		i--
  1221  		dAtA[i] = 0x12
  1222  	}
  1223  	if m.Header != nil {
  1224  		{
  1225  			size, err := m.Header.MarshalToSizedBuffer(dAtA[:i])
  1226  			if err != nil {
  1227  				return 0, err
  1228  			}
  1229  			i -= size
  1230  			i = encodeVarintE2(dAtA, i, uint64(size))
  1231  		}
  1232  		i--
  1233  		dAtA[i] = 0xa
  1234  	}
  1235  	return len(dAtA) - i, nil
  1236  }
  1237  
  1238  func (m *StreamResponse) Marshal() (dAtA []byte, err error) {
  1239  	size := m.Size()
  1240  	dAtA = make([]byte, size)
  1241  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1242  	if err != nil {
  1243  		return nil, err
  1244  	}
  1245  	return dAtA[:n], nil
  1246  }
  1247  
  1248  func (m *StreamResponse) MarshalTo(dAtA []byte) (int, error) {
  1249  	size := m.Size()
  1250  	return m.MarshalToSizedBuffer(dAtA[:size])
  1251  }
  1252  
  1253  func (m *StreamResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1254  	i := len(dAtA)
  1255  	_ = i
  1256  	var l int
  1257  	_ = l
  1258  	if len(m.IndicationMessage) > 0 {
  1259  		i -= len(m.IndicationMessage)
  1260  		copy(dAtA[i:], m.IndicationMessage)
  1261  		i = encodeVarintE2(dAtA, i, uint64(len(m.IndicationMessage)))
  1262  		i--
  1263  		dAtA[i] = 0x1a
  1264  	}
  1265  	if len(m.IndicationHeader) > 0 {
  1266  		i -= len(m.IndicationHeader)
  1267  		copy(dAtA[i:], m.IndicationHeader)
  1268  		i = encodeVarintE2(dAtA, i, uint64(len(m.IndicationHeader)))
  1269  		i--
  1270  		dAtA[i] = 0x12
  1271  	}
  1272  	if m.Header != nil {
  1273  		{
  1274  			size, err := m.Header.MarshalToSizedBuffer(dAtA[:i])
  1275  			if err != nil {
  1276  				return 0, err
  1277  			}
  1278  			i -= size
  1279  			i = encodeVarintE2(dAtA, i, uint64(size))
  1280  		}
  1281  		i--
  1282  		dAtA[i] = 0xa
  1283  	}
  1284  	return len(dAtA) - i, nil
  1285  }
  1286  
  1287  func (m *ControlRequest) Marshal() (dAtA []byte, err error) {
  1288  	size := m.Size()
  1289  	dAtA = make([]byte, size)
  1290  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1291  	if err != nil {
  1292  		return nil, err
  1293  	}
  1294  	return dAtA[:n], nil
  1295  }
  1296  
  1297  func (m *ControlRequest) MarshalTo(dAtA []byte) (int, error) {
  1298  	size := m.Size()
  1299  	return m.MarshalToSizedBuffer(dAtA[:size])
  1300  }
  1301  
  1302  func (m *ControlRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1303  	i := len(dAtA)
  1304  	_ = i
  1305  	var l int
  1306  	_ = l
  1307  	if m.ControlAckRequest != 0 {
  1308  		i = encodeVarintE2(dAtA, i, uint64(m.ControlAckRequest))
  1309  		i--
  1310  		dAtA[i] = 0x28
  1311  	}
  1312  	if len(m.ControlMessage) > 0 {
  1313  		i -= len(m.ControlMessage)
  1314  		copy(dAtA[i:], m.ControlMessage)
  1315  		i = encodeVarintE2(dAtA, i, uint64(len(m.ControlMessage)))
  1316  		i--
  1317  		dAtA[i] = 0x22
  1318  	}
  1319  	if len(m.ControlHeader) > 0 {
  1320  		i -= len(m.ControlHeader)
  1321  		copy(dAtA[i:], m.ControlHeader)
  1322  		i = encodeVarintE2(dAtA, i, uint64(len(m.ControlHeader)))
  1323  		i--
  1324  		dAtA[i] = 0x1a
  1325  	}
  1326  	if len(m.E2NodeID) > 0 {
  1327  		i -= len(m.E2NodeID)
  1328  		copy(dAtA[i:], m.E2NodeID)
  1329  		i = encodeVarintE2(dAtA, i, uint64(len(m.E2NodeID)))
  1330  		i--
  1331  		dAtA[i] = 0x12
  1332  	}
  1333  	if m.Header != nil {
  1334  		{
  1335  			size, err := m.Header.MarshalToSizedBuffer(dAtA[:i])
  1336  			if err != nil {
  1337  				return 0, err
  1338  			}
  1339  			i -= size
  1340  			i = encodeVarintE2(dAtA, i, uint64(size))
  1341  		}
  1342  		i--
  1343  		dAtA[i] = 0xa
  1344  	}
  1345  	return len(dAtA) - i, nil
  1346  }
  1347  
  1348  func (m *ControlResponse) Marshal() (dAtA []byte, err error) {
  1349  	size := m.Size()
  1350  	dAtA = make([]byte, size)
  1351  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1352  	if err != nil {
  1353  		return nil, err
  1354  	}
  1355  	return dAtA[:n], nil
  1356  }
  1357  
  1358  func (m *ControlResponse) MarshalTo(dAtA []byte) (int, error) {
  1359  	size := m.Size()
  1360  	return m.MarshalToSizedBuffer(dAtA[:size])
  1361  }
  1362  
  1363  func (m *ControlResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1364  	i := len(dAtA)
  1365  	_ = i
  1366  	var l int
  1367  	_ = l
  1368  	if m.Response != nil {
  1369  		{
  1370  			size := m.Response.Size()
  1371  			i -= size
  1372  			if _, err := m.Response.MarshalTo(dAtA[i:]); err != nil {
  1373  				return 0, err
  1374  			}
  1375  		}
  1376  	}
  1377  	if m.Header != nil {
  1378  		{
  1379  			size, err := m.Header.MarshalToSizedBuffer(dAtA[:i])
  1380  			if err != nil {
  1381  				return 0, err
  1382  			}
  1383  			i -= size
  1384  			i = encodeVarintE2(dAtA, i, uint64(size))
  1385  		}
  1386  		i--
  1387  		dAtA[i] = 0xa
  1388  	}
  1389  	return len(dAtA) - i, nil
  1390  }
  1391  
  1392  func (m *ControlResponse_ControlAcknowledge) MarshalTo(dAtA []byte) (int, error) {
  1393  	size := m.Size()
  1394  	return m.MarshalToSizedBuffer(dAtA[:size])
  1395  }
  1396  
  1397  func (m *ControlResponse_ControlAcknowledge) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1398  	i := len(dAtA)
  1399  	if m.ControlAcknowledge != nil {
  1400  		{
  1401  			size, err := m.ControlAcknowledge.MarshalToSizedBuffer(dAtA[:i])
  1402  			if err != nil {
  1403  				return 0, err
  1404  			}
  1405  			i -= size
  1406  			i = encodeVarintE2(dAtA, i, uint64(size))
  1407  		}
  1408  		i--
  1409  		dAtA[i] = 0x12
  1410  	}
  1411  	return len(dAtA) - i, nil
  1412  }
  1413  func (m *ControlResponse_ControlFailure) MarshalTo(dAtA []byte) (int, error) {
  1414  	size := m.Size()
  1415  	return m.MarshalToSizedBuffer(dAtA[:size])
  1416  }
  1417  
  1418  func (m *ControlResponse_ControlFailure) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1419  	i := len(dAtA)
  1420  	if m.ControlFailure != nil {
  1421  		{
  1422  			size, err := m.ControlFailure.MarshalToSizedBuffer(dAtA[:i])
  1423  			if err != nil {
  1424  				return 0, err
  1425  			}
  1426  			i -= size
  1427  			i = encodeVarintE2(dAtA, i, uint64(size))
  1428  		}
  1429  		i--
  1430  		dAtA[i] = 0x1a
  1431  	}
  1432  	return len(dAtA) - i, nil
  1433  }
  1434  func (m *ControlAcknowledge) Marshal() (dAtA []byte, err error) {
  1435  	size := m.Size()
  1436  	dAtA = make([]byte, size)
  1437  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1438  	if err != nil {
  1439  		return nil, err
  1440  	}
  1441  	return dAtA[:n], nil
  1442  }
  1443  
  1444  func (m *ControlAcknowledge) MarshalTo(dAtA []byte) (int, error) {
  1445  	size := m.Size()
  1446  	return m.MarshalToSizedBuffer(dAtA[:size])
  1447  }
  1448  
  1449  func (m *ControlAcknowledge) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1450  	i := len(dAtA)
  1451  	_ = i
  1452  	var l int
  1453  	_ = l
  1454  	if len(m.ControlOutcome) > 0 {
  1455  		i -= len(m.ControlOutcome)
  1456  		copy(dAtA[i:], m.ControlOutcome)
  1457  		i = encodeVarintE2(dAtA, i, uint64(len(m.ControlOutcome)))
  1458  		i--
  1459  		dAtA[i] = 0xa
  1460  	}
  1461  	return len(dAtA) - i, nil
  1462  }
  1463  
  1464  func (m *ControlFailure) Marshal() (dAtA []byte, err error) {
  1465  	size := m.Size()
  1466  	dAtA = make([]byte, size)
  1467  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1468  	if err != nil {
  1469  		return nil, err
  1470  	}
  1471  	return dAtA[:n], nil
  1472  }
  1473  
  1474  func (m *ControlFailure) MarshalTo(dAtA []byte) (int, error) {
  1475  	size := m.Size()
  1476  	return m.MarshalToSizedBuffer(dAtA[:size])
  1477  }
  1478  
  1479  func (m *ControlFailure) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1480  	i := len(dAtA)
  1481  	_ = i
  1482  	var l int
  1483  	_ = l
  1484  	if len(m.Message) > 0 {
  1485  		i -= len(m.Message)
  1486  		copy(dAtA[i:], m.Message)
  1487  		i = encodeVarintE2(dAtA, i, uint64(len(m.Message)))
  1488  		i--
  1489  		dAtA[i] = 0x1a
  1490  	}
  1491  	if len(m.ControlOutcome) > 0 {
  1492  		i -= len(m.ControlOutcome)
  1493  		copy(dAtA[i:], m.ControlOutcome)
  1494  		i = encodeVarintE2(dAtA, i, uint64(len(m.ControlOutcome)))
  1495  		i--
  1496  		dAtA[i] = 0x12
  1497  	}
  1498  	if m.Cause != 0 {
  1499  		i = encodeVarintE2(dAtA, i, uint64(m.Cause))
  1500  		i--
  1501  		dAtA[i] = 0x8
  1502  	}
  1503  	return len(dAtA) - i, nil
  1504  }
  1505  
  1506  func encodeVarintE2(dAtA []byte, offset int, v uint64) int {
  1507  	offset -= sovE2(v)
  1508  	base := offset
  1509  	for v >= 1<<7 {
  1510  		dAtA[offset] = uint8(v&0x7f | 0x80)
  1511  		v >>= 7
  1512  		offset++
  1513  	}
  1514  	dAtA[offset] = uint8(v)
  1515  	return base
  1516  }
  1517  func (m *ServiceModel) Size() (n int) {
  1518  	if m == nil {
  1519  		return 0
  1520  	}
  1521  	var l int
  1522  	_ = l
  1523  	l = len(m.Name)
  1524  	if l > 0 {
  1525  		n += 1 + l + sovE2(uint64(l))
  1526  	}
  1527  	l = len(m.Version)
  1528  	if l > 0 {
  1529  		n += 1 + l + sovE2(uint64(l))
  1530  	}
  1531  	return n
  1532  }
  1533  
  1534  func (m *RequestHeader) Size() (n int) {
  1535  	if m == nil {
  1536  		return 0
  1537  	}
  1538  	var l int
  1539  	_ = l
  1540  	if m.EncodingType != 0 {
  1541  		n += 1 + sovE2(uint64(m.EncodingType))
  1542  	}
  1543  	if m.ServiceModel != nil {
  1544  		l = m.ServiceModel.Size()
  1545  		n += 1 + l + sovE2(uint64(l))
  1546  	}
  1547  	return n
  1548  }
  1549  
  1550  func (m *ResponseHeader) Size() (n int) {
  1551  	if m == nil {
  1552  		return 0
  1553  	}
  1554  	var l int
  1555  	_ = l
  1556  	if m.EncodingType != 0 {
  1557  		n += 1 + sovE2(uint64(m.EncodingType))
  1558  	}
  1559  	if m.ServiceModel != nil {
  1560  		l = m.ServiceModel.Size()
  1561  		n += 1 + l + sovE2(uint64(l))
  1562  	}
  1563  	if m.ResponseStatus != 0 {
  1564  		n += 1 + sovE2(uint64(m.ResponseStatus))
  1565  	}
  1566  	return n
  1567  }
  1568  
  1569  func (m *StreamRequest) Size() (n int) {
  1570  	if m == nil {
  1571  		return 0
  1572  	}
  1573  	var l int
  1574  	_ = l
  1575  	if m.Header != nil {
  1576  		l = m.Header.Size()
  1577  		n += 1 + l + sovE2(uint64(l))
  1578  	}
  1579  	l = len(m.AppID)
  1580  	if l > 0 {
  1581  		n += 1 + l + sovE2(uint64(l))
  1582  	}
  1583  	l = len(m.InstanceID)
  1584  	if l > 0 {
  1585  		n += 1 + l + sovE2(uint64(l))
  1586  	}
  1587  	l = len(m.SubscriptionID)
  1588  	if l > 0 {
  1589  		n += 1 + l + sovE2(uint64(l))
  1590  	}
  1591  	return n
  1592  }
  1593  
  1594  func (m *StreamResponse) Size() (n int) {
  1595  	if m == nil {
  1596  		return 0
  1597  	}
  1598  	var l int
  1599  	_ = l
  1600  	if m.Header != nil {
  1601  		l = m.Header.Size()
  1602  		n += 1 + l + sovE2(uint64(l))
  1603  	}
  1604  	l = len(m.IndicationHeader)
  1605  	if l > 0 {
  1606  		n += 1 + l + sovE2(uint64(l))
  1607  	}
  1608  	l = len(m.IndicationMessage)
  1609  	if l > 0 {
  1610  		n += 1 + l + sovE2(uint64(l))
  1611  	}
  1612  	return n
  1613  }
  1614  
  1615  func (m *ControlRequest) Size() (n int) {
  1616  	if m == nil {
  1617  		return 0
  1618  	}
  1619  	var l int
  1620  	_ = l
  1621  	if m.Header != nil {
  1622  		l = m.Header.Size()
  1623  		n += 1 + l + sovE2(uint64(l))
  1624  	}
  1625  	l = len(m.E2NodeID)
  1626  	if l > 0 {
  1627  		n += 1 + l + sovE2(uint64(l))
  1628  	}
  1629  	l = len(m.ControlHeader)
  1630  	if l > 0 {
  1631  		n += 1 + l + sovE2(uint64(l))
  1632  	}
  1633  	l = len(m.ControlMessage)
  1634  	if l > 0 {
  1635  		n += 1 + l + sovE2(uint64(l))
  1636  	}
  1637  	if m.ControlAckRequest != 0 {
  1638  		n += 1 + sovE2(uint64(m.ControlAckRequest))
  1639  	}
  1640  	return n
  1641  }
  1642  
  1643  func (m *ControlResponse) Size() (n int) {
  1644  	if m == nil {
  1645  		return 0
  1646  	}
  1647  	var l int
  1648  	_ = l
  1649  	if m.Header != nil {
  1650  		l = m.Header.Size()
  1651  		n += 1 + l + sovE2(uint64(l))
  1652  	}
  1653  	if m.Response != nil {
  1654  		n += m.Response.Size()
  1655  	}
  1656  	return n
  1657  }
  1658  
  1659  func (m *ControlResponse_ControlAcknowledge) Size() (n int) {
  1660  	if m == nil {
  1661  		return 0
  1662  	}
  1663  	var l int
  1664  	_ = l
  1665  	if m.ControlAcknowledge != nil {
  1666  		l = m.ControlAcknowledge.Size()
  1667  		n += 1 + l + sovE2(uint64(l))
  1668  	}
  1669  	return n
  1670  }
  1671  func (m *ControlResponse_ControlFailure) Size() (n int) {
  1672  	if m == nil {
  1673  		return 0
  1674  	}
  1675  	var l int
  1676  	_ = l
  1677  	if m.ControlFailure != nil {
  1678  		l = m.ControlFailure.Size()
  1679  		n += 1 + l + sovE2(uint64(l))
  1680  	}
  1681  	return n
  1682  }
  1683  func (m *ControlAcknowledge) Size() (n int) {
  1684  	if m == nil {
  1685  		return 0
  1686  	}
  1687  	var l int
  1688  	_ = l
  1689  	l = len(m.ControlOutcome)
  1690  	if l > 0 {
  1691  		n += 1 + l + sovE2(uint64(l))
  1692  	}
  1693  	return n
  1694  }
  1695  
  1696  func (m *ControlFailure) Size() (n int) {
  1697  	if m == nil {
  1698  		return 0
  1699  	}
  1700  	var l int
  1701  	_ = l
  1702  	if m.Cause != 0 {
  1703  		n += 1 + sovE2(uint64(m.Cause))
  1704  	}
  1705  	l = len(m.ControlOutcome)
  1706  	if l > 0 {
  1707  		n += 1 + l + sovE2(uint64(l))
  1708  	}
  1709  	l = len(m.Message)
  1710  	if l > 0 {
  1711  		n += 1 + l + sovE2(uint64(l))
  1712  	}
  1713  	return n
  1714  }
  1715  
  1716  func sovE2(x uint64) (n int) {
  1717  	return (math_bits.Len64(x|1) + 6) / 7
  1718  }
  1719  func sozE2(x uint64) (n int) {
  1720  	return sovE2(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  1721  }
  1722  func (m *ServiceModel) Unmarshal(dAtA []byte) error {
  1723  	l := len(dAtA)
  1724  	iNdEx := 0
  1725  	for iNdEx < l {
  1726  		preIndex := iNdEx
  1727  		var wire uint64
  1728  		for shift := uint(0); ; shift += 7 {
  1729  			if shift >= 64 {
  1730  				return ErrIntOverflowE2
  1731  			}
  1732  			if iNdEx >= l {
  1733  				return io.ErrUnexpectedEOF
  1734  			}
  1735  			b := dAtA[iNdEx]
  1736  			iNdEx++
  1737  			wire |= uint64(b&0x7F) << shift
  1738  			if b < 0x80 {
  1739  				break
  1740  			}
  1741  		}
  1742  		fieldNum := int32(wire >> 3)
  1743  		wireType := int(wire & 0x7)
  1744  		if wireType == 4 {
  1745  			return fmt.Errorf("proto: ServiceModel: wiretype end group for non-group")
  1746  		}
  1747  		if fieldNum <= 0 {
  1748  			return fmt.Errorf("proto: ServiceModel: illegal tag %d (wire type %d)", fieldNum, wire)
  1749  		}
  1750  		switch fieldNum {
  1751  		case 1:
  1752  			if wireType != 2 {
  1753  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  1754  			}
  1755  			var stringLen uint64
  1756  			for shift := uint(0); ; shift += 7 {
  1757  				if shift >= 64 {
  1758  					return ErrIntOverflowE2
  1759  				}
  1760  				if iNdEx >= l {
  1761  					return io.ErrUnexpectedEOF
  1762  				}
  1763  				b := dAtA[iNdEx]
  1764  				iNdEx++
  1765  				stringLen |= uint64(b&0x7F) << shift
  1766  				if b < 0x80 {
  1767  					break
  1768  				}
  1769  			}
  1770  			intStringLen := int(stringLen)
  1771  			if intStringLen < 0 {
  1772  				return ErrInvalidLengthE2
  1773  			}
  1774  			postIndex := iNdEx + intStringLen
  1775  			if postIndex < 0 {
  1776  				return ErrInvalidLengthE2
  1777  			}
  1778  			if postIndex > l {
  1779  				return io.ErrUnexpectedEOF
  1780  			}
  1781  			m.Name = ServiceModelName(dAtA[iNdEx:postIndex])
  1782  			iNdEx = postIndex
  1783  		case 2:
  1784  			if wireType != 2 {
  1785  				return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
  1786  			}
  1787  			var stringLen uint64
  1788  			for shift := uint(0); ; shift += 7 {
  1789  				if shift >= 64 {
  1790  					return ErrIntOverflowE2
  1791  				}
  1792  				if iNdEx >= l {
  1793  					return io.ErrUnexpectedEOF
  1794  				}
  1795  				b := dAtA[iNdEx]
  1796  				iNdEx++
  1797  				stringLen |= uint64(b&0x7F) << shift
  1798  				if b < 0x80 {
  1799  					break
  1800  				}
  1801  			}
  1802  			intStringLen := int(stringLen)
  1803  			if intStringLen < 0 {
  1804  				return ErrInvalidLengthE2
  1805  			}
  1806  			postIndex := iNdEx + intStringLen
  1807  			if postIndex < 0 {
  1808  				return ErrInvalidLengthE2
  1809  			}
  1810  			if postIndex > l {
  1811  				return io.ErrUnexpectedEOF
  1812  			}
  1813  			m.Version = ServiceModelVersion(dAtA[iNdEx:postIndex])
  1814  			iNdEx = postIndex
  1815  		default:
  1816  			iNdEx = preIndex
  1817  			skippy, err := skipE2(dAtA[iNdEx:])
  1818  			if err != nil {
  1819  				return err
  1820  			}
  1821  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1822  				return ErrInvalidLengthE2
  1823  			}
  1824  			if (iNdEx + skippy) > l {
  1825  				return io.ErrUnexpectedEOF
  1826  			}
  1827  			iNdEx += skippy
  1828  		}
  1829  	}
  1830  
  1831  	if iNdEx > l {
  1832  		return io.ErrUnexpectedEOF
  1833  	}
  1834  	return nil
  1835  }
  1836  func (m *RequestHeader) Unmarshal(dAtA []byte) error {
  1837  	l := len(dAtA)
  1838  	iNdEx := 0
  1839  	for iNdEx < l {
  1840  		preIndex := iNdEx
  1841  		var wire uint64
  1842  		for shift := uint(0); ; shift += 7 {
  1843  			if shift >= 64 {
  1844  				return ErrIntOverflowE2
  1845  			}
  1846  			if iNdEx >= l {
  1847  				return io.ErrUnexpectedEOF
  1848  			}
  1849  			b := dAtA[iNdEx]
  1850  			iNdEx++
  1851  			wire |= uint64(b&0x7F) << shift
  1852  			if b < 0x80 {
  1853  				break
  1854  			}
  1855  		}
  1856  		fieldNum := int32(wire >> 3)
  1857  		wireType := int(wire & 0x7)
  1858  		if wireType == 4 {
  1859  			return fmt.Errorf("proto: RequestHeader: wiretype end group for non-group")
  1860  		}
  1861  		if fieldNum <= 0 {
  1862  			return fmt.Errorf("proto: RequestHeader: illegal tag %d (wire type %d)", fieldNum, wire)
  1863  		}
  1864  		switch fieldNum {
  1865  		case 1:
  1866  			if wireType != 0 {
  1867  				return fmt.Errorf("proto: wrong wireType = %d for field EncodingType", wireType)
  1868  			}
  1869  			m.EncodingType = 0
  1870  			for shift := uint(0); ; shift += 7 {
  1871  				if shift >= 64 {
  1872  					return ErrIntOverflowE2
  1873  				}
  1874  				if iNdEx >= l {
  1875  					return io.ErrUnexpectedEOF
  1876  				}
  1877  				b := dAtA[iNdEx]
  1878  				iNdEx++
  1879  				m.EncodingType |= EncodingType(b&0x7F) << shift
  1880  				if b < 0x80 {
  1881  					break
  1882  				}
  1883  			}
  1884  		case 2:
  1885  			if wireType != 2 {
  1886  				return fmt.Errorf("proto: wrong wireType = %d for field ServiceModel", wireType)
  1887  			}
  1888  			var msglen int
  1889  			for shift := uint(0); ; shift += 7 {
  1890  				if shift >= 64 {
  1891  					return ErrIntOverflowE2
  1892  				}
  1893  				if iNdEx >= l {
  1894  					return io.ErrUnexpectedEOF
  1895  				}
  1896  				b := dAtA[iNdEx]
  1897  				iNdEx++
  1898  				msglen |= int(b&0x7F) << shift
  1899  				if b < 0x80 {
  1900  					break
  1901  				}
  1902  			}
  1903  			if msglen < 0 {
  1904  				return ErrInvalidLengthE2
  1905  			}
  1906  			postIndex := iNdEx + msglen
  1907  			if postIndex < 0 {
  1908  				return ErrInvalidLengthE2
  1909  			}
  1910  			if postIndex > l {
  1911  				return io.ErrUnexpectedEOF
  1912  			}
  1913  			if m.ServiceModel == nil {
  1914  				m.ServiceModel = &ServiceModel{}
  1915  			}
  1916  			if err := m.ServiceModel.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1917  				return err
  1918  			}
  1919  			iNdEx = postIndex
  1920  		default:
  1921  			iNdEx = preIndex
  1922  			skippy, err := skipE2(dAtA[iNdEx:])
  1923  			if err != nil {
  1924  				return err
  1925  			}
  1926  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1927  				return ErrInvalidLengthE2
  1928  			}
  1929  			if (iNdEx + skippy) > l {
  1930  				return io.ErrUnexpectedEOF
  1931  			}
  1932  			iNdEx += skippy
  1933  		}
  1934  	}
  1935  
  1936  	if iNdEx > l {
  1937  		return io.ErrUnexpectedEOF
  1938  	}
  1939  	return nil
  1940  }
  1941  func (m *ResponseHeader) Unmarshal(dAtA []byte) error {
  1942  	l := len(dAtA)
  1943  	iNdEx := 0
  1944  	for iNdEx < l {
  1945  		preIndex := iNdEx
  1946  		var wire uint64
  1947  		for shift := uint(0); ; shift += 7 {
  1948  			if shift >= 64 {
  1949  				return ErrIntOverflowE2
  1950  			}
  1951  			if iNdEx >= l {
  1952  				return io.ErrUnexpectedEOF
  1953  			}
  1954  			b := dAtA[iNdEx]
  1955  			iNdEx++
  1956  			wire |= uint64(b&0x7F) << shift
  1957  			if b < 0x80 {
  1958  				break
  1959  			}
  1960  		}
  1961  		fieldNum := int32(wire >> 3)
  1962  		wireType := int(wire & 0x7)
  1963  		if wireType == 4 {
  1964  			return fmt.Errorf("proto: ResponseHeader: wiretype end group for non-group")
  1965  		}
  1966  		if fieldNum <= 0 {
  1967  			return fmt.Errorf("proto: ResponseHeader: illegal tag %d (wire type %d)", fieldNum, wire)
  1968  		}
  1969  		switch fieldNum {
  1970  		case 1:
  1971  			if wireType != 0 {
  1972  				return fmt.Errorf("proto: wrong wireType = %d for field EncodingType", wireType)
  1973  			}
  1974  			m.EncodingType = 0
  1975  			for shift := uint(0); ; shift += 7 {
  1976  				if shift >= 64 {
  1977  					return ErrIntOverflowE2
  1978  				}
  1979  				if iNdEx >= l {
  1980  					return io.ErrUnexpectedEOF
  1981  				}
  1982  				b := dAtA[iNdEx]
  1983  				iNdEx++
  1984  				m.EncodingType |= EncodingType(b&0x7F) << shift
  1985  				if b < 0x80 {
  1986  					break
  1987  				}
  1988  			}
  1989  		case 2:
  1990  			if wireType != 2 {
  1991  				return fmt.Errorf("proto: wrong wireType = %d for field ServiceModel", wireType)
  1992  			}
  1993  			var msglen int
  1994  			for shift := uint(0); ; shift += 7 {
  1995  				if shift >= 64 {
  1996  					return ErrIntOverflowE2
  1997  				}
  1998  				if iNdEx >= l {
  1999  					return io.ErrUnexpectedEOF
  2000  				}
  2001  				b := dAtA[iNdEx]
  2002  				iNdEx++
  2003  				msglen |= int(b&0x7F) << shift
  2004  				if b < 0x80 {
  2005  					break
  2006  				}
  2007  			}
  2008  			if msglen < 0 {
  2009  				return ErrInvalidLengthE2
  2010  			}
  2011  			postIndex := iNdEx + msglen
  2012  			if postIndex < 0 {
  2013  				return ErrInvalidLengthE2
  2014  			}
  2015  			if postIndex > l {
  2016  				return io.ErrUnexpectedEOF
  2017  			}
  2018  			if m.ServiceModel == nil {
  2019  				m.ServiceModel = &ServiceModel{}
  2020  			}
  2021  			if err := m.ServiceModel.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2022  				return err
  2023  			}
  2024  			iNdEx = postIndex
  2025  		case 3:
  2026  			if wireType != 0 {
  2027  				return fmt.Errorf("proto: wrong wireType = %d for field ResponseStatus", wireType)
  2028  			}
  2029  			m.ResponseStatus = 0
  2030  			for shift := uint(0); ; shift += 7 {
  2031  				if shift >= 64 {
  2032  					return ErrIntOverflowE2
  2033  				}
  2034  				if iNdEx >= l {
  2035  					return io.ErrUnexpectedEOF
  2036  				}
  2037  				b := dAtA[iNdEx]
  2038  				iNdEx++
  2039  				m.ResponseStatus |= ResponseStatus(b&0x7F) << shift
  2040  				if b < 0x80 {
  2041  					break
  2042  				}
  2043  			}
  2044  		default:
  2045  			iNdEx = preIndex
  2046  			skippy, err := skipE2(dAtA[iNdEx:])
  2047  			if err != nil {
  2048  				return err
  2049  			}
  2050  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2051  				return ErrInvalidLengthE2
  2052  			}
  2053  			if (iNdEx + skippy) > l {
  2054  				return io.ErrUnexpectedEOF
  2055  			}
  2056  			iNdEx += skippy
  2057  		}
  2058  	}
  2059  
  2060  	if iNdEx > l {
  2061  		return io.ErrUnexpectedEOF
  2062  	}
  2063  	return nil
  2064  }
  2065  func (m *StreamRequest) Unmarshal(dAtA []byte) error {
  2066  	l := len(dAtA)
  2067  	iNdEx := 0
  2068  	for iNdEx < l {
  2069  		preIndex := iNdEx
  2070  		var wire uint64
  2071  		for shift := uint(0); ; shift += 7 {
  2072  			if shift >= 64 {
  2073  				return ErrIntOverflowE2
  2074  			}
  2075  			if iNdEx >= l {
  2076  				return io.ErrUnexpectedEOF
  2077  			}
  2078  			b := dAtA[iNdEx]
  2079  			iNdEx++
  2080  			wire |= uint64(b&0x7F) << shift
  2081  			if b < 0x80 {
  2082  				break
  2083  			}
  2084  		}
  2085  		fieldNum := int32(wire >> 3)
  2086  		wireType := int(wire & 0x7)
  2087  		if wireType == 4 {
  2088  			return fmt.Errorf("proto: StreamRequest: wiretype end group for non-group")
  2089  		}
  2090  		if fieldNum <= 0 {
  2091  			return fmt.Errorf("proto: StreamRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  2092  		}
  2093  		switch fieldNum {
  2094  		case 1:
  2095  			if wireType != 2 {
  2096  				return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType)
  2097  			}
  2098  			var msglen int
  2099  			for shift := uint(0); ; shift += 7 {
  2100  				if shift >= 64 {
  2101  					return ErrIntOverflowE2
  2102  				}
  2103  				if iNdEx >= l {
  2104  					return io.ErrUnexpectedEOF
  2105  				}
  2106  				b := dAtA[iNdEx]
  2107  				iNdEx++
  2108  				msglen |= int(b&0x7F) << shift
  2109  				if b < 0x80 {
  2110  					break
  2111  				}
  2112  			}
  2113  			if msglen < 0 {
  2114  				return ErrInvalidLengthE2
  2115  			}
  2116  			postIndex := iNdEx + msglen
  2117  			if postIndex < 0 {
  2118  				return ErrInvalidLengthE2
  2119  			}
  2120  			if postIndex > l {
  2121  				return io.ErrUnexpectedEOF
  2122  			}
  2123  			if m.Header == nil {
  2124  				m.Header = &RequestHeader{}
  2125  			}
  2126  			if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2127  				return err
  2128  			}
  2129  			iNdEx = postIndex
  2130  		case 2:
  2131  			if wireType != 2 {
  2132  				return fmt.Errorf("proto: wrong wireType = %d for field AppID", wireType)
  2133  			}
  2134  			var stringLen uint64
  2135  			for shift := uint(0); ; shift += 7 {
  2136  				if shift >= 64 {
  2137  					return ErrIntOverflowE2
  2138  				}
  2139  				if iNdEx >= l {
  2140  					return io.ErrUnexpectedEOF
  2141  				}
  2142  				b := dAtA[iNdEx]
  2143  				iNdEx++
  2144  				stringLen |= uint64(b&0x7F) << shift
  2145  				if b < 0x80 {
  2146  					break
  2147  				}
  2148  			}
  2149  			intStringLen := int(stringLen)
  2150  			if intStringLen < 0 {
  2151  				return ErrInvalidLengthE2
  2152  			}
  2153  			postIndex := iNdEx + intStringLen
  2154  			if postIndex < 0 {
  2155  				return ErrInvalidLengthE2
  2156  			}
  2157  			if postIndex > l {
  2158  				return io.ErrUnexpectedEOF
  2159  			}
  2160  			m.AppID = AppID(dAtA[iNdEx:postIndex])
  2161  			iNdEx = postIndex
  2162  		case 3:
  2163  			if wireType != 2 {
  2164  				return fmt.Errorf("proto: wrong wireType = %d for field InstanceID", wireType)
  2165  			}
  2166  			var stringLen uint64
  2167  			for shift := uint(0); ; shift += 7 {
  2168  				if shift >= 64 {
  2169  					return ErrIntOverflowE2
  2170  				}
  2171  				if iNdEx >= l {
  2172  					return io.ErrUnexpectedEOF
  2173  				}
  2174  				b := dAtA[iNdEx]
  2175  				iNdEx++
  2176  				stringLen |= uint64(b&0x7F) << shift
  2177  				if b < 0x80 {
  2178  					break
  2179  				}
  2180  			}
  2181  			intStringLen := int(stringLen)
  2182  			if intStringLen < 0 {
  2183  				return ErrInvalidLengthE2
  2184  			}
  2185  			postIndex := iNdEx + intStringLen
  2186  			if postIndex < 0 {
  2187  				return ErrInvalidLengthE2
  2188  			}
  2189  			if postIndex > l {
  2190  				return io.ErrUnexpectedEOF
  2191  			}
  2192  			m.InstanceID = InstanceID(dAtA[iNdEx:postIndex])
  2193  			iNdEx = postIndex
  2194  		case 4:
  2195  			if wireType != 2 {
  2196  				return fmt.Errorf("proto: wrong wireType = %d for field SubscriptionID", wireType)
  2197  			}
  2198  			var stringLen uint64
  2199  			for shift := uint(0); ; shift += 7 {
  2200  				if shift >= 64 {
  2201  					return ErrIntOverflowE2
  2202  				}
  2203  				if iNdEx >= l {
  2204  					return io.ErrUnexpectedEOF
  2205  				}
  2206  				b := dAtA[iNdEx]
  2207  				iNdEx++
  2208  				stringLen |= uint64(b&0x7F) << shift
  2209  				if b < 0x80 {
  2210  					break
  2211  				}
  2212  			}
  2213  			intStringLen := int(stringLen)
  2214  			if intStringLen < 0 {
  2215  				return ErrInvalidLengthE2
  2216  			}
  2217  			postIndex := iNdEx + intStringLen
  2218  			if postIndex < 0 {
  2219  				return ErrInvalidLengthE2
  2220  			}
  2221  			if postIndex > l {
  2222  				return io.ErrUnexpectedEOF
  2223  			}
  2224  			m.SubscriptionID = SubscriptionID(dAtA[iNdEx:postIndex])
  2225  			iNdEx = postIndex
  2226  		default:
  2227  			iNdEx = preIndex
  2228  			skippy, err := skipE2(dAtA[iNdEx:])
  2229  			if err != nil {
  2230  				return err
  2231  			}
  2232  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2233  				return ErrInvalidLengthE2
  2234  			}
  2235  			if (iNdEx + skippy) > l {
  2236  				return io.ErrUnexpectedEOF
  2237  			}
  2238  			iNdEx += skippy
  2239  		}
  2240  	}
  2241  
  2242  	if iNdEx > l {
  2243  		return io.ErrUnexpectedEOF
  2244  	}
  2245  	return nil
  2246  }
  2247  func (m *StreamResponse) Unmarshal(dAtA []byte) error {
  2248  	l := len(dAtA)
  2249  	iNdEx := 0
  2250  	for iNdEx < l {
  2251  		preIndex := iNdEx
  2252  		var wire uint64
  2253  		for shift := uint(0); ; shift += 7 {
  2254  			if shift >= 64 {
  2255  				return ErrIntOverflowE2
  2256  			}
  2257  			if iNdEx >= l {
  2258  				return io.ErrUnexpectedEOF
  2259  			}
  2260  			b := dAtA[iNdEx]
  2261  			iNdEx++
  2262  			wire |= uint64(b&0x7F) << shift
  2263  			if b < 0x80 {
  2264  				break
  2265  			}
  2266  		}
  2267  		fieldNum := int32(wire >> 3)
  2268  		wireType := int(wire & 0x7)
  2269  		if wireType == 4 {
  2270  			return fmt.Errorf("proto: StreamResponse: wiretype end group for non-group")
  2271  		}
  2272  		if fieldNum <= 0 {
  2273  			return fmt.Errorf("proto: StreamResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  2274  		}
  2275  		switch fieldNum {
  2276  		case 1:
  2277  			if wireType != 2 {
  2278  				return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType)
  2279  			}
  2280  			var msglen int
  2281  			for shift := uint(0); ; shift += 7 {
  2282  				if shift >= 64 {
  2283  					return ErrIntOverflowE2
  2284  				}
  2285  				if iNdEx >= l {
  2286  					return io.ErrUnexpectedEOF
  2287  				}
  2288  				b := dAtA[iNdEx]
  2289  				iNdEx++
  2290  				msglen |= int(b&0x7F) << shift
  2291  				if b < 0x80 {
  2292  					break
  2293  				}
  2294  			}
  2295  			if msglen < 0 {
  2296  				return ErrInvalidLengthE2
  2297  			}
  2298  			postIndex := iNdEx + msglen
  2299  			if postIndex < 0 {
  2300  				return ErrInvalidLengthE2
  2301  			}
  2302  			if postIndex > l {
  2303  				return io.ErrUnexpectedEOF
  2304  			}
  2305  			if m.Header == nil {
  2306  				m.Header = &ResponseHeader{}
  2307  			}
  2308  			if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2309  				return err
  2310  			}
  2311  			iNdEx = postIndex
  2312  		case 2:
  2313  			if wireType != 2 {
  2314  				return fmt.Errorf("proto: wrong wireType = %d for field IndicationHeader", wireType)
  2315  			}
  2316  			var byteLen int
  2317  			for shift := uint(0); ; shift += 7 {
  2318  				if shift >= 64 {
  2319  					return ErrIntOverflowE2
  2320  				}
  2321  				if iNdEx >= l {
  2322  					return io.ErrUnexpectedEOF
  2323  				}
  2324  				b := dAtA[iNdEx]
  2325  				iNdEx++
  2326  				byteLen |= int(b&0x7F) << shift
  2327  				if b < 0x80 {
  2328  					break
  2329  				}
  2330  			}
  2331  			if byteLen < 0 {
  2332  				return ErrInvalidLengthE2
  2333  			}
  2334  			postIndex := iNdEx + byteLen
  2335  			if postIndex < 0 {
  2336  				return ErrInvalidLengthE2
  2337  			}
  2338  			if postIndex > l {
  2339  				return io.ErrUnexpectedEOF
  2340  			}
  2341  			m.IndicationHeader = append(m.IndicationHeader[:0], dAtA[iNdEx:postIndex]...)
  2342  			if m.IndicationHeader == nil {
  2343  				m.IndicationHeader = []byte{}
  2344  			}
  2345  			iNdEx = postIndex
  2346  		case 3:
  2347  			if wireType != 2 {
  2348  				return fmt.Errorf("proto: wrong wireType = %d for field IndicationMessage", wireType)
  2349  			}
  2350  			var byteLen int
  2351  			for shift := uint(0); ; shift += 7 {
  2352  				if shift >= 64 {
  2353  					return ErrIntOverflowE2
  2354  				}
  2355  				if iNdEx >= l {
  2356  					return io.ErrUnexpectedEOF
  2357  				}
  2358  				b := dAtA[iNdEx]
  2359  				iNdEx++
  2360  				byteLen |= int(b&0x7F) << shift
  2361  				if b < 0x80 {
  2362  					break
  2363  				}
  2364  			}
  2365  			if byteLen < 0 {
  2366  				return ErrInvalidLengthE2
  2367  			}
  2368  			postIndex := iNdEx + byteLen
  2369  			if postIndex < 0 {
  2370  				return ErrInvalidLengthE2
  2371  			}
  2372  			if postIndex > l {
  2373  				return io.ErrUnexpectedEOF
  2374  			}
  2375  			m.IndicationMessage = append(m.IndicationMessage[:0], dAtA[iNdEx:postIndex]...)
  2376  			if m.IndicationMessage == nil {
  2377  				m.IndicationMessage = []byte{}
  2378  			}
  2379  			iNdEx = postIndex
  2380  		default:
  2381  			iNdEx = preIndex
  2382  			skippy, err := skipE2(dAtA[iNdEx:])
  2383  			if err != nil {
  2384  				return err
  2385  			}
  2386  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2387  				return ErrInvalidLengthE2
  2388  			}
  2389  			if (iNdEx + skippy) > l {
  2390  				return io.ErrUnexpectedEOF
  2391  			}
  2392  			iNdEx += skippy
  2393  		}
  2394  	}
  2395  
  2396  	if iNdEx > l {
  2397  		return io.ErrUnexpectedEOF
  2398  	}
  2399  	return nil
  2400  }
  2401  func (m *ControlRequest) Unmarshal(dAtA []byte) error {
  2402  	l := len(dAtA)
  2403  	iNdEx := 0
  2404  	for iNdEx < l {
  2405  		preIndex := iNdEx
  2406  		var wire uint64
  2407  		for shift := uint(0); ; shift += 7 {
  2408  			if shift >= 64 {
  2409  				return ErrIntOverflowE2
  2410  			}
  2411  			if iNdEx >= l {
  2412  				return io.ErrUnexpectedEOF
  2413  			}
  2414  			b := dAtA[iNdEx]
  2415  			iNdEx++
  2416  			wire |= uint64(b&0x7F) << shift
  2417  			if b < 0x80 {
  2418  				break
  2419  			}
  2420  		}
  2421  		fieldNum := int32(wire >> 3)
  2422  		wireType := int(wire & 0x7)
  2423  		if wireType == 4 {
  2424  			return fmt.Errorf("proto: ControlRequest: wiretype end group for non-group")
  2425  		}
  2426  		if fieldNum <= 0 {
  2427  			return fmt.Errorf("proto: ControlRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  2428  		}
  2429  		switch fieldNum {
  2430  		case 1:
  2431  			if wireType != 2 {
  2432  				return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType)
  2433  			}
  2434  			var msglen int
  2435  			for shift := uint(0); ; shift += 7 {
  2436  				if shift >= 64 {
  2437  					return ErrIntOverflowE2
  2438  				}
  2439  				if iNdEx >= l {
  2440  					return io.ErrUnexpectedEOF
  2441  				}
  2442  				b := dAtA[iNdEx]
  2443  				iNdEx++
  2444  				msglen |= int(b&0x7F) << shift
  2445  				if b < 0x80 {
  2446  					break
  2447  				}
  2448  			}
  2449  			if msglen < 0 {
  2450  				return ErrInvalidLengthE2
  2451  			}
  2452  			postIndex := iNdEx + msglen
  2453  			if postIndex < 0 {
  2454  				return ErrInvalidLengthE2
  2455  			}
  2456  			if postIndex > l {
  2457  				return io.ErrUnexpectedEOF
  2458  			}
  2459  			if m.Header == nil {
  2460  				m.Header = &RequestHeader{}
  2461  			}
  2462  			if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2463  				return err
  2464  			}
  2465  			iNdEx = postIndex
  2466  		case 2:
  2467  			if wireType != 2 {
  2468  				return fmt.Errorf("proto: wrong wireType = %d for field E2NodeID", wireType)
  2469  			}
  2470  			var stringLen uint64
  2471  			for shift := uint(0); ; shift += 7 {
  2472  				if shift >= 64 {
  2473  					return ErrIntOverflowE2
  2474  				}
  2475  				if iNdEx >= l {
  2476  					return io.ErrUnexpectedEOF
  2477  				}
  2478  				b := dAtA[iNdEx]
  2479  				iNdEx++
  2480  				stringLen |= uint64(b&0x7F) << shift
  2481  				if b < 0x80 {
  2482  					break
  2483  				}
  2484  			}
  2485  			intStringLen := int(stringLen)
  2486  			if intStringLen < 0 {
  2487  				return ErrInvalidLengthE2
  2488  			}
  2489  			postIndex := iNdEx + intStringLen
  2490  			if postIndex < 0 {
  2491  				return ErrInvalidLengthE2
  2492  			}
  2493  			if postIndex > l {
  2494  				return io.ErrUnexpectedEOF
  2495  			}
  2496  			m.E2NodeID = E2NodeID(dAtA[iNdEx:postIndex])
  2497  			iNdEx = postIndex
  2498  		case 3:
  2499  			if wireType != 2 {
  2500  				return fmt.Errorf("proto: wrong wireType = %d for field ControlHeader", wireType)
  2501  			}
  2502  			var byteLen int
  2503  			for shift := uint(0); ; shift += 7 {
  2504  				if shift >= 64 {
  2505  					return ErrIntOverflowE2
  2506  				}
  2507  				if iNdEx >= l {
  2508  					return io.ErrUnexpectedEOF
  2509  				}
  2510  				b := dAtA[iNdEx]
  2511  				iNdEx++
  2512  				byteLen |= int(b&0x7F) << shift
  2513  				if b < 0x80 {
  2514  					break
  2515  				}
  2516  			}
  2517  			if byteLen < 0 {
  2518  				return ErrInvalidLengthE2
  2519  			}
  2520  			postIndex := iNdEx + byteLen
  2521  			if postIndex < 0 {
  2522  				return ErrInvalidLengthE2
  2523  			}
  2524  			if postIndex > l {
  2525  				return io.ErrUnexpectedEOF
  2526  			}
  2527  			m.ControlHeader = append(m.ControlHeader[:0], dAtA[iNdEx:postIndex]...)
  2528  			if m.ControlHeader == nil {
  2529  				m.ControlHeader = []byte{}
  2530  			}
  2531  			iNdEx = postIndex
  2532  		case 4:
  2533  			if wireType != 2 {
  2534  				return fmt.Errorf("proto: wrong wireType = %d for field ControlMessage", wireType)
  2535  			}
  2536  			var byteLen int
  2537  			for shift := uint(0); ; shift += 7 {
  2538  				if shift >= 64 {
  2539  					return ErrIntOverflowE2
  2540  				}
  2541  				if iNdEx >= l {
  2542  					return io.ErrUnexpectedEOF
  2543  				}
  2544  				b := dAtA[iNdEx]
  2545  				iNdEx++
  2546  				byteLen |= int(b&0x7F) << shift
  2547  				if b < 0x80 {
  2548  					break
  2549  				}
  2550  			}
  2551  			if byteLen < 0 {
  2552  				return ErrInvalidLengthE2
  2553  			}
  2554  			postIndex := iNdEx + byteLen
  2555  			if postIndex < 0 {
  2556  				return ErrInvalidLengthE2
  2557  			}
  2558  			if postIndex > l {
  2559  				return io.ErrUnexpectedEOF
  2560  			}
  2561  			m.ControlMessage = append(m.ControlMessage[:0], dAtA[iNdEx:postIndex]...)
  2562  			if m.ControlMessage == nil {
  2563  				m.ControlMessage = []byte{}
  2564  			}
  2565  			iNdEx = postIndex
  2566  		case 5:
  2567  			if wireType != 0 {
  2568  				return fmt.Errorf("proto: wrong wireType = %d for field ControlAckRequest", wireType)
  2569  			}
  2570  			m.ControlAckRequest = 0
  2571  			for shift := uint(0); ; shift += 7 {
  2572  				if shift >= 64 {
  2573  					return ErrIntOverflowE2
  2574  				}
  2575  				if iNdEx >= l {
  2576  					return io.ErrUnexpectedEOF
  2577  				}
  2578  				b := dAtA[iNdEx]
  2579  				iNdEx++
  2580  				m.ControlAckRequest |= ControlAckRequest(b&0x7F) << shift
  2581  				if b < 0x80 {
  2582  					break
  2583  				}
  2584  			}
  2585  		default:
  2586  			iNdEx = preIndex
  2587  			skippy, err := skipE2(dAtA[iNdEx:])
  2588  			if err != nil {
  2589  				return err
  2590  			}
  2591  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2592  				return ErrInvalidLengthE2
  2593  			}
  2594  			if (iNdEx + skippy) > l {
  2595  				return io.ErrUnexpectedEOF
  2596  			}
  2597  			iNdEx += skippy
  2598  		}
  2599  	}
  2600  
  2601  	if iNdEx > l {
  2602  		return io.ErrUnexpectedEOF
  2603  	}
  2604  	return nil
  2605  }
  2606  func (m *ControlResponse) Unmarshal(dAtA []byte) error {
  2607  	l := len(dAtA)
  2608  	iNdEx := 0
  2609  	for iNdEx < l {
  2610  		preIndex := iNdEx
  2611  		var wire uint64
  2612  		for shift := uint(0); ; shift += 7 {
  2613  			if shift >= 64 {
  2614  				return ErrIntOverflowE2
  2615  			}
  2616  			if iNdEx >= l {
  2617  				return io.ErrUnexpectedEOF
  2618  			}
  2619  			b := dAtA[iNdEx]
  2620  			iNdEx++
  2621  			wire |= uint64(b&0x7F) << shift
  2622  			if b < 0x80 {
  2623  				break
  2624  			}
  2625  		}
  2626  		fieldNum := int32(wire >> 3)
  2627  		wireType := int(wire & 0x7)
  2628  		if wireType == 4 {
  2629  			return fmt.Errorf("proto: ControlResponse: wiretype end group for non-group")
  2630  		}
  2631  		if fieldNum <= 0 {
  2632  			return fmt.Errorf("proto: ControlResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  2633  		}
  2634  		switch fieldNum {
  2635  		case 1:
  2636  			if wireType != 2 {
  2637  				return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType)
  2638  			}
  2639  			var msglen int
  2640  			for shift := uint(0); ; shift += 7 {
  2641  				if shift >= 64 {
  2642  					return ErrIntOverflowE2
  2643  				}
  2644  				if iNdEx >= l {
  2645  					return io.ErrUnexpectedEOF
  2646  				}
  2647  				b := dAtA[iNdEx]
  2648  				iNdEx++
  2649  				msglen |= int(b&0x7F) << shift
  2650  				if b < 0x80 {
  2651  					break
  2652  				}
  2653  			}
  2654  			if msglen < 0 {
  2655  				return ErrInvalidLengthE2
  2656  			}
  2657  			postIndex := iNdEx + msglen
  2658  			if postIndex < 0 {
  2659  				return ErrInvalidLengthE2
  2660  			}
  2661  			if postIndex > l {
  2662  				return io.ErrUnexpectedEOF
  2663  			}
  2664  			if m.Header == nil {
  2665  				m.Header = &ResponseHeader{}
  2666  			}
  2667  			if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2668  				return err
  2669  			}
  2670  			iNdEx = postIndex
  2671  		case 2:
  2672  			if wireType != 2 {
  2673  				return fmt.Errorf("proto: wrong wireType = %d for field ControlAcknowledge", wireType)
  2674  			}
  2675  			var msglen int
  2676  			for shift := uint(0); ; shift += 7 {
  2677  				if shift >= 64 {
  2678  					return ErrIntOverflowE2
  2679  				}
  2680  				if iNdEx >= l {
  2681  					return io.ErrUnexpectedEOF
  2682  				}
  2683  				b := dAtA[iNdEx]
  2684  				iNdEx++
  2685  				msglen |= int(b&0x7F) << shift
  2686  				if b < 0x80 {
  2687  					break
  2688  				}
  2689  			}
  2690  			if msglen < 0 {
  2691  				return ErrInvalidLengthE2
  2692  			}
  2693  			postIndex := iNdEx + msglen
  2694  			if postIndex < 0 {
  2695  				return ErrInvalidLengthE2
  2696  			}
  2697  			if postIndex > l {
  2698  				return io.ErrUnexpectedEOF
  2699  			}
  2700  			v := &ControlAcknowledge{}
  2701  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2702  				return err
  2703  			}
  2704  			m.Response = &ControlResponse_ControlAcknowledge{v}
  2705  			iNdEx = postIndex
  2706  		case 3:
  2707  			if wireType != 2 {
  2708  				return fmt.Errorf("proto: wrong wireType = %d for field ControlFailure", wireType)
  2709  			}
  2710  			var msglen int
  2711  			for shift := uint(0); ; shift += 7 {
  2712  				if shift >= 64 {
  2713  					return ErrIntOverflowE2
  2714  				}
  2715  				if iNdEx >= l {
  2716  					return io.ErrUnexpectedEOF
  2717  				}
  2718  				b := dAtA[iNdEx]
  2719  				iNdEx++
  2720  				msglen |= int(b&0x7F) << shift
  2721  				if b < 0x80 {
  2722  					break
  2723  				}
  2724  			}
  2725  			if msglen < 0 {
  2726  				return ErrInvalidLengthE2
  2727  			}
  2728  			postIndex := iNdEx + msglen
  2729  			if postIndex < 0 {
  2730  				return ErrInvalidLengthE2
  2731  			}
  2732  			if postIndex > l {
  2733  				return io.ErrUnexpectedEOF
  2734  			}
  2735  			v := &ControlFailure{}
  2736  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2737  				return err
  2738  			}
  2739  			m.Response = &ControlResponse_ControlFailure{v}
  2740  			iNdEx = postIndex
  2741  		default:
  2742  			iNdEx = preIndex
  2743  			skippy, err := skipE2(dAtA[iNdEx:])
  2744  			if err != nil {
  2745  				return err
  2746  			}
  2747  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2748  				return ErrInvalidLengthE2
  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 *ControlAcknowledge) 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 ErrIntOverflowE2
  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: ControlAcknowledge: wiretype end group for non-group")
  2786  		}
  2787  		if fieldNum <= 0 {
  2788  			return fmt.Errorf("proto: ControlAcknowledge: 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 ControlOutcome", wireType)
  2794  			}
  2795  			var byteLen int
  2796  			for shift := uint(0); ; shift += 7 {
  2797  				if shift >= 64 {
  2798  					return ErrIntOverflowE2
  2799  				}
  2800  				if iNdEx >= l {
  2801  					return io.ErrUnexpectedEOF
  2802  				}
  2803  				b := dAtA[iNdEx]
  2804  				iNdEx++
  2805  				byteLen |= int(b&0x7F) << shift
  2806  				if b < 0x80 {
  2807  					break
  2808  				}
  2809  			}
  2810  			if byteLen < 0 {
  2811  				return ErrInvalidLengthE2
  2812  			}
  2813  			postIndex := iNdEx + byteLen
  2814  			if postIndex < 0 {
  2815  				return ErrInvalidLengthE2
  2816  			}
  2817  			if postIndex > l {
  2818  				return io.ErrUnexpectedEOF
  2819  			}
  2820  			m.ControlOutcome = append(m.ControlOutcome[:0], dAtA[iNdEx:postIndex]...)
  2821  			if m.ControlOutcome == nil {
  2822  				m.ControlOutcome = []byte{}
  2823  			}
  2824  			iNdEx = postIndex
  2825  		default:
  2826  			iNdEx = preIndex
  2827  			skippy, err := skipE2(dAtA[iNdEx:])
  2828  			if err != nil {
  2829  				return err
  2830  			}
  2831  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2832  				return ErrInvalidLengthE2
  2833  			}
  2834  			if (iNdEx + skippy) > l {
  2835  				return io.ErrUnexpectedEOF
  2836  			}
  2837  			iNdEx += skippy
  2838  		}
  2839  	}
  2840  
  2841  	if iNdEx > l {
  2842  		return io.ErrUnexpectedEOF
  2843  	}
  2844  	return nil
  2845  }
  2846  func (m *ControlFailure) Unmarshal(dAtA []byte) error {
  2847  	l := len(dAtA)
  2848  	iNdEx := 0
  2849  	for iNdEx < l {
  2850  		preIndex := iNdEx
  2851  		var wire uint64
  2852  		for shift := uint(0); ; shift += 7 {
  2853  			if shift >= 64 {
  2854  				return ErrIntOverflowE2
  2855  			}
  2856  			if iNdEx >= l {
  2857  				return io.ErrUnexpectedEOF
  2858  			}
  2859  			b := dAtA[iNdEx]
  2860  			iNdEx++
  2861  			wire |= uint64(b&0x7F) << shift
  2862  			if b < 0x80 {
  2863  				break
  2864  			}
  2865  		}
  2866  		fieldNum := int32(wire >> 3)
  2867  		wireType := int(wire & 0x7)
  2868  		if wireType == 4 {
  2869  			return fmt.Errorf("proto: ControlFailure: wiretype end group for non-group")
  2870  		}
  2871  		if fieldNum <= 0 {
  2872  			return fmt.Errorf("proto: ControlFailure: illegal tag %d (wire type %d)", fieldNum, wire)
  2873  		}
  2874  		switch fieldNum {
  2875  		case 1:
  2876  			if wireType != 0 {
  2877  				return fmt.Errorf("proto: wrong wireType = %d for field Cause", wireType)
  2878  			}
  2879  			m.Cause = 0
  2880  			for shift := uint(0); ; shift += 7 {
  2881  				if shift >= 64 {
  2882  					return ErrIntOverflowE2
  2883  				}
  2884  				if iNdEx >= l {
  2885  					return io.ErrUnexpectedEOF
  2886  				}
  2887  				b := dAtA[iNdEx]
  2888  				iNdEx++
  2889  				m.Cause |= Cause(b&0x7F) << shift
  2890  				if b < 0x80 {
  2891  					break
  2892  				}
  2893  			}
  2894  		case 2:
  2895  			if wireType != 2 {
  2896  				return fmt.Errorf("proto: wrong wireType = %d for field ControlOutcome", wireType)
  2897  			}
  2898  			var byteLen int
  2899  			for shift := uint(0); ; shift += 7 {
  2900  				if shift >= 64 {
  2901  					return ErrIntOverflowE2
  2902  				}
  2903  				if iNdEx >= l {
  2904  					return io.ErrUnexpectedEOF
  2905  				}
  2906  				b := dAtA[iNdEx]
  2907  				iNdEx++
  2908  				byteLen |= int(b&0x7F) << shift
  2909  				if b < 0x80 {
  2910  					break
  2911  				}
  2912  			}
  2913  			if byteLen < 0 {
  2914  				return ErrInvalidLengthE2
  2915  			}
  2916  			postIndex := iNdEx + byteLen
  2917  			if postIndex < 0 {
  2918  				return ErrInvalidLengthE2
  2919  			}
  2920  			if postIndex > l {
  2921  				return io.ErrUnexpectedEOF
  2922  			}
  2923  			m.ControlOutcome = append(m.ControlOutcome[:0], dAtA[iNdEx:postIndex]...)
  2924  			if m.ControlOutcome == nil {
  2925  				m.ControlOutcome = []byte{}
  2926  			}
  2927  			iNdEx = postIndex
  2928  		case 3:
  2929  			if wireType != 2 {
  2930  				return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  2931  			}
  2932  			var stringLen uint64
  2933  			for shift := uint(0); ; shift += 7 {
  2934  				if shift >= 64 {
  2935  					return ErrIntOverflowE2
  2936  				}
  2937  				if iNdEx >= l {
  2938  					return io.ErrUnexpectedEOF
  2939  				}
  2940  				b := dAtA[iNdEx]
  2941  				iNdEx++
  2942  				stringLen |= uint64(b&0x7F) << shift
  2943  				if b < 0x80 {
  2944  					break
  2945  				}
  2946  			}
  2947  			intStringLen := int(stringLen)
  2948  			if intStringLen < 0 {
  2949  				return ErrInvalidLengthE2
  2950  			}
  2951  			postIndex := iNdEx + intStringLen
  2952  			if postIndex < 0 {
  2953  				return ErrInvalidLengthE2
  2954  			}
  2955  			if postIndex > l {
  2956  				return io.ErrUnexpectedEOF
  2957  			}
  2958  			m.Message = string(dAtA[iNdEx:postIndex])
  2959  			iNdEx = postIndex
  2960  		default:
  2961  			iNdEx = preIndex
  2962  			skippy, err := skipE2(dAtA[iNdEx:])
  2963  			if err != nil {
  2964  				return err
  2965  			}
  2966  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2967  				return ErrInvalidLengthE2
  2968  			}
  2969  			if (iNdEx + skippy) > l {
  2970  				return io.ErrUnexpectedEOF
  2971  			}
  2972  			iNdEx += skippy
  2973  		}
  2974  	}
  2975  
  2976  	if iNdEx > l {
  2977  		return io.ErrUnexpectedEOF
  2978  	}
  2979  	return nil
  2980  }
  2981  func skipE2(dAtA []byte) (n int, err error) {
  2982  	l := len(dAtA)
  2983  	iNdEx := 0
  2984  	depth := 0
  2985  	for iNdEx < l {
  2986  		var wire uint64
  2987  		for shift := uint(0); ; shift += 7 {
  2988  			if shift >= 64 {
  2989  				return 0, ErrIntOverflowE2
  2990  			}
  2991  			if iNdEx >= l {
  2992  				return 0, io.ErrUnexpectedEOF
  2993  			}
  2994  			b := dAtA[iNdEx]
  2995  			iNdEx++
  2996  			wire |= (uint64(b) & 0x7F) << shift
  2997  			if b < 0x80 {
  2998  				break
  2999  			}
  3000  		}
  3001  		wireType := int(wire & 0x7)
  3002  		switch wireType {
  3003  		case 0:
  3004  			for shift := uint(0); ; shift += 7 {
  3005  				if shift >= 64 {
  3006  					return 0, ErrIntOverflowE2
  3007  				}
  3008  				if iNdEx >= l {
  3009  					return 0, io.ErrUnexpectedEOF
  3010  				}
  3011  				iNdEx++
  3012  				if dAtA[iNdEx-1] < 0x80 {
  3013  					break
  3014  				}
  3015  			}
  3016  		case 1:
  3017  			iNdEx += 8
  3018  		case 2:
  3019  			var length int
  3020  			for shift := uint(0); ; shift += 7 {
  3021  				if shift >= 64 {
  3022  					return 0, ErrIntOverflowE2
  3023  				}
  3024  				if iNdEx >= l {
  3025  					return 0, io.ErrUnexpectedEOF
  3026  				}
  3027  				b := dAtA[iNdEx]
  3028  				iNdEx++
  3029  				length |= (int(b) & 0x7F) << shift
  3030  				if b < 0x80 {
  3031  					break
  3032  				}
  3033  			}
  3034  			if length < 0 {
  3035  				return 0, ErrInvalidLengthE2
  3036  			}
  3037  			iNdEx += length
  3038  		case 3:
  3039  			depth++
  3040  		case 4:
  3041  			if depth == 0 {
  3042  				return 0, ErrUnexpectedEndOfGroupE2
  3043  			}
  3044  			depth--
  3045  		case 5:
  3046  			iNdEx += 4
  3047  		default:
  3048  			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  3049  		}
  3050  		if iNdEx < 0 {
  3051  			return 0, ErrInvalidLengthE2
  3052  		}
  3053  		if depth == 0 {
  3054  			return iNdEx, nil
  3055  		}
  3056  	}
  3057  	return 0, io.ErrUnexpectedEOF
  3058  }
  3059  
  3060  var (
  3061  	ErrInvalidLengthE2        = fmt.Errorf("proto: negative length found during unmarshaling")
  3062  	ErrIntOverflowE2          = fmt.Errorf("proto: integer overflow")
  3063  	ErrUnexpectedEndOfGroupE2 = fmt.Errorf("proto: unexpected end of group")
  3064  )