[[["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 Task.InfrastructureSpec.VpcNetworkOrBuilder (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.dataplex.v1.Task.InfrastructureSpec.VpcNetworkOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetworkOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetworkOrBuilder) \n\n public static interface Task.InfrastructureSpec.VpcNetworkOrBuilder 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### getNetwork()\n\n public abstract String getNetwork()\n\nOptional. The Cloud VPC network in which the job is run. By default,\nthe Cloud VPC network named Default within the project is used.\n\n`string network = 1;`\n\n### getNetworkBytes()\n\n public abstract ByteString getNetworkBytes()\n\nOptional. The Cloud VPC network in which the job is run. By default,\nthe Cloud VPC network named Default within the project is used.\n\n`string network = 1;`\n\n### getNetworkNameCase()\n\n public abstract Task.InfrastructureSpec.VpcNetwork.NetworkNameCase getNetworkNameCase()\n\n### getNetworkTags(int index)\n\n public abstract String getNetworkTags(int index)\n\nOptional. List of network tags to apply to the job.\n\n`repeated string network_tags = 3;`\n\n### getNetworkTagsBytes(int index)\n\n public abstract ByteString getNetworkTagsBytes(int index)\n\nOptional. List of network tags to apply to the job.\n\n`repeated string network_tags = 3;`\n\n### getNetworkTagsCount()\n\n public abstract int getNetworkTagsCount()\n\nOptional. List of network tags to apply to the job.\n\n`repeated string network_tags = 3;`\n\n### getNetworkTagsList()\n\n public abstract List\u003cString\u003e getNetworkTagsList()\n\nOptional. List of network tags to apply to the job.\n\n`repeated string network_tags = 3;`\n\n### getSubNetwork()\n\n public abstract String getSubNetwork()\n\nOptional. The Cloud VPC sub-network in which the job is run.\n\n`string sub_network = 2;`\n\n### getSubNetworkBytes()\n\n public abstract ByteString getSubNetworkBytes()\n\nOptional. The Cloud VPC sub-network in which the job is run.\n\n`string sub_network = 2;`\n\n### hasNetwork()\n\n public abstract boolean hasNetwork()\n\nOptional. The Cloud VPC network in which the job is run. By default,\nthe Cloud VPC network named Default within the project is used.\n\n`string network = 1;`\n\n### hasSubNetwork()\n\n public abstract boolean hasSubNetwork()\n\nOptional. The Cloud VPC sub-network in which the job is run.\n\n`string sub_network = 2;`"]]