go.ligato.io/vpp-agent/v3@v3.5.0/proto/ligato/vpp/interfaces/dhcp.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/interfaces/dhcp.proto 6 7 package vpp_interfaces 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 // DHCPLease is a notification, i.e. flows from SB upwards 25 type DHCPLease struct { 26 state protoimpl.MessageState 27 sizeCache protoimpl.SizeCache 28 unknownFields protoimpl.UnknownFields 29 30 InterfaceName string `protobuf:"bytes,1,opt,name=interface_name,json=interfaceName,proto3" json:"interface_name,omitempty"` 31 HostName string `protobuf:"bytes,2,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"` 32 IsIpv6 bool `protobuf:"varint,3,opt,name=is_ipv6,json=isIpv6,proto3" json:"is_ipv6,omitempty"` 33 HostPhysAddress string `protobuf:"bytes,4,opt,name=host_phys_address,json=hostPhysAddress,proto3" json:"host_phys_address,omitempty"` 34 HostIpAddress string `protobuf:"bytes,5,opt,name=host_ip_address,json=hostIpAddress,proto3" json:"host_ip_address,omitempty"` // IP addresses in the format <ipAddress>/<ipPrefix> 35 RouterIpAddress string `protobuf:"bytes,6,opt,name=router_ip_address,json=routerIpAddress,proto3" json:"router_ip_address,omitempty"` // IP addresses in the format <ipAddress>/<ipPrefix> 36 } 37 38 func (x *DHCPLease) Reset() { 39 *x = DHCPLease{} 40 if protoimpl.UnsafeEnabled { 41 mi := &file_ligato_vpp_interfaces_dhcp_proto_msgTypes[0] 42 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 43 ms.StoreMessageInfo(mi) 44 } 45 } 46 47 func (x *DHCPLease) String() string { 48 return protoimpl.X.MessageStringOf(x) 49 } 50 51 func (*DHCPLease) ProtoMessage() {} 52 53 func (x *DHCPLease) ProtoReflect() protoreflect.Message { 54 mi := &file_ligato_vpp_interfaces_dhcp_proto_msgTypes[0] 55 if protoimpl.UnsafeEnabled && x != nil { 56 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 57 if ms.LoadMessageInfo() == nil { 58 ms.StoreMessageInfo(mi) 59 } 60 return ms 61 } 62 return mi.MessageOf(x) 63 } 64 65 // Deprecated: Use DHCPLease.ProtoReflect.Descriptor instead. 66 func (*DHCPLease) Descriptor() ([]byte, []int) { 67 return file_ligato_vpp_interfaces_dhcp_proto_rawDescGZIP(), []int{0} 68 } 69 70 func (x *DHCPLease) GetInterfaceName() string { 71 if x != nil { 72 return x.InterfaceName 73 } 74 return "" 75 } 76 77 func (x *DHCPLease) GetHostName() string { 78 if x != nil { 79 return x.HostName 80 } 81 return "" 82 } 83 84 func (x *DHCPLease) GetIsIpv6() bool { 85 if x != nil { 86 return x.IsIpv6 87 } 88 return false 89 } 90 91 func (x *DHCPLease) GetHostPhysAddress() string { 92 if x != nil { 93 return x.HostPhysAddress 94 } 95 return "" 96 } 97 98 func (x *DHCPLease) GetHostIpAddress() string { 99 if x != nil { 100 return x.HostIpAddress 101 } 102 return "" 103 } 104 105 func (x *DHCPLease) GetRouterIpAddress() string { 106 if x != nil { 107 return x.RouterIpAddress 108 } 109 return "" 110 } 111 112 var File_ligato_vpp_interfaces_dhcp_proto protoreflect.FileDescriptor 113 114 var file_ligato_vpp_interfaces_dhcp_proto_rawDesc = []byte{ 115 0x0a, 0x20, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x76, 0x70, 0x70, 0x2f, 0x69, 0x6e, 0x74, 116 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x64, 0x68, 0x63, 0x70, 0x2e, 0x70, 0x72, 0x6f, 117 0x74, 0x6f, 0x12, 0x15, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x76, 0x70, 0x70, 0x2e, 0x69, 118 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x1a, 0x18, 0x6c, 0x69, 0x67, 0x61, 0x74, 119 0x6f, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 120 0x6f, 0x74, 0x6f, 0x22, 0xf6, 0x01, 0x0a, 0x09, 0x44, 0x48, 0x43, 0x50, 0x4c, 0x65, 0x61, 0x73, 121 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x5f, 0x6e, 122 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x72, 123 0x66, 0x61, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x68, 0x6f, 0x73, 0x74, 124 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 125 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x69, 0x70, 0x76, 0x36, 126 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x49, 0x70, 0x76, 0x36, 0x12, 0x2a, 127 0x0a, 0x11, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x68, 0x79, 0x73, 0x5f, 0x61, 0x64, 0x64, 0x72, 128 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x68, 0x6f, 0x73, 0x74, 0x50, 129 0x68, 0x79, 0x73, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2d, 0x0a, 0x0f, 0x68, 0x6f, 130 0x73, 0x74, 0x5f, 0x69, 0x70, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 131 0x01, 0x28, 0x09, 0x42, 0x05, 0x82, 0x7d, 0x02, 0x08, 0x04, 0x52, 0x0d, 0x68, 0x6f, 0x73, 0x74, 132 0x49, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x31, 0x0a, 0x11, 0x72, 0x6f, 0x75, 133 0x74, 0x65, 0x72, 0x5f, 0x69, 0x70, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x06, 134 0x20, 0x01, 0x28, 0x09, 0x42, 0x05, 0x82, 0x7d, 0x02, 0x08, 0x04, 0x52, 0x0f, 0x72, 0x6f, 0x75, 135 0x74, 0x65, 0x72, 0x49, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x46, 0x5a, 0x44, 136 0x67, 0x6f, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x70, 0x70, 137 0x2d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 138 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x76, 0x70, 0x70, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 139 0x66, 0x61, 0x63, 0x65, 0x73, 0x3b, 0x76, 0x70, 0x70, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 140 0x61, 0x63, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 141 } 142 143 var ( 144 file_ligato_vpp_interfaces_dhcp_proto_rawDescOnce sync.Once 145 file_ligato_vpp_interfaces_dhcp_proto_rawDescData = file_ligato_vpp_interfaces_dhcp_proto_rawDesc 146 ) 147 148 func file_ligato_vpp_interfaces_dhcp_proto_rawDescGZIP() []byte { 149 file_ligato_vpp_interfaces_dhcp_proto_rawDescOnce.Do(func() { 150 file_ligato_vpp_interfaces_dhcp_proto_rawDescData = protoimpl.X.CompressGZIP(file_ligato_vpp_interfaces_dhcp_proto_rawDescData) 151 }) 152 return file_ligato_vpp_interfaces_dhcp_proto_rawDescData 153 } 154 155 var file_ligato_vpp_interfaces_dhcp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 156 var file_ligato_vpp_interfaces_dhcp_proto_goTypes = []interface{}{ 157 (*DHCPLease)(nil), // 0: ligato.vpp.interfaces.DHCPLease 158 } 159 var file_ligato_vpp_interfaces_dhcp_proto_depIdxs = []int32{ 160 0, // [0:0] is the sub-list for method output_type 161 0, // [0:0] is the sub-list for method input_type 162 0, // [0:0] is the sub-list for extension type_name 163 0, // [0:0] is the sub-list for extension extendee 164 0, // [0:0] is the sub-list for field type_name 165 } 166 167 func init() { file_ligato_vpp_interfaces_dhcp_proto_init() } 168 func file_ligato_vpp_interfaces_dhcp_proto_init() { 169 if File_ligato_vpp_interfaces_dhcp_proto != nil { 170 return 171 } 172 if !protoimpl.UnsafeEnabled { 173 file_ligato_vpp_interfaces_dhcp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 174 switch v := v.(*DHCPLease); i { 175 case 0: 176 return &v.state 177 case 1: 178 return &v.sizeCache 179 case 2: 180 return &v.unknownFields 181 default: 182 return nil 183 } 184 } 185 } 186 type x struct{} 187 out := protoimpl.TypeBuilder{ 188 File: protoimpl.DescBuilder{ 189 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 190 RawDescriptor: file_ligato_vpp_interfaces_dhcp_proto_rawDesc, 191 NumEnums: 0, 192 NumMessages: 1, 193 NumExtensions: 0, 194 NumServices: 0, 195 }, 196 GoTypes: file_ligato_vpp_interfaces_dhcp_proto_goTypes, 197 DependencyIndexes: file_ligato_vpp_interfaces_dhcp_proto_depIdxs, 198 MessageInfos: file_ligato_vpp_interfaces_dhcp_proto_msgTypes, 199 }.Build() 200 File_ligato_vpp_interfaces_dhcp_proto = out.File 201 file_ligato_vpp_interfaces_dhcp_proto_rawDesc = nil 202 file_ligato_vpp_interfaces_dhcp_proto_goTypes = nil 203 file_ligato_vpp_interfaces_dhcp_proto_depIdxs = nil 204 }