Interface AllocationPolicy.NetworkPolicyOrBuilder (0.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static interface AllocationPolicy.NetworkPolicyOrBuilder extends MessageOrBuilder
Methods
getNetworkInterfaces(int index)
public abstract AllocationPolicy.NetworkInterface getNetworkInterfaces(int index)
Network configurations.
repeated .google.events.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;
Parameter |
Name |
Description |
index |
int
|
getNetworkInterfacesCount()
public abstract int getNetworkInterfacesCount()
Network configurations.
repeated .google.events.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;
Returns |
Type |
Description |
int |
|
getNetworkInterfacesList()
public abstract List<AllocationPolicy.NetworkInterface> getNetworkInterfacesList()
Network configurations.
repeated .google.events.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;
getNetworkInterfacesOrBuilder(int index)
public abstract AllocationPolicy.NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder(int index)
Network configurations.
repeated .google.events.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;
Parameter |
Name |
Description |
index |
int
|
getNetworkInterfacesOrBuilderList()
public abstract List<? extends AllocationPolicy.NetworkInterfaceOrBuilder> getNetworkInterfacesOrBuilderList()
Network configurations.
repeated .google.events.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;
Returns |
Type |
Description |
List<? extends com.google.events.cloud.batch.v1.AllocationPolicy.NetworkInterfaceOrBuilder> |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["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 AllocationPolicy.NetworkPolicyOrBuilder (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.batch.v1.AllocationPolicy.NetworkPolicyOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.batch.v1.AllocationPolicy.NetworkPolicyOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.batch.v1.AllocationPolicy.NetworkPolicyOrBuilder) \n\n public static interface AllocationPolicy.NetworkPolicyOrBuilder 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### getNetworkInterfaces(int index)\n\n public abstract AllocationPolicy.NetworkInterface getNetworkInterfaces(int index)\n\nNetwork configurations.\n\n`\nrepeated .google.events.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;\n`\n\n### getNetworkInterfacesCount()\n\n public abstract int getNetworkInterfacesCount()\n\nNetwork configurations.\n\n`\nrepeated .google.events.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;\n`\n\n### getNetworkInterfacesList()\n\n public abstract List\u003cAllocationPolicy.NetworkInterface\u003e getNetworkInterfacesList()\n\nNetwork configurations.\n\n`\nrepeated .google.events.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;\n`\n\n### getNetworkInterfacesOrBuilder(int index)\n\n public abstract AllocationPolicy.NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder(int index)\n\nNetwork configurations.\n\n`\nrepeated .google.events.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;\n`\n\n### getNetworkInterfacesOrBuilderList()\n\n public abstract List\u003c? extends AllocationPolicy.NetworkInterfaceOrBuilder\u003e getNetworkInterfacesOrBuilderList()\n\nNetwork configurations.\n\n`\nrepeated .google.events.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;\n`"]]