public interface RouterStatusNatStatusNatRuleStatusOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getActiveNatIps(int index)
public abstract String getActiveNatIps(int index)
A list of active IPs for NAT. Example: ["1.1.1.1", "179.12.26.133"].
repeated string active_nat_ips = 208517077;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The activeNatIps at the given index. |
getActiveNatIpsBytes(int index)
public abstract ByteString getActiveNatIpsBytes(int index)
A list of active IPs for NAT. Example: ["1.1.1.1", "179.12.26.133"].
repeated string active_nat_ips = 208517077;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the activeNatIps at the given index. |
getActiveNatIpsCount()
public abstract int getActiveNatIpsCount()
A list of active IPs for NAT. Example: ["1.1.1.1", "179.12.26.133"].
repeated string active_nat_ips = 208517077;
Returns | |
---|---|
Type | Description |
int |
The count of activeNatIps. |
getActiveNatIpsList()
public abstract List<String> getActiveNatIpsList()
A list of active IPs for NAT. Example: ["1.1.1.1", "179.12.26.133"].
repeated string active_nat_ips = 208517077;
Returns | |
---|---|
Type | Description |
List<String> |
A list containing the activeNatIps. |
getDrainNatIps(int index)
public abstract String getDrainNatIps(int index)
A list of IPs for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"].
repeated string drain_nat_ips = 504078535;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The drainNatIps at the given index. |
getDrainNatIpsBytes(int index)
public abstract ByteString getDrainNatIpsBytes(int index)
A list of IPs for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"].
repeated string drain_nat_ips = 504078535;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the drainNatIps at the given index. |
getDrainNatIpsCount()
public abstract int getDrainNatIpsCount()
A list of IPs for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"].
repeated string drain_nat_ips = 504078535;
Returns | |
---|---|
Type | Description |
int |
The count of drainNatIps. |
getDrainNatIpsList()
public abstract List<String> getDrainNatIpsList()
A list of IPs for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"].
repeated string drain_nat_ips = 504078535;
Returns | |
---|---|
Type | Description |
List<String> |
A list containing the drainNatIps. |
getMinExtraIpsNeeded()
public abstract int getMinExtraIpsNeeded()
The number of extra IPs to allocate. This will be greater than 0 only if the existing IPs in this NAT Rule are NOT enough to allow all configured VMs to use NAT.
optional int32 min_extra_ips_needed = 353002756;
Returns | |
---|---|
Type | Description |
int |
The minExtraIpsNeeded. |
getNumVmEndpointsWithNatMappings()
public abstract int getNumVmEndpointsWithNatMappings()
Number of VM endpoints (i.e., NICs) that have NAT Mappings from this NAT Rule.
optional int32 num_vm_endpoints_with_nat_mappings = 512367468;
Returns | |
---|---|
Type | Description |
int |
The numVmEndpointsWithNatMappings. |
getRuleNumber()
public abstract int getRuleNumber()
Rule number of the rule.
optional int32 rule_number = 535211500;
Returns | |
---|---|
Type | Description |
int |
The ruleNumber. |
hasMinExtraIpsNeeded()
public abstract boolean hasMinExtraIpsNeeded()
The number of extra IPs to allocate. This will be greater than 0 only if the existing IPs in this NAT Rule are NOT enough to allow all configured VMs to use NAT.
optional int32 min_extra_ips_needed = 353002756;
Returns | |
---|---|
Type | Description |
boolean |
Whether the minExtraIpsNeeded field is set. |
hasNumVmEndpointsWithNatMappings()
public abstract boolean hasNumVmEndpointsWithNatMappings()
Number of VM endpoints (i.e., NICs) that have NAT Mappings from this NAT Rule.
optional int32 num_vm_endpoints_with_nat_mappings = 512367468;
Returns | |
---|---|
Type | Description |
boolean |
Whether the numVmEndpointsWithNatMappings field is set. |
hasRuleNumber()
public abstract boolean hasRuleNumber()
Rule number of the rule.
optional int32 rule_number = 535211500;
Returns | |
---|---|
Type | Description |
boolean |
Whether the ruleNumber field is set. |