go.ligato.io/vpp-agent/v3@v3.5.0/proto/ligato/vpp/ipfix/flowprobe.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/flowprobe.proto
     6  
     7  package vpp_ipfix
     8  
     9  import (
    10  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    11  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    12  	reflect "reflect"
    13  	sync "sync"
    14  )
    15  
    16  const (
    17  	// Verify that this generated code is sufficiently up-to-date.
    18  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    19  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    21  )
    22  
    23  type FlowProbeFeature struct {
    24  	state         protoimpl.MessageState
    25  	sizeCache     protoimpl.SizeCache
    26  	unknownFields protoimpl.UnknownFields
    27  
    28  	Interface string `protobuf:"bytes,1,opt,name=interface,proto3" json:"interface,omitempty"`
    29  	L2        bool   `protobuf:"varint,2,opt,name=l2,proto3" json:"l2,omitempty"`
    30  	Ip4       bool   `protobuf:"varint,3,opt,name=ip4,proto3" json:"ip4,omitempty"`
    31  	Ip6       bool   `protobuf:"varint,4,opt,name=ip6,proto3" json:"ip6,omitempty"`
    32  }
    33  
    34  func (x *FlowProbeFeature) Reset() {
    35  	*x = FlowProbeFeature{}
    36  	if protoimpl.UnsafeEnabled {
    37  		mi := &file_ligato_vpp_ipfix_flowprobe_proto_msgTypes[0]
    38  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    39  		ms.StoreMessageInfo(mi)
    40  	}
    41  }
    42  
    43  func (x *FlowProbeFeature) String() string {
    44  	return protoimpl.X.MessageStringOf(x)
    45  }
    46  
    47  func (*FlowProbeFeature) ProtoMessage() {}
    48  
    49  func (x *FlowProbeFeature) ProtoReflect() protoreflect.Message {
    50  	mi := &file_ligato_vpp_ipfix_flowprobe_proto_msgTypes[0]
    51  	if protoimpl.UnsafeEnabled && x != nil {
    52  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    53  		if ms.LoadMessageInfo() == nil {
    54  			ms.StoreMessageInfo(mi)
    55  		}
    56  		return ms
    57  	}
    58  	return mi.MessageOf(x)
    59  }
    60  
    61  // Deprecated: Use FlowProbeFeature.ProtoReflect.Descriptor instead.
    62  func (*FlowProbeFeature) Descriptor() ([]byte, []int) {
    63  	return file_ligato_vpp_ipfix_flowprobe_proto_rawDescGZIP(), []int{0}
    64  }
    65  
    66  func (x *FlowProbeFeature) GetInterface() string {
    67  	if x != nil {
    68  		return x.Interface
    69  	}
    70  	return ""
    71  }
    72  
    73  func (x *FlowProbeFeature) GetL2() bool {
    74  	if x != nil {
    75  		return x.L2
    76  	}
    77  	return false
    78  }
    79  
    80  func (x *FlowProbeFeature) GetIp4() bool {
    81  	if x != nil {
    82  		return x.Ip4
    83  	}
    84  	return false
    85  }
    86  
    87  func (x *FlowProbeFeature) GetIp6() bool {
    88  	if x != nil {
    89  		return x.Ip6
    90  	}
    91  	return false
    92  }
    93  
    94  type FlowProbeParams struct {
    95  	state         protoimpl.MessageState
    96  	sizeCache     protoimpl.SizeCache
    97  	unknownFields protoimpl.UnknownFields
    98  
    99  	ActiveTimer  uint32 `protobuf:"varint,1,opt,name=active_timer,json=activeTimer,proto3" json:"active_timer,omitempty"`
   100  	PassiveTimer uint32 `protobuf:"varint,2,opt,name=passive_timer,json=passiveTimer,proto3" json:"passive_timer,omitempty"`
   101  	RecordL2     bool   `protobuf:"varint,3,opt,name=record_l2,json=recordL2,proto3" json:"record_l2,omitempty"`
   102  	RecordL3     bool   `protobuf:"varint,4,opt,name=record_l3,json=recordL3,proto3" json:"record_l3,omitempty"`
   103  	RecordL4     bool   `protobuf:"varint,5,opt,name=record_l4,json=recordL4,proto3" json:"record_l4,omitempty"`
   104  }
   105  
   106  func (x *FlowProbeParams) Reset() {
   107  	*x = FlowProbeParams{}
   108  	if protoimpl.UnsafeEnabled {
   109  		mi := &file_ligato_vpp_ipfix_flowprobe_proto_msgTypes[1]
   110  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   111  		ms.StoreMessageInfo(mi)
   112  	}
   113  }
   114  
   115  func (x *FlowProbeParams) String() string {
   116  	return protoimpl.X.MessageStringOf(x)
   117  }
   118  
   119  func (*FlowProbeParams) ProtoMessage() {}
   120  
   121  func (x *FlowProbeParams) ProtoReflect() protoreflect.Message {
   122  	mi := &file_ligato_vpp_ipfix_flowprobe_proto_msgTypes[1]
   123  	if protoimpl.UnsafeEnabled && x != nil {
   124  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   125  		if ms.LoadMessageInfo() == nil {
   126  			ms.StoreMessageInfo(mi)
   127  		}
   128  		return ms
   129  	}
   130  	return mi.MessageOf(x)
   131  }
   132  
   133  // Deprecated: Use FlowProbeParams.ProtoReflect.Descriptor instead.
   134  func (*FlowProbeParams) Descriptor() ([]byte, []int) {
   135  	return file_ligato_vpp_ipfix_flowprobe_proto_rawDescGZIP(), []int{1}
   136  }
   137  
   138  func (x *FlowProbeParams) GetActiveTimer() uint32 {
   139  	if x != nil {
   140  		return x.ActiveTimer
   141  	}
   142  	return 0
   143  }
   144  
   145  func (x *FlowProbeParams) GetPassiveTimer() uint32 {
   146  	if x != nil {
   147  		return x.PassiveTimer
   148  	}
   149  	return 0
   150  }
   151  
   152  func (x *FlowProbeParams) GetRecordL2() bool {
   153  	if x != nil {
   154  		return x.RecordL2
   155  	}
   156  	return false
   157  }
   158  
   159  func (x *FlowProbeParams) GetRecordL3() bool {
   160  	if x != nil {
   161  		return x.RecordL3
   162  	}
   163  	return false
   164  }
   165  
   166  func (x *FlowProbeParams) GetRecordL4() bool {
   167  	if x != nil {
   168  		return x.RecordL4
   169  	}
   170  	return false
   171  }
   172  
   173  var File_ligato_vpp_ipfix_flowprobe_proto protoreflect.FileDescriptor
   174  
   175  var file_ligato_vpp_ipfix_flowprobe_proto_rawDesc = []byte{
   176  	0x0a, 0x20, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x76, 0x70, 0x70, 0x2f, 0x69, 0x70, 0x66,
   177  	0x69, 0x78, 0x2f, 0x66, 0x6c, 0x6f, 0x77, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   178  	0x74, 0x6f, 0x12, 0x10, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x76, 0x70, 0x70, 0x2e, 0x69,
   179  	0x70, 0x66, 0x69, 0x78, 0x22, 0x64, 0x0a, 0x10, 0x46, 0x6c, 0x6f, 0x77, 0x50, 0x72, 0x6f, 0x62,
   180  	0x65, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x65,
   181  	0x72, 0x66, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6e, 0x74,
   182  	0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x32, 0x18, 0x02, 0x20, 0x01,
   183  	0x28, 0x08, 0x52, 0x02, 0x6c, 0x32, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x70, 0x34, 0x18, 0x03, 0x20,
   184  	0x01, 0x28, 0x08, 0x52, 0x03, 0x69, 0x70, 0x34, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x70, 0x36, 0x18,
   185  	0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x69, 0x70, 0x36, 0x22, 0xb0, 0x01, 0x0a, 0x0f, 0x46,
   186  	0x6c, 0x6f, 0x77, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x21,
   187  	0x0a, 0x0c, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x72, 0x18, 0x01,
   188  	0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x69, 0x6d, 0x65,
   189  	0x72, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x69, 0x6d,
   190  	0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x70, 0x61, 0x73, 0x73, 0x69, 0x76,
   191  	0x65, 0x54, 0x69, 0x6d, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64,
   192  	0x5f, 0x6c, 0x32, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x63, 0x6f, 0x72,
   193  	0x64, 0x4c, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x6c, 0x33,
   194  	0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4c, 0x33,
   195  	0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x6c, 0x34, 0x18, 0x05, 0x20,
   196  	0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4c, 0x34, 0x42, 0x3c, 0x5a,
   197  	0x3a, 0x67, 0x6f, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x70,
   198  	0x70, 0x2d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   199  	0x2f, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x76, 0x70, 0x70, 0x2f, 0x69, 0x70, 0x66, 0x69,
   200  	0x78, 0x3b, 0x76, 0x70, 0x70, 0x5f, 0x69, 0x70, 0x66, 0x69, 0x78, 0x62, 0x06, 0x70, 0x72, 0x6f,
   201  	0x74, 0x6f, 0x33,
   202  }
   203  
   204  var (
   205  	file_ligato_vpp_ipfix_flowprobe_proto_rawDescOnce sync.Once
   206  	file_ligato_vpp_ipfix_flowprobe_proto_rawDescData = file_ligato_vpp_ipfix_flowprobe_proto_rawDesc
   207  )
   208  
   209  func file_ligato_vpp_ipfix_flowprobe_proto_rawDescGZIP() []byte {
   210  	file_ligato_vpp_ipfix_flowprobe_proto_rawDescOnce.Do(func() {
   211  		file_ligato_vpp_ipfix_flowprobe_proto_rawDescData = protoimpl.X.CompressGZIP(file_ligato_vpp_ipfix_flowprobe_proto_rawDescData)
   212  	})
   213  	return file_ligato_vpp_ipfix_flowprobe_proto_rawDescData
   214  }
   215  
   216  var file_ligato_vpp_ipfix_flowprobe_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   217  var file_ligato_vpp_ipfix_flowprobe_proto_goTypes = []interface{}{
   218  	(*FlowProbeFeature)(nil), // 0: ligato.vpp.ipfix.FlowProbeFeature
   219  	(*FlowProbeParams)(nil),  // 1: ligato.vpp.ipfix.FlowProbeParams
   220  }
   221  var file_ligato_vpp_ipfix_flowprobe_proto_depIdxs = []int32{
   222  	0, // [0:0] is the sub-list for method output_type
   223  	0, // [0:0] is the sub-list for method input_type
   224  	0, // [0:0] is the sub-list for extension type_name
   225  	0, // [0:0] is the sub-list for extension extendee
   226  	0, // [0:0] is the sub-list for field type_name
   227  }
   228  
   229  func init() { file_ligato_vpp_ipfix_flowprobe_proto_init() }
   230  func file_ligato_vpp_ipfix_flowprobe_proto_init() {
   231  	if File_ligato_vpp_ipfix_flowprobe_proto != nil {
   232  		return
   233  	}
   234  	if !protoimpl.UnsafeEnabled {
   235  		file_ligato_vpp_ipfix_flowprobe_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   236  			switch v := v.(*FlowProbeFeature); i {
   237  			case 0:
   238  				return &v.state
   239  			case 1:
   240  				return &v.sizeCache
   241  			case 2:
   242  				return &v.unknownFields
   243  			default:
   244  				return nil
   245  			}
   246  		}
   247  		file_ligato_vpp_ipfix_flowprobe_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   248  			switch v := v.(*FlowProbeParams); i {
   249  			case 0:
   250  				return &v.state
   251  			case 1:
   252  				return &v.sizeCache
   253  			case 2:
   254  				return &v.unknownFields
   255  			default:
   256  				return nil
   257  			}
   258  		}
   259  	}
   260  	type x struct{}
   261  	out := protoimpl.TypeBuilder{
   262  		File: protoimpl.DescBuilder{
   263  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   264  			RawDescriptor: file_ligato_vpp_ipfix_flowprobe_proto_rawDesc,
   265  			NumEnums:      0,
   266  			NumMessages:   2,
   267  			NumExtensions: 0,
   268  			NumServices:   0,
   269  		},
   270  		GoTypes:           file_ligato_vpp_ipfix_flowprobe_proto_goTypes,
   271  		DependencyIndexes: file_ligato_vpp_ipfix_flowprobe_proto_depIdxs,
   272  		MessageInfos:      file_ligato_vpp_ipfix_flowprobe_proto_msgTypes,
   273  	}.Build()
   274  	File_ligato_vpp_ipfix_flowprobe_proto = out.File
   275  	file_ligato_vpp_ipfix_flowprobe_proto_rawDesc = nil
   276  	file_ligato_vpp_ipfix_flowprobe_proto_goTypes = nil
   277  	file_ligato_vpp_ipfix_flowprobe_proto_depIdxs = nil
   278  }