- 1.62.0 (latest)
- 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 RouterStatusNatStatusNatRuleStatus.Builder extends GeneratedMessageV3.Builder<RouterStatusNatStatusNatRuleStatus.Builder> implements RouterStatusNatStatusNatRuleStatusOrBuilder
Status of a NAT Rule contained in this NAT.
Protobuf type google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RouterStatusNatStatusNatRuleStatus.BuilderImplements
RouterStatusNatStatusNatRuleStatusOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addActiveNatIps(String value)
public RouterStatusNatStatusNatRuleStatus.Builder addActiveNatIps(String value)
A list of active IPs for NAT. Example: ["1.1.1.1", "179.12.26.133"].
repeated string active_nat_ips = 208517077;
Name | Description |
value | String The activeNatIps to add. |
Type | Description |
RouterStatusNatStatusNatRuleStatus.Builder | This builder for chaining. |
addActiveNatIpsBytes(ByteString value)
public RouterStatusNatStatusNatRuleStatus.Builder addActiveNatIpsBytes(ByteString value)
A list of active IPs for NAT. Example: ["1.1.1.1", "179.12.26.133"].
repeated string active_nat_ips = 208517077;
Name | Description |
value | ByteString The bytes of the activeNatIps to add. |
Type | Description |
RouterStatusNatStatusNatRuleStatus.Builder | This builder for chaining. |
addAllActiveNatIps(Iterable<String> values)
public RouterStatusNatStatusNatRuleStatus.Builder addAllActiveNatIps(Iterable<String> values)
A list of active IPs for NAT. Example: ["1.1.1.1", "179.12.26.133"].
repeated string active_nat_ips = 208517077;
Name | Description |
values | Iterable<String> The activeNatIps to add. |
Type | Description |
RouterStatusNatStatusNatRuleStatus.Builder | This builder for chaining. |
addAllDrainNatIps(Iterable<String> values)
public RouterStatusNatStatusNatRuleStatus.Builder addAllDrainNatIps(Iterable<String> values)
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;
Name | Description |
values | Iterable<String> The drainNatIps to add. |
Type | Description |
RouterStatusNatStatusNatRuleStatus.Builder | This builder for chaining. |
addDrainNatIps(String value)
public RouterStatusNatStatusNatRuleStatus.Builder addDrainNatIps(String value)
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;
Name | Description |
value | String The drainNatIps to add. |
Type | Description |
RouterStatusNatStatusNatRuleStatus.Builder | This builder for chaining. |
addDrainNatIpsBytes(ByteString value)
public RouterStatusNatStatusNatRuleStatus.Builder addDrainNatIpsBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes of the drainNatIps to add. |
Type | Description |
RouterStatusNatStatusNatRuleStatus.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RouterStatusNatStatusNatRuleStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RouterStatusNatStatusNatRuleStatus.Builder |
build()
public RouterStatusNatStatusNatRuleStatus build()
Type | Description |
RouterStatusNatStatusNatRuleStatus |
buildPartial()
public RouterStatusNatStatusNatRuleStatus buildPartial()
Type | Description |
RouterStatusNatStatusNatRuleStatus |
clear()
public RouterStatusNatStatusNatRuleStatus.Builder clear()
Type | Description |
RouterStatusNatStatusNatRuleStatus.Builder |
clearActiveNatIps()
public RouterStatusNatStatusNatRuleStatus.Builder clearActiveNatIps()
A list of active IPs for NAT. Example: ["1.1.1.1", "179.12.26.133"].
repeated string active_nat_ips = 208517077;
Type | Description |
RouterStatusNatStatusNatRuleStatus.Builder | This builder for chaining. |
clearDrainNatIps()
public RouterStatusNatStatusNatRuleStatus.Builder clearDrainNatIps()
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;
Type | Description |
RouterStatusNatStatusNatRuleStatus.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public RouterStatusNatStatusNatRuleStatus.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
RouterStatusNatStatusNatRuleStatus.Builder |
clearMinExtraIpsNeeded()
public RouterStatusNatStatusNatRuleStatus.Builder clearMinExtraIpsNeeded()
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;
Type | Description |
RouterStatusNatStatusNatRuleStatus.Builder | This builder for chaining. |
clearNumVmEndpointsWithNatMappings()
public RouterStatusNatStatusNatRuleStatus.Builder clearNumVmEndpointsWithNatMappings()
Number of VM endpoints (i.e., NICs) that have NAT Mappings from this NAT Rule.
optional int32 num_vm_endpoints_with_nat_mappings = 512367468;
Type | Description |
RouterStatusNatStatusNatRuleStatus.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public RouterStatusNatStatusNatRuleStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
RouterStatusNatStatusNatRuleStatus.Builder |
clearRuleNumber()
public RouterStatusNatStatusNatRuleStatus.Builder clearRuleNumber()
Rule number of the rule.
optional int32 rule_number = 535211500;
Type | Description |
RouterStatusNatStatusNatRuleStatus.Builder | This builder for chaining. |
clone()
public RouterStatusNatStatusNatRuleStatus.Builder clone()
Type | Description |
RouterStatusNatStatusNatRuleStatus.Builder |
getActiveNatIps(int index)
public 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;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The activeNatIps at the given index. |
getActiveNatIpsBytes(int index)
public 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;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the activeNatIps at the given index. |
getActiveNatIpsCount()
public int getActiveNatIpsCount()
A list of active IPs for NAT. Example: ["1.1.1.1", "179.12.26.133"].
repeated string active_nat_ips = 208517077;
Type | Description |
int | The count of activeNatIps. |
getActiveNatIpsList()
public ProtocolStringList getActiveNatIpsList()
A list of active IPs for NAT. Example: ["1.1.1.1", "179.12.26.133"].
repeated string active_nat_ips = 208517077;
Type | Description |
ProtocolStringList | A list containing the activeNatIps. |
getDefaultInstanceForType()
public RouterStatusNatStatusNatRuleStatus getDefaultInstanceForType()
Type | Description |
RouterStatusNatStatusNatRuleStatus |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDrainNatIps(int index)
public 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;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The drainNatIps at the given index. |
getDrainNatIpsBytes(int index)
public 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;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the drainNatIps at the given index. |
getDrainNatIpsCount()
public 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;
Type | Description |
int | The count of drainNatIps. |
getDrainNatIpsList()
public ProtocolStringList 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;
Type | Description |
ProtocolStringList | A list containing the drainNatIps. |
getMinExtraIpsNeeded()
public 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;
Type | Description |
int | The minExtraIpsNeeded. |
getNumVmEndpointsWithNatMappings()
public 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;
Type | Description |
int | The numVmEndpointsWithNatMappings. |
getRuleNumber()
public int getRuleNumber()
Rule number of the rule.
optional int32 rule_number = 535211500;
Type | Description |
int | The ruleNumber. |
hasMinExtraIpsNeeded()
public 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;
Type | Description |
boolean | Whether the minExtraIpsNeeded field is set. |
hasNumVmEndpointsWithNatMappings()
public 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;
Type | Description |
boolean | Whether the numVmEndpointsWithNatMappings field is set. |
hasRuleNumber()
public boolean hasRuleNumber()
Rule number of the rule.
optional int32 rule_number = 535211500;
Type | Description |
boolean | Whether the ruleNumber field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(RouterStatusNatStatusNatRuleStatus other)
public RouterStatusNatStatusNatRuleStatus.Builder mergeFrom(RouterStatusNatStatusNatRuleStatus other)
Name | Description |
other | RouterStatusNatStatusNatRuleStatus |
Type | Description |
RouterStatusNatStatusNatRuleStatus.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RouterStatusNatStatusNatRuleStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RouterStatusNatStatusNatRuleStatus.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public RouterStatusNatStatusNatRuleStatus.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
RouterStatusNatStatusNatRuleStatus.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RouterStatusNatStatusNatRuleStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RouterStatusNatStatusNatRuleStatus.Builder |
setActiveNatIps(int index, String value)
public RouterStatusNatStatusNatRuleStatus.Builder setActiveNatIps(int index, String value)
A list of active IPs for NAT. Example: ["1.1.1.1", "179.12.26.133"].
repeated string active_nat_ips = 208517077;
Name | Description |
index | int The index to set the value at. |
value | String The activeNatIps to set. |
Type | Description |
RouterStatusNatStatusNatRuleStatus.Builder | This builder for chaining. |
setDrainNatIps(int index, String value)
public RouterStatusNatStatusNatRuleStatus.Builder setDrainNatIps(int index, String value)
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;
Name | Description |
index | int The index to set the value at. |
value | String The drainNatIps to set. |
Type | Description |
RouterStatusNatStatusNatRuleStatus.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public RouterStatusNatStatusNatRuleStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RouterStatusNatStatusNatRuleStatus.Builder |
setMinExtraIpsNeeded(int value)
public RouterStatusNatStatusNatRuleStatus.Builder setMinExtraIpsNeeded(int value)
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;
Name | Description |
value | int The minExtraIpsNeeded to set. |
Type | Description |
RouterStatusNatStatusNatRuleStatus.Builder | This builder for chaining. |
setNumVmEndpointsWithNatMappings(int value)
public RouterStatusNatStatusNatRuleStatus.Builder setNumVmEndpointsWithNatMappings(int value)
Number of VM endpoints (i.e., NICs) that have NAT Mappings from this NAT Rule.
optional int32 num_vm_endpoints_with_nat_mappings = 512367468;
Name | Description |
value | int The numVmEndpointsWithNatMappings to set. |
Type | Description |
RouterStatusNatStatusNatRuleStatus.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RouterStatusNatStatusNatRuleStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
RouterStatusNatStatusNatRuleStatus.Builder |
setRuleNumber(int value)
public RouterStatusNatStatusNatRuleStatus.Builder setRuleNumber(int value)
Rule number of the rule.
optional int32 rule_number = 535211500;
Name | Description |
value | int The ruleNumber to set. |
Type | Description |
RouterStatusNatStatusNatRuleStatus.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final RouterStatusNatStatusNatRuleStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RouterStatusNatStatusNatRuleStatus.Builder |