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.GeneratedMessage.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.GeneratedMessage.Builder<RouterStatusNatStatus.Builder>
implements RouterStatusNatStatusOrBuilder
Status of a NAT contained in this router.Protobuf type
google.cloud.compute.v1.RouterStatusNatStatus-
Method Summary
Modifier and TypeMethodDescriptionaddAllAutoAllocatedNatIps(Iterable<String> values) Output only.addAllDrainAutoAllocatedNatIps(Iterable<String> values) Output only.addAllDrainUserAllocatedNatIps(Iterable<String> values) Output only.addAllRuleStatus(Iterable<? extends RouterStatusNatStatusNatRuleStatus> values) Status of rules in this NAT.Output only.addAllUserAllocatedNatIps(Iterable<String> values) Output only.addAutoAllocatedNatIps(String value) Output only.addAutoAllocatedNatIpsBytes(com.google.protobuf.ByteString value) Output only.Output only.addDrainAutoAllocatedNatIpsBytes(com.google.protobuf.ByteString value) Output only.Output only.addDrainUserAllocatedNatIpsBytes(com.google.protobuf.ByteString value) Output only.addRuleStatus(int index, RouterStatusNatStatusNatRuleStatus value) Status of rules in this NAT.addRuleStatus(int index, RouterStatusNatStatusNatRuleStatus.Builder builderForValue) Status of rules in this NAT.Status of rules in this NAT.addRuleStatus(RouterStatusNatStatusNatRuleStatus.Builder builderForValue) Status of rules in this NAT.Status of rules in this NAT.addRuleStatusBuilder(int index) Status of rules in this NAT.Output only.addUserAllocatedNatIpResourcesBytes(com.google.protobuf.ByteString value) Output only.addUserAllocatedNatIps(String value) Output only.addUserAllocatedNatIpsBytes(com.google.protobuf.ByteString value) Output only.build()clear()Output only.Output only.Output only.Output only.Output only.Output only.Status of rules in this NAT.Output only.Output only.getAutoAllocatedNatIps(int index) Output only.com.google.protobuf.ByteStringgetAutoAllocatedNatIpsBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDrainAutoAllocatedNatIps(int index) Output only.com.google.protobuf.ByteStringgetDrainAutoAllocatedNatIpsBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.getDrainUserAllocatedNatIps(int index) Output only.com.google.protobuf.ByteStringgetDrainUserAllocatedNatIpsBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.intOutput only.getName()Output only.com.google.protobuf.ByteStringOutput only.intOutput only.getRuleStatus(int index) Status of rules in this NAT.getRuleStatusBuilder(int index) Status of rules in this NAT.Status of rules in this NAT.intStatus of rules in this NAT.Status of rules in this NAT.getRuleStatusOrBuilder(int index) Status of rules in this NAT.List<? extends RouterStatusNatStatusNatRuleStatusOrBuilder>Status of rules in this NAT.getUserAllocatedNatIpResources(int index) Output only.com.google.protobuf.ByteStringgetUserAllocatedNatIpResourcesBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.getUserAllocatedNatIps(int index) Output only.com.google.protobuf.ByteStringgetUserAllocatedNatIpsBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.booleanOutput only.booleanhasName()Output only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(RouterStatusNatStatus other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeRuleStatus(int index) Status of rules in this NAT.setAutoAllocatedNatIps(int index, String value) Output only.setDrainAutoAllocatedNatIps(int index, String value) Output only.setDrainUserAllocatedNatIps(int index, String value) Output only.setMinExtraNatIpsNeeded(int value) Output only.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setNumVmEndpointsWithNatMappings(int value) Output only.setRuleStatus(int index, RouterStatusNatStatusNatRuleStatus value) Status of rules in this NAT.setRuleStatus(int index, RouterStatusNatStatusNatRuleStatus.Builder builderForValue) Status of rules in this NAT.setUserAllocatedNatIpResources(int index, String value) Output only.setUserAllocatedNatIps(int index, String value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RouterStatusNatStatus.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<RouterStatusNatStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouterStatusNatStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.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()Output only. 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()Output only. 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
Output only. 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) Output only. 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
Output only. 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
Output only. 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
Output only. 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
Output only. 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) Output only. 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()Output only. 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()Output only. 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
Output only. 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) Output only. 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
Output only. 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
Output only. 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
Output only. 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
Output only. 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) Output only. 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()Output only. 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()Output only. 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
Output only. 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) Output only. 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
Output only. 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
Output only. 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
Output only. 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
Output only. 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) Output only. 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()Output only. 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()Output only. 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
Output only. 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
Output only. 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()Output only. Unique name of this NAT.
optional string name = 3373707;- Specified by:
hasNamein interfaceRouterStatusNatStatusOrBuilder- Returns:
- Whether the name field is set.
-
getName
Output only. Unique name of this NAT.
optional string name = 3373707;- Specified by:
getNamein interfaceRouterStatusNatStatusOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. Unique name of this NAT.
optional string name = 3373707;- Specified by:
getNameBytesin interfaceRouterStatusNatStatusOrBuilder- Returns:
- The bytes for name.
-
setName
Output only. Unique name of this NAT.
optional string name = 3373707;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Output only. Unique name of this NAT.
optional string name = 3373707;- Returns:
- This builder for chaining.
-
setNameBytes
Output only. 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()Output only. 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()Output only. 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
Output only. 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
Output only. 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
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
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
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
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125; -
removeRuleStatus
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125; -
getRuleStatusBuilder
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125; -
getRuleStatusOrBuilder
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;- Specified by:
getRuleStatusOrBuilderin interfaceRouterStatusNatStatusOrBuilder
-
getRuleStatusOrBuilderList
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;- Specified by:
getRuleStatusOrBuilderListin interfaceRouterStatusNatStatusOrBuilder
-
addRuleStatusBuilder
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125; -
addRuleStatusBuilder
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125; -
getRuleStatusBuilderList
Status of rules in this NAT.
repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125; -
getUserAllocatedNatIpResourcesList
public com.google.protobuf.ProtocolStringList getUserAllocatedNatIpResourcesList()Output only. 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()Output only. 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
Output only. 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) Output only. 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
Output only. 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
Output only. 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
Output only. 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
Output only. 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) Output only. 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()Output only. 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()Output only. 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
Output only. 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) Output only. 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
Output only. 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
Output only. 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
Output only. 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
Output only. 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) Output only. 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.
-