Interface VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappingsOrBuilder (1.62.0)

public interface VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDrainNatIpPortRanges(int index)

public abstract String getDrainNatIpPortRanges(int index)

List of all drain IP:port-range mappings assigned to this interface by this rule. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].

repeated string drain_nat_ip_port_ranges = 395440577;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The drainNatIpPortRanges at the given index.

getDrainNatIpPortRangesBytes(int index)

public abstract ByteString getDrainNatIpPortRangesBytes(int index)

List of all drain IP:port-range mappings assigned to this interface by this rule. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].

repeated string drain_nat_ip_port_ranges = 395440577;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the drainNatIpPortRanges at the given index.

getDrainNatIpPortRangesCount()

public abstract int getDrainNatIpPortRangesCount()

List of all drain IP:port-range mappings assigned to this interface by this rule. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].

repeated string drain_nat_ip_port_ranges = 395440577;

Returns
Type Description
int

The count of drainNatIpPortRanges.

getDrainNatIpPortRangesList()

public abstract List<String> getDrainNatIpPortRangesList()

List of all drain IP:port-range mappings assigned to this interface by this rule. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].

repeated string drain_nat_ip_port_ranges = 395440577;

Returns
Type Description
List<String>

A list containing the drainNatIpPortRanges.

getNatIpPortRanges(int index)

public abstract String getNatIpPortRanges(int index)

A list of all IP:port-range mappings assigned to this interface by this rule. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].

repeated string nat_ip_port_ranges = 531830810;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The natIpPortRanges at the given index.

getNatIpPortRangesBytes(int index)

public abstract ByteString getNatIpPortRangesBytes(int index)

A list of all IP:port-range mappings assigned to this interface by this rule. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].

repeated string nat_ip_port_ranges = 531830810;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the natIpPortRanges at the given index.

getNatIpPortRangesCount()

public abstract int getNatIpPortRangesCount()

A list of all IP:port-range mappings assigned to this interface by this rule. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].

repeated string nat_ip_port_ranges = 531830810;

Returns
Type Description
int

The count of natIpPortRanges.

getNatIpPortRangesList()

public abstract List<String> getNatIpPortRangesList()

A list of all IP:port-range mappings assigned to this interface by this rule. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].

repeated string nat_ip_port_ranges = 531830810;

Returns
Type Description
List<String>

A list containing the natIpPortRanges.

getNumTotalDrainNatPorts()

public abstract int getNumTotalDrainNatPorts()

Total number of drain ports across all NAT IPs allocated to this interface by this rule. It equals the aggregated port number in the field drain_nat_ip_port_ranges.

optional int32 num_total_drain_nat_ports = 335532793;

Returns
Type Description
int

The numTotalDrainNatPorts.

getNumTotalNatPorts()

public abstract int getNumTotalNatPorts()

Total number of ports across all NAT IPs allocated to this interface by this rule. It equals the aggregated port number in the field nat_ip_port_ranges.

optional int32 num_total_nat_ports = 299904384;

Returns
Type Description
int

The numTotalNatPorts.

getRuleNumber()

public abstract int getRuleNumber()

Rule number of the NAT Rule.

optional int32 rule_number = 535211500;

Returns
Type Description
int

The ruleNumber.

hasNumTotalDrainNatPorts()

public abstract boolean hasNumTotalDrainNatPorts()

Total number of drain ports across all NAT IPs allocated to this interface by this rule. It equals the aggregated port number in the field drain_nat_ip_port_ranges.

optional int32 num_total_drain_nat_ports = 335532793;

Returns
Type Description
boolean

Whether the numTotalDrainNatPorts field is set.

hasNumTotalNatPorts()

public abstract boolean hasNumTotalNatPorts()

Total number of ports across all NAT IPs allocated to this interface by this rule. It equals the aggregated port number in the field nat_ip_port_ranges.

optional int32 num_total_nat_ports = 299904384;

Returns
Type Description
boolean

Whether the numTotalNatPorts field is set.

hasRuleNumber()

public abstract boolean hasRuleNumber()

Rule number of the NAT Rule.

optional int32 rule_number = 535211500;

Returns
Type Description
boolean

Whether the ruleNumber field is set.