Package com.google.cloud.compute.v1
Class RouterStatusNatStatus.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatus.Builder>
-
- com.google.cloud.compute.v1.RouterStatusNatStatus.Builder
-
- All Implemented Interfaces:
RouterStatusNatStatusOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RouterStatusNatStatus
public static final class RouterStatusNatStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatus.Builder> implements RouterStatusNatStatusOrBuilder
Status of a NAT contained in this router.
Protobuf typegoogle.cloud.compute.v1.RouterStatusNatStatus
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RouterStatusNatStatus.BuilderaddAllAutoAllocatedNatIps(Iterable<String> values)A list of IPs auto-allocated for NAT.RouterStatusNatStatus.BuilderaddAllDrainAutoAllocatedNatIps(Iterable<String> values)A list of IPs auto-allocated for NAT that are in drain mode.RouterStatusNatStatus.BuilderaddAllDrainUserAllocatedNatIps(Iterable<String> values)A list of IPs user-allocated for NAT that are in drain mode.RouterStatusNatStatus.BuilderaddAllRuleStatus(Iterable<? extends RouterStatusNatStatusNatRuleStatus> values)Status of rules in this NAT.RouterStatusNatStatus.BuilderaddAllUserAllocatedNatIpResources(Iterable<String> values)A list of fully qualified URLs of reserved IP address resources.RouterStatusNatStatus.BuilderaddAllUserAllocatedNatIps(Iterable<String> values)A list of IPs user-allocated for NAT.RouterStatusNatStatus.BuilderaddAutoAllocatedNatIps(String value)A list of IPs auto-allocated for NAT.RouterStatusNatStatus.BuilderaddAutoAllocatedNatIpsBytes(com.google.protobuf.ByteString value)A list of IPs auto-allocated for NAT.RouterStatusNatStatus.BuilderaddDrainAutoAllocatedNatIps(String value)A list of IPs auto-allocated for NAT that are in drain mode.RouterStatusNatStatus.BuilderaddDrainAutoAllocatedNatIpsBytes(com.google.protobuf.ByteString value)A list of IPs auto-allocated for NAT that are in drain mode.RouterStatusNatStatus.BuilderaddDrainUserAllocatedNatIps(String value)A list of IPs user-allocated for NAT that are in drain mode.RouterStatusNatStatus.BuilderaddDrainUserAllocatedNatIpsBytes(com.google.protobuf.ByteString value)A list of IPs user-allocated for NAT that are in drain mode.RouterStatusNatStatus.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RouterStatusNatStatus.BuilderaddRuleStatus(int index, RouterStatusNatStatusNatRuleStatus value)Status of rules in this NAT.RouterStatusNatStatus.BuilderaddRuleStatus(int index, RouterStatusNatStatusNatRuleStatus.Builder builderForValue)Status of rules in this NAT.RouterStatusNatStatus.BuilderaddRuleStatus(RouterStatusNatStatusNatRuleStatus value)Status of rules in this NAT.RouterStatusNatStatus.BuilderaddRuleStatus(RouterStatusNatStatusNatRuleStatus.Builder builderForValue)Status of rules in this NAT.RouterStatusNatStatusNatRuleStatus.BuilderaddRuleStatusBuilder()Status of rules in this NAT.RouterStatusNatStatusNatRuleStatus.BuilderaddRuleStatusBuilder(int index)Status of rules in this NAT.RouterStatusNatStatus.BuilderaddUserAllocatedNatIpResources(String value)A list of fully qualified URLs of reserved IP address resources.RouterStatusNatStatus.BuilderaddUserAllocatedNatIpResourcesBytes(com.google.protobuf.ByteString value)A list of fully qualified URLs of reserved IP address resources.RouterStatusNatStatus.BuilderaddUserAllocatedNatIps(String value)A list of IPs user-allocated for NAT.RouterStatusNatStatus.BuilderaddUserAllocatedNatIpsBytes(com.google.protobuf.ByteString value)A list of IPs user-allocated for NAT.RouterStatusNatStatusbuild()RouterStatusNatStatusbuildPartial()RouterStatusNatStatus.Builderclear()RouterStatusNatStatus.BuilderclearAutoAllocatedNatIps()A list of IPs auto-allocated for NAT.RouterStatusNatStatus.BuilderclearDrainAutoAllocatedNatIps()A list of IPs auto-allocated for NAT that are in drain mode.RouterStatusNatStatus.BuilderclearDrainUserAllocatedNatIps()A list of IPs user-allocated for NAT that are in drain mode.RouterStatusNatStatus.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RouterStatusNatStatus.BuilderclearMinExtraNatIpsNeeded()The number of extra IPs to allocate.RouterStatusNatStatus.BuilderclearName()Unique name of this NAT.RouterStatusNatStatus.BuilderclearNumVmEndpointsWithNatMappings()Number of VM endpoints (i.e., Nics) that can use NAT.RouterStatusNatStatus.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)RouterStatusNatStatus.BuilderclearRuleStatus()Status of rules in this NAT.RouterStatusNatStatus.BuilderclearUserAllocatedNatIpResources()A list of fully qualified URLs of reserved IP address resources.RouterStatusNatStatus.BuilderclearUserAllocatedNatIps()A list of IPs user-allocated for NAT.RouterStatusNatStatus.Builderclone()StringgetAutoAllocatedNatIps(int index)A list of IPs auto-allocated for NAT.com.google.protobuf.ByteStringgetAutoAllocatedNatIpsBytes(int index)A list of IPs auto-allocated for NAT.intgetAutoAllocatedNatIpsCount()A list of IPs auto-allocated for NAT.com.google.protobuf.ProtocolStringListgetAutoAllocatedNatIpsList()A list of IPs auto-allocated for NAT.RouterStatusNatStatusgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDrainAutoAllocatedNatIps(int index)A list of IPs auto-allocated for NAT that are in drain mode.com.google.protobuf.ByteStringgetDrainAutoAllocatedNatIpsBytes(int index)A list of IPs auto-allocated for NAT that are in drain mode.intgetDrainAutoAllocatedNatIpsCount()A list of IPs auto-allocated for NAT that are in drain mode.com.google.protobuf.ProtocolStringListgetDrainAutoAllocatedNatIpsList()A list of IPs auto-allocated for NAT that are in drain mode.StringgetDrainUserAllocatedNatIps(int index)A list of IPs user-allocated for NAT that are in drain mode.com.google.protobuf.ByteStringgetDrainUserAllocatedNatIpsBytes(int index)A list of IPs user-allocated for NAT that are in drain mode.intgetDrainUserAllocatedNatIpsCount()A list of IPs user-allocated for NAT that are in drain mode.com.google.protobuf.ProtocolStringListgetDrainUserAllocatedNatIpsList()A list of IPs user-allocated for NAT that are in drain mode.intgetMinExtraNatIpsNeeded()The number of extra IPs to allocate.StringgetName()Unique name of this NAT.com.google.protobuf.ByteStringgetNameBytes()Unique name of this NAT.intgetNumVmEndpointsWithNatMappings()Number of VM endpoints (i.e., Nics) that can use NAT.RouterStatusNatStatusNatRuleStatusgetRuleStatus(int index)Status of rules in this NAT.RouterStatusNatStatusNatRuleStatus.BuildergetRuleStatusBuilder(int index)Status of rules in this NAT.List<RouterStatusNatStatusNatRuleStatus.Builder>getRuleStatusBuilderList()Status of rules in this NAT.intgetRuleStatusCount()Status of rules in this NAT.List<RouterStatusNatStatusNatRuleStatus>getRuleStatusList()Status of rules in this NAT.RouterStatusNatStatusNatRuleStatusOrBuildergetRuleStatusOrBuilder(int index)Status of rules in this NAT.List<? extends RouterStatusNatStatusNatRuleStatusOrBuilder>getRuleStatusOrBuilderList()Status of rules in this NAT.StringgetUserAllocatedNatIpResources(int index)A list of fully qualified URLs of reserved IP address resources.com.google.protobuf.ByteStringgetUserAllocatedNatIpResourcesBytes(int index)A list of fully qualified URLs of reserved IP address resources.intgetUserAllocatedNatIpResourcesCount()A list of fully qualified URLs of reserved IP address resources.com.google.protobuf.ProtocolStringListgetUserAllocatedNatIpResourcesList()A list of fully qualified URLs of reserved IP address resources.StringgetUserAllocatedNatIps(int index)A list of IPs user-allocated for NAT.com.google.protobuf.ByteStringgetUserAllocatedNatIpsBytes(int index)A list of IPs user-allocated for NAT.intgetUserAllocatedNatIpsCount()A list of IPs user-allocated for NAT.com.google.protobuf.ProtocolStringListgetUserAllocatedNatIpsList()A list of IPs user-allocated for NAT.booleanhasMinExtraNatIpsNeeded()The number of extra IPs to allocate.booleanhasName()Unique name of this NAT.booleanhasNumVmEndpointsWithNatMappings()Number of VM endpoints (i.e., Nics) that can use NAT.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RouterStatusNatStatus.BuildermergeFrom(RouterStatusNatStatus other)RouterStatusNatStatus.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RouterStatusNatStatus.BuildermergeFrom(com.google.protobuf.Message other)RouterStatusNatStatus.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RouterStatusNatStatus.BuilderremoveRuleStatus(int index)Status of rules in this NAT.RouterStatusNatStatus.BuildersetAutoAllocatedNatIps(int index, String value)A list of IPs auto-allocated for NAT.RouterStatusNatStatus.BuildersetDrainAutoAllocatedNatIps(int index, String value)A list of IPs auto-allocated for NAT that are in drain mode.RouterStatusNatStatus.BuildersetDrainUserAllocatedNatIps(int index, String value)A list of IPs user-allocated for NAT that are in drain mode.RouterStatusNatStatus.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RouterStatusNatStatus.BuildersetMinExtraNatIpsNeeded(int value)The number of extra IPs to allocate.RouterStatusNatStatus.BuildersetName(String value)Unique name of this NAT.RouterStatusNatStatus.BuildersetNameBytes(com.google.protobuf.ByteString value)Unique name of this NAT.RouterStatusNatStatus.BuildersetNumVmEndpointsWithNatMappings(int value)Number of VM endpoints (i.e., Nics) that can use NAT.RouterStatusNatStatus.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RouterStatusNatStatus.BuildersetRuleStatus(int index, RouterStatusNatStatusNatRuleStatus value)Status of rules in this NAT.RouterStatusNatStatus.BuildersetRuleStatus(int index, RouterStatusNatStatusNatRuleStatus.Builder builderForValue)Status of rules in this NAT.RouterStatusNatStatus.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RouterStatusNatStatus.BuildersetUserAllocatedNatIpResources(int index, String value)A list of fully qualified URLs of reserved IP address resources.RouterStatusNatStatus.BuildersetUserAllocatedNatIps(int index, String value)A list of IPs user-allocated for NAT.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatus.Builder>
-
clear
public RouterStatusNatStatus.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatus.Builder>
-
getDefaultInstanceForType
public RouterStatusNatStatus getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RouterStatusNatStatus build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RouterStatusNatStatus buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RouterStatusNatStatus.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatus.Builder>
-
setField
public RouterStatusNatStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatus.Builder>
-
clearField
public RouterStatusNatStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatus.Builder>
-
clearOneof
public RouterStatusNatStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatus.Builder>
-
setRepeatedField
public RouterStatusNatStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatus.Builder>
-
addRepeatedField
public RouterStatusNatStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatus.Builder>
-
mergeFrom
public RouterStatusNatStatus.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouterStatusNatStatus.Builder>
-
mergeFrom
public RouterStatusNatStatus.Builder mergeFrom(RouterStatusNatStatus other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatus.Builder>
-
mergeFrom
public RouterStatusNatStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouterStatusNatStatus.Builder>- Throws:
IOException
-
getAutoAllocatedNatIpsList
public com.google.protobuf.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;- Specified by:
getAutoAllocatedNatIpsListin interfaceRouterStatusNatStatusOrBuilder- Returns:
- A list containing the autoAllocatedNatIps.
-
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;- Specified by:
getAutoAllocatedNatIpsCountin interfaceRouterStatusNatStatusOrBuilder- Returns:
- The count of autoAllocatedNatIps.
-
getAutoAllocatedNatIps
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;- Specified by:
getAutoAllocatedNatIpsin interfaceRouterStatusNatStatusOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The autoAllocatedNatIps at the given index.
-
getAutoAllocatedNatIpsBytes
public 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;- Specified by:
getAutoAllocatedNatIpsBytesin interfaceRouterStatusNatStatusOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the autoAllocatedNatIps at the given index.
-
setAutoAllocatedNatIps
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;- Parameters:
index- The index to set the value at.value- The autoAllocatedNatIps to set.- Returns:
- This builder for chaining.
-
addAutoAllocatedNatIps
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;- Parameters:
value- The autoAllocatedNatIps to add.- Returns:
- This builder for chaining.
-
addAllAutoAllocatedNatIps
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;- Parameters:
values- The autoAllocatedNatIps to add.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
addAutoAllocatedNatIpsBytes
public RouterStatusNatStatus.Builder addAutoAllocatedNatIpsBytes(com.google.protobuf.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;- Parameters:
value- The bytes of the autoAllocatedNatIps to add.- Returns:
- This builder for chaining.
-
getDrainAutoAllocatedNatIpsList
public com.google.protobuf.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;- Specified by:
getDrainAutoAllocatedNatIpsListin interfaceRouterStatusNatStatusOrBuilder- Returns:
- A list containing the drainAutoAllocatedNatIps.
-
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;- Specified by:
getDrainAutoAllocatedNatIpsCountin interfaceRouterStatusNatStatusOrBuilder- Returns:
- The count of drainAutoAllocatedNatIps.
-
getDrainAutoAllocatedNatIps
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;- Specified by:
getDrainAutoAllocatedNatIpsin interfaceRouterStatusNatStatusOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The drainAutoAllocatedNatIps at the given index.
-
getDrainAutoAllocatedNatIpsBytes
public 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;- Specified by:
getDrainAutoAllocatedNatIpsBytesin interfaceRouterStatusNatStatusOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the drainAutoAllocatedNatIps at the given index.
-
setDrainAutoAllocatedNatIps
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;- Parameters:
index- The index to set the value at.value- The drainAutoAllocatedNatIps to set.- Returns:
- This builder for chaining.
-
addDrainAutoAllocatedNatIps
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;- Parameters:
value- The drainAutoAllocatedNatIps to add.- Returns:
- This builder for chaining.
-
addAllDrainAutoAllocatedNatIps
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;- Parameters:
values- The drainAutoAllocatedNatIps to add.- Returns:
- 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;- Returns:
- This builder for chaining.
-
addDrainAutoAllocatedNatIpsBytes
public RouterStatusNatStatus.Builder addDrainAutoAllocatedNatIpsBytes(com.google.protobuf.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;- Parameters:
value- The bytes of the drainAutoAllocatedNatIps to add.- Returns:
- This builder for chaining.
-
getDrainUserAllocatedNatIpsList
public com.google.protobuf.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;- Specified by:
getDrainUserAllocatedNatIpsListin interfaceRouterStatusNatStatusOrBuilder- Returns:
- A list containing the drainUserAllocatedNatIps.
-
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;- Specified by:
getDrainUserAllocatedNatIpsCountin interfaceRouterStatusNatStatusOrBuilder- Returns:
- The count of drainUserAllocatedNatIps.
-
getDrainUserAllocatedNatIps
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;- Specified by:
getDrainUserAllocatedNatIpsin interfaceRouterStatusNatStatusOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The drainUserAllocatedNatIps at the given index.
-
getDrainUserAllocatedNatIpsBytes
public 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;- Specified by:
getDrainUserAllocatedNatIpsBytesin interfaceRouterStatusNatStatusOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the drainUserAllocatedNatIps at the given index.
-
setDrainUserAllocatedNatIps
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;- Parameters:
index- The index to set the value at.value- The drainUserAllocatedNatIps to set.- Returns:
- This builder for chaining.
-
addDrainUserAllocatedNatIps
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;- Parameters:
value- The drainUserAllocatedNatIps to add.- Returns:
- This builder for chaining.
-
addAllDrainUserAllocatedNatIps
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;- Parameters:
values- The drainUserAllocatedNatIps to add.- Returns:
- 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;- Returns:
- This builder for chaining.
-
addDrainUserAllocatedNatIpsBytes
public RouterStatusNatStatus.Builder addDrainUserAllocatedNatIpsBytes(com.google.protobuf.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;- Parameters:
value- The bytes of the drainUserAllocatedNatIps to add.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasMinExtraNatIpsNeededin interfaceRouterStatusNatStatusOrBuilder- Returns:
- Whether the minExtraNatIpsNeeded field is set.
-
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;- Specified by:
getMinExtraNatIpsNeededin interfaceRouterStatusNatStatusOrBuilder- Returns:
- The minExtraNatIpsNeeded.
-
setMinExtraNatIpsNeeded
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;- Parameters:
value- The minExtraNatIpsNeeded to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()
Unique name of this NAT.
optional string name = 3373707;- Specified by:
hasNamein interfaceRouterStatusNatStatusOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
Unique name of this NAT.
optional string name = 3373707;- Specified by:
getNamein interfaceRouterStatusNatStatusOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Unique name of this NAT.
optional string name = 3373707;- Specified by:
getNameBytesin interfaceRouterStatusNatStatusOrBuilder- Returns:
- The bytes for name.
-
setName
public RouterStatusNatStatus.Builder setName(String value)
Unique name of this NAT.
optional string name = 3373707;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public RouterStatusNatStatus.Builder clearName()
Unique name of this NAT.
optional string name = 3373707;- Returns:
- This builder for chaining.
-
setNameBytes
public RouterStatusNatStatus.Builder setNameBytes(com.google.protobuf.ByteString value)
Unique name of this NAT.
optional string name = 3373707;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasNumVmEndpointsWithNatMappings
public boolean hasNumVmEndpointsWithNatMappings()
Number of VM endpoints (i.e., Nics) that can use NAT.
optional int32 num_vm_endpoints_with_nat_mappings = 512367468;- Specified by:
hasNumVmEndpointsWithNatMappingsin interfaceRouterStatusNatStatusOrBuilder- Returns:
- Whether the numVmEndpointsWithNatMappings field is set.
-
getNumVmEndpointsWithNatMappings
public int getNumVmEndpointsWithNatMappings()
Number of VM endpoints (i.e., Nics) that can use NAT.
optional int32 num_vm_endpoints_with_nat_mappings = 512367468;- Specified by:
getNumVmEndpointsWithNatMappingsin interfaceRouterStatusNatStatusOrBuilder- Returns:
- The numVmEndpointsWithNatMappings.
-
setNumVmEndpointsWithNatMappings
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;- Parameters:
value- The numVmEndpointsWithNatMappings to set.- Returns:
- 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;- Returns:
- This builder for chaining.
-
getRuleStatusList
public List<RouterStatusNatStatusNatRuleStatus> getRuleStatusList()
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;- Specified by:
getRuleStatusListin interfaceRouterStatusNatStatusOrBuilder
-
getRuleStatusCount
public int getRuleStatusCount()
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;- Specified by:
getRuleStatusCountin interfaceRouterStatusNatStatusOrBuilder
-
getRuleStatus
public RouterStatusNatStatusNatRuleStatus getRuleStatus(int index)
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;- Specified by:
getRuleStatusin interfaceRouterStatusNatStatusOrBuilder
-
setRuleStatus
public RouterStatusNatStatus.Builder setRuleStatus(int index, RouterStatusNatStatusNatRuleStatus value)
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
-
setRuleStatus
public RouterStatusNatStatus.Builder setRuleStatus(int index, RouterStatusNatStatusNatRuleStatus.Builder builderForValue)
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
-
addRuleStatus
public RouterStatusNatStatus.Builder addRuleStatus(RouterStatusNatStatusNatRuleStatus value)
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
-
addRuleStatus
public RouterStatusNatStatus.Builder addRuleStatus(int index, RouterStatusNatStatusNatRuleStatus value)
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
-
addRuleStatus
public RouterStatusNatStatus.Builder addRuleStatus(RouterStatusNatStatusNatRuleStatus.Builder builderForValue)
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
-
addRuleStatus
public RouterStatusNatStatus.Builder addRuleStatus(int index, RouterStatusNatStatusNatRuleStatus.Builder builderForValue)
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
-
addAllRuleStatus
public RouterStatusNatStatus.Builder addAllRuleStatus(Iterable<? extends RouterStatusNatStatusNatRuleStatus> values)
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
-
clearRuleStatus
public RouterStatusNatStatus.Builder clearRuleStatus()
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
-
removeRuleStatus
public RouterStatusNatStatus.Builder removeRuleStatus(int index)
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
-
getRuleStatusBuilder
public RouterStatusNatStatusNatRuleStatus.Builder getRuleStatusBuilder(int index)
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
-
getRuleStatusOrBuilder
public RouterStatusNatStatusNatRuleStatusOrBuilder getRuleStatusOrBuilder(int index)
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;- Specified by:
getRuleStatusOrBuilderin interfaceRouterStatusNatStatusOrBuilder
-
getRuleStatusOrBuilderList
public List<? extends RouterStatusNatStatusNatRuleStatusOrBuilder> getRuleStatusOrBuilderList()
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;- Specified by:
getRuleStatusOrBuilderListin interfaceRouterStatusNatStatusOrBuilder
-
addRuleStatusBuilder
public RouterStatusNatStatusNatRuleStatus.Builder addRuleStatusBuilder()
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
-
addRuleStatusBuilder
public RouterStatusNatStatusNatRuleStatus.Builder addRuleStatusBuilder(int index)
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
-
getRuleStatusBuilderList
public List<RouterStatusNatStatusNatRuleStatus.Builder> getRuleStatusBuilderList()
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
-
getUserAllocatedNatIpResourcesList
public com.google.protobuf.ProtocolStringList getUserAllocatedNatIpResourcesList()
A list of fully qualified URLs of reserved IP address resources.
repeated string user_allocated_nat_ip_resources = 212776151;- Specified by:
getUserAllocatedNatIpResourcesListin interfaceRouterStatusNatStatusOrBuilder- Returns:
- A list containing the userAllocatedNatIpResources.
-
getUserAllocatedNatIpResourcesCount
public int getUserAllocatedNatIpResourcesCount()
A list of fully qualified URLs of reserved IP address resources.
repeated string user_allocated_nat_ip_resources = 212776151;- Specified by:
getUserAllocatedNatIpResourcesCountin interfaceRouterStatusNatStatusOrBuilder- Returns:
- The count of userAllocatedNatIpResources.
-
getUserAllocatedNatIpResources
public String getUserAllocatedNatIpResources(int index)
A list of fully qualified URLs of reserved IP address resources.
repeated string user_allocated_nat_ip_resources = 212776151;- Specified by:
getUserAllocatedNatIpResourcesin interfaceRouterStatusNatStatusOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The userAllocatedNatIpResources at the given index.
-
getUserAllocatedNatIpResourcesBytes
public 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;- Specified by:
getUserAllocatedNatIpResourcesBytesin interfaceRouterStatusNatStatusOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the userAllocatedNatIpResources at the given index.
-
setUserAllocatedNatIpResources
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;- Parameters:
index- The index to set the value at.value- The userAllocatedNatIpResources to set.- Returns:
- This builder for chaining.
-
addUserAllocatedNatIpResources
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;- Parameters:
value- The userAllocatedNatIpResources to add.- Returns:
- This builder for chaining.
-
addAllUserAllocatedNatIpResources
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;- Parameters:
values- The userAllocatedNatIpResources to add.- Returns:
- This builder for chaining.
-
clearUserAllocatedNatIpResources
public RouterStatusNatStatus.Builder clearUserAllocatedNatIpResources()
A list of fully qualified URLs of reserved IP address resources.
repeated string user_allocated_nat_ip_resources = 212776151;- Returns:
- This builder for chaining.
-
addUserAllocatedNatIpResourcesBytes
public RouterStatusNatStatus.Builder addUserAllocatedNatIpResourcesBytes(com.google.protobuf.ByteString value)
A list of fully qualified URLs of reserved IP address resources.
repeated string user_allocated_nat_ip_resources = 212776151;- Parameters:
value- The bytes of the userAllocatedNatIpResources to add.- Returns:
- This builder for chaining.
-
getUserAllocatedNatIpsList
public com.google.protobuf.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;- Specified by:
getUserAllocatedNatIpsListin interfaceRouterStatusNatStatusOrBuilder- Returns:
- A list containing the userAllocatedNatIps.
-
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;- Specified by:
getUserAllocatedNatIpsCountin interfaceRouterStatusNatStatusOrBuilder- Returns:
- The count of userAllocatedNatIps.
-
getUserAllocatedNatIps
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;- Specified by:
getUserAllocatedNatIpsin interfaceRouterStatusNatStatusOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The userAllocatedNatIps at the given index.
-
getUserAllocatedNatIpsBytes
public 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;- Specified by:
getUserAllocatedNatIpsBytesin interfaceRouterStatusNatStatusOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the userAllocatedNatIps at the given index.
-
setUserAllocatedNatIps
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;- Parameters:
index- The index to set the value at.value- The userAllocatedNatIps to set.- Returns:
- This builder for chaining.
-
addUserAllocatedNatIps
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;- Parameters:
value- The userAllocatedNatIps to add.- Returns:
- This builder for chaining.
-
addAllUserAllocatedNatIps
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;- Parameters:
values- The userAllocatedNatIps to add.- Returns:
- 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;- Returns:
- This builder for chaining.
-
addUserAllocatedNatIpsBytes
public RouterStatusNatStatus.Builder addUserAllocatedNatIpsBytes(com.google.protobuf.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;- Parameters:
value- The bytes of the userAllocatedNatIps to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final RouterStatusNatStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatus.Builder>
-
mergeUnknownFields
public final RouterStatusNatStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatus.Builder>
-
-