Interface RouterNatSubnetworkToNatOrBuilder

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

    public interface RouterNatSubnetworkToNatOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getName()
      URL for the subnetwork resource that will use NAT.
      com.google.protobuf.ByteString getNameBytes()
      URL for the subnetwork resource that will use NAT.
      String getSecondaryIpRangeNames​(int index)
      A list of the secondary ranges of the Subnetwork that are allowed to use NAT.
      com.google.protobuf.ByteString getSecondaryIpRangeNamesBytes​(int index)
      A list of the secondary ranges of the Subnetwork that are allowed to use NAT.
      int getSecondaryIpRangeNamesCount()
      A list of the secondary ranges of the Subnetwork that are allowed to use NAT.
      List<String> getSecondaryIpRangeNamesList()
      A list of the secondary ranges of the Subnetwork that are allowed to use NAT.
      String getSourceIpRangesToNat​(int index)
      Specify the options for NAT ranges in the Subnetwork.
      com.google.protobuf.ByteString getSourceIpRangesToNatBytes​(int index)
      Specify the options for NAT ranges in the Subnetwork.
      int getSourceIpRangesToNatCount()
      Specify the options for NAT ranges in the Subnetwork.
      List<String> getSourceIpRangesToNatList()
      Specify the options for NAT ranges in the Subnetwork.
      boolean hasName()
      URL for the subnetwork resource that will use NAT.
      • 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

      • hasName

        boolean hasName()
         URL for the subnetwork resource that will use NAT.
         
        optional string name = 3373707;
        Returns:
        Whether the name field is set.
      • getName

        String getName()
         URL for the subnetwork resource that will use NAT.
         
        optional string name = 3373707;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         URL for the subnetwork resource that will use NAT.
         
        optional string name = 3373707;
        Returns:
        The bytes for name.
      • getSecondaryIpRangeNamesList

        List<String> getSecondaryIpRangeNamesList()
         A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in source_ip_ranges_to_nat.
         
        repeated string secondary_ip_range_names = 264315097;
        Returns:
        A list containing the secondaryIpRangeNames.
      • getSecondaryIpRangeNamesCount

        int getSecondaryIpRangeNamesCount()
         A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in source_ip_ranges_to_nat.
         
        repeated string secondary_ip_range_names = 264315097;
        Returns:
        The count of secondaryIpRangeNames.
      • getSecondaryIpRangeNames

        String getSecondaryIpRangeNames​(int index)
         A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in source_ip_ranges_to_nat.
         
        repeated string secondary_ip_range_names = 264315097;
        Parameters:
        index - The index of the element to return.
        Returns:
        The secondaryIpRangeNames at the given index.
      • getSecondaryIpRangeNamesBytes

        com.google.protobuf.ByteString getSecondaryIpRangeNamesBytes​(int index)
         A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in source_ip_ranges_to_nat.
         
        repeated string secondary_ip_range_names = 264315097;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the secondaryIpRangeNames at the given index.
      • getSourceIpRangesToNatList

        List<String> getSourceIpRangesToNatList()
         Specify the options for NAT ranges in the Subnetwork. All options of a single value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES]
         Check the SourceIpRangesToNat enum for the list of possible values.
         
        repeated string source_ip_ranges_to_nat = 388310386;
        Returns:
        A list containing the sourceIpRangesToNat.
      • getSourceIpRangesToNatCount

        int getSourceIpRangesToNatCount()
         Specify the options for NAT ranges in the Subnetwork. All options of a single value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES]
         Check the SourceIpRangesToNat enum for the list of possible values.
         
        repeated string source_ip_ranges_to_nat = 388310386;
        Returns:
        The count of sourceIpRangesToNat.
      • getSourceIpRangesToNat

        String getSourceIpRangesToNat​(int index)
         Specify the options for NAT ranges in the Subnetwork. All options of a single value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES]
         Check the SourceIpRangesToNat enum for the list of possible values.
         
        repeated string source_ip_ranges_to_nat = 388310386;
        Parameters:
        index - The index of the element to return.
        Returns:
        The sourceIpRangesToNat at the given index.
      • getSourceIpRangesToNatBytes

        com.google.protobuf.ByteString getSourceIpRangesToNatBytes​(int index)
         Specify the options for NAT ranges in the Subnetwork. All options of a single value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES]
         Check the SourceIpRangesToNat enum for the list of possible values.
         
        repeated string source_ip_ranges_to_nat = 388310386;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the sourceIpRangesToNat at the given index.