go.ligato.io/vpp-agent/v3@v3.5.0/proto/ligato/vpp/ipfix/ipfix.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/vpp/ipfix/ipfix.proto
     6  
     7  package vpp_ipfix
     8  
     9  import (
    10  	_ "go.ligato.io/vpp-agent/v3/proto/ligato"
    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  // IPFIX defines the IP Flow Information eXport (IPFIX) configuration.
    25  type IPFIX struct {
    26  	state         protoimpl.MessageState
    27  	sizeCache     protoimpl.SizeCache
    28  	unknownFields protoimpl.UnknownFields
    29  
    30  	Collector        *IPFIX_Collector `protobuf:"bytes,1,opt,name=collector,proto3" json:"collector,omitempty"`
    31  	SourceAddress    string           `protobuf:"bytes,2,opt,name=source_address,json=sourceAddress,proto3" json:"source_address,omitempty"`
    32  	VrfId            uint32           `protobuf:"varint,3,opt,name=vrf_id,json=vrfId,proto3" json:"vrf_id,omitempty"`
    33  	PathMtu          uint32           `protobuf:"varint,4,opt,name=path_mtu,json=pathMtu,proto3" json:"path_mtu,omitempty"`
    34  	TemplateInterval uint32           `protobuf:"varint,5,opt,name=template_interval,json=templateInterval,proto3" json:"template_interval,omitempty"`
    35  }
    36  
    37  func (x *IPFIX) Reset() {
    38  	*x = IPFIX{}
    39  	if protoimpl.UnsafeEnabled {
    40  		mi := &file_ligato_vpp_ipfix_ipfix_proto_msgTypes[0]
    41  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    42  		ms.StoreMessageInfo(mi)
    43  	}
    44  }
    45  
    46  func (x *IPFIX) String() string {
    47  	return protoimpl.X.MessageStringOf(x)
    48  }
    49  
    50  func (*IPFIX) ProtoMessage() {}
    51  
    52  func (x *IPFIX) ProtoReflect() protoreflect.Message {
    53  	mi := &file_ligato_vpp_ipfix_ipfix_proto_msgTypes[0]
    54  	if protoimpl.UnsafeEnabled && x != nil {
    55  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    56  		if ms.LoadMessageInfo() == nil {
    57  			ms.StoreMessageInfo(mi)
    58  		}
    59  		return ms
    60  	}
    61  	return mi.MessageOf(x)
    62  }
    63  
    64  // Deprecated: Use IPFIX.ProtoReflect.Descriptor instead.
    65  func (*IPFIX) Descriptor() ([]byte, []int) {
    66  	return file_ligato_vpp_ipfix_ipfix_proto_rawDescGZIP(), []int{0}
    67  }
    68  
    69  func (x *IPFIX) GetCollector() *IPFIX_Collector {
    70  	if x != nil {
    71  		return x.Collector
    72  	}
    73  	return nil
    74  }
    75  
    76  func (x *IPFIX) GetSourceAddress() string {
    77  	if x != nil {
    78  		return x.SourceAddress
    79  	}
    80  	return ""
    81  }
    82  
    83  func (x *IPFIX) GetVrfId() uint32 {
    84  	if x != nil {
    85  		return x.VrfId
    86  	}
    87  	return 0
    88  }
    89  
    90  func (x *IPFIX) GetPathMtu() uint32 {
    91  	if x != nil {
    92  		return x.PathMtu
    93  	}
    94  	return 0
    95  }
    96  
    97  func (x *IPFIX) GetTemplateInterval() uint32 {
    98  	if x != nil {
    99  		return x.TemplateInterval
   100  	}
   101  	return 0
   102  }
   103  
   104  type IPFIX_Collector struct {
   105  	state         protoimpl.MessageState
   106  	sizeCache     protoimpl.SizeCache
   107  	unknownFields protoimpl.UnknownFields
   108  
   109  	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
   110  	Port    uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
   111  }
   112  
   113  func (x *IPFIX_Collector) Reset() {
   114  	*x = IPFIX_Collector{}
   115  	if protoimpl.UnsafeEnabled {
   116  		mi := &file_ligato_vpp_ipfix_ipfix_proto_msgTypes[1]
   117  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   118  		ms.StoreMessageInfo(mi)
   119  	}
   120  }
   121  
   122  func (x *IPFIX_Collector) String() string {
   123  	return protoimpl.X.MessageStringOf(x)
   124  }
   125  
   126  func (*IPFIX_Collector) ProtoMessage() {}
   127  
   128  func (x *IPFIX_Collector) ProtoReflect() protoreflect.Message {
   129  	mi := &file_ligato_vpp_ipfix_ipfix_proto_msgTypes[1]
   130  	if protoimpl.UnsafeEnabled && x != nil {
   131  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   132  		if ms.LoadMessageInfo() == nil {
   133  			ms.StoreMessageInfo(mi)
   134  		}
   135  		return ms
   136  	}
   137  	return mi.MessageOf(x)
   138  }
   139  
   140  // Deprecated: Use IPFIX_Collector.ProtoReflect.Descriptor instead.
   141  func (*IPFIX_Collector) Descriptor() ([]byte, []int) {
   142  	return file_ligato_vpp_ipfix_ipfix_proto_rawDescGZIP(), []int{0, 0}
   143  }
   144  
   145  func (x *IPFIX_Collector) GetAddress() string {
   146  	if x != nil {
   147  		return x.Address
   148  	}
   149  	return ""
   150  }
   151  
   152  func (x *IPFIX_Collector) GetPort() uint32 {
   153  	if x != nil {
   154  		return x.Port
   155  	}
   156  	return 0
   157  }
   158  
   159  var File_ligato_vpp_ipfix_ipfix_proto protoreflect.FileDescriptor
   160  
   161  var file_ligato_vpp_ipfix_ipfix_proto_rawDesc = []byte{
   162  	0x0a, 0x1c, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x76, 0x70, 0x70, 0x2f, 0x69, 0x70, 0x66,
   163  	0x69, 0x78, 0x2f, 0x69, 0x70, 0x66, 0x69, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10,
   164  	0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x76, 0x70, 0x70, 0x2e, 0x69, 0x70, 0x66, 0x69, 0x78,
   165  	0x1a, 0x18, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
   166  	0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xae, 0x02, 0x0a, 0x05, 0x49,
   167  	0x50, 0x46, 0x49, 0x58, 0x12, 0x3f, 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f,
   168  	0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f,
   169  	0x2e, 0x76, 0x70, 0x70, 0x2e, 0x69, 0x70, 0x66, 0x69, 0x78, 0x2e, 0x49, 0x50, 0x46, 0x49, 0x58,
   170  	0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6c,
   171  	0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x2c, 0x0a, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f,
   172  	0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x05, 0x82,
   173  	0x7d, 0x02, 0x08, 0x01, 0x52, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x64, 0x64, 0x72,
   174  	0x65, 0x73, 0x73, 0x12, 0x15, 0x0a, 0x06, 0x76, 0x72, 0x66, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20,
   175  	0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x72, 0x66, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x08, 0x70, 0x61,
   176  	0x74, 0x68, 0x5f, 0x6d, 0x74, 0x75, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x0a, 0x82, 0x7d,
   177  	0x07, 0x12, 0x05, 0x08, 0x44, 0x10, 0xaa, 0x0b, 0x52, 0x07, 0x70, 0x61, 0x74, 0x68, 0x4d, 0x74,
   178  	0x75, 0x12, 0x2b, 0x0a, 0x11, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x6e,
   179  	0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x74, 0x65,
   180  	0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x1a, 0x4b,
   181  	0x0a, 0x09, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x1f, 0x0a, 0x07, 0x61,
   182  	0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x05, 0x82, 0x7d,
   183  	0x02, 0x08, 0x01, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x04,
   184  	0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x09, 0x82, 0x7d, 0x06, 0x12,
   185  	0x04, 0x10, 0xff, 0xff, 0x03, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x3c, 0x5a, 0x3a, 0x67,
   186  	0x6f, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x70, 0x70, 0x2d,
   187  	0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6c,
   188  	0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x76, 0x70, 0x70, 0x2f, 0x69, 0x70, 0x66, 0x69, 0x78, 0x3b,
   189  	0x76, 0x70, 0x70, 0x5f, 0x69, 0x70, 0x66, 0x69, 0x78, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   190  	0x33,
   191  }
   192  
   193  var (
   194  	file_ligato_vpp_ipfix_ipfix_proto_rawDescOnce sync.Once
   195  	file_ligato_vpp_ipfix_ipfix_proto_rawDescData = file_ligato_vpp_ipfix_ipfix_proto_rawDesc
   196  )
   197  
   198  func file_ligato_vpp_ipfix_ipfix_proto_rawDescGZIP() []byte {
   199  	file_ligato_vpp_ipfix_ipfix_proto_rawDescOnce.Do(func() {
   200  		file_ligato_vpp_ipfix_ipfix_proto_rawDescData = protoimpl.X.CompressGZIP(file_ligato_vpp_ipfix_ipfix_proto_rawDescData)
   201  	})
   202  	return file_ligato_vpp_ipfix_ipfix_proto_rawDescData
   203  }
   204  
   205  var file_ligato_vpp_ipfix_ipfix_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   206  var file_ligato_vpp_ipfix_ipfix_proto_goTypes = []interface{}{
   207  	(*IPFIX)(nil),           // 0: ligato.vpp.ipfix.IPFIX
   208  	(*IPFIX_Collector)(nil), // 1: ligato.vpp.ipfix.IPFIX.Collector
   209  }
   210  var file_ligato_vpp_ipfix_ipfix_proto_depIdxs = []int32{
   211  	1, // 0: ligato.vpp.ipfix.IPFIX.collector:type_name -> ligato.vpp.ipfix.IPFIX.Collector
   212  	1, // [1:1] is the sub-list for method output_type
   213  	1, // [1:1] is the sub-list for method input_type
   214  	1, // [1:1] is the sub-list for extension type_name
   215  	1, // [1:1] is the sub-list for extension extendee
   216  	0, // [0:1] is the sub-list for field type_name
   217  }
   218  
   219  func init() { file_ligato_vpp_ipfix_ipfix_proto_init() }
   220  func file_ligato_vpp_ipfix_ipfix_proto_init() {
   221  	if File_ligato_vpp_ipfix_ipfix_proto != nil {
   222  		return
   223  	}
   224  	if !protoimpl.UnsafeEnabled {
   225  		file_ligato_vpp_ipfix_ipfix_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   226  			switch v := v.(*IPFIX); i {
   227  			case 0:
   228  				return &v.state
   229  			case 1:
   230  				return &v.sizeCache
   231  			case 2:
   232  				return &v.unknownFields
   233  			default:
   234  				return nil
   235  			}
   236  		}
   237  		file_ligato_vpp_ipfix_ipfix_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   238  			switch v := v.(*IPFIX_Collector); i {
   239  			case 0:
   240  				return &v.state
   241  			case 1:
   242  				return &v.sizeCache
   243  			case 2:
   244  				return &v.unknownFields
   245  			default:
   246  				return nil
   247  			}
   248  		}
   249  	}
   250  	type x struct{}
   251  	out := protoimpl.TypeBuilder{
   252  		File: protoimpl.DescBuilder{
   253  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   254  			RawDescriptor: file_ligato_vpp_ipfix_ipfix_proto_rawDesc,
   255  			NumEnums:      0,
   256  			NumMessages:   2,
   257  			NumExtensions: 0,
   258  			NumServices:   0,
   259  		},
   260  		GoTypes:           file_ligato_vpp_ipfix_ipfix_proto_goTypes,
   261  		DependencyIndexes: file_ligato_vpp_ipfix_ipfix_proto_depIdxs,
   262  		MessageInfos:      file_ligato_vpp_ipfix_ipfix_proto_msgTypes,
   263  	}.Build()
   264  	File_ligato_vpp_ipfix_ipfix_proto = out.File
   265  	file_ligato_vpp_ipfix_ipfix_proto_rawDesc = nil
   266  	file_ligato_vpp_ipfix_ipfix_proto_goTypes = nil
   267  	file_ligato_vpp_ipfix_ipfix_proto_depIdxs = nil
   268  }