Interface VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappingsOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getDrainNatIpPortRanges​(int index)
      List of all drain IP:port-range mappings assigned to this interface by this rule.
      com.google.protobuf.ByteString getDrainNatIpPortRangesBytes​(int index)
      List of all drain IP:port-range mappings assigned to this interface by this rule.
      int getDrainNatIpPortRangesCount()
      List of all drain IP:port-range mappings assigned to this interface by this rule.
      List<String> getDrainNatIpPortRangesList()
      List of all drain IP:port-range mappings assigned to this interface by this rule.
      String getNatIpPortRanges​(int index)
      A list of all IP:port-range mappings assigned to this interface by this rule.
      com.google.protobuf.ByteString getNatIpPortRangesBytes​(int index)
      A list of all IP:port-range mappings assigned to this interface by this rule.
      int getNatIpPortRangesCount()
      A list of all IP:port-range mappings assigned to this interface by this rule.
      List<String> getNatIpPortRangesList()
      A list of all IP:port-range mappings assigned to this interface by this rule.
      int getNumTotalDrainNatPorts()
      Total number of drain ports across all NAT IPs allocated to this interface by this rule.
      int getNumTotalNatPorts()
      Total number of ports across all NAT IPs allocated to this interface by this rule.
      int getRuleNumber()
      Rule number of the NAT Rule.
      boolean hasNumTotalDrainNatPorts()
      Total number of drain ports across all NAT IPs allocated to this interface by this rule.
      boolean hasNumTotalNatPorts()
      Total number of ports across all NAT IPs allocated to this interface by this rule.
      boolean hasRuleNumber()
      Rule number of the NAT Rule.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getDrainNatIpPortRangesList

        List<String> getDrainNatIpPortRangesList()
         List of all drain IP:port-range mappings assigned to this interface by this rule. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
         
        repeated string drain_nat_ip_port_ranges = 395440577;
        Returns:
        A list containing the drainNatIpPortRanges.
      • getDrainNatIpPortRangesCount

        int getDrainNatIpPortRangesCount()
         List of all drain IP:port-range mappings assigned to this interface by this rule. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
         
        repeated string drain_nat_ip_port_ranges = 395440577;
        Returns:
        The count of drainNatIpPortRanges.
      • getDrainNatIpPortRanges

        String getDrainNatIpPortRanges​(int index)
         List of all drain IP:port-range mappings assigned to this interface by this rule. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
         
        repeated string drain_nat_ip_port_ranges = 395440577;
        Parameters:
        index - The index of the element to return.
        Returns:
        The drainNatIpPortRanges at the given index.
      • getDrainNatIpPortRangesBytes

        com.google.protobuf.ByteString getDrainNatIpPortRangesBytes​(int index)
         List of all drain IP:port-range mappings assigned to this interface by this rule. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
         
        repeated string drain_nat_ip_port_ranges = 395440577;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the drainNatIpPortRanges at the given index.
      • getNatIpPortRangesList

        List<String> getNatIpPortRangesList()
         A list of all IP:port-range mappings assigned to this interface by this rule. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
         
        repeated string nat_ip_port_ranges = 531830810;
        Returns:
        A list containing the natIpPortRanges.
      • getNatIpPortRangesCount

        int getNatIpPortRangesCount()
         A list of all IP:port-range mappings assigned to this interface by this rule. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
         
        repeated string nat_ip_port_ranges = 531830810;
        Returns:
        The count of natIpPortRanges.
      • getNatIpPortRanges

        String getNatIpPortRanges​(int index)
         A list of all IP:port-range mappings assigned to this interface by this rule. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
         
        repeated string nat_ip_port_ranges = 531830810;
        Parameters:
        index - The index of the element to return.
        Returns:
        The natIpPortRanges at the given index.
      • getNatIpPortRangesBytes

        com.google.protobuf.ByteString getNatIpPortRangesBytes​(int index)
         A list of all IP:port-range mappings assigned to this interface by this rule. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
         
        repeated string nat_ip_port_ranges = 531830810;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the natIpPortRanges at the given index.
      • hasNumTotalDrainNatPorts

        boolean hasNumTotalDrainNatPorts()
         Total number of drain ports across all NAT IPs allocated to this interface by this rule. It equals the aggregated port number in the field drain_nat_ip_port_ranges.
         
        optional int32 num_total_drain_nat_ports = 335532793;
        Returns:
        Whether the numTotalDrainNatPorts field is set.
      • getNumTotalDrainNatPorts

        int getNumTotalDrainNatPorts()
         Total number of drain ports across all NAT IPs allocated to this interface by this rule. It equals the aggregated port number in the field drain_nat_ip_port_ranges.
         
        optional int32 num_total_drain_nat_ports = 335532793;
        Returns:
        The numTotalDrainNatPorts.
      • hasNumTotalNatPorts

        boolean hasNumTotalNatPorts()
         Total number of ports across all NAT IPs allocated to this interface by this rule. It equals the aggregated port number in the field nat_ip_port_ranges.
         
        optional int32 num_total_nat_ports = 299904384;
        Returns:
        Whether the numTotalNatPorts field is set.
      • getNumTotalNatPorts

        int getNumTotalNatPorts()
         Total number of ports across all NAT IPs allocated to this interface by this rule. It equals the aggregated port number in the field nat_ip_port_ranges.
         
        optional int32 num_total_nat_ports = 299904384;
        Returns:
        The numTotalNatPorts.
      • hasRuleNumber

        boolean hasRuleNumber()
         Rule number of the NAT Rule.
         
        optional int32 rule_number = 535211500;
        Returns:
        Whether the ruleNumber field is set.
      • getRuleNumber

        int getRuleNumber()
         Rule number of the NAT Rule.
         
        optional int32 rule_number = 535211500;
        Returns:
        The ruleNumber.