go.ligato.io/vpp-agent/v3@v3.5.0/proto/ligato/vpp/l3/teib.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/l3/teib.proto
     6  
     7  package vpp_l3
     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  // TeibEntry represents an tunnel endpoint information base entry.
    25  type TeibEntry struct {
    26  	state         protoimpl.MessageState
    27  	sizeCache     protoimpl.SizeCache
    28  	unknownFields protoimpl.UnknownFields
    29  
    30  	// Interface references a tunnel interface this TEIB entry is linked to.
    31  	Interface string `protobuf:"bytes,1,opt,name=interface,proto3" json:"interface,omitempty"`
    32  	// IP address of the peer.
    33  	PeerAddr string `protobuf:"bytes,2,opt,name=peer_addr,json=peerAddr,proto3" json:"peer_addr,omitempty"`
    34  	// Next hop IP address.
    35  	NextHopAddr string `protobuf:"bytes,3,opt,name=next_hop_addr,json=nextHopAddr,proto3" json:"next_hop_addr,omitempty"`
    36  	// VRF ID used to reach the next hop.
    37  	VrfId uint32 `protobuf:"varint,4,opt,name=vrf_id,json=vrfId,proto3" json:"vrf_id,omitempty"`
    38  }
    39  
    40  func (x *TeibEntry) Reset() {
    41  	*x = TeibEntry{}
    42  	if protoimpl.UnsafeEnabled {
    43  		mi := &file_ligato_vpp_l3_teib_proto_msgTypes[0]
    44  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    45  		ms.StoreMessageInfo(mi)
    46  	}
    47  }
    48  
    49  func (x *TeibEntry) String() string {
    50  	return protoimpl.X.MessageStringOf(x)
    51  }
    52  
    53  func (*TeibEntry) ProtoMessage() {}
    54  
    55  func (x *TeibEntry) ProtoReflect() protoreflect.Message {
    56  	mi := &file_ligato_vpp_l3_teib_proto_msgTypes[0]
    57  	if protoimpl.UnsafeEnabled && x != nil {
    58  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    59  		if ms.LoadMessageInfo() == nil {
    60  			ms.StoreMessageInfo(mi)
    61  		}
    62  		return ms
    63  	}
    64  	return mi.MessageOf(x)
    65  }
    66  
    67  // Deprecated: Use TeibEntry.ProtoReflect.Descriptor instead.
    68  func (*TeibEntry) Descriptor() ([]byte, []int) {
    69  	return file_ligato_vpp_l3_teib_proto_rawDescGZIP(), []int{0}
    70  }
    71  
    72  func (x *TeibEntry) GetInterface() string {
    73  	if x != nil {
    74  		return x.Interface
    75  	}
    76  	return ""
    77  }
    78  
    79  func (x *TeibEntry) GetPeerAddr() string {
    80  	if x != nil {
    81  		return x.PeerAddr
    82  	}
    83  	return ""
    84  }
    85  
    86  func (x *TeibEntry) GetNextHopAddr() string {
    87  	if x != nil {
    88  		return x.NextHopAddr
    89  	}
    90  	return ""
    91  }
    92  
    93  func (x *TeibEntry) GetVrfId() uint32 {
    94  	if x != nil {
    95  		return x.VrfId
    96  	}
    97  	return 0
    98  }
    99  
   100  var File_ligato_vpp_l3_teib_proto protoreflect.FileDescriptor
   101  
   102  var file_ligato_vpp_l3_teib_proto_rawDesc = []byte{
   103  	0x0a, 0x18, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x76, 0x70, 0x70, 0x2f, 0x6c, 0x33, 0x2f,
   104  	0x74, 0x65, 0x69, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x6c, 0x69, 0x67, 0x61,
   105  	0x74, 0x6f, 0x2e, 0x76, 0x70, 0x70, 0x2e, 0x6c, 0x33, 0x1a, 0x18, 0x6c, 0x69, 0x67, 0x61, 0x74,
   106  	0x6f, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72,
   107  	0x6f, 0x74, 0x6f, 0x22, 0x8f, 0x01, 0x0a, 0x09, 0x54, 0x65, 0x69, 0x62, 0x45, 0x6e, 0x74, 0x72,
   108  	0x79, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x18, 0x01,
   109  	0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x12,
   110  	0x22, 0x0a, 0x09, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01,
   111  	0x28, 0x09, 0x42, 0x05, 0x82, 0x7d, 0x02, 0x08, 0x01, 0x52, 0x08, 0x70, 0x65, 0x65, 0x72, 0x41,
   112  	0x64, 0x64, 0x72, 0x12, 0x29, 0x0a, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x68, 0x6f, 0x70, 0x5f,
   113  	0x61, 0x64, 0x64, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x05, 0x82, 0x7d, 0x02, 0x08,
   114  	0x01, 0x52, 0x0b, 0x6e, 0x65, 0x78, 0x74, 0x48, 0x6f, 0x70, 0x41, 0x64, 0x64, 0x72, 0x12, 0x15,
   115  	0x0a, 0x06, 0x76, 0x72, 0x66, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05,
   116  	0x76, 0x72, 0x66, 0x49, 0x64, 0x42, 0x36, 0x5a, 0x34, 0x67, 0x6f, 0x2e, 0x6c, 0x69, 0x67, 0x61,
   117  	0x74, 0x6f, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x70, 0x70, 0x2d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f,
   118  	0x76, 0x33, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f,
   119  	0x76, 0x70, 0x70, 0x2f, 0x6c, 0x33, 0x3b, 0x76, 0x70, 0x70, 0x5f, 0x6c, 0x33, 0x62, 0x06, 0x70,
   120  	0x72, 0x6f, 0x74, 0x6f, 0x33,
   121  }
   122  
   123  var (
   124  	file_ligato_vpp_l3_teib_proto_rawDescOnce sync.Once
   125  	file_ligato_vpp_l3_teib_proto_rawDescData = file_ligato_vpp_l3_teib_proto_rawDesc
   126  )
   127  
   128  func file_ligato_vpp_l3_teib_proto_rawDescGZIP() []byte {
   129  	file_ligato_vpp_l3_teib_proto_rawDescOnce.Do(func() {
   130  		file_ligato_vpp_l3_teib_proto_rawDescData = protoimpl.X.CompressGZIP(file_ligato_vpp_l3_teib_proto_rawDescData)
   131  	})
   132  	return file_ligato_vpp_l3_teib_proto_rawDescData
   133  }
   134  
   135  var file_ligato_vpp_l3_teib_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   136  var file_ligato_vpp_l3_teib_proto_goTypes = []interface{}{
   137  	(*TeibEntry)(nil), // 0: ligato.vpp.l3.TeibEntry
   138  }
   139  var file_ligato_vpp_l3_teib_proto_depIdxs = []int32{
   140  	0, // [0:0] is the sub-list for method output_type
   141  	0, // [0:0] is the sub-list for method input_type
   142  	0, // [0:0] is the sub-list for extension type_name
   143  	0, // [0:0] is the sub-list for extension extendee
   144  	0, // [0:0] is the sub-list for field type_name
   145  }
   146  
   147  func init() { file_ligato_vpp_l3_teib_proto_init() }
   148  func file_ligato_vpp_l3_teib_proto_init() {
   149  	if File_ligato_vpp_l3_teib_proto != nil {
   150  		return
   151  	}
   152  	if !protoimpl.UnsafeEnabled {
   153  		file_ligato_vpp_l3_teib_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   154  			switch v := v.(*TeibEntry); i {
   155  			case 0:
   156  				return &v.state
   157  			case 1:
   158  				return &v.sizeCache
   159  			case 2:
   160  				return &v.unknownFields
   161  			default:
   162  				return nil
   163  			}
   164  		}
   165  	}
   166  	type x struct{}
   167  	out := protoimpl.TypeBuilder{
   168  		File: protoimpl.DescBuilder{
   169  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   170  			RawDescriptor: file_ligato_vpp_l3_teib_proto_rawDesc,
   171  			NumEnums:      0,
   172  			NumMessages:   1,
   173  			NumExtensions: 0,
   174  			NumServices:   0,
   175  		},
   176  		GoTypes:           file_ligato_vpp_l3_teib_proto_goTypes,
   177  		DependencyIndexes: file_ligato_vpp_l3_teib_proto_depIdxs,
   178  		MessageInfos:      file_ligato_vpp_l3_teib_proto_msgTypes,
   179  	}.Build()
   180  	File_ligato_vpp_l3_teib_proto = out.File
   181  	file_ligato_vpp_l3_teib_proto_rawDesc = nil
   182  	file_ligato_vpp_l3_teib_proto_goTypes = nil
   183  	file_ligato_vpp_l3_teib_proto_depIdxs = nil
   184  }