Interface RouterNatRuleActionOrBuilder (1.27.0)

public interface RouterNatRuleActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSourceNatActiveIps(int index)

public abstract String getSourceNatActiveIps(int index)

A list of URLs of the IP resources used for this NAT rule. These IP addresses must be valid static external IP addresses assigned to the project. This field is used for public NAT.

repeated string source_nat_active_ips = 210378229;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The sourceNatActiveIps at the given index.

getSourceNatActiveIpsBytes(int index)

public abstract ByteString getSourceNatActiveIpsBytes(int index)

A list of URLs of the IP resources used for this NAT rule. These IP addresses must be valid static external IP addresses assigned to the project. This field is used for public NAT.

repeated string source_nat_active_ips = 210378229;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the sourceNatActiveIps at the given index.

getSourceNatActiveIpsCount()

public abstract int getSourceNatActiveIpsCount()

A list of URLs of the IP resources used for this NAT rule. These IP addresses must be valid static external IP addresses assigned to the project. This field is used for public NAT.

repeated string source_nat_active_ips = 210378229;

Returns
TypeDescription
int

The count of sourceNatActiveIps.

getSourceNatActiveIpsList()

public abstract List<String> getSourceNatActiveIpsList()

A list of URLs of the IP resources used for this NAT rule. These IP addresses must be valid static external IP addresses assigned to the project. This field is used for public NAT.

repeated string source_nat_active_ips = 210378229;

Returns
TypeDescription
List<String>

A list containing the sourceNatActiveIps.

getSourceNatDrainIps(int index)

public abstract String getSourceNatDrainIps(int index)

A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT rule only. This field is used for public NAT.

repeated string source_nat_drain_ips = 340812451;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The sourceNatDrainIps at the given index.

getSourceNatDrainIpsBytes(int index)

public abstract ByteString getSourceNatDrainIpsBytes(int index)

A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT rule only. This field is used for public NAT.

repeated string source_nat_drain_ips = 340812451;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the sourceNatDrainIps at the given index.

getSourceNatDrainIpsCount()

public abstract int getSourceNatDrainIpsCount()

A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT rule only. This field is used for public NAT.

repeated string source_nat_drain_ips = 340812451;

Returns
TypeDescription
int

The count of sourceNatDrainIps.

getSourceNatDrainIpsList()

public abstract List<String> getSourceNatDrainIpsList()

A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT rule only. This field is used for public NAT.

repeated string source_nat_drain_ips = 340812451;

Returns
TypeDescription
List<String>

A list containing the sourceNatDrainIps.