[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Interface NetworkInterfaceOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.vmmigration.v1.NetworkInterfaceOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.vmmigration.v1.NetworkInterfaceOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.vmmigration.v1.NetworkInterfaceOrBuilder) \n\n public interface NetworkInterfaceOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getExternalIp()\n\n public abstract String getExternalIp()\n\nThe external IP to define in the NIC.\n\n`string external_ip = 4;`\n\n### getExternalIpBytes()\n\n public abstract ByteString getExternalIpBytes()\n\nThe external IP to define in the NIC.\n\n`string external_ip = 4;`\n\n### getInternalIp()\n\n public abstract String getInternalIp()\n\nThe internal IP to define in the NIC.\nThe formats accepted are: `ephemeral` \\\\ ipv4 address \\\\ a named address\nresource full path.\n\n`string internal_ip = 3;`\n\n### getInternalIpBytes()\n\n public abstract ByteString getInternalIpBytes()\n\nThe internal IP to define in the NIC.\nThe formats accepted are: `ephemeral` \\\\ ipv4 address \\\\ a named address\nresource full path.\n\n`string internal_ip = 3;`\n\n### getNetwork()\n\n public abstract String getNetwork()\n\nThe network to connect the NIC to.\n\n`string network = 1;`\n\n### getNetworkBytes()\n\n public abstract ByteString getNetworkBytes()\n\nThe network to connect the NIC to.\n\n`string network = 1;`\n\n### getSubnetwork()\n\n public abstract String getSubnetwork()\n\nThe subnetwork to connect the NIC to.\n\n`string subnetwork = 2;`\n\n### getSubnetworkBytes()\n\n public abstract ByteString getSubnetworkBytes()\n\nThe subnetwork to connect the NIC to.\n\n`string subnetwork = 2;`"]]