Interface RouterNatRuleActionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
RouterNatRuleAction, RouterNatRuleAction.Builder

@Generated public interface RouterNatRuleActionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getSourceNatActiveIpsList

      List<String> getSourceNatActiveIpsList()
       A list of URLs of the IP resources used for this NAT rule. These IP
       addresses must be valid static external IP addresses assigned to the
       project.
       This field is used for public NAT.
       
      repeated string source_nat_active_ips = 210378229;
      Returns:
      A list containing the sourceNatActiveIps.
    • getSourceNatActiveIpsCount

      int getSourceNatActiveIpsCount()
       A list of URLs of the IP resources used for this NAT rule. These IP
       addresses must be valid static external IP addresses assigned to the
       project.
       This field is used for public NAT.
       
      repeated string source_nat_active_ips = 210378229;
      Returns:
      The count of sourceNatActiveIps.
    • getSourceNatActiveIps

      String getSourceNatActiveIps(int index)
       A list of URLs of the IP resources used for this NAT rule. These IP
       addresses must be valid static external IP addresses assigned to the
       project.
       This field is used for public NAT.
       
      repeated string source_nat_active_ips = 210378229;
      Parameters:
      index - The index of the element to return.
      Returns:
      The sourceNatActiveIps at the given index.
    • getSourceNatActiveIpsBytes

      com.google.protobuf.ByteString getSourceNatActiveIpsBytes(int index)
       A list of URLs of the IP resources used for this NAT rule. These IP
       addresses must be valid static external IP addresses assigned to the
       project.
       This field is used for public NAT.
       
      repeated string source_nat_active_ips = 210378229;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the sourceNatActiveIps at the given index.
    • getSourceNatActiveRangesList

      List<String> getSourceNatActiveRangesList()
       A list of URLs of the subnetworks used as source ranges for this
       NAT Rule. These subnetworks must have purpose set to PRIVATE_NAT.
       This field is used for private NAT.
       
      repeated string source_nat_active_ranges = 190556269;
      Returns:
      A list containing the sourceNatActiveRanges.
    • getSourceNatActiveRangesCount

      int getSourceNatActiveRangesCount()
       A list of URLs of the subnetworks used as source ranges for this
       NAT Rule. These subnetworks must have purpose set to PRIVATE_NAT.
       This field is used for private NAT.
       
      repeated string source_nat_active_ranges = 190556269;
      Returns:
      The count of sourceNatActiveRanges.
    • getSourceNatActiveRanges

      String getSourceNatActiveRanges(int index)
       A list of URLs of the subnetworks used as source ranges for this
       NAT Rule. These subnetworks must have purpose set to PRIVATE_NAT.
       This field is used for private NAT.
       
      repeated string source_nat_active_ranges = 190556269;
      Parameters:
      index - The index of the element to return.
      Returns:
      The sourceNatActiveRanges at the given index.
    • getSourceNatActiveRangesBytes

      com.google.protobuf.ByteString getSourceNatActiveRangesBytes(int index)
       A list of URLs of the subnetworks used as source ranges for this
       NAT Rule. These subnetworks must have purpose set to PRIVATE_NAT.
       This field is used for private NAT.
       
      repeated string source_nat_active_ranges = 190556269;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the sourceNatActiveRanges at the given index.
    • getSourceNatDrainIpsList

      List<String> getSourceNatDrainIpsList()
       A list of URLs of the IP resources to be drained. These IPs
       must be valid static external IPs that have been assigned to the NAT.
       These IPs should be used for updating/patching a NAT rule only.
       This field is used for public NAT.
       
      repeated string source_nat_drain_ips = 340812451;
      Returns:
      A list containing the sourceNatDrainIps.
    • getSourceNatDrainIpsCount

      int getSourceNatDrainIpsCount()
       A list of URLs of the IP resources to be drained. These IPs
       must be valid static external IPs that have been assigned to the NAT.
       These IPs should be used for updating/patching a NAT rule only.
       This field is used for public NAT.
       
      repeated string source_nat_drain_ips = 340812451;
      Returns:
      The count of sourceNatDrainIps.
    • getSourceNatDrainIps

      String getSourceNatDrainIps(int index)
       A list of URLs of the IP resources to be drained. These IPs
       must be valid static external IPs that have been assigned to the NAT.
       These IPs should be used for updating/patching a NAT rule only.
       This field is used for public NAT.
       
      repeated string source_nat_drain_ips = 340812451;
      Parameters:
      index - The index of the element to return.
      Returns:
      The sourceNatDrainIps at the given index.
    • getSourceNatDrainIpsBytes

      com.google.protobuf.ByteString getSourceNatDrainIpsBytes(int index)
       A list of URLs of the IP resources to be drained. These IPs
       must be valid static external IPs that have been assigned to the NAT.
       These IPs should be used for updating/patching a NAT rule only.
       This field is used for public NAT.
       
      repeated string source_nat_drain_ips = 340812451;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the sourceNatDrainIps at the given index.
    • getSourceNatDrainRangesList

      List<String> getSourceNatDrainRangesList()
       A list of URLs of subnetworks representing source ranges to be
       drained. This is only supported on patch/update, and these
       subnetworks must have previously been used as active ranges in this
       NAT Rule.
       This field is used for private NAT.
       
      repeated string source_nat_drain_ranges = 84802815;
      Returns:
      A list containing the sourceNatDrainRanges.
    • getSourceNatDrainRangesCount

      int getSourceNatDrainRangesCount()
       A list of URLs of subnetworks representing source ranges to be
       drained. This is only supported on patch/update, and these
       subnetworks must have previously been used as active ranges in this
       NAT Rule.
       This field is used for private NAT.
       
      repeated string source_nat_drain_ranges = 84802815;
      Returns:
      The count of sourceNatDrainRanges.
    • getSourceNatDrainRanges

      String getSourceNatDrainRanges(int index)
       A list of URLs of subnetworks representing source ranges to be
       drained. This is only supported on patch/update, and these
       subnetworks must have previously been used as active ranges in this
       NAT Rule.
       This field is used for private NAT.
       
      repeated string source_nat_drain_ranges = 84802815;
      Parameters:
      index - The index of the element to return.
      Returns:
      The sourceNatDrainRanges at the given index.
    • getSourceNatDrainRangesBytes

      com.google.protobuf.ByteString getSourceNatDrainRangesBytes(int index)
       A list of URLs of subnetworks representing source ranges to be
       drained. This is only supported on patch/update, and these
       subnetworks must have previously been used as active ranges in this
       NAT Rule.
       This field is used for private NAT.
       
      repeated string source_nat_drain_ranges = 84802815;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the sourceNatDrainRanges at the given index.