Interface AllocationPolicy.NetworkPolicyOrBuilder (0.42.0)

public static interface AllocationPolicy.NetworkPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNetworkInterfaces(int index)

public abstract AllocationPolicy.NetworkInterface getNetworkInterfaces(int index)

Network configurations.

repeated .google.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;

Parameter
Name Description
index int
Returns
Type Description
AllocationPolicy.NetworkInterface

getNetworkInterfacesCount()

public abstract int getNetworkInterfacesCount()

Network configurations.

repeated .google.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;

Returns
Type Description
int

getNetworkInterfacesList()

public abstract List<AllocationPolicy.NetworkInterface> getNetworkInterfacesList()

Network configurations.

repeated .google.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;

Returns
Type Description
List<NetworkInterface>

getNetworkInterfacesOrBuilder(int index)

public abstract AllocationPolicy.NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder(int index)

Network configurations.

repeated .google.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;

Parameter
Name Description
index int
Returns
Type Description
AllocationPolicy.NetworkInterfaceOrBuilder

getNetworkInterfacesOrBuilderList()

public abstract List<? extends AllocationPolicy.NetworkInterfaceOrBuilder> getNetworkInterfacesOrBuilderList()

Network configurations.

repeated .google.cloud.batch.v1.AllocationPolicy.NetworkInterface network_interfaces = 1;

Returns
Type Description
List<? extends com.google.cloud.batch.v1.AllocationPolicy.NetworkInterfaceOrBuilder>