go.ligato.io/vpp-agent/v3@v3.5.0/proto/ligato/vpp/stn/stn.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/stn/stn.proto
     6  
     7  package vpp_stn
     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  type Rule struct {
    25  	state         protoimpl.MessageState
    26  	sizeCache     protoimpl.SizeCache
    27  	unknownFields protoimpl.UnknownFields
    28  
    29  	IpAddress string `protobuf:"bytes,1,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
    30  	Interface string `protobuf:"bytes,2,opt,name=interface,proto3" json:"interface,omitempty"`
    31  }
    32  
    33  func (x *Rule) Reset() {
    34  	*x = Rule{}
    35  	if protoimpl.UnsafeEnabled {
    36  		mi := &file_ligato_vpp_stn_stn_proto_msgTypes[0]
    37  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    38  		ms.StoreMessageInfo(mi)
    39  	}
    40  }
    41  
    42  func (x *Rule) String() string {
    43  	return protoimpl.X.MessageStringOf(x)
    44  }
    45  
    46  func (*Rule) ProtoMessage() {}
    47  
    48  func (x *Rule) ProtoReflect() protoreflect.Message {
    49  	mi := &file_ligato_vpp_stn_stn_proto_msgTypes[0]
    50  	if protoimpl.UnsafeEnabled && x != nil {
    51  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    52  		if ms.LoadMessageInfo() == nil {
    53  			ms.StoreMessageInfo(mi)
    54  		}
    55  		return ms
    56  	}
    57  	return mi.MessageOf(x)
    58  }
    59  
    60  // Deprecated: Use Rule.ProtoReflect.Descriptor instead.
    61  func (*Rule) Descriptor() ([]byte, []int) {
    62  	return file_ligato_vpp_stn_stn_proto_rawDescGZIP(), []int{0}
    63  }
    64  
    65  func (x *Rule) GetIpAddress() string {
    66  	if x != nil {
    67  		return x.IpAddress
    68  	}
    69  	return ""
    70  }
    71  
    72  func (x *Rule) GetInterface() string {
    73  	if x != nil {
    74  		return x.Interface
    75  	}
    76  	return ""
    77  }
    78  
    79  var File_ligato_vpp_stn_stn_proto protoreflect.FileDescriptor
    80  
    81  var file_ligato_vpp_stn_stn_proto_rawDesc = []byte{
    82  	0x0a, 0x18, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x76, 0x70, 0x70, 0x2f, 0x73, 0x74, 0x6e,
    83  	0x2f, 0x73, 0x74, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x6c, 0x69, 0x67, 0x61,
    84  	0x74, 0x6f, 0x2e, 0x76, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x6e, 0x1a, 0x18, 0x6c, 0x69, 0x67, 0x61,
    85  	0x74, 0x6f, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70,
    86  	0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x04, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x24, 0x0a, 0x0a,
    87  	0x69, 0x70, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
    88  	0x42, 0x05, 0x82, 0x7d, 0x02, 0x08, 0x01, 0x52, 0x09, 0x69, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65,
    89  	0x73, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x18,
    90  	0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65,
    91  	0x42, 0x38, 0x5a, 0x36, 0x67, 0x6f, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x69, 0x6f,
    92  	0x2f, 0x76, 0x70, 0x70, 0x2d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x72,
    93  	0x6f, 0x74, 0x6f, 0x2f, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x76, 0x70, 0x70, 0x2f, 0x73,
    94  	0x74, 0x6e, 0x3b, 0x76, 0x70, 0x70, 0x5f, 0x73, 0x74, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
    95  	0x6f, 0x33,
    96  }
    97  
    98  var (
    99  	file_ligato_vpp_stn_stn_proto_rawDescOnce sync.Once
   100  	file_ligato_vpp_stn_stn_proto_rawDescData = file_ligato_vpp_stn_stn_proto_rawDesc
   101  )
   102  
   103  func file_ligato_vpp_stn_stn_proto_rawDescGZIP() []byte {
   104  	file_ligato_vpp_stn_stn_proto_rawDescOnce.Do(func() {
   105  		file_ligato_vpp_stn_stn_proto_rawDescData = protoimpl.X.CompressGZIP(file_ligato_vpp_stn_stn_proto_rawDescData)
   106  	})
   107  	return file_ligato_vpp_stn_stn_proto_rawDescData
   108  }
   109  
   110  var file_ligato_vpp_stn_stn_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   111  var file_ligato_vpp_stn_stn_proto_goTypes = []interface{}{
   112  	(*Rule)(nil), // 0: ligato.vpp.stn.Rule
   113  }
   114  var file_ligato_vpp_stn_stn_proto_depIdxs = []int32{
   115  	0, // [0:0] is the sub-list for method output_type
   116  	0, // [0:0] is the sub-list for method input_type
   117  	0, // [0:0] is the sub-list for extension type_name
   118  	0, // [0:0] is the sub-list for extension extendee
   119  	0, // [0:0] is the sub-list for field type_name
   120  }
   121  
   122  func init() { file_ligato_vpp_stn_stn_proto_init() }
   123  func file_ligato_vpp_stn_stn_proto_init() {
   124  	if File_ligato_vpp_stn_stn_proto != nil {
   125  		return
   126  	}
   127  	if !protoimpl.UnsafeEnabled {
   128  		file_ligato_vpp_stn_stn_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   129  			switch v := v.(*Rule); i {
   130  			case 0:
   131  				return &v.state
   132  			case 1:
   133  				return &v.sizeCache
   134  			case 2:
   135  				return &v.unknownFields
   136  			default:
   137  				return nil
   138  			}
   139  		}
   140  	}
   141  	type x struct{}
   142  	out := protoimpl.TypeBuilder{
   143  		File: protoimpl.DescBuilder{
   144  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   145  			RawDescriptor: file_ligato_vpp_stn_stn_proto_rawDesc,
   146  			NumEnums:      0,
   147  			NumMessages:   1,
   148  			NumExtensions: 0,
   149  			NumServices:   0,
   150  		},
   151  		GoTypes:           file_ligato_vpp_stn_stn_proto_goTypes,
   152  		DependencyIndexes: file_ligato_vpp_stn_stn_proto_depIdxs,
   153  		MessageInfos:      file_ligato_vpp_stn_stn_proto_msgTypes,
   154  	}.Build()
   155  	File_ligato_vpp_stn_stn_proto = out.File
   156  	file_ligato_vpp_stn_stn_proto_rawDesc = nil
   157  	file_ligato_vpp_stn_stn_proto_goTypes = nil
   158  	file_ligato_vpp_stn_stn_proto_depIdxs = nil
   159  }