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.Builder
addAllAutoAllocatedNatIps(Iterable<String> values)
A list of IPs auto-allocated for NAT.RouterStatusNatStatus.Builder
addAllDrainAutoAllocatedNatIps(Iterable<String> values)
A list of IPs auto-allocated for NAT that are in drain mode.RouterStatusNatStatus.Builder
addAllDrainUserAllocatedNatIps(Iterable<String> values)
A list of IPs user-allocated for NAT that are in drain mode.RouterStatusNatStatus.Builder
addAllRuleStatus(Iterable<? extends RouterStatusNatStatusNatRuleStatus> values)
Status of rules in this NAT.RouterStatusNatStatus.Builder
addAllUserAllocatedNatIpResources(Iterable<String> values)
A list of fully qualified URLs of reserved IP address resources.RouterStatusNatStatus.Builder
addAllUserAllocatedNatIps(Iterable<String> values)
A list of IPs user-allocated for NAT.RouterStatusNatStatus.Builder
addAutoAllocatedNatIps(String value)
A list of IPs auto-allocated for NAT.RouterStatusNatStatus.Builder
addAutoAllocatedNatIpsBytes(com.google.protobuf.ByteString value)
A list of IPs auto-allocated for NAT.RouterStatusNatStatus.Builder
addDrainAutoAllocatedNatIps(String value)
A list of IPs auto-allocated for NAT that are in drain mode.RouterStatusNatStatus.Builder
addDrainAutoAllocatedNatIpsBytes(com.google.protobuf.ByteString value)
A list of IPs auto-allocated for NAT that are in drain mode.RouterStatusNatStatus.Builder
addDrainUserAllocatedNatIps(String value)
A list of IPs user-allocated for NAT that are in drain mode.RouterStatusNatStatus.Builder
addDrainUserAllocatedNatIpsBytes(com.google.protobuf.ByteString value)
A list of IPs user-allocated for NAT that are in drain mode.RouterStatusNatStatus.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RouterStatusNatStatus.Builder
addRuleStatus(int index, RouterStatusNatStatusNatRuleStatus value)
Status of rules in this NAT.RouterStatusNatStatus.Builder
addRuleStatus(int index, RouterStatusNatStatusNatRuleStatus.Builder builderForValue)
Status of rules in this NAT.RouterStatusNatStatus.Builder
addRuleStatus(RouterStatusNatStatusNatRuleStatus value)
Status of rules in this NAT.RouterStatusNatStatus.Builder
addRuleStatus(RouterStatusNatStatusNatRuleStatus.Builder builderForValue)
Status of rules in this NAT.RouterStatusNatStatusNatRuleStatus.Builder
addRuleStatusBuilder()
Status of rules in this NAT.RouterStatusNatStatusNatRuleStatus.Builder
addRuleStatusBuilder(int index)
Status of rules in this NAT.RouterStatusNatStatus.Builder
addUserAllocatedNatIpResources(String value)
A list of fully qualified URLs of reserved IP address resources.RouterStatusNatStatus.Builder
addUserAllocatedNatIpResourcesBytes(com.google.protobuf.ByteString value)
A list of fully qualified URLs of reserved IP address resources.RouterStatusNatStatus.Builder
addUserAllocatedNatIps(String value)
A list of IPs user-allocated for NAT.RouterStatusNatStatus.Builder
addUserAllocatedNatIpsBytes(com.google.protobuf.ByteString value)
A list of IPs user-allocated for NAT.RouterStatusNatStatus
build()
RouterStatusNatStatus
buildPartial()
RouterStatusNatStatus.Builder
clear()
RouterStatusNatStatus.Builder
clearAutoAllocatedNatIps()
A list of IPs auto-allocated for NAT.RouterStatusNatStatus.Builder
clearDrainAutoAllocatedNatIps()
A list of IPs auto-allocated for NAT that are in drain mode.RouterStatusNatStatus.Builder
clearDrainUserAllocatedNatIps()
A list of IPs user-allocated for NAT that are in drain mode.RouterStatusNatStatus.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
RouterStatusNatStatus.Builder
clearMinExtraNatIpsNeeded()
The number of extra IPs to allocate.RouterStatusNatStatus.Builder
clearName()
Unique name of this NAT.RouterStatusNatStatus.Builder
clearNumVmEndpointsWithNatMappings()
Number of VM endpoints (i.e., Nics) that can use NAT.RouterStatusNatStatus.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
RouterStatusNatStatus.Builder
clearRuleStatus()
Status of rules in this NAT.RouterStatusNatStatus.Builder
clearUserAllocatedNatIpResources()
A list of fully qualified URLs of reserved IP address resources.RouterStatusNatStatus.Builder
clearUserAllocatedNatIps()
A list of IPs user-allocated for NAT.RouterStatusNatStatus.Builder
clone()
String
getAutoAllocatedNatIps(int index)
A list of IPs auto-allocated for NAT.com.google.protobuf.ByteString
getAutoAllocatedNatIpsBytes(int index)
A list of IPs auto-allocated for NAT.int
getAutoAllocatedNatIpsCount()
A list of IPs auto-allocated for NAT.com.google.protobuf.ProtocolStringList
getAutoAllocatedNatIpsList()
A list of IPs auto-allocated for NAT.RouterStatusNatStatus
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDrainAutoAllocatedNatIps(int index)
A list of IPs auto-allocated for NAT that are in drain mode.com.google.protobuf.ByteString
getDrainAutoAllocatedNatIpsBytes(int index)
A list of IPs auto-allocated for NAT that are in drain mode.int
getDrainAutoAllocatedNatIpsCount()
A list of IPs auto-allocated for NAT that are in drain mode.com.google.protobuf.ProtocolStringList
getDrainAutoAllocatedNatIpsList()
A list of IPs auto-allocated for NAT that are in drain mode.String
getDrainUserAllocatedNatIps(int index)
A list of IPs user-allocated for NAT that are in drain mode.com.google.protobuf.ByteString
getDrainUserAllocatedNatIpsBytes(int index)
A list of IPs user-allocated for NAT that are in drain mode.int
getDrainUserAllocatedNatIpsCount()
A list of IPs user-allocated for NAT that are in drain mode.com.google.protobuf.ProtocolStringList
getDrainUserAllocatedNatIpsList()
A list of IPs user-allocated for NAT that are in drain mode.int
getMinExtraNatIpsNeeded()
The number of extra IPs to allocate.String
getName()
Unique name of this NAT.com.google.protobuf.ByteString
getNameBytes()
Unique name of this NAT.int
getNumVmEndpointsWithNatMappings()
Number of VM endpoints (i.e., Nics) that can use NAT.RouterStatusNatStatusNatRuleStatus
getRuleStatus(int index)
Status of rules in this NAT.RouterStatusNatStatusNatRuleStatus.Builder
getRuleStatusBuilder(int index)
Status of rules in this NAT.List<RouterStatusNatStatusNatRuleStatus.Builder>
getRuleStatusBuilderList()
Status of rules in this NAT.int
getRuleStatusCount()
Status of rules in this NAT.List<RouterStatusNatStatusNatRuleStatus>
getRuleStatusList()
Status of rules in this NAT.RouterStatusNatStatusNatRuleStatusOrBuilder
getRuleStatusOrBuilder(int index)
Status of rules in this NAT.List<? extends RouterStatusNatStatusNatRuleStatusOrBuilder>
getRuleStatusOrBuilderList()
Status of rules in this NAT.String
getUserAllocatedNatIpResources(int index)
A list of fully qualified URLs of reserved IP address resources.com.google.protobuf.ByteString
getUserAllocatedNatIpResourcesBytes(int index)
A list of fully qualified URLs of reserved IP address resources.int
getUserAllocatedNatIpResourcesCount()
A list of fully qualified URLs of reserved IP address resources.com.google.protobuf.ProtocolStringList
getUserAllocatedNatIpResourcesList()
A list of fully qualified URLs of reserved IP address resources.String
getUserAllocatedNatIps(int index)
A list of IPs user-allocated for NAT.com.google.protobuf.ByteString
getUserAllocatedNatIpsBytes(int index)
A list of IPs user-allocated for NAT.int
getUserAllocatedNatIpsCount()
A list of IPs user-allocated for NAT.com.google.protobuf.ProtocolStringList
getUserAllocatedNatIpsList()
A list of IPs user-allocated for NAT.boolean
hasMinExtraNatIpsNeeded()
The number of extra IPs to allocate.boolean
hasName()
Unique name of this NAT.boolean
hasNumVmEndpointsWithNatMappings()
Number of VM endpoints (i.e., Nics) that can use NAT.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RouterStatusNatStatus.Builder
mergeFrom(RouterStatusNatStatus other)
RouterStatusNatStatus.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RouterStatusNatStatus.Builder
mergeFrom(com.google.protobuf.Message other)
RouterStatusNatStatus.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RouterStatusNatStatus.Builder
removeRuleStatus(int index)
Status of rules in this NAT.RouterStatusNatStatus.Builder
setAutoAllocatedNatIps(int index, String value)
A list of IPs auto-allocated for NAT.RouterStatusNatStatus.Builder
setDrainAutoAllocatedNatIps(int index, String value)
A list of IPs auto-allocated for NAT that are in drain mode.RouterStatusNatStatus.Builder
setDrainUserAllocatedNatIps(int index, String value)
A list of IPs user-allocated for NAT that are in drain mode.RouterStatusNatStatus.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RouterStatusNatStatus.Builder
setMinExtraNatIpsNeeded(int value)
The number of extra IPs to allocate.RouterStatusNatStatus.Builder
setName(String value)
Unique name of this NAT.RouterStatusNatStatus.Builder
setNameBytes(com.google.protobuf.ByteString value)
Unique name of this NAT.RouterStatusNatStatus.Builder
setNumVmEndpointsWithNatMappings(int value)
Number of VM endpoints (i.e., Nics) that can use NAT.RouterStatusNatStatus.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
RouterStatusNatStatus.Builder
setRuleStatus(int index, RouterStatusNatStatusNatRuleStatus value)
Status of rules in this NAT.RouterStatusNatStatus.Builder
setRuleStatus(int index, RouterStatusNatStatusNatRuleStatus.Builder builderForValue)
Status of rules in this NAT.RouterStatusNatStatus.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RouterStatusNatStatus.Builder
setUserAllocatedNatIpResources(int index, String value)
A list of fully qualified URLs of reserved IP address resources.RouterStatusNatStatus.Builder
setUserAllocatedNatIps(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatus.Builder>
-
clear
public RouterStatusNatStatus.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatus.Builder>
-
getDefaultInstanceForType
public RouterStatusNatStatus getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RouterStatusNatStatus build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RouterStatusNatStatus buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RouterStatusNatStatus.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatus.Builder>
-
setField
public RouterStatusNatStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatus.Builder>
-
clearField
public RouterStatusNatStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatus.Builder>
-
clearOneof
public RouterStatusNatStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatus.Builder>
-
setRepeatedField
public RouterStatusNatStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatus.Builder>
-
addRepeatedField
public RouterStatusNatStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatus.Builder>
-
mergeFrom
public RouterStatusNatStatus.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RouterStatusNatStatus.Builder>
-
mergeFrom
public RouterStatusNatStatus.Builder mergeFrom(RouterStatusNatStatus other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getAutoAllocatedNatIpsList
in 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:
getAutoAllocatedNatIpsCount
in 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:
getAutoAllocatedNatIps
in 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:
getAutoAllocatedNatIpsBytes
in 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:
getDrainAutoAllocatedNatIpsList
in 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:
getDrainAutoAllocatedNatIpsCount
in 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:
getDrainAutoAllocatedNatIps
in 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:
getDrainAutoAllocatedNatIpsBytes
in 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:
getDrainUserAllocatedNatIpsList
in 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:
getDrainUserAllocatedNatIpsCount
in 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:
getDrainUserAllocatedNatIps
in 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:
getDrainUserAllocatedNatIpsBytes
in 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:
hasMinExtraNatIpsNeeded
in 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:
getMinExtraNatIpsNeeded
in 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:
hasName
in interfaceRouterStatusNatStatusOrBuilder
- Returns:
- Whether the name field is set.
-
getName
public String getName()
Unique name of this NAT.
optional string name = 3373707;
- Specified by:
getName
in interfaceRouterStatusNatStatusOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Unique name of this NAT.
optional string name = 3373707;
- Specified by:
getNameBytes
in 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:
hasNumVmEndpointsWithNatMappings
in 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:
getNumVmEndpointsWithNatMappings
in 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:
getRuleStatusList
in interfaceRouterStatusNatStatusOrBuilder
-
getRuleStatusCount
public int getRuleStatusCount()
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
- Specified by:
getRuleStatusCount
in interfaceRouterStatusNatStatusOrBuilder
-
getRuleStatus
public RouterStatusNatStatusNatRuleStatus getRuleStatus(int index)
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
- Specified by:
getRuleStatus
in 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:
getRuleStatusOrBuilder
in interfaceRouterStatusNatStatusOrBuilder
-
getRuleStatusOrBuilderList
public List<? extends RouterStatusNatStatusNatRuleStatusOrBuilder> getRuleStatusOrBuilderList()
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
- Specified by:
getRuleStatusOrBuilderList
in 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:
getUserAllocatedNatIpResourcesList
in 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:
getUserAllocatedNatIpResourcesCount
in 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:
getUserAllocatedNatIpResources
in 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:
getUserAllocatedNatIpResourcesBytes
in 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:
getUserAllocatedNatIpsList
in 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:
getUserAllocatedNatIpsCount
in 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:
getUserAllocatedNatIps
in 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:
getUserAllocatedNatIpsBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatus.Builder>
-
mergeUnknownFields
public final RouterStatusNatStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusNatStatus.Builder>
-
-