Interface RouterStatusNatStatusOrBuilder (1.27.0)

public interface RouterStatusNatStatusOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAutoAllocatedNatIps(int index)

public abstract 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;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The autoAllocatedNatIps at the given index.

getAutoAllocatedNatIpsBytes(int index)

public abstract 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;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the autoAllocatedNatIps at the given index.

getAutoAllocatedNatIpsCount()

public abstract 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
TypeDescription
int

The count of autoAllocatedNatIps.

getAutoAllocatedNatIpsList()

public abstract 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
TypeDescription
List<String>

A list containing the autoAllocatedNatIps.

getDrainAutoAllocatedNatIps(int index)

public abstract 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;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The drainAutoAllocatedNatIps at the given index.

getDrainAutoAllocatedNatIpsBytes(int index)

public abstract 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;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the drainAutoAllocatedNatIps at the given index.

getDrainAutoAllocatedNatIpsCount()

public abstract 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
TypeDescription
int

The count of drainAutoAllocatedNatIps.

getDrainAutoAllocatedNatIpsList()

public abstract 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
TypeDescription
List<String>

A list containing the drainAutoAllocatedNatIps.

getDrainUserAllocatedNatIps(int index)

public abstract 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;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The drainUserAllocatedNatIps at the given index.

getDrainUserAllocatedNatIpsBytes(int index)

public abstract 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;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the drainUserAllocatedNatIps at the given index.

getDrainUserAllocatedNatIpsCount()

public abstract 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
TypeDescription
int

The count of drainUserAllocatedNatIps.

getDrainUserAllocatedNatIpsList()

public abstract 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
TypeDescription
List<String>

A list containing the drainUserAllocatedNatIps.

getMinExtraNatIpsNeeded()

public abstract 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
TypeDescription
int

The minExtraNatIpsNeeded.

getName()

public abstract String getName()

Unique name of this NAT.

optional string name = 3373707;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Unique name of this NAT.

optional string name = 3373707;

Returns
TypeDescription
ByteString

The bytes for name.

getNumVmEndpointsWithNatMappings()

public abstract int getNumVmEndpointsWithNatMappings()

Number of VM endpoints (i.e., Nics) that can use NAT.

optional int32 num_vm_endpoints_with_nat_mappings = 512367468;

Returns
TypeDescription
int

The numVmEndpointsWithNatMappings.

getRuleStatus(int index)

public abstract RouterStatusNatStatusNatRuleStatus getRuleStatus(int index)

Status of rules in this NAT.

repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;

Parameter
NameDescription
indexint
Returns
TypeDescription
RouterStatusNatStatusNatRuleStatus

getRuleStatusCount()

public abstract int getRuleStatusCount()

Status of rules in this NAT.

repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;

Returns
TypeDescription
int

getRuleStatusList()

public abstract List<RouterStatusNatStatusNatRuleStatus> getRuleStatusList()

Status of rules in this NAT.

repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;

Returns
TypeDescription
List<RouterStatusNatStatusNatRuleStatus>

getRuleStatusOrBuilder(int index)

public abstract RouterStatusNatStatusNatRuleStatusOrBuilder getRuleStatusOrBuilder(int index)

Status of rules in this NAT.

repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;

Parameter
NameDescription
indexint
Returns
TypeDescription
RouterStatusNatStatusNatRuleStatusOrBuilder

getRuleStatusOrBuilderList()

public abstract List<? extends RouterStatusNatStatusNatRuleStatusOrBuilder> getRuleStatusOrBuilderList()

Status of rules in this NAT.

repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatusOrBuilder>

getUserAllocatedNatIpResources(int index)

public abstract String getUserAllocatedNatIpResources(int index)

A list of fully qualified URLs of reserved IP address resources.

repeated string user_allocated_nat_ip_resources = 212776151;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The userAllocatedNatIpResources at the given index.

getUserAllocatedNatIpResourcesBytes(int index)

public abstract ByteString getUserAllocatedNatIpResourcesBytes(int index)

A list of fully qualified URLs of reserved IP address resources.

repeated string user_allocated_nat_ip_resources = 212776151;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the userAllocatedNatIpResources at the given index.

getUserAllocatedNatIpResourcesCount()

public abstract int getUserAllocatedNatIpResourcesCount()

A list of fully qualified URLs of reserved IP address resources.

repeated string user_allocated_nat_ip_resources = 212776151;

Returns
TypeDescription
int

The count of userAllocatedNatIpResources.

getUserAllocatedNatIpResourcesList()

public abstract List<String> getUserAllocatedNatIpResourcesList()

A list of fully qualified URLs of reserved IP address resources.

repeated string user_allocated_nat_ip_resources = 212776151;

Returns
TypeDescription
List<String>

A list containing the userAllocatedNatIpResources.

getUserAllocatedNatIps(int index)

public abstract 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;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The userAllocatedNatIps at the given index.

getUserAllocatedNatIpsBytes(int index)

public abstract 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;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the userAllocatedNatIps at the given index.

getUserAllocatedNatIpsCount()

public abstract 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
TypeDescription
int

The count of userAllocatedNatIps.

getUserAllocatedNatIpsList()

public abstract 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
TypeDescription
List<String>

A list containing the userAllocatedNatIps.

hasMinExtraNatIpsNeeded()

public abstract 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
TypeDescription
boolean

Whether the minExtraNatIpsNeeded field is set.

hasName()

public abstract boolean hasName()

Unique name of this NAT.

optional string name = 3373707;

Returns
TypeDescription
boolean

Whether the name field is set.

hasNumVmEndpointsWithNatMappings()

public abstract boolean hasNumVmEndpointsWithNatMappings()

Number of VM endpoints (i.e., Nics) that can use NAT.

optional int32 num_vm_endpoints_with_nat_mappings = 512367468;

Returns
TypeDescription
boolean

Whether the numVmEndpointsWithNatMappings field is set.