- 1.86.0 (latest)
- 1.85.0
- 1.84.0
- 1.83.0
- 1.82.0
- 1.80.0
- 1.78.0
- 1.77.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.69.0
- 1.68.0
- 1.67.0
- 1.66.0
- 1.65.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class RouterStatusNatStatus.Builder extends GeneratedMessageV3.Builder<RouterStatusNatStatus.Builder> implements RouterStatusNatStatusOrBuilderStatus of a NAT contained in this router.
Protobuf type google.cloud.compute.v1.RouterStatusNatStatus
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RouterStatusNatStatus.BuilderImplements
RouterStatusNatStatusOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addAllAutoAllocatedNatIps(Iterable<String> values)
public RouterStatusNatStatus.Builder addAllAutoAllocatedNatIps(Iterable<String> values)A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"]
repeated string auto_allocated_nat_ips = 510794246;
| Name | Description |
| values | Iterable<String>The autoAllocatedNatIps to add. |
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |
addAllDrainAutoAllocatedNatIps(Iterable<String> values)
public RouterStatusNatStatus.Builder addAllDrainAutoAllocatedNatIps(Iterable<String> values)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;
| Name | Description |
| values | Iterable<String>The drainAutoAllocatedNatIps to add. |
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |
addAllDrainUserAllocatedNatIps(Iterable<String> values)
public RouterStatusNatStatus.Builder addAllDrainUserAllocatedNatIps(Iterable<String> values)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;
| Name | Description |
| values | Iterable<String>The drainUserAllocatedNatIps to add. |
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |
addAllRuleStatus(Iterable<? extends RouterStatusNatStatusNatRuleStatus> values)
public RouterStatusNatStatus.Builder addAllRuleStatus(Iterable<? extends RouterStatusNatStatusNatRuleStatus> values)Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
| Name | Description |
| values | Iterable<? extends com.google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus> |
| Type | Description |
| RouterStatusNatStatus.Builder |
addAllUserAllocatedNatIpResources(Iterable<String> values)
public RouterStatusNatStatus.Builder addAllUserAllocatedNatIpResources(Iterable<String> values)A list of fully qualified URLs of reserved IP address resources.
repeated string user_allocated_nat_ip_resources = 212776151;
| Name | Description |
| values | Iterable<String>The userAllocatedNatIpResources to add. |
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |
addAllUserAllocatedNatIps(Iterable<String> values)
public RouterStatusNatStatus.Builder addAllUserAllocatedNatIps(Iterable<String> values)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;
| Name | Description |
| values | Iterable<String>The userAllocatedNatIps to add. |
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |
addAutoAllocatedNatIps(String value)
public RouterStatusNatStatus.Builder addAutoAllocatedNatIps(String value)A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"]
repeated string auto_allocated_nat_ips = 510794246;
| Name | Description |
| value | StringThe autoAllocatedNatIps to add. |
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |
addAutoAllocatedNatIpsBytes(ByteString value)
public RouterStatusNatStatus.Builder addAutoAllocatedNatIpsBytes(ByteString value)A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"]
repeated string auto_allocated_nat_ips = 510794246;
| Name | Description |
| value | ByteStringThe bytes of the autoAllocatedNatIps to add. |
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |
addDrainAutoAllocatedNatIps(String value)
public RouterStatusNatStatus.Builder addDrainAutoAllocatedNatIps(String value)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;
| Name | Description |
| value | StringThe drainAutoAllocatedNatIps to add. |
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |
addDrainAutoAllocatedNatIpsBytes(ByteString value)
public RouterStatusNatStatus.Builder addDrainAutoAllocatedNatIpsBytes(ByteString value)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;
| Name | Description |
| value | ByteStringThe bytes of the drainAutoAllocatedNatIps to add. |
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |
addDrainUserAllocatedNatIps(String value)
public RouterStatusNatStatus.Builder addDrainUserAllocatedNatIps(String value)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;
| Name | Description |
| value | StringThe drainUserAllocatedNatIps to add. |
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |
addDrainUserAllocatedNatIpsBytes(ByteString value)
public RouterStatusNatStatus.Builder addDrainUserAllocatedNatIpsBytes(ByteString value)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;
| Name | Description |
| value | ByteStringThe bytes of the drainUserAllocatedNatIps to add. |
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RouterStatusNatStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| RouterStatusNatStatus.Builder |
addRuleStatus(RouterStatusNatStatusNatRuleStatus value)
public RouterStatusNatStatus.Builder addRuleStatus(RouterStatusNatStatusNatRuleStatus value)Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
| Name | Description |
| value | RouterStatusNatStatusNatRuleStatus |
| Type | Description |
| RouterStatusNatStatus.Builder |
addRuleStatus(RouterStatusNatStatusNatRuleStatus.Builder builderForValue)
public RouterStatusNatStatus.Builder addRuleStatus(RouterStatusNatStatusNatRuleStatus.Builder builderForValue)Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
| Name | Description |
| builderForValue | RouterStatusNatStatusNatRuleStatus.Builder |
| Type | Description |
| RouterStatusNatStatus.Builder |
addRuleStatus(int index, RouterStatusNatStatusNatRuleStatus value)
public RouterStatusNatStatus.Builder addRuleStatus(int index, RouterStatusNatStatusNatRuleStatus value)Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
| Name | Description |
| index | int |
| value | RouterStatusNatStatusNatRuleStatus |
| Type | Description |
| RouterStatusNatStatus.Builder |
addRuleStatus(int index, RouterStatusNatStatusNatRuleStatus.Builder builderForValue)
public RouterStatusNatStatus.Builder addRuleStatus(int index, RouterStatusNatStatusNatRuleStatus.Builder builderForValue)Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
| Name | Description |
| index | int |
| builderForValue | RouterStatusNatStatusNatRuleStatus.Builder |
| Type | Description |
| RouterStatusNatStatus.Builder |
addRuleStatusBuilder()
public RouterStatusNatStatusNatRuleStatus.Builder addRuleStatusBuilder()Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
| Type | Description |
| RouterStatusNatStatusNatRuleStatus.Builder |
addRuleStatusBuilder(int index)
public RouterStatusNatStatusNatRuleStatus.Builder addRuleStatusBuilder(int index)Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
| Name | Description |
| index | int |
| Type | Description |
| RouterStatusNatStatusNatRuleStatus.Builder |
addUserAllocatedNatIpResources(String value)
public RouterStatusNatStatus.Builder addUserAllocatedNatIpResources(String value)A list of fully qualified URLs of reserved IP address resources.
repeated string user_allocated_nat_ip_resources = 212776151;
| Name | Description |
| value | StringThe userAllocatedNatIpResources to add. |
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |
addUserAllocatedNatIpResourcesBytes(ByteString value)
public RouterStatusNatStatus.Builder addUserAllocatedNatIpResourcesBytes(ByteString value)A list of fully qualified URLs of reserved IP address resources.
repeated string user_allocated_nat_ip_resources = 212776151;
| Name | Description |
| value | ByteStringThe bytes of the userAllocatedNatIpResources to add. |
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |
addUserAllocatedNatIps(String value)
public RouterStatusNatStatus.Builder addUserAllocatedNatIps(String value)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;
| Name | Description |
| value | StringThe userAllocatedNatIps to add. |
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |
addUserAllocatedNatIpsBytes(ByteString value)
public RouterStatusNatStatus.Builder addUserAllocatedNatIpsBytes(ByteString value)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;
| Name | Description |
| value | ByteStringThe bytes of the userAllocatedNatIps to add. |
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |
build()
public RouterStatusNatStatus build()| Type | Description |
| RouterStatusNatStatus |
buildPartial()
public RouterStatusNatStatus buildPartial()| Type | Description |
| RouterStatusNatStatus |
clear()
public RouterStatusNatStatus.Builder clear()| Type | Description |
| RouterStatusNatStatus.Builder |
clearAutoAllocatedNatIps()
public RouterStatusNatStatus.Builder clearAutoAllocatedNatIps()A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"]
repeated string auto_allocated_nat_ips = 510794246;
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |
clearDrainAutoAllocatedNatIps()
public RouterStatusNatStatus.Builder clearDrainAutoAllocatedNatIps()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;
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |
clearDrainUserAllocatedNatIps()
public RouterStatusNatStatus.Builder clearDrainUserAllocatedNatIps()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;
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public RouterStatusNatStatus.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| RouterStatusNatStatus.Builder |
clearMinExtraNatIpsNeeded()
public RouterStatusNatStatus.Builder clearMinExtraNatIpsNeeded()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;
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |
clearName()
public RouterStatusNatStatus.Builder clearName()Unique name of this NAT.
optional string name = 3373707;
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |
clearNumVmEndpointsWithNatMappings()
public RouterStatusNatStatus.Builder clearNumVmEndpointsWithNatMappings()Number of VM endpoints (i.e., Nics) that can use NAT.
optional int32 num_vm_endpoints_with_nat_mappings = 512367468;
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public RouterStatusNatStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| RouterStatusNatStatus.Builder |
clearRuleStatus()
public RouterStatusNatStatus.Builder clearRuleStatus()Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
| Type | Description |
| RouterStatusNatStatus.Builder |
clearUserAllocatedNatIpResources()
public RouterStatusNatStatus.Builder clearUserAllocatedNatIpResources()A list of fully qualified URLs of reserved IP address resources.
repeated string user_allocated_nat_ip_resources = 212776151;
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |
clearUserAllocatedNatIps()
public RouterStatusNatStatus.Builder clearUserAllocatedNatIps()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;
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |
clone()
public RouterStatusNatStatus.Builder clone()| Type | Description |
| RouterStatusNatStatus.Builder |
getAutoAllocatedNatIps(int index)
public 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;
| Name | Description |
| index | intThe index of the element to return. |
| Type | Description |
| String | The autoAllocatedNatIps at the given index. |
getAutoAllocatedNatIpsBytes(int index)
public 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;
| Name | Description |
| index | intThe index of the value to return. |
| Type | Description |
| ByteString | The bytes of the autoAllocatedNatIps at the given index. |
getAutoAllocatedNatIpsCount()
public 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;
| Type | Description |
| int | The count of autoAllocatedNatIps. |
getAutoAllocatedNatIpsList()
public ProtocolStringList 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;
| Type | Description |
| ProtocolStringList | A list containing the autoAllocatedNatIps. |
getDefaultInstanceForType()
public RouterStatusNatStatus getDefaultInstanceForType()| Type | Description |
| RouterStatusNatStatus |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getDrainAutoAllocatedNatIps(int index)
public 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;
| Name | Description |
| index | intThe index of the element to return. |
| Type | Description |
| String | The drainAutoAllocatedNatIps at the given index. |
getDrainAutoAllocatedNatIpsBytes(int index)
public 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;
| Name | Description |
| index | intThe index of the value to return. |
| Type | Description |
| ByteString | The bytes of the drainAutoAllocatedNatIps at the given index. |
getDrainAutoAllocatedNatIpsCount()
public 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;
| Type | Description |
| int | The count of drainAutoAllocatedNatIps. |
getDrainAutoAllocatedNatIpsList()
public ProtocolStringList 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;
| Type | Description |
| ProtocolStringList | A list containing the drainAutoAllocatedNatIps. |
getDrainUserAllocatedNatIps(int index)
public 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;
| Name | Description |
| index | intThe index of the element to return. |
| Type | Description |
| String | The drainUserAllocatedNatIps at the given index. |
getDrainUserAllocatedNatIpsBytes(int index)
public 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;
| Name | Description |
| index | intThe index of the value to return. |
| Type | Description |
| ByteString | The bytes of the drainUserAllocatedNatIps at the given index. |
getDrainUserAllocatedNatIpsCount()
public 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;
| Type | Description |
| int | The count of drainUserAllocatedNatIps. |
getDrainUserAllocatedNatIpsList()
public ProtocolStringList 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;
| Type | Description |
| ProtocolStringList | A list containing the drainUserAllocatedNatIps. |
getMinExtraNatIpsNeeded()
public 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;
| Type | Description |
| int | The minExtraNatIpsNeeded. |
getName()
public String getName()Unique name of this NAT.
optional string name = 3373707;
| Type | Description |
| String | The name. |
getNameBytes()
public ByteString getNameBytes()Unique name of this NAT.
optional string name = 3373707;
| Type | Description |
| ByteString | The bytes for name. |
getNumVmEndpointsWithNatMappings()
public int getNumVmEndpointsWithNatMappings()Number of VM endpoints (i.e., Nics) that can use NAT.
optional int32 num_vm_endpoints_with_nat_mappings = 512367468;
| Type | Description |
| int | The numVmEndpointsWithNatMappings. |
getRuleStatus(int index)
public RouterStatusNatStatusNatRuleStatus getRuleStatus(int index)Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
| Name | Description |
| index | int |
| Type | Description |
| RouterStatusNatStatusNatRuleStatus |
getRuleStatusBuilder(int index)
public RouterStatusNatStatusNatRuleStatus.Builder getRuleStatusBuilder(int index)Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
| Name | Description |
| index | int |
| Type | Description |
| RouterStatusNatStatusNatRuleStatus.Builder |
getRuleStatusBuilderList()
public List<RouterStatusNatStatusNatRuleStatus.Builder> getRuleStatusBuilderList()Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
| Type | Description |
| List<Builder> |
getRuleStatusCount()
public int getRuleStatusCount()Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
| Type | Description |
| int |
getRuleStatusList()
public List<RouterStatusNatStatusNatRuleStatus> getRuleStatusList()Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
| Type | Description |
| List<RouterStatusNatStatusNatRuleStatus> |
getRuleStatusOrBuilder(int index)
public RouterStatusNatStatusNatRuleStatusOrBuilder getRuleStatusOrBuilder(int index)Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
| Name | Description |
| index | int |
| Type | Description |
| RouterStatusNatStatusNatRuleStatusOrBuilder |
getRuleStatusOrBuilderList()
public List<? extends RouterStatusNatStatusNatRuleStatusOrBuilder> getRuleStatusOrBuilderList()Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
| Type | Description |
| List<? extends com.google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatusOrBuilder> |
getUserAllocatedNatIpResources(int index)
public String getUserAllocatedNatIpResources(int index)A list of fully qualified URLs of reserved IP address resources.
repeated string user_allocated_nat_ip_resources = 212776151;
| Name | Description |
| index | intThe index of the element to return. |
| Type | Description |
| String | The userAllocatedNatIpResources at the given index. |
getUserAllocatedNatIpResourcesBytes(int index)
public ByteString getUserAllocatedNatIpResourcesBytes(int index)A list of fully qualified URLs of reserved IP address resources.
repeated string user_allocated_nat_ip_resources = 212776151;
| Name | Description |
| index | intThe index of the value to return. |
| Type | Description |
| ByteString | The bytes of the userAllocatedNatIpResources at the given index. |
getUserAllocatedNatIpResourcesCount()
public int getUserAllocatedNatIpResourcesCount()A list of fully qualified URLs of reserved IP address resources.
repeated string user_allocated_nat_ip_resources = 212776151;
| Type | Description |
| int | The count of userAllocatedNatIpResources. |
getUserAllocatedNatIpResourcesList()
public ProtocolStringList getUserAllocatedNatIpResourcesList()A list of fully qualified URLs of reserved IP address resources.
repeated string user_allocated_nat_ip_resources = 212776151;
| Type | Description |
| ProtocolStringList | A list containing the userAllocatedNatIpResources. |
getUserAllocatedNatIps(int index)
public 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;
| Name | Description |
| index | intThe index of the element to return. |
| Type | Description |
| String | The userAllocatedNatIps at the given index. |
getUserAllocatedNatIpsBytes(int index)
public 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;
| Name | Description |
| index | intThe index of the value to return. |
| Type | Description |
| ByteString | The bytes of the userAllocatedNatIps at the given index. |
getUserAllocatedNatIpsCount()
public 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;
| Type | Description |
| int | The count of userAllocatedNatIps. |
getUserAllocatedNatIpsList()
public ProtocolStringList 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;
| Type | Description |
| ProtocolStringList | A list containing the userAllocatedNatIps. |
hasMinExtraNatIpsNeeded()
public 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;
| Type | Description |
| boolean | Whether the minExtraNatIpsNeeded field is set. |
hasName()
public boolean hasName()Unique name of this NAT.
optional string name = 3373707;
| Type | Description |
| boolean | Whether the name field is set. |
hasNumVmEndpointsWithNatMappings()
public boolean hasNumVmEndpointsWithNatMappings()Number of VM endpoints (i.e., Nics) that can use NAT.
optional int32 num_vm_endpoints_with_nat_mappings = 512367468;
| Type | Description |
| boolean | Whether the numVmEndpointsWithNatMappings field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(RouterStatusNatStatus other)
public RouterStatusNatStatus.Builder mergeFrom(RouterStatusNatStatus other)| Name | Description |
| other | RouterStatusNatStatus |
| Type | Description |
| RouterStatusNatStatus.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RouterStatusNatStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| RouterStatusNatStatus.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public RouterStatusNatStatus.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| RouterStatusNatStatus.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RouterStatusNatStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| RouterStatusNatStatus.Builder |
removeRuleStatus(int index)
public RouterStatusNatStatus.Builder removeRuleStatus(int index)Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
| Name | Description |
| index | int |
| Type | Description |
| RouterStatusNatStatus.Builder |
setAutoAllocatedNatIps(int index, String value)
public RouterStatusNatStatus.Builder setAutoAllocatedNatIps(int index, String value)A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"]
repeated string auto_allocated_nat_ips = 510794246;
| Name | Description |
| index | intThe index to set the value at. |
| value | StringThe autoAllocatedNatIps to set. |
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |
setDrainAutoAllocatedNatIps(int index, String value)
public RouterStatusNatStatus.Builder setDrainAutoAllocatedNatIps(int index, String value)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;
| Name | Description |
| index | intThe index to set the value at. |
| value | StringThe drainAutoAllocatedNatIps to set. |
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |
setDrainUserAllocatedNatIps(int index, String value)
public RouterStatusNatStatus.Builder setDrainUserAllocatedNatIps(int index, String value)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;
| Name | Description |
| index | intThe index to set the value at. |
| value | StringThe drainUserAllocatedNatIps to set. |
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public RouterStatusNatStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| RouterStatusNatStatus.Builder |
setMinExtraNatIpsNeeded(int value)
public RouterStatusNatStatus.Builder setMinExtraNatIpsNeeded(int value)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;
| Name | Description |
| value | intThe minExtraNatIpsNeeded to set. |
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |
setName(String value)
public RouterStatusNatStatus.Builder setName(String value)Unique name of this NAT.
optional string name = 3373707;
| Name | Description |
| value | StringThe name to set. |
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public RouterStatusNatStatus.Builder setNameBytes(ByteString value)Unique name of this NAT.
optional string name = 3373707;
| Name | Description |
| value | ByteStringThe bytes for name to set. |
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |
setNumVmEndpointsWithNatMappings(int value)
public RouterStatusNatStatus.Builder setNumVmEndpointsWithNatMappings(int value)Number of VM endpoints (i.e., Nics) that can use NAT.
optional int32 num_vm_endpoints_with_nat_mappings = 512367468;
| Name | Description |
| value | intThe numVmEndpointsWithNatMappings to set. |
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RouterStatusNatStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| RouterStatusNatStatus.Builder |
setRuleStatus(int index, RouterStatusNatStatusNatRuleStatus value)
public RouterStatusNatStatus.Builder setRuleStatus(int index, RouterStatusNatStatusNatRuleStatus value)Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
| Name | Description |
| index | int |
| value | RouterStatusNatStatusNatRuleStatus |
| Type | Description |
| RouterStatusNatStatus.Builder |
setRuleStatus(int index, RouterStatusNatStatusNatRuleStatus.Builder builderForValue)
public RouterStatusNatStatus.Builder setRuleStatus(int index, RouterStatusNatStatusNatRuleStatus.Builder builderForValue)Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
| Name | Description |
| index | int |
| builderForValue | RouterStatusNatStatusNatRuleStatus.Builder |
| Type | Description |
| RouterStatusNatStatus.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final RouterStatusNatStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| RouterStatusNatStatus.Builder |
setUserAllocatedNatIpResources(int index, String value)
public RouterStatusNatStatus.Builder setUserAllocatedNatIpResources(int index, String value)A list of fully qualified URLs of reserved IP address resources.
repeated string user_allocated_nat_ip_resources = 212776151;
| Name | Description |
| index | intThe index to set the value at. |
| value | StringThe userAllocatedNatIpResources to set. |
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |
setUserAllocatedNatIps(int index, String value)
public RouterStatusNatStatus.Builder setUserAllocatedNatIps(int index, String value)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;
| Name | Description |
| index | intThe index to set the value at. |
| value | StringThe userAllocatedNatIps to set. |
| Type | Description |
| RouterStatusNatStatus.Builder | This builder for chaining. |