public static final class RouterStatusNatStatusNatRuleStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatusNatRuleStatus.Builder> implements RouterStatusNatStatusNatRuleStatusOrBuilder
Status of a NAT Rule contained in this NAT.Protobuf type
google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus| Modifier and Type | Method and Description |
|---|---|
RouterStatusNatStatusNatRuleStatus.Builder |
addActiveNatIps(String value)
A list of active IPs for NAT.
|
RouterStatusNatStatusNatRuleStatus.Builder |
addActiveNatIpsBytes(com.google.protobuf.ByteString value)
A list of active IPs for NAT.
|
RouterStatusNatStatusNatRuleStatus.Builder |
addAllActiveNatIps(Iterable<String> values)
A list of active IPs for NAT.
|
RouterStatusNatStatusNatRuleStatus.Builder |
addAllDrainNatIps(Iterable<String> values)
A list of IPs for NAT that are in drain mode.
|
RouterStatusNatStatusNatRuleStatus.Builder |
addDrainNatIps(String value)
A list of IPs for NAT that are in drain mode.
|
RouterStatusNatStatusNatRuleStatus.Builder |
addDrainNatIpsBytes(com.google.protobuf.ByteString value)
A list of IPs for NAT that are in drain mode.
|
RouterStatusNatStatusNatRuleStatus.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouterStatusNatStatusNatRuleStatus |
build() |
RouterStatusNatStatusNatRuleStatus |
buildPartial() |
RouterStatusNatStatusNatRuleStatus.Builder |
clear() |
RouterStatusNatStatusNatRuleStatus.Builder |
clearActiveNatIps()
A list of active IPs for NAT.
|
RouterStatusNatStatusNatRuleStatus.Builder |
clearDrainNatIps()
A list of IPs for NAT that are in drain mode.
|
RouterStatusNatStatusNatRuleStatus.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RouterStatusNatStatusNatRuleStatus.Builder |
clearMinExtraIpsNeeded()
The number of extra IPs to allocate.
|
RouterStatusNatStatusNatRuleStatus.Builder |
clearNumVmEndpointsWithNatMappings()
Number of VM endpoints (i.e., NICs) that have NAT Mappings from this NAT Rule.
|
RouterStatusNatStatusNatRuleStatus.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RouterStatusNatStatusNatRuleStatus.Builder |
clearRuleNumber()
Rule number of the rule.
|
RouterStatusNatStatusNatRuleStatus.Builder |
clone() |
String |
getActiveNatIps(int index)
A list of active IPs for NAT.
|
com.google.protobuf.ByteString |
getActiveNatIpsBytes(int index)
A list of active IPs for NAT.
|
int |
getActiveNatIpsCount()
A list of active IPs for NAT.
|
com.google.protobuf.ProtocolStringList |
getActiveNatIpsList()
A list of active IPs for NAT.
|
RouterStatusNatStatusNatRuleStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDrainNatIps(int index)
A list of IPs for NAT that are in drain mode.
|
com.google.protobuf.ByteString |
getDrainNatIpsBytes(int index)
A list of IPs for NAT that are in drain mode.
|
int |
getDrainNatIpsCount()
A list of IPs for NAT that are in drain mode.
|
com.google.protobuf.ProtocolStringList |
getDrainNatIpsList()
A list of IPs for NAT that are in drain mode.
|
int |
getMinExtraIpsNeeded()
The number of extra IPs to allocate.
|
int |
getNumVmEndpointsWithNatMappings()
Number of VM endpoints (i.e., NICs) that have NAT Mappings from this NAT Rule.
|
int |
getRuleNumber()
Rule number of the rule.
|
boolean |
hasMinExtraIpsNeeded()
The number of extra IPs to allocate.
|
boolean |
hasNumVmEndpointsWithNatMappings()
Number of VM endpoints (i.e., NICs) that have NAT Mappings from this NAT Rule.
|
boolean |
hasRuleNumber()
Rule number of the rule.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RouterStatusNatStatusNatRuleStatus.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RouterStatusNatStatusNatRuleStatus.Builder |
mergeFrom(com.google.protobuf.Message other) |
RouterStatusNatStatusNatRuleStatus.Builder |
mergeFrom(RouterStatusNatStatusNatRuleStatus other) |
RouterStatusNatStatusNatRuleStatus.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouterStatusNatStatusNatRuleStatus.Builder |
setActiveNatIps(int index,
String value)
A list of active IPs for NAT.
|
RouterStatusNatStatusNatRuleStatus.Builder |
setDrainNatIps(int index,
String value)
A list of IPs for NAT that are in drain mode.
|
RouterStatusNatStatusNatRuleStatus.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouterStatusNatStatusNatRuleStatus.Builder |
setMinExtraIpsNeeded(int value)
The number of extra IPs to allocate.
|
RouterStatusNatStatusNatRuleStatus.Builder |
setNumVmEndpointsWithNatMappings(int value)
Number of VM endpoints (i.e., NICs) that have NAT Mappings from this NAT Rule.
|
RouterStatusNatStatusNatRuleStatus.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RouterStatusNatStatusNatRuleStatus.Builder |
setRuleNumber(int value)
Rule number of the rule.
|
RouterStatusNatStatusNatRuleStatus.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatusNatRuleStatus.Builder>public RouterStatusNatStatusNatRuleStatus.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatusNatRuleStatus.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatusNatRuleStatus.Builder>public RouterStatusNatStatusNatRuleStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RouterStatusNatStatusNatRuleStatus build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RouterStatusNatStatusNatRuleStatus buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RouterStatusNatStatusNatRuleStatus.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatusNatRuleStatus.Builder>public RouterStatusNatStatusNatRuleStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatusNatRuleStatus.Builder>public RouterStatusNatStatusNatRuleStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatusNatRuleStatus.Builder>public RouterStatusNatStatusNatRuleStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatusNatRuleStatus.Builder>public RouterStatusNatStatusNatRuleStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatusNatRuleStatus.Builder>public RouterStatusNatStatusNatRuleStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatusNatRuleStatus.Builder>public RouterStatusNatStatusNatRuleStatus.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouterStatusNatStatusNatRuleStatus.Builder>public RouterStatusNatStatusNatRuleStatus.Builder mergeFrom(RouterStatusNatStatusNatRuleStatus other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatusNatRuleStatus.Builder>public RouterStatusNatStatusNatRuleStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouterStatusNatStatusNatRuleStatus.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList getActiveNatIpsList()
A list of active IPs for NAT. Example: ["1.1.1.1", "179.12.26.133"].
repeated string active_nat_ips = 208517077;getActiveNatIpsList in interface RouterStatusNatStatusNatRuleStatusOrBuilderpublic int getActiveNatIpsCount()
A list of active IPs for NAT. Example: ["1.1.1.1", "179.12.26.133"].
repeated string active_nat_ips = 208517077;getActiveNatIpsCount in interface RouterStatusNatStatusNatRuleStatusOrBuilderpublic 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;getActiveNatIps in interface RouterStatusNatStatusNatRuleStatusOrBuilderindex - The index of the element to return.public com.google.protobuf.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;getActiveNatIpsBytes in interface RouterStatusNatStatusNatRuleStatusOrBuilderindex - The index of the value to return.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;index - The index to set the value at.value - The activeNatIps to set.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;value - The activeNatIps to add.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;values - The activeNatIps to add.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;public RouterStatusNatStatusNatRuleStatus.Builder addActiveNatIpsBytes(com.google.protobuf.ByteString value)
A list of active IPs for NAT. Example: ["1.1.1.1", "179.12.26.133"].
repeated string active_nat_ips = 208517077;value - The bytes of the activeNatIps to add.public com.google.protobuf.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;getDrainNatIpsList in interface RouterStatusNatStatusNatRuleStatusOrBuilderpublic 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;getDrainNatIpsCount in interface RouterStatusNatStatusNatRuleStatusOrBuilderpublic 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;getDrainNatIps in interface RouterStatusNatStatusNatRuleStatusOrBuilderindex - The index of the element to return.public com.google.protobuf.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;getDrainNatIpsBytes in interface RouterStatusNatStatusNatRuleStatusOrBuilderindex - The index of the value to return.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;index - The index to set the value at.value - The drainNatIps to set.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;value - The drainNatIps to add.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;values - The drainNatIps to add.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;public RouterStatusNatStatusNatRuleStatus.Builder addDrainNatIpsBytes(com.google.protobuf.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;value - The bytes of the drainNatIps to add.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;hasMinExtraIpsNeeded in interface RouterStatusNatStatusNatRuleStatusOrBuilderpublic 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;getMinExtraIpsNeeded in interface RouterStatusNatStatusNatRuleStatusOrBuilderpublic 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;value - The minExtraIpsNeeded to set.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;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;hasNumVmEndpointsWithNatMappings in interface RouterStatusNatStatusNatRuleStatusOrBuilderpublic 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;getNumVmEndpointsWithNatMappings in interface RouterStatusNatStatusNatRuleStatusOrBuilderpublic 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;value - The numVmEndpointsWithNatMappings to set.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;public boolean hasRuleNumber()
Rule number of the rule.
optional int32 rule_number = 535211500;hasRuleNumber in interface RouterStatusNatStatusNatRuleStatusOrBuilderpublic int getRuleNumber()
Rule number of the rule.
optional int32 rule_number = 535211500;getRuleNumber in interface RouterStatusNatStatusNatRuleStatusOrBuilderpublic RouterStatusNatStatusNatRuleStatus.Builder setRuleNumber(int value)
Rule number of the rule.
optional int32 rule_number = 535211500;value - The ruleNumber to set.public RouterStatusNatStatusNatRuleStatus.Builder clearRuleNumber()
Rule number of the rule.
optional int32 rule_number = 535211500;public final RouterStatusNatStatusNatRuleStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatusNatRuleStatus.Builder>public final RouterStatusNatStatusNatRuleStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatusNatRuleStatus.Builder>Copyright © 2023 Google LLC. All rights reserved.