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