Interface NetworkConfigOrBuilder (2.42.0)

public interface NetworkConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCanIpForward()

public abstract boolean getCanIpForward()

Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes.

bool can_ip_forward = 4;

Returns
TypeDescription
boolean

The canIpForward.

getEnableExternalIps()

public abstract boolean getEnableExternalIps()

Indicates that external IP addresses would be associated with the TPU workers. If set to false, the specified subnetwork or network should have Private Google Access enabled.

bool enable_external_ips = 3;

Returns
TypeDescription
boolean

The enableExternalIps.

getNetwork()

public abstract String getNetwork()

The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, "default" will be used.

string network = 1;

Returns
TypeDescription
String

The network.

getNetworkBytes()

public abstract ByteString getNetworkBytes()

The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, "default" will be used.

string network = 1;

Returns
TypeDescription
ByteString

The bytes for network.

getSubnetwork()

public abstract String getSubnetwork()

The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, "default" will be used.

string subnetwork = 2;

Returns
TypeDescription
String

The subnetwork.

getSubnetworkBytes()

public abstract ByteString getSubnetworkBytes()

The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, "default" will be used.

string subnetwork = 2;

Returns
TypeDescription
ByteString

The bytes for subnetwork.