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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RouterStatusNatStatus.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<RouterStatusNatStatus.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RouterStatusNatStatus.Builder>
    • getDefaultInstanceForType

      public RouterStatusNatStatus getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public RouterStatusNatStatus build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public RouterStatusNatStatus buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public RouterStatusNatStatus.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouterStatusNatStatus.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      getAutoAllocatedNatIpsList in interface RouterStatusNatStatusOrBuilder
      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:
      getAutoAllocatedNatIpsCount in interface RouterStatusNatStatusOrBuilder
      Returns:
      The count of autoAllocatedNatIps.
    • getAutoAllocatedNatIps

      public String getAutoAllocatedNatIps(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:
      getAutoAllocatedNatIps in interface RouterStatusNatStatusOrBuilder
      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:
      getAutoAllocatedNatIpsBytes in interface RouterStatusNatStatusOrBuilder
      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)
       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

      public RouterStatusNatStatus.Builder addAutoAllocatedNatIps(String 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 autoAllocatedNatIps to add.
      Returns:
      This builder for chaining.
    • addAllAutoAllocatedNatIps

      public RouterStatusNatStatus.Builder addAllAutoAllocatedNatIps(Iterable<String> values)
       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

      public RouterStatusNatStatus.Builder 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:
      getDrainAutoAllocatedNatIpsList in interface RouterStatusNatStatusOrBuilder
      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:
      getDrainAutoAllocatedNatIpsCount in interface RouterStatusNatStatusOrBuilder
      Returns:
      The count of drainAutoAllocatedNatIps.
    • getDrainAutoAllocatedNatIps

      public String getDrainAutoAllocatedNatIps(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:
      getDrainAutoAllocatedNatIps in interface RouterStatusNatStatusOrBuilder
      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:
      getDrainAutoAllocatedNatIpsBytes in interface RouterStatusNatStatusOrBuilder
      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)
       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

      public RouterStatusNatStatus.Builder addDrainAutoAllocatedNatIps(String 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 drainAutoAllocatedNatIps to add.
      Returns:
      This builder for chaining.
    • addAllDrainAutoAllocatedNatIps

      public RouterStatusNatStatus.Builder addAllDrainAutoAllocatedNatIps(Iterable<String> values)
       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

      public RouterStatusNatStatus.Builder 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:
      getDrainUserAllocatedNatIpsList in interface RouterStatusNatStatusOrBuilder
      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:
      getDrainUserAllocatedNatIpsCount in interface RouterStatusNatStatusOrBuilder
      Returns:
      The count of drainUserAllocatedNatIps.
    • getDrainUserAllocatedNatIps

      public String getDrainUserAllocatedNatIps(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:
      getDrainUserAllocatedNatIps in interface RouterStatusNatStatusOrBuilder
      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:
      getDrainUserAllocatedNatIpsBytes in interface RouterStatusNatStatusOrBuilder
      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)
       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

      public RouterStatusNatStatus.Builder addDrainUserAllocatedNatIps(String 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 drainUserAllocatedNatIps to add.
      Returns:
      This builder for chaining.
    • addAllDrainUserAllocatedNatIps

      public RouterStatusNatStatus.Builder addAllDrainUserAllocatedNatIps(Iterable<String> values)
       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

      public RouterStatusNatStatus.Builder 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:
      hasMinExtraNatIpsNeeded in interface RouterStatusNatStatusOrBuilder
      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:
      getMinExtraNatIpsNeeded in interface RouterStatusNatStatusOrBuilder
      Returns:
      The minExtraNatIpsNeeded.
    • setMinExtraNatIpsNeeded

      public RouterStatusNatStatus.Builder setMinExtraNatIpsNeeded(int value)
       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

      public RouterStatusNatStatus.Builder 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:
      hasName in interface RouterStatusNatStatusOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Output only. Unique name of this NAT.
       
      optional string name = 3373707;
      Specified by:
      getName in interface RouterStatusNatStatusOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. Unique name of this NAT.
       
      optional string name = 3373707;
      Specified by:
      getNameBytes in interface RouterStatusNatStatusOrBuilder
      Returns:
      The bytes for name.
    • setName

      public RouterStatusNatStatus.Builder setName(String value)
       Output only. 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()
       Output only. Unique name of this NAT.
       
      optional string name = 3373707;
      Returns:
      This builder for chaining.
    • setNameBytes

      public RouterStatusNatStatus.Builder setNameBytes(com.google.protobuf.ByteString value)
       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:
      hasNumVmEndpointsWithNatMappings in interface RouterStatusNatStatusOrBuilder
      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:
      getNumVmEndpointsWithNatMappings in interface RouterStatusNatStatusOrBuilder
      Returns:
      The numVmEndpointsWithNatMappings.
    • setNumVmEndpointsWithNatMappings

      public RouterStatusNatStatus.Builder setNumVmEndpointsWithNatMappings(int value)
       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

      public RouterStatusNatStatus.Builder 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

      public List<RouterStatusNatStatusNatRuleStatus> getRuleStatusList()
       Status of rules in this NAT.
       
      repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
      Specified by:
      getRuleStatusList in interface RouterStatusNatStatusOrBuilder
    • getRuleStatusCount

      public int getRuleStatusCount()
       Status of rules in this NAT.
       
      repeated .google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus rule_status = 140223125;
      Specified by:
      getRuleStatusCount in interface RouterStatusNatStatusOrBuilder
    • 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 interface RouterStatusNatStatusOrBuilder
    • 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

       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 interface RouterStatusNatStatusOrBuilder
    • 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 interface RouterStatusNatStatusOrBuilder
    • 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()
       Output only. A list of fully qualified URLs of reserved IP address resources.
       
      repeated string user_allocated_nat_ip_resources = 212776151;
      Specified by:
      getUserAllocatedNatIpResourcesList in interface RouterStatusNatStatusOrBuilder
      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:
      getUserAllocatedNatIpResourcesCount in interface RouterStatusNatStatusOrBuilder
      Returns:
      The count of userAllocatedNatIpResources.
    • getUserAllocatedNatIpResources

      public String getUserAllocatedNatIpResources(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:
      getUserAllocatedNatIpResources in interface RouterStatusNatStatusOrBuilder
      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:
      getUserAllocatedNatIpResourcesBytes in interface RouterStatusNatStatusOrBuilder
      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)
       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

      public RouterStatusNatStatus.Builder addUserAllocatedNatIpResources(String 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 userAllocatedNatIpResources to add.
      Returns:
      This builder for chaining.
    • addAllUserAllocatedNatIpResources

      public RouterStatusNatStatus.Builder addAllUserAllocatedNatIpResources(Iterable<String> values)
       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

      public RouterStatusNatStatus.Builder 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:
      getUserAllocatedNatIpsList in interface RouterStatusNatStatusOrBuilder
      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:
      getUserAllocatedNatIpsCount in interface RouterStatusNatStatusOrBuilder
      Returns:
      The count of userAllocatedNatIps.
    • getUserAllocatedNatIps

      public String getUserAllocatedNatIps(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:
      getUserAllocatedNatIps in interface RouterStatusNatStatusOrBuilder
      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:
      getUserAllocatedNatIpsBytes in interface RouterStatusNatStatusOrBuilder
      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)
       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

      public RouterStatusNatStatus.Builder addUserAllocatedNatIps(String 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 userAllocatedNatIps to add.
      Returns:
      This builder for chaining.
    • addAllUserAllocatedNatIps

      public RouterStatusNatStatus.Builder addAllUserAllocatedNatIps(Iterable<String> values)
       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

      public RouterStatusNatStatus.Builder 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.