Package com.google.cloud.compute.v1
Interface RouterStatusNatStatusOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RouterStatusNatStatus,RouterStatusNatStatus.Builder
@Generated
public interface RouterStatusNatStatusOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAutoAllocatedNatIps(int index) Output only.com.google.protobuf.ByteStringgetAutoAllocatedNatIpsBytes(int index) Output only.intOutput only.Output only.getDrainAutoAllocatedNatIps(int index) Output only.com.google.protobuf.ByteStringgetDrainAutoAllocatedNatIpsBytes(int index) Output only.intOutput only.Output only.getDrainUserAllocatedNatIps(int index) Output only.com.google.protobuf.ByteStringgetDrainUserAllocatedNatIpsBytes(int index) Output only.intOutput only.Output only.intOutput only.getName()Output only.com.google.protobuf.ByteStringOutput only.intOutput only.getRuleStatus(int index) Status of rules in this NAT.intStatus of rules in this NAT.Status of rules in this NAT.getRuleStatusOrBuilder(int index) Status of rules in this NAT.List<? extends RouterStatusNatStatusNatRuleStatusOrBuilder>Status of rules in this NAT.getUserAllocatedNatIpResources(int index) Output only.com.google.protobuf.ByteStringgetUserAllocatedNatIpResourcesBytes(int index) Output only.intOutput only.Output only.getUserAllocatedNatIps(int index) Output only.com.google.protobuf.ByteStringgetUserAllocatedNatIpsBytes(int index) Output only.intOutput only.Output only.booleanOutput only.booleanhasName()Output only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getAutoAllocatedNatIpsList
Output only. A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"]
repeated string auto_allocated_nat_ips = 510794246;- Returns:
- A list containing the autoAllocatedNatIps.
-
getAutoAllocatedNatIpsCount
int getAutoAllocatedNatIpsCount()Output only. A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"]
repeated string auto_allocated_nat_ips = 510794246;- Returns:
- The count of autoAllocatedNatIps.
-
getAutoAllocatedNatIps
Output only. A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"]
repeated string auto_allocated_nat_ips = 510794246;- Parameters:
index- The index of the element to return.- Returns:
- The autoAllocatedNatIps at the given index.
-
getAutoAllocatedNatIpsBytes
com.google.protobuf.ByteString getAutoAllocatedNatIpsBytes(int index) Output only. A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"]
repeated string auto_allocated_nat_ips = 510794246;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the autoAllocatedNatIps at the given index.
-
getDrainAutoAllocatedNatIpsList
Output only. A list of IPs auto-allocated for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"].
repeated string drain_auto_allocated_nat_ips = 309184557;- Returns:
- A list containing the drainAutoAllocatedNatIps.
-
getDrainAutoAllocatedNatIpsCount
int getDrainAutoAllocatedNatIpsCount()Output only. A list of IPs auto-allocated for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"].
repeated string drain_auto_allocated_nat_ips = 309184557;- Returns:
- The count of drainAutoAllocatedNatIps.
-
getDrainAutoAllocatedNatIps
Output only. A list of IPs auto-allocated for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"].
repeated string drain_auto_allocated_nat_ips = 309184557;- Parameters:
index- The index of the element to return.- Returns:
- The drainAutoAllocatedNatIps at the given index.
-
getDrainAutoAllocatedNatIpsBytes
com.google.protobuf.ByteString getDrainAutoAllocatedNatIpsBytes(int index) Output only. A list of IPs auto-allocated for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"].
repeated string drain_auto_allocated_nat_ips = 309184557;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the drainAutoAllocatedNatIps at the given index.
-
getDrainUserAllocatedNatIpsList
Output only. A list of IPs user-allocated for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"].
repeated string drain_user_allocated_nat_ips = 305268553;- Returns:
- A list containing the drainUserAllocatedNatIps.
-
getDrainUserAllocatedNatIpsCount
int getDrainUserAllocatedNatIpsCount()Output only. A list of IPs user-allocated for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"].
repeated string drain_user_allocated_nat_ips = 305268553;- Returns:
- The count of drainUserAllocatedNatIps.
-
getDrainUserAllocatedNatIps
Output only. A list of IPs user-allocated for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"].
repeated string drain_user_allocated_nat_ips = 305268553;- Parameters:
index- The index of the element to return.- Returns:
- The drainUserAllocatedNatIps at the given index.
-
getDrainUserAllocatedNatIpsBytes
com.google.protobuf.ByteString getDrainUserAllocatedNatIpsBytes(int index) Output only. A list of IPs user-allocated for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"].
repeated string drain_user_allocated_nat_ips = 305268553;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the drainUserAllocatedNatIps at the given index.
-
hasMinExtraNatIpsNeeded
boolean hasMinExtraNatIpsNeeded()Output only. The number of extra IPs to allocate. This will be greater than 0 only if user-specified IPs are NOT enough to allow all configured VMs to use NAT. This value is meaningful only when auto-allocation of NAT IPs is *not* used.
optional int32 min_extra_nat_ips_needed = 365786338;- Returns:
- Whether the minExtraNatIpsNeeded field is set.
-
getMinExtraNatIpsNeeded
int getMinExtraNatIpsNeeded()Output only. The number of extra IPs to allocate. This will be greater than 0 only if user-specified IPs are NOT enough to allow all configured VMs to use NAT. This value is meaningful only when auto-allocation of NAT IPs is *not* used.
optional int32 min_extra_nat_ips_needed = 365786338;- Returns:
- The minExtraNatIpsNeeded.
-
hasName
boolean hasName()Output only. Unique name of this NAT.
optional string name = 3373707;- Returns:
- Whether the name field is set.
-
getName
String getName()Output only. Unique name of this NAT.
optional string name = 3373707;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Output only. Unique name of this NAT.
optional string name = 3373707;- Returns:
- The bytes for name.
-
hasNumVmEndpointsWithNatMappings
boolean hasNumVmEndpointsWithNatMappings()Output only. Number of VM endpoints (i.e., Nics) that can use NAT.
optional int32 num_vm_endpoints_with_nat_mappings = 512367468;- Returns:
- Whether the numVmEndpointsWithNatMappings field is set.
-
getNumVmEndpointsWithNatMappings
int getNumVmEndpointsWithNatMappings()Output only. Number of VM endpoints (i.e., Nics) that can use NAT.
optional int32 num_vm_endpoints_with_nat_mappings = 512367468;- Returns:
- The numVmEndpointsWithNatMappings.
-
getRuleStatusList
List<RouterStatusNatStatusNatRuleStatus> getRuleStatusList()Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125; -
getRuleStatus
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125; -
getRuleStatusCount
int getRuleStatusCount()Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125; -
getRuleStatusOrBuilderList
List<? extends RouterStatusNatStatusNatRuleStatusOrBuilder> getRuleStatusOrBuilderList()Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125; -
getRuleStatusOrBuilder
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125; -
getUserAllocatedNatIpResourcesList
Output only. A list of fully qualified URLs of reserved IP address resources.
repeated string user_allocated_nat_ip_resources = 212776151;- Returns:
- A list containing the userAllocatedNatIpResources.
-
getUserAllocatedNatIpResourcesCount
int getUserAllocatedNatIpResourcesCount()Output only. A list of fully qualified URLs of reserved IP address resources.
repeated string user_allocated_nat_ip_resources = 212776151;- Returns:
- The count of userAllocatedNatIpResources.
-
getUserAllocatedNatIpResources
Output only. A list of fully qualified URLs of reserved IP address resources.
repeated string user_allocated_nat_ip_resources = 212776151;- Parameters:
index- The index of the element to return.- Returns:
- The userAllocatedNatIpResources at the given index.
-
getUserAllocatedNatIpResourcesBytes
com.google.protobuf.ByteString getUserAllocatedNatIpResourcesBytes(int index) Output only. A list of fully qualified URLs of reserved IP address resources.
repeated string user_allocated_nat_ip_resources = 212776151;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the userAllocatedNatIpResources at the given index.
-
getUserAllocatedNatIpsList
Output only. A list of IPs user-allocated for NAT. They will be raw IP strings like "179.12.26.133".
repeated string user_allocated_nat_ips = 506878242;- Returns:
- A list containing the userAllocatedNatIps.
-
getUserAllocatedNatIpsCount
int getUserAllocatedNatIpsCount()Output only. A list of IPs user-allocated for NAT. They will be raw IP strings like "179.12.26.133".
repeated string user_allocated_nat_ips = 506878242;- Returns:
- The count of userAllocatedNatIps.
-
getUserAllocatedNatIps
Output only. A list of IPs user-allocated for NAT. They will be raw IP strings like "179.12.26.133".
repeated string user_allocated_nat_ips = 506878242;- Parameters:
index- The index of the element to return.- Returns:
- The userAllocatedNatIps at the given index.
-
getUserAllocatedNatIpsBytes
com.google.protobuf.ByteString getUserAllocatedNatIpsBytes(int index) Output only. A list of IPs user-allocated for NAT. They will be raw IP strings like "179.12.26.133".
repeated string user_allocated_nat_ips = 506878242;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the userAllocatedNatIps at the given index.
-