Package com.google.cloud.compute.v1
Interface RouterStatusNatStatusNatRuleStatusOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RouterStatusNatStatusNatRuleStatus,RouterStatusNatStatusNatRuleStatus.Builder
public interface RouterStatusNatStatusNatRuleStatusOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetActiveNatIps(int index)A list of active IPs for NAT.com.google.protobuf.ByteStringgetActiveNatIpsBytes(int index)A list of active IPs for NAT.intgetActiveNatIpsCount()A list of active IPs for NAT.List<String>getActiveNatIpsList()A list of active IPs for NAT.StringgetDrainNatIps(int index)A list of IPs for NAT that are in drain mode.com.google.protobuf.ByteStringgetDrainNatIpsBytes(int index)A list of IPs for NAT that are in drain mode.intgetDrainNatIpsCount()A list of IPs for NAT that are in drain mode.List<String>getDrainNatIpsList()A list of IPs for NAT that are in drain mode.intgetMinExtraIpsNeeded()The number of extra IPs to allocate.intgetNumVmEndpointsWithNatMappings()Number of VM endpoints (i.e., NICs) that have NAT Mappings from this NAT Rule.intgetRuleNumber()Rule number of the rule.booleanhasMinExtraIpsNeeded()The number of extra IPs to allocate.booleanhasNumVmEndpointsWithNatMappings()Number of VM endpoints (i.e., NICs) that have NAT Mappings from this NAT Rule.booleanhasRuleNumber()Rule number of the rule.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getActiveNatIpsList
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:
- A list containing the activeNatIps.
-
getActiveNatIpsCount
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:
- The count of activeNatIps.
-
getActiveNatIps
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;- Parameters:
index- The index of the element to return.- Returns:
- The activeNatIps at the given index.
-
getActiveNatIpsBytes
com.google.protobuf.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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the activeNatIps at the given index.
-
getDrainNatIpsList
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:
- A list containing the drainNatIps.
-
getDrainNatIpsCount
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:
- The count of drainNatIps.
-
getDrainNatIps
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;- Parameters:
index- The index of the element to return.- Returns:
- The drainNatIps at the given index.
-
getDrainNatIpsBytes
com.google.protobuf.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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the drainNatIps at the given index.
-
hasMinExtraIpsNeeded
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:
- Whether the minExtraIpsNeeded field is set.
-
getMinExtraIpsNeeded
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:
- The minExtraIpsNeeded.
-
hasNumVmEndpointsWithNatMappings
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:
- Whether the numVmEndpointsWithNatMappings field is set.
-
getNumVmEndpointsWithNatMappings
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:
- The numVmEndpointsWithNatMappings.
-
hasRuleNumber
boolean hasRuleNumber()
Rule number of the rule.
optional int32 rule_number = 535211500;- Returns:
- Whether the ruleNumber field is set.
-
getRuleNumber
int getRuleNumber()
Rule number of the rule.
optional int32 rule_number = 535211500;- Returns:
- The ruleNumber.
-
-