github.com/tickoalcantara12/micro/v3@v3.0.0-20221007104245-9d75b9bcbab9/service/network/mucp/proto/network.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.22.0
     4  // 	protoc        v3.11.4
     5  // source: github.com/micro/go-micro/network/mucp/proto/network.proto
     6  
     7  package go_micro_network_mucp
     8  
     9  import (
    10  	proto "github.com/golang/protobuf/proto"
    11  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    12  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    13  	reflect "reflect"
    14  	sync "sync"
    15  )
    16  
    17  const (
    18  	// Verify that this generated code is sufficiently up-to-date.
    19  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    20  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    22  )
    23  
    24  // This is a compile-time assertion that a sufficiently up-to-date version
    25  // of the legacy proto package is being used.
    26  const _ = proto.ProtoPackageIsVersion4
    27  
    28  // AdvertType defines the type of advert
    29  type AdvertType int32
    30  
    31  const (
    32  	AdvertType_AdvertAnnounce AdvertType = 0
    33  	AdvertType_AdvertUpdate   AdvertType = 1
    34  )
    35  
    36  // Enum value maps for AdvertType.
    37  var (
    38  	AdvertType_name = map[int32]string{
    39  		0: "AdvertAnnounce",
    40  		1: "AdvertUpdate",
    41  	}
    42  	AdvertType_value = map[string]int32{
    43  		"AdvertAnnounce": 0,
    44  		"AdvertUpdate":   1,
    45  	}
    46  )
    47  
    48  func (x AdvertType) Enum() *AdvertType {
    49  	p := new(AdvertType)
    50  	*p = x
    51  	return p
    52  }
    53  
    54  func (x AdvertType) String() string {
    55  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    56  }
    57  
    58  func (AdvertType) Descriptor() protoreflect.EnumDescriptor {
    59  	return file_github_com_micro_go_micro_network_mucp_proto_network_proto_enumTypes[0].Descriptor()
    60  }
    61  
    62  func (AdvertType) Type() protoreflect.EnumType {
    63  	return &file_github_com_micro_go_micro_network_mucp_proto_network_proto_enumTypes[0]
    64  }
    65  
    66  func (x AdvertType) Number() protoreflect.EnumNumber {
    67  	return protoreflect.EnumNumber(x)
    68  }
    69  
    70  // Deprecated: Use AdvertType.Descriptor instead.
    71  func (AdvertType) EnumDescriptor() ([]byte, []int) {
    72  	return file_github_com_micro_go_micro_network_mucp_proto_network_proto_rawDescGZIP(), []int{0}
    73  }
    74  
    75  // EventType defines the type of event
    76  type EventType int32
    77  
    78  const (
    79  	EventType_Create EventType = 0
    80  	EventType_Delete EventType = 1
    81  	EventType_Update EventType = 2
    82  )
    83  
    84  // Enum value maps for EventType.
    85  var (
    86  	EventType_name = map[int32]string{
    87  		0: "Create",
    88  		1: "Delete",
    89  		2: "Update",
    90  	}
    91  	EventType_value = map[string]int32{
    92  		"Create": 0,
    93  		"Delete": 1,
    94  		"Update": 2,
    95  	}
    96  )
    97  
    98  func (x EventType) Enum() *EventType {
    99  	p := new(EventType)
   100  	*p = x
   101  	return p
   102  }
   103  
   104  func (x EventType) String() string {
   105  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   106  }
   107  
   108  func (EventType) Descriptor() protoreflect.EnumDescriptor {
   109  	return file_github_com_micro_go_micro_network_mucp_proto_network_proto_enumTypes[1].Descriptor()
   110  }
   111  
   112  func (EventType) Type() protoreflect.EnumType {
   113  	return &file_github_com_micro_go_micro_network_mucp_proto_network_proto_enumTypes[1]
   114  }
   115  
   116  func (x EventType) Number() protoreflect.EnumNumber {
   117  	return protoreflect.EnumNumber(x)
   118  }
   119  
   120  // Deprecated: Use EventType.Descriptor instead.
   121  func (EventType) EnumDescriptor() ([]byte, []int) {
   122  	return file_github_com_micro_go_micro_network_mucp_proto_network_proto_rawDescGZIP(), []int{1}
   123  }
   124  
   125  // Advert is router advertsement streamed by Watch
   126  type Advert struct {
   127  	state         protoimpl.MessageState
   128  	sizeCache     protoimpl.SizeCache
   129  	unknownFields protoimpl.UnknownFields
   130  
   131  	// id of the advertising router
   132  	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
   133  	// type of advertisement
   134  	Type AdvertType `protobuf:"varint,2,opt,name=type,proto3,enum=go.micro.network.mucp.AdvertType" json:"type,omitempty"`
   135  	// unix timestamp of the advertisement
   136  	Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
   137  	// TTL of the Advert
   138  	Ttl int64 `protobuf:"varint,4,opt,name=ttl,proto3" json:"ttl,omitempty"`
   139  	// events is a list of advertised events
   140  	Events []*Event `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"`
   141  }
   142  
   143  func (x *Advert) Reset() {
   144  	*x = Advert{}
   145  	if protoimpl.UnsafeEnabled {
   146  		mi := &file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes[0]
   147  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   148  		ms.StoreMessageInfo(mi)
   149  	}
   150  }
   151  
   152  func (x *Advert) String() string {
   153  	return protoimpl.X.MessageStringOf(x)
   154  }
   155  
   156  func (*Advert) ProtoMessage() {}
   157  
   158  func (x *Advert) ProtoReflect() protoreflect.Message {
   159  	mi := &file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes[0]
   160  	if protoimpl.UnsafeEnabled && x != nil {
   161  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   162  		if ms.LoadMessageInfo() == nil {
   163  			ms.StoreMessageInfo(mi)
   164  		}
   165  		return ms
   166  	}
   167  	return mi.MessageOf(x)
   168  }
   169  
   170  // Deprecated: Use Advert.ProtoReflect.Descriptor instead.
   171  func (*Advert) Descriptor() ([]byte, []int) {
   172  	return file_github_com_micro_go_micro_network_mucp_proto_network_proto_rawDescGZIP(), []int{0}
   173  }
   174  
   175  func (x *Advert) GetId() string {
   176  	if x != nil {
   177  		return x.Id
   178  	}
   179  	return ""
   180  }
   181  
   182  func (x *Advert) GetType() AdvertType {
   183  	if x != nil {
   184  		return x.Type
   185  	}
   186  	return AdvertType_AdvertAnnounce
   187  }
   188  
   189  func (x *Advert) GetTimestamp() int64 {
   190  	if x != nil {
   191  		return x.Timestamp
   192  	}
   193  	return 0
   194  }
   195  
   196  func (x *Advert) GetTtl() int64 {
   197  	if x != nil {
   198  		return x.Ttl
   199  	}
   200  	return 0
   201  }
   202  
   203  func (x *Advert) GetEvents() []*Event {
   204  	if x != nil {
   205  		return x.Events
   206  	}
   207  	return nil
   208  }
   209  
   210  // Event is routing table event
   211  type Event struct {
   212  	state         protoimpl.MessageState
   213  	sizeCache     protoimpl.SizeCache
   214  	unknownFields protoimpl.UnknownFields
   215  
   216  	// the unique event id
   217  	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
   218  	// type of event
   219  	Type EventType `protobuf:"varint,2,opt,name=type,proto3,enum=go.micro.network.mucp.EventType" json:"type,omitempty"`
   220  	// unix timestamp of event
   221  	Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
   222  	// service route
   223  	Route *Route `protobuf:"bytes,4,opt,name=route,proto3" json:"route,omitempty"`
   224  }
   225  
   226  func (x *Event) Reset() {
   227  	*x = Event{}
   228  	if protoimpl.UnsafeEnabled {
   229  		mi := &file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes[1]
   230  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   231  		ms.StoreMessageInfo(mi)
   232  	}
   233  }
   234  
   235  func (x *Event) String() string {
   236  	return protoimpl.X.MessageStringOf(x)
   237  }
   238  
   239  func (*Event) ProtoMessage() {}
   240  
   241  func (x *Event) ProtoReflect() protoreflect.Message {
   242  	mi := &file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes[1]
   243  	if protoimpl.UnsafeEnabled && x != nil {
   244  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   245  		if ms.LoadMessageInfo() == nil {
   246  			ms.StoreMessageInfo(mi)
   247  		}
   248  		return ms
   249  	}
   250  	return mi.MessageOf(x)
   251  }
   252  
   253  // Deprecated: Use Event.ProtoReflect.Descriptor instead.
   254  func (*Event) Descriptor() ([]byte, []int) {
   255  	return file_github_com_micro_go_micro_network_mucp_proto_network_proto_rawDescGZIP(), []int{1}
   256  }
   257  
   258  func (x *Event) GetId() string {
   259  	if x != nil {
   260  		return x.Id
   261  	}
   262  	return ""
   263  }
   264  
   265  func (x *Event) GetType() EventType {
   266  	if x != nil {
   267  		return x.Type
   268  	}
   269  	return EventType_Create
   270  }
   271  
   272  func (x *Event) GetTimestamp() int64 {
   273  	if x != nil {
   274  		return x.Timestamp
   275  	}
   276  	return 0
   277  }
   278  
   279  func (x *Event) GetRoute() *Route {
   280  	if x != nil {
   281  		return x.Route
   282  	}
   283  	return nil
   284  }
   285  
   286  // Route is a service route
   287  type Route struct {
   288  	state         protoimpl.MessageState
   289  	sizeCache     protoimpl.SizeCache
   290  	unknownFields protoimpl.UnknownFields
   291  
   292  	// service for the route
   293  	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
   294  	// the address that advertise this route
   295  	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
   296  	// gateway as the next hop
   297  	Gateway string `protobuf:"bytes,3,opt,name=gateway,proto3" json:"gateway,omitempty"`
   298  	// the network for this destination
   299  	Network string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
   300  	// router if the router id
   301  	Router string `protobuf:"bytes,5,opt,name=router,proto3" json:"router,omitempty"`
   302  	// the network link
   303  	Link string `protobuf:"bytes,6,opt,name=link,proto3" json:"link,omitempty"`
   304  	// the metric / score of this route
   305  	Metric int64 `protobuf:"varint,7,opt,name=metric,proto3" json:"metric,omitempty"`
   306  	// metadata for the route
   307  	Metadata map[string]string `protobuf:"bytes,8,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   308  }
   309  
   310  func (x *Route) Reset() {
   311  	*x = Route{}
   312  	if protoimpl.UnsafeEnabled {
   313  		mi := &file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes[2]
   314  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   315  		ms.StoreMessageInfo(mi)
   316  	}
   317  }
   318  
   319  func (x *Route) String() string {
   320  	return protoimpl.X.MessageStringOf(x)
   321  }
   322  
   323  func (*Route) ProtoMessage() {}
   324  
   325  func (x *Route) ProtoReflect() protoreflect.Message {
   326  	mi := &file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes[2]
   327  	if protoimpl.UnsafeEnabled && x != nil {
   328  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   329  		if ms.LoadMessageInfo() == nil {
   330  			ms.StoreMessageInfo(mi)
   331  		}
   332  		return ms
   333  	}
   334  	return mi.MessageOf(x)
   335  }
   336  
   337  // Deprecated: Use Route.ProtoReflect.Descriptor instead.
   338  func (*Route) Descriptor() ([]byte, []int) {
   339  	return file_github_com_micro_go_micro_network_mucp_proto_network_proto_rawDescGZIP(), []int{2}
   340  }
   341  
   342  func (x *Route) GetService() string {
   343  	if x != nil {
   344  		return x.Service
   345  	}
   346  	return ""
   347  }
   348  
   349  func (x *Route) GetAddress() string {
   350  	if x != nil {
   351  		return x.Address
   352  	}
   353  	return ""
   354  }
   355  
   356  func (x *Route) GetGateway() string {
   357  	if x != nil {
   358  		return x.Gateway
   359  	}
   360  	return ""
   361  }
   362  
   363  func (x *Route) GetNetwork() string {
   364  	if x != nil {
   365  		return x.Network
   366  	}
   367  	return ""
   368  }
   369  
   370  func (x *Route) GetRouter() string {
   371  	if x != nil {
   372  		return x.Router
   373  	}
   374  	return ""
   375  }
   376  
   377  func (x *Route) GetLink() string {
   378  	if x != nil {
   379  		return x.Link
   380  	}
   381  	return ""
   382  }
   383  
   384  func (x *Route) GetMetric() int64 {
   385  	if x != nil {
   386  		return x.Metric
   387  	}
   388  	return 0
   389  }
   390  
   391  func (x *Route) GetMetadata() map[string]string {
   392  	if x != nil {
   393  		return x.Metadata
   394  	}
   395  	return nil
   396  }
   397  
   398  // Error tracks network errors
   399  type Error struct {
   400  	state         protoimpl.MessageState
   401  	sizeCache     protoimpl.SizeCache
   402  	unknownFields protoimpl.UnknownFields
   403  
   404  	Count uint32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
   405  	Msg   string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
   406  }
   407  
   408  func (x *Error) Reset() {
   409  	*x = Error{}
   410  	if protoimpl.UnsafeEnabled {
   411  		mi := &file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes[3]
   412  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   413  		ms.StoreMessageInfo(mi)
   414  	}
   415  }
   416  
   417  func (x *Error) String() string {
   418  	return protoimpl.X.MessageStringOf(x)
   419  }
   420  
   421  func (*Error) ProtoMessage() {}
   422  
   423  func (x *Error) ProtoReflect() protoreflect.Message {
   424  	mi := &file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes[3]
   425  	if protoimpl.UnsafeEnabled && x != nil {
   426  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   427  		if ms.LoadMessageInfo() == nil {
   428  			ms.StoreMessageInfo(mi)
   429  		}
   430  		return ms
   431  	}
   432  	return mi.MessageOf(x)
   433  }
   434  
   435  // Deprecated: Use Error.ProtoReflect.Descriptor instead.
   436  func (*Error) Descriptor() ([]byte, []int) {
   437  	return file_github_com_micro_go_micro_network_mucp_proto_network_proto_rawDescGZIP(), []int{3}
   438  }
   439  
   440  func (x *Error) GetCount() uint32 {
   441  	if x != nil {
   442  		return x.Count
   443  	}
   444  	return 0
   445  }
   446  
   447  func (x *Error) GetMsg() string {
   448  	if x != nil {
   449  		return x.Msg
   450  	}
   451  	return ""
   452  }
   453  
   454  // Status is node status
   455  type Status struct {
   456  	state         protoimpl.MessageState
   457  	sizeCache     protoimpl.SizeCache
   458  	unknownFields protoimpl.UnknownFields
   459  
   460  	Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
   461  }
   462  
   463  func (x *Status) Reset() {
   464  	*x = Status{}
   465  	if protoimpl.UnsafeEnabled {
   466  		mi := &file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes[4]
   467  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   468  		ms.StoreMessageInfo(mi)
   469  	}
   470  }
   471  
   472  func (x *Status) String() string {
   473  	return protoimpl.X.MessageStringOf(x)
   474  }
   475  
   476  func (*Status) ProtoMessage() {}
   477  
   478  func (x *Status) ProtoReflect() protoreflect.Message {
   479  	mi := &file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes[4]
   480  	if protoimpl.UnsafeEnabled && x != nil {
   481  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   482  		if ms.LoadMessageInfo() == nil {
   483  			ms.StoreMessageInfo(mi)
   484  		}
   485  		return ms
   486  	}
   487  	return mi.MessageOf(x)
   488  }
   489  
   490  // Deprecated: Use Status.ProtoReflect.Descriptor instead.
   491  func (*Status) Descriptor() ([]byte, []int) {
   492  	return file_github_com_micro_go_micro_network_mucp_proto_network_proto_rawDescGZIP(), []int{4}
   493  }
   494  
   495  func (x *Status) GetError() *Error {
   496  	if x != nil {
   497  		return x.Error
   498  	}
   499  	return nil
   500  }
   501  
   502  // Node is network node
   503  type Node struct {
   504  	state         protoimpl.MessageState
   505  	sizeCache     protoimpl.SizeCache
   506  	unknownFields protoimpl.UnknownFields
   507  
   508  	// node id
   509  	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
   510  	// node address
   511  	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
   512  	// the network
   513  	Network string `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"`
   514  	// associated metadata
   515  	Metadata map[string]string `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   516  	// node status
   517  	Status *Status `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
   518  }
   519  
   520  func (x *Node) Reset() {
   521  	*x = Node{}
   522  	if protoimpl.UnsafeEnabled {
   523  		mi := &file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes[5]
   524  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   525  		ms.StoreMessageInfo(mi)
   526  	}
   527  }
   528  
   529  func (x *Node) String() string {
   530  	return protoimpl.X.MessageStringOf(x)
   531  }
   532  
   533  func (*Node) ProtoMessage() {}
   534  
   535  func (x *Node) ProtoReflect() protoreflect.Message {
   536  	mi := &file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes[5]
   537  	if protoimpl.UnsafeEnabled && x != nil {
   538  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   539  		if ms.LoadMessageInfo() == nil {
   540  			ms.StoreMessageInfo(mi)
   541  		}
   542  		return ms
   543  	}
   544  	return mi.MessageOf(x)
   545  }
   546  
   547  // Deprecated: Use Node.ProtoReflect.Descriptor instead.
   548  func (*Node) Descriptor() ([]byte, []int) {
   549  	return file_github_com_micro_go_micro_network_mucp_proto_network_proto_rawDescGZIP(), []int{5}
   550  }
   551  
   552  func (x *Node) GetId() string {
   553  	if x != nil {
   554  		return x.Id
   555  	}
   556  	return ""
   557  }
   558  
   559  func (x *Node) GetAddress() string {
   560  	if x != nil {
   561  		return x.Address
   562  	}
   563  	return ""
   564  }
   565  
   566  func (x *Node) GetNetwork() string {
   567  	if x != nil {
   568  		return x.Network
   569  	}
   570  	return ""
   571  }
   572  
   573  func (x *Node) GetMetadata() map[string]string {
   574  	if x != nil {
   575  		return x.Metadata
   576  	}
   577  	return nil
   578  }
   579  
   580  func (x *Node) GetStatus() *Status {
   581  	if x != nil {
   582  		return x.Status
   583  	}
   584  	return nil
   585  }
   586  
   587  // Connect is sent when the node connects to the network
   588  type Connect struct {
   589  	state         protoimpl.MessageState
   590  	sizeCache     protoimpl.SizeCache
   591  	unknownFields protoimpl.UnknownFields
   592  
   593  	// network mode
   594  	Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
   595  }
   596  
   597  func (x *Connect) Reset() {
   598  	*x = Connect{}
   599  	if protoimpl.UnsafeEnabled {
   600  		mi := &file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes[6]
   601  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   602  		ms.StoreMessageInfo(mi)
   603  	}
   604  }
   605  
   606  func (x *Connect) String() string {
   607  	return protoimpl.X.MessageStringOf(x)
   608  }
   609  
   610  func (*Connect) ProtoMessage() {}
   611  
   612  func (x *Connect) ProtoReflect() protoreflect.Message {
   613  	mi := &file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes[6]
   614  	if protoimpl.UnsafeEnabled && x != nil {
   615  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   616  		if ms.LoadMessageInfo() == nil {
   617  			ms.StoreMessageInfo(mi)
   618  		}
   619  		return ms
   620  	}
   621  	return mi.MessageOf(x)
   622  }
   623  
   624  // Deprecated: Use Connect.ProtoReflect.Descriptor instead.
   625  func (*Connect) Descriptor() ([]byte, []int) {
   626  	return file_github_com_micro_go_micro_network_mucp_proto_network_proto_rawDescGZIP(), []int{6}
   627  }
   628  
   629  func (x *Connect) GetNode() *Node {
   630  	if x != nil {
   631  		return x.Node
   632  	}
   633  	return nil
   634  }
   635  
   636  // Close is sent when the node disconnects from the network
   637  type Close struct {
   638  	state         protoimpl.MessageState
   639  	sizeCache     protoimpl.SizeCache
   640  	unknownFields protoimpl.UnknownFields
   641  
   642  	// network node
   643  	Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
   644  }
   645  
   646  func (x *Close) Reset() {
   647  	*x = Close{}
   648  	if protoimpl.UnsafeEnabled {
   649  		mi := &file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes[7]
   650  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   651  		ms.StoreMessageInfo(mi)
   652  	}
   653  }
   654  
   655  func (x *Close) String() string {
   656  	return protoimpl.X.MessageStringOf(x)
   657  }
   658  
   659  func (*Close) ProtoMessage() {}
   660  
   661  func (x *Close) ProtoReflect() protoreflect.Message {
   662  	mi := &file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes[7]
   663  	if protoimpl.UnsafeEnabled && x != nil {
   664  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   665  		if ms.LoadMessageInfo() == nil {
   666  			ms.StoreMessageInfo(mi)
   667  		}
   668  		return ms
   669  	}
   670  	return mi.MessageOf(x)
   671  }
   672  
   673  // Deprecated: Use Close.ProtoReflect.Descriptor instead.
   674  func (*Close) Descriptor() ([]byte, []int) {
   675  	return file_github_com_micro_go_micro_network_mucp_proto_network_proto_rawDescGZIP(), []int{7}
   676  }
   677  
   678  func (x *Close) GetNode() *Node {
   679  	if x != nil {
   680  		return x.Node
   681  	}
   682  	return nil
   683  }
   684  
   685  // Peer is used to advertise node peers
   686  type Peer struct {
   687  	state         protoimpl.MessageState
   688  	sizeCache     protoimpl.SizeCache
   689  	unknownFields protoimpl.UnknownFields
   690  
   691  	// network node
   692  	Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
   693  	// node peers
   694  	Peers []*Peer `protobuf:"bytes,2,rep,name=peers,proto3" json:"peers,omitempty"`
   695  }
   696  
   697  func (x *Peer) Reset() {
   698  	*x = Peer{}
   699  	if protoimpl.UnsafeEnabled {
   700  		mi := &file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes[8]
   701  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   702  		ms.StoreMessageInfo(mi)
   703  	}
   704  }
   705  
   706  func (x *Peer) String() string {
   707  	return protoimpl.X.MessageStringOf(x)
   708  }
   709  
   710  func (*Peer) ProtoMessage() {}
   711  
   712  func (x *Peer) ProtoReflect() protoreflect.Message {
   713  	mi := &file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes[8]
   714  	if protoimpl.UnsafeEnabled && x != nil {
   715  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   716  		if ms.LoadMessageInfo() == nil {
   717  			ms.StoreMessageInfo(mi)
   718  		}
   719  		return ms
   720  	}
   721  	return mi.MessageOf(x)
   722  }
   723  
   724  // Deprecated: Use Peer.ProtoReflect.Descriptor instead.
   725  func (*Peer) Descriptor() ([]byte, []int) {
   726  	return file_github_com_micro_go_micro_network_mucp_proto_network_proto_rawDescGZIP(), []int{8}
   727  }
   728  
   729  func (x *Peer) GetNode() *Node {
   730  	if x != nil {
   731  		return x.Node
   732  	}
   733  	return nil
   734  }
   735  
   736  func (x *Peer) GetPeers() []*Peer {
   737  	if x != nil {
   738  		return x.Peers
   739  	}
   740  	return nil
   741  }
   742  
   743  // Sync is network sync message
   744  type Sync struct {
   745  	state         protoimpl.MessageState
   746  	sizeCache     protoimpl.SizeCache
   747  	unknownFields protoimpl.UnknownFields
   748  
   749  	// peer origin
   750  	Peer *Peer `protobuf:"bytes,1,opt,name=peer,proto3" json:"peer,omitempty"`
   751  	// node routes
   752  	Routes []*Route `protobuf:"bytes,2,rep,name=routes,proto3" json:"routes,omitempty"`
   753  }
   754  
   755  func (x *Sync) Reset() {
   756  	*x = Sync{}
   757  	if protoimpl.UnsafeEnabled {
   758  		mi := &file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes[9]
   759  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   760  		ms.StoreMessageInfo(mi)
   761  	}
   762  }
   763  
   764  func (x *Sync) String() string {
   765  	return protoimpl.X.MessageStringOf(x)
   766  }
   767  
   768  func (*Sync) ProtoMessage() {}
   769  
   770  func (x *Sync) ProtoReflect() protoreflect.Message {
   771  	mi := &file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes[9]
   772  	if protoimpl.UnsafeEnabled && x != nil {
   773  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   774  		if ms.LoadMessageInfo() == nil {
   775  			ms.StoreMessageInfo(mi)
   776  		}
   777  		return ms
   778  	}
   779  	return mi.MessageOf(x)
   780  }
   781  
   782  // Deprecated: Use Sync.ProtoReflect.Descriptor instead.
   783  func (*Sync) Descriptor() ([]byte, []int) {
   784  	return file_github_com_micro_go_micro_network_mucp_proto_network_proto_rawDescGZIP(), []int{9}
   785  }
   786  
   787  func (x *Sync) GetPeer() *Peer {
   788  	if x != nil {
   789  		return x.Peer
   790  	}
   791  	return nil
   792  }
   793  
   794  func (x *Sync) GetRoutes() []*Route {
   795  	if x != nil {
   796  		return x.Routes
   797  	}
   798  	return nil
   799  }
   800  
   801  var File_github_com_micro_go_micro_network_mucp_proto_network_proto protoreflect.FileDescriptor
   802  
   803  var file_github_com_micro_go_micro_network_mucp_proto_network_proto_rawDesc = []byte{
   804  	0x0a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x69, 0x63,
   805  	0x72, 0x6f, 0x2f, 0x67, 0x6f, 0x2d, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x2f, 0x6e, 0x65, 0x74, 0x77,
   806  	0x6f, 0x72, 0x6b, 0x2f, 0x6d, 0x75, 0x63, 0x70, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6e,
   807  	0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67, 0x6f,
   808  	0x2e, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x6d,
   809  	0x75, 0x63, 0x70, 0x22, 0xb5, 0x01, 0x0a, 0x06, 0x41, 0x64, 0x76, 0x65, 0x72, 0x74, 0x12, 0x0e,
   810  	0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x35,
   811  	0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x67,
   812  	0x6f, 0x2e, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e,
   813  	0x6d, 0x75, 0x63, 0x70, 0x2e, 0x41, 0x64, 0x76, 0x65, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52,
   814  	0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
   815  	0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
   816  	0x61, 0x6d, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03,
   817  	0x52, 0x03, 0x74, 0x74, 0x6c, 0x12, 0x34, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18,
   818  	0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x2e, 0x6d, 0x69, 0x63, 0x72, 0x6f,
   819  	0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x6d, 0x75, 0x63, 0x70, 0x2e, 0x45, 0x76,
   820  	0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x9f, 0x01, 0x0a, 0x05,
   821  	0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
   822  	0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x34, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20,
   823  	0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x2e, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x2e, 0x6e,
   824  	0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x6d, 0x75, 0x63, 0x70, 0x2e, 0x45, 0x76, 0x65, 0x6e,
   825  	0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74,
   826  	0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09,
   827  	0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x32, 0x0a, 0x05, 0x72, 0x6f, 0x75,
   828  	0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x2e, 0x6d, 0x69,
   829  	0x63, 0x72, 0x6f, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x6d, 0x75, 0x63, 0x70,
   830  	0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x22, 0xb8, 0x02,
   831  	0x0a, 0x05, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69,
   832  	0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
   833  	0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01,
   834  	0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x67,
   835  	0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x61,
   836  	0x74, 0x65, 0x77, 0x61, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
   837  	0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12,
   838  	0x16, 0x0a, 0x06, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
   839  	0x06, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x18,
   840  	0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x6d,
   841  	0x65, 0x74, 0x72, 0x69, 0x63, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6d, 0x65, 0x74,
   842  	0x72, 0x69, 0x63, 0x12, 0x46, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18,
   843  	0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x2e, 0x6d, 0x69, 0x63, 0x72, 0x6f,
   844  	0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x6d, 0x75, 0x63, 0x70, 0x2e, 0x52, 0x6f,
   845  	0x75, 0x74, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72,
   846  	0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d,
   847  	0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
   848  	0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14,
   849  	0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76,
   850  	0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2f, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f,
   851  	0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d,
   852  	0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02,
   853  	0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x3c, 0x0a, 0x06, 0x53, 0x74, 0x61,
   854  	0x74, 0x75, 0x73, 0x12, 0x32, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01,
   855  	0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x2e, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x2e, 0x6e, 0x65,
   856  	0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x6d, 0x75, 0x63, 0x70, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72,
   857  	0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x85, 0x02, 0x0a, 0x04, 0x4e, 0x6f, 0x64, 0x65,
   858  	0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
   859  	0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
   860  	0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65,
   861  	0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x74,
   862  	0x77, 0x6f, 0x72, 0x6b, 0x12, 0x45, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
   863  	0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x2e, 0x6d, 0x69, 0x63, 0x72,
   864  	0x6f, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x6d, 0x75, 0x63, 0x70, 0x2e, 0x4e,
   865  	0x6f, 0x64, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72,
   866  	0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x35, 0x0a, 0x06, 0x73,
   867  	0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f,
   868  	0x2e, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x6d,
   869  	0x75, 0x63, 0x70, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74,
   870  	0x75, 0x73, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e,
   871  	0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
   872  	0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
   873  	0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,
   874  	0x3a, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x12, 0x2f, 0x0a, 0x04, 0x6e, 0x6f,
   875  	0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x2e, 0x6d, 0x69,
   876  	0x63, 0x72, 0x6f, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x6d, 0x75, 0x63, 0x70,
   877  	0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x22, 0x38, 0x0a, 0x05, 0x43,
   878  	0x6c, 0x6f, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
   879  	0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x2e, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x2e, 0x6e, 0x65,
   880  	0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x6d, 0x75, 0x63, 0x70, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52,
   881  	0x04, 0x6e, 0x6f, 0x64, 0x65, 0x22, 0x6a, 0x0a, 0x04, 0x50, 0x65, 0x65, 0x72, 0x12, 0x2f, 0x0a,
   882  	0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f,
   883  	0x2e, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x6d,
   884  	0x75, 0x63, 0x70, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x31,
   885  	0x0a, 0x05, 0x70, 0x65, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e,
   886  	0x67, 0x6f, 0x2e, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
   887  	0x2e, 0x6d, 0x75, 0x63, 0x70, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x52, 0x05, 0x70, 0x65, 0x65, 0x72,
   888  	0x73, 0x22, 0x6d, 0x0a, 0x04, 0x53, 0x79, 0x6e, 0x63, 0x12, 0x2f, 0x0a, 0x04, 0x70, 0x65, 0x65,
   889  	0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x2e, 0x6d, 0x69, 0x63,
   890  	0x72, 0x6f, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x6d, 0x75, 0x63, 0x70, 0x2e,
   891  	0x50, 0x65, 0x65, 0x72, 0x52, 0x04, 0x70, 0x65, 0x65, 0x72, 0x12, 0x34, 0x0a, 0x06, 0x72, 0x6f,
   892  	0x75, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x2e,
   893  	0x6d, 0x69, 0x63, 0x72, 0x6f, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x6d, 0x75,
   894  	0x63, 0x70, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x06, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73,
   895  	0x2a, 0x32, 0x0a, 0x0a, 0x41, 0x64, 0x76, 0x65, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12,
   896  	0x0a, 0x0e, 0x41, 0x64, 0x76, 0x65, 0x72, 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65,
   897  	0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x64, 0x76, 0x65, 0x72, 0x74, 0x55, 0x70, 0x64, 0x61,
   898  	0x74, 0x65, 0x10, 0x01, 0x2a, 0x2f, 0x0a, 0x09, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70,
   899  	0x65, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x10, 0x00, 0x12, 0x0a, 0x0a,
   900  	0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x70, 0x64,
   901  	0x61, 0x74, 0x65, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   902  }
   903  
   904  var (
   905  	file_github_com_micro_go_micro_network_mucp_proto_network_proto_rawDescOnce sync.Once
   906  	file_github_com_micro_go_micro_network_mucp_proto_network_proto_rawDescData = file_github_com_micro_go_micro_network_mucp_proto_network_proto_rawDesc
   907  )
   908  
   909  func file_github_com_micro_go_micro_network_mucp_proto_network_proto_rawDescGZIP() []byte {
   910  	file_github_com_micro_go_micro_network_mucp_proto_network_proto_rawDescOnce.Do(func() {
   911  		file_github_com_micro_go_micro_network_mucp_proto_network_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_micro_go_micro_network_mucp_proto_network_proto_rawDescData)
   912  	})
   913  	return file_github_com_micro_go_micro_network_mucp_proto_network_proto_rawDescData
   914  }
   915  
   916  var file_github_com_micro_go_micro_network_mucp_proto_network_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
   917  var file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
   918  var file_github_com_micro_go_micro_network_mucp_proto_network_proto_goTypes = []interface{}{
   919  	(AdvertType)(0), // 0: go.micro.network.mucp.AdvertType
   920  	(EventType)(0),  // 1: go.micro.network.mucp.EventType
   921  	(*Advert)(nil),  // 2: go.micro.network.mucp.Advert
   922  	(*Event)(nil),   // 3: go.micro.network.mucp.Event
   923  	(*Route)(nil),   // 4: go.micro.network.mucp.Route
   924  	(*Error)(nil),   // 5: go.micro.network.mucp.Error
   925  	(*Status)(nil),  // 6: go.micro.network.mucp.Status
   926  	(*Node)(nil),    // 7: go.micro.network.mucp.Node
   927  	(*Connect)(nil), // 8: go.micro.network.mucp.Connect
   928  	(*Close)(nil),   // 9: go.micro.network.mucp.Close
   929  	(*Peer)(nil),    // 10: go.micro.network.mucp.Peer
   930  	(*Sync)(nil),    // 11: go.micro.network.mucp.Sync
   931  	nil,             // 12: go.micro.network.mucp.Route.MetadataEntry
   932  	nil,             // 13: go.micro.network.mucp.Node.MetadataEntry
   933  }
   934  var file_github_com_micro_go_micro_network_mucp_proto_network_proto_depIdxs = []int32{
   935  	0,  // 0: go.micro.network.mucp.Advert.type:type_name -> go.micro.network.mucp.AdvertType
   936  	3,  // 1: go.micro.network.mucp.Advert.events:type_name -> go.micro.network.mucp.Event
   937  	1,  // 2: go.micro.network.mucp.Event.type:type_name -> go.micro.network.mucp.EventType
   938  	4,  // 3: go.micro.network.mucp.Event.route:type_name -> go.micro.network.mucp.Route
   939  	12, // 4: go.micro.network.mucp.Route.metadata:type_name -> go.micro.network.mucp.Route.MetadataEntry
   940  	5,  // 5: go.micro.network.mucp.Status.error:type_name -> go.micro.network.mucp.Error
   941  	13, // 6: go.micro.network.mucp.Node.metadata:type_name -> go.micro.network.mucp.Node.MetadataEntry
   942  	6,  // 7: go.micro.network.mucp.Node.status:type_name -> go.micro.network.mucp.Status
   943  	7,  // 8: go.micro.network.mucp.Connect.node:type_name -> go.micro.network.mucp.Node
   944  	7,  // 9: go.micro.network.mucp.Close.node:type_name -> go.micro.network.mucp.Node
   945  	7,  // 10: go.micro.network.mucp.Peer.node:type_name -> go.micro.network.mucp.Node
   946  	10, // 11: go.micro.network.mucp.Peer.peers:type_name -> go.micro.network.mucp.Peer
   947  	10, // 12: go.micro.network.mucp.Sync.peer:type_name -> go.micro.network.mucp.Peer
   948  	4,  // 13: go.micro.network.mucp.Sync.routes:type_name -> go.micro.network.mucp.Route
   949  	14, // [14:14] is the sub-list for method output_type
   950  	14, // [14:14] is the sub-list for method input_type
   951  	14, // [14:14] is the sub-list for extension type_name
   952  	14, // [14:14] is the sub-list for extension extendee
   953  	0,  // [0:14] is the sub-list for field type_name
   954  }
   955  
   956  func init() { file_github_com_micro_go_micro_network_mucp_proto_network_proto_init() }
   957  func file_github_com_micro_go_micro_network_mucp_proto_network_proto_init() {
   958  	if File_github_com_micro_go_micro_network_mucp_proto_network_proto != nil {
   959  		return
   960  	}
   961  	if !protoimpl.UnsafeEnabled {
   962  		file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   963  			switch v := v.(*Advert); i {
   964  			case 0:
   965  				return &v.state
   966  			case 1:
   967  				return &v.sizeCache
   968  			case 2:
   969  				return &v.unknownFields
   970  			default:
   971  				return nil
   972  			}
   973  		}
   974  		file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   975  			switch v := v.(*Event); i {
   976  			case 0:
   977  				return &v.state
   978  			case 1:
   979  				return &v.sizeCache
   980  			case 2:
   981  				return &v.unknownFields
   982  			default:
   983  				return nil
   984  			}
   985  		}
   986  		file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   987  			switch v := v.(*Route); i {
   988  			case 0:
   989  				return &v.state
   990  			case 1:
   991  				return &v.sizeCache
   992  			case 2:
   993  				return &v.unknownFields
   994  			default:
   995  				return nil
   996  			}
   997  		}
   998  		file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   999  			switch v := v.(*Error); i {
  1000  			case 0:
  1001  				return &v.state
  1002  			case 1:
  1003  				return &v.sizeCache
  1004  			case 2:
  1005  				return &v.unknownFields
  1006  			default:
  1007  				return nil
  1008  			}
  1009  		}
  1010  		file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1011  			switch v := v.(*Status); i {
  1012  			case 0:
  1013  				return &v.state
  1014  			case 1:
  1015  				return &v.sizeCache
  1016  			case 2:
  1017  				return &v.unknownFields
  1018  			default:
  1019  				return nil
  1020  			}
  1021  		}
  1022  		file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1023  			switch v := v.(*Node); i {
  1024  			case 0:
  1025  				return &v.state
  1026  			case 1:
  1027  				return &v.sizeCache
  1028  			case 2:
  1029  				return &v.unknownFields
  1030  			default:
  1031  				return nil
  1032  			}
  1033  		}
  1034  		file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1035  			switch v := v.(*Connect); i {
  1036  			case 0:
  1037  				return &v.state
  1038  			case 1:
  1039  				return &v.sizeCache
  1040  			case 2:
  1041  				return &v.unknownFields
  1042  			default:
  1043  				return nil
  1044  			}
  1045  		}
  1046  		file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1047  			switch v := v.(*Close); i {
  1048  			case 0:
  1049  				return &v.state
  1050  			case 1:
  1051  				return &v.sizeCache
  1052  			case 2:
  1053  				return &v.unknownFields
  1054  			default:
  1055  				return nil
  1056  			}
  1057  		}
  1058  		file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1059  			switch v := v.(*Peer); i {
  1060  			case 0:
  1061  				return &v.state
  1062  			case 1:
  1063  				return &v.sizeCache
  1064  			case 2:
  1065  				return &v.unknownFields
  1066  			default:
  1067  				return nil
  1068  			}
  1069  		}
  1070  		file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1071  			switch v := v.(*Sync); i {
  1072  			case 0:
  1073  				return &v.state
  1074  			case 1:
  1075  				return &v.sizeCache
  1076  			case 2:
  1077  				return &v.unknownFields
  1078  			default:
  1079  				return nil
  1080  			}
  1081  		}
  1082  	}
  1083  	type x struct{}
  1084  	out := protoimpl.TypeBuilder{
  1085  		File: protoimpl.DescBuilder{
  1086  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1087  			RawDescriptor: file_github_com_micro_go_micro_network_mucp_proto_network_proto_rawDesc,
  1088  			NumEnums:      2,
  1089  			NumMessages:   12,
  1090  			NumExtensions: 0,
  1091  			NumServices:   0,
  1092  		},
  1093  		GoTypes:           file_github_com_micro_go_micro_network_mucp_proto_network_proto_goTypes,
  1094  		DependencyIndexes: file_github_com_micro_go_micro_network_mucp_proto_network_proto_depIdxs,
  1095  		EnumInfos:         file_github_com_micro_go_micro_network_mucp_proto_network_proto_enumTypes,
  1096  		MessageInfos:      file_github_com_micro_go_micro_network_mucp_proto_network_proto_msgTypes,
  1097  	}.Build()
  1098  	File_github_com_micro_go_micro_network_mucp_proto_network_proto = out.File
  1099  	file_github_com_micro_go_micro_network_mucp_proto_network_proto_rawDesc = nil
  1100  	file_github_com_micro_go_micro_network_mucp_proto_network_proto_goTypes = nil
  1101  	file_github_com_micro_go_micro_network_mucp_proto_network_proto_depIdxs = nil
  1102  }