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
public interface RouterStatusNatStatusOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAutoAllocatedNatIps(int index)
A list of IPs auto-allocated for NAT.com.google.protobuf.ByteString
getAutoAllocatedNatIpsBytes(int index)
A list of IPs auto-allocated for NAT.int
getAutoAllocatedNatIpsCount()
A list of IPs auto-allocated for NAT.List<String>
getAutoAllocatedNatIpsList()
A list of IPs auto-allocated for NAT.String
getDrainAutoAllocatedNatIps(int index)
A list of IPs auto-allocated for NAT that are in drain mode.com.google.protobuf.ByteString
getDrainAutoAllocatedNatIpsBytes(int index)
A list of IPs auto-allocated for NAT that are in drain mode.int
getDrainAutoAllocatedNatIpsCount()
A list of IPs auto-allocated for NAT that are in drain mode.List<String>
getDrainAutoAllocatedNatIpsList()
A list of IPs auto-allocated for NAT that are in drain mode.String
getDrainUserAllocatedNatIps(int index)
A list of IPs user-allocated for NAT that are in drain mode.com.google.protobuf.ByteString
getDrainUserAllocatedNatIpsBytes(int index)
A list of IPs user-allocated for NAT that are in drain mode.int
getDrainUserAllocatedNatIpsCount()
A list of IPs user-allocated for NAT that are in drain mode.List<String>
getDrainUserAllocatedNatIpsList()
A list of IPs user-allocated for NAT that are in drain mode.int
getMinExtraNatIpsNeeded()
The number of extra IPs to allocate.String
getName()
Unique name of this NAT.com.google.protobuf.ByteString
getNameBytes()
Unique name of this NAT.int
getNumVmEndpointsWithNatMappings()
Number of VM endpoints (i.e., Nics) that can use NAT.RouterStatusNatStatusNatRuleStatus
getRuleStatus(int index)
Status of rules in this NAT.int
getRuleStatusCount()
Status of rules in this NAT.List<RouterStatusNatStatusNatRuleStatus>
getRuleStatusList()
Status of rules in this NAT.RouterStatusNatStatusNatRuleStatusOrBuilder
getRuleStatusOrBuilder(int index)
Status of rules in this NAT.List<? extends RouterStatusNatStatusNatRuleStatusOrBuilder>
getRuleStatusOrBuilderList()
Status of rules in this NAT.String
getUserAllocatedNatIpResources(int index)
A list of fully qualified URLs of reserved IP address resources.com.google.protobuf.ByteString
getUserAllocatedNatIpResourcesBytes(int index)
A list of fully qualified URLs of reserved IP address resources.int
getUserAllocatedNatIpResourcesCount()
A list of fully qualified URLs of reserved IP address resources.List<String>
getUserAllocatedNatIpResourcesList()
A list of fully qualified URLs of reserved IP address resources.String
getUserAllocatedNatIps(int index)
A list of IPs user-allocated for NAT.com.google.protobuf.ByteString
getUserAllocatedNatIpsBytes(int index)
A list of IPs user-allocated for NAT.int
getUserAllocatedNatIpsCount()
A list of IPs user-allocated for NAT.List<String>
getUserAllocatedNatIpsList()
A list of IPs user-allocated for NAT.boolean
hasMinExtraNatIpsNeeded()
The number of extra IPs to allocate.boolean
hasName()
Unique name of this NAT.boolean
hasNumVmEndpointsWithNatMappings()
Number of VM endpoints (i.e., Nics) that can use NAT.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAutoAllocatedNatIpsList
List<String> getAutoAllocatedNatIpsList()
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()
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
String getAutoAllocatedNatIps(int index)
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)
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
List<String> getDrainAutoAllocatedNatIpsList()
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()
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
String getDrainAutoAllocatedNatIps(int index)
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)
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
List<String> getDrainUserAllocatedNatIpsList()
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()
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
String getDrainUserAllocatedNatIps(int index)
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)
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()
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()
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()
Unique name of this NAT.
optional string name = 3373707;
- Returns:
- Whether the name field is set.
-
getName
String getName()
Unique name of this NAT.
optional string name = 3373707;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Unique name of this NAT.
optional string name = 3373707;
- Returns:
- The bytes for name.
-
hasNumVmEndpointsWithNatMappings
boolean hasNumVmEndpointsWithNatMappings()
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()
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
RouterStatusNatStatusNatRuleStatus getRuleStatus(int index)
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
RouterStatusNatStatusNatRuleStatusOrBuilder getRuleStatusOrBuilder(int index)
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
-
getUserAllocatedNatIpResourcesList
List<String> getUserAllocatedNatIpResourcesList()
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()
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
String getUserAllocatedNatIpResources(int index)
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)
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
List<String> getUserAllocatedNatIpsList()
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()
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
String getUserAllocatedNatIps(int index)
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)
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.
-
-