go.ligato.io/vpp-agent/v3@v3.5.0/proto/ligato/linux/linux.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.27.1
     4  // 	protoc        v3.17.3
     5  // source: ligato/linux/linux.proto
     6  
     7  package linux
     8  
     9  import (
    10  	interfaces "go.ligato.io/vpp-agent/v3/proto/ligato/linux/interfaces"
    11  	l3 "go.ligato.io/vpp-agent/v3/proto/ligato/linux/l3"
    12  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    13  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    14  	reflect "reflect"
    15  	sync "sync"
    16  )
    17  
    18  const (
    19  	// Verify that this generated code is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    21  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    22  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    23  )
    24  
    25  type ConfigData struct {
    26  	state         protoimpl.MessageState
    27  	sizeCache     protoimpl.SizeCache
    28  	unknownFields protoimpl.UnknownFields
    29  
    30  	Interfaces []*interfaces.Interface `protobuf:"bytes,10,rep,name=interfaces,proto3" json:"interfaces,omitempty"`
    31  	ArpEntries []*l3.ARPEntry          `protobuf:"bytes,20,rep,name=arp_entries,json=arpEntries,proto3" json:"arp_entries,omitempty"`
    32  	Routes     []*l3.Route             `protobuf:"bytes,21,rep,name=routes,proto3" json:"routes,omitempty"`
    33  }
    34  
    35  func (x *ConfigData) Reset() {
    36  	*x = ConfigData{}
    37  	if protoimpl.UnsafeEnabled {
    38  		mi := &file_ligato_linux_linux_proto_msgTypes[0]
    39  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    40  		ms.StoreMessageInfo(mi)
    41  	}
    42  }
    43  
    44  func (x *ConfigData) String() string {
    45  	return protoimpl.X.MessageStringOf(x)
    46  }
    47  
    48  func (*ConfigData) ProtoMessage() {}
    49  
    50  func (x *ConfigData) ProtoReflect() protoreflect.Message {
    51  	mi := &file_ligato_linux_linux_proto_msgTypes[0]
    52  	if protoimpl.UnsafeEnabled && x != nil {
    53  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    54  		if ms.LoadMessageInfo() == nil {
    55  			ms.StoreMessageInfo(mi)
    56  		}
    57  		return ms
    58  	}
    59  	return mi.MessageOf(x)
    60  }
    61  
    62  // Deprecated: Use ConfigData.ProtoReflect.Descriptor instead.
    63  func (*ConfigData) Descriptor() ([]byte, []int) {
    64  	return file_ligato_linux_linux_proto_rawDescGZIP(), []int{0}
    65  }
    66  
    67  func (x *ConfigData) GetInterfaces() []*interfaces.Interface {
    68  	if x != nil {
    69  		return x.Interfaces
    70  	}
    71  	return nil
    72  }
    73  
    74  func (x *ConfigData) GetArpEntries() []*l3.ARPEntry {
    75  	if x != nil {
    76  		return x.ArpEntries
    77  	}
    78  	return nil
    79  }
    80  
    81  func (x *ConfigData) GetRoutes() []*l3.Route {
    82  	if x != nil {
    83  		return x.Routes
    84  	}
    85  	return nil
    86  }
    87  
    88  type Notification struct {
    89  	state         protoimpl.MessageState
    90  	sizeCache     protoimpl.SizeCache
    91  	unknownFields protoimpl.UnknownFields
    92  
    93  	Interface *interfaces.InterfaceNotification `protobuf:"bytes,1,opt,name=interface,proto3" json:"interface,omitempty"`
    94  }
    95  
    96  func (x *Notification) Reset() {
    97  	*x = Notification{}
    98  	if protoimpl.UnsafeEnabled {
    99  		mi := &file_ligato_linux_linux_proto_msgTypes[1]
   100  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   101  		ms.StoreMessageInfo(mi)
   102  	}
   103  }
   104  
   105  func (x *Notification) String() string {
   106  	return protoimpl.X.MessageStringOf(x)
   107  }
   108  
   109  func (*Notification) ProtoMessage() {}
   110  
   111  func (x *Notification) ProtoReflect() protoreflect.Message {
   112  	mi := &file_ligato_linux_linux_proto_msgTypes[1]
   113  	if protoimpl.UnsafeEnabled && x != nil {
   114  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   115  		if ms.LoadMessageInfo() == nil {
   116  			ms.StoreMessageInfo(mi)
   117  		}
   118  		return ms
   119  	}
   120  	return mi.MessageOf(x)
   121  }
   122  
   123  // Deprecated: Use Notification.ProtoReflect.Descriptor instead.
   124  func (*Notification) Descriptor() ([]byte, []int) {
   125  	return file_ligato_linux_linux_proto_rawDescGZIP(), []int{1}
   126  }
   127  
   128  func (x *Notification) GetInterface() *interfaces.InterfaceNotification {
   129  	if x != nil {
   130  		return x.Interface
   131  	}
   132  	return nil
   133  }
   134  
   135  var File_ligato_linux_linux_proto protoreflect.FileDescriptor
   136  
   137  var file_ligato_linux_linux_proto_rawDesc = []byte{
   138  	0x0a, 0x18, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x2f, 0x6c,
   139  	0x69, 0x6e, 0x75, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x6c, 0x69, 0x67, 0x61,
   140  	0x74, 0x6f, 0x2e, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x1a, 0x27, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f,
   141  	0x2f, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65,
   142  	0x73, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   143  	0x6f, 0x1a, 0x23, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x2f,
   144  	0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x65,
   145  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x6c,
   146  	0x69, 0x6e, 0x75, 0x78, 0x2f, 0x6c, 0x33, 0x2f, 0x61, 0x72, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   147  	0x6f, 0x1a, 0x1b, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x2f,
   148  	0x6c, 0x33, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbc,
   149  	0x01, 0x0a, 0x0a, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x61, 0x74, 0x61, 0x12, 0x42, 0x0a,
   150  	0x0a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28,
   151  	0x0b, 0x32, 0x22, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x6c, 0x69, 0x6e, 0x75, 0x78,
   152  	0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0x65,
   153  	0x72, 0x66, 0x61, 0x63, 0x65, 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65,
   154  	0x73, 0x12, 0x3a, 0x0a, 0x0b, 0x61, 0x72, 0x70, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73,
   155  	0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e,
   156  	0x6c, 0x69, 0x6e, 0x75, 0x78, 0x2e, 0x6c, 0x33, 0x2e, 0x41, 0x52, 0x50, 0x45, 0x6e, 0x74, 0x72,
   157  	0x79, 0x52, 0x0a, 0x61, 0x72, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x12, 0x2e, 0x0a,
   158  	0x06, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x18, 0x15, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e,
   159  	0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x2e, 0x6c, 0x33, 0x2e,
   160  	0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x06, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x22, 0x5c, 0x0a,
   161  	0x0c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4c, 0x0a,
   162  	0x09, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
   163  	0x32, 0x2e, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x2e,
   164  	0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72,
   165  	0x66, 0x61, 0x63, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
   166  	0x52, 0x09, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x42, 0x34, 0x5a, 0x32, 0x67,
   167  	0x6f, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x70, 0x70, 0x2d,
   168  	0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6c,
   169  	0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x3b, 0x6c, 0x69, 0x6e, 0x75,
   170  	0x78, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   171  }
   172  
   173  var (
   174  	file_ligato_linux_linux_proto_rawDescOnce sync.Once
   175  	file_ligato_linux_linux_proto_rawDescData = file_ligato_linux_linux_proto_rawDesc
   176  )
   177  
   178  func file_ligato_linux_linux_proto_rawDescGZIP() []byte {
   179  	file_ligato_linux_linux_proto_rawDescOnce.Do(func() {
   180  		file_ligato_linux_linux_proto_rawDescData = protoimpl.X.CompressGZIP(file_ligato_linux_linux_proto_rawDescData)
   181  	})
   182  	return file_ligato_linux_linux_proto_rawDescData
   183  }
   184  
   185  var file_ligato_linux_linux_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   186  var file_ligato_linux_linux_proto_goTypes = []interface{}{
   187  	(*ConfigData)(nil),                       // 0: ligato.linux.ConfigData
   188  	(*Notification)(nil),                     // 1: ligato.linux.Notification
   189  	(*interfaces.Interface)(nil),             // 2: ligato.linux.interfaces.Interface
   190  	(*l3.ARPEntry)(nil),                      // 3: ligato.linux.l3.ARPEntry
   191  	(*l3.Route)(nil),                         // 4: ligato.linux.l3.Route
   192  	(*interfaces.InterfaceNotification)(nil), // 5: ligato.linux.interfaces.InterfaceNotification
   193  }
   194  var file_ligato_linux_linux_proto_depIdxs = []int32{
   195  	2, // 0: ligato.linux.ConfigData.interfaces:type_name -> ligato.linux.interfaces.Interface
   196  	3, // 1: ligato.linux.ConfigData.arp_entries:type_name -> ligato.linux.l3.ARPEntry
   197  	4, // 2: ligato.linux.ConfigData.routes:type_name -> ligato.linux.l3.Route
   198  	5, // 3: ligato.linux.Notification.interface:type_name -> ligato.linux.interfaces.InterfaceNotification
   199  	4, // [4:4] is the sub-list for method output_type
   200  	4, // [4:4] is the sub-list for method input_type
   201  	4, // [4:4] is the sub-list for extension type_name
   202  	4, // [4:4] is the sub-list for extension extendee
   203  	0, // [0:4] is the sub-list for field type_name
   204  }
   205  
   206  func init() { file_ligato_linux_linux_proto_init() }
   207  func file_ligato_linux_linux_proto_init() {
   208  	if File_ligato_linux_linux_proto != nil {
   209  		return
   210  	}
   211  	if !protoimpl.UnsafeEnabled {
   212  		file_ligato_linux_linux_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   213  			switch v := v.(*ConfigData); i {
   214  			case 0:
   215  				return &v.state
   216  			case 1:
   217  				return &v.sizeCache
   218  			case 2:
   219  				return &v.unknownFields
   220  			default:
   221  				return nil
   222  			}
   223  		}
   224  		file_ligato_linux_linux_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   225  			switch v := v.(*Notification); i {
   226  			case 0:
   227  				return &v.state
   228  			case 1:
   229  				return &v.sizeCache
   230  			case 2:
   231  				return &v.unknownFields
   232  			default:
   233  				return nil
   234  			}
   235  		}
   236  	}
   237  	type x struct{}
   238  	out := protoimpl.TypeBuilder{
   239  		File: protoimpl.DescBuilder{
   240  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   241  			RawDescriptor: file_ligato_linux_linux_proto_rawDesc,
   242  			NumEnums:      0,
   243  			NumMessages:   2,
   244  			NumExtensions: 0,
   245  			NumServices:   0,
   246  		},
   247  		GoTypes:           file_ligato_linux_linux_proto_goTypes,
   248  		DependencyIndexes: file_ligato_linux_linux_proto_depIdxs,
   249  		MessageInfos:      file_ligato_linux_linux_proto_msgTypes,
   250  	}.Build()
   251  	File_ligato_linux_linux_proto = out.File
   252  	file_ligato_linux_linux_proto_rawDesc = nil
   253  	file_ligato_linux_linux_proto_goTypes = nil
   254  	file_ligato_linux_linux_proto_depIdxs = nil
   255  }