Interface RouterNatSubnetworkToNatOrBuilder (1.58.0)

public interface RouterNatSubnetworkToNatOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

URL for the subnetwork resource that will use NAT.

optional string name = 3373707;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

URL for the subnetwork resource that will use NAT.

optional string name = 3373707;

Returns
Type Description
ByteString

The bytes for name.

getSecondaryIpRangeNames(int index)

public abstract 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;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The secondaryIpRangeNames at the given index.

getSecondaryIpRangeNamesBytes(int index)

public abstract 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;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the secondaryIpRangeNames at the given index.

getSecondaryIpRangeNamesCount()

public abstract 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
Type Description
int

The count of secondaryIpRangeNames.

getSecondaryIpRangeNamesList()

public abstract 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
Type Description
List<String>

A list containing the secondaryIpRangeNames.

getSourceIpRangesToNat(int index)

public abstract 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;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The sourceIpRangesToNat at the given index.

getSourceIpRangesToNatBytes(int index)

public abstract 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;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the sourceIpRangesToNat at the given index.

getSourceIpRangesToNatCount()

public abstract 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
Type Description
int

The count of sourceIpRangesToNat.

getSourceIpRangesToNatList()

public abstract 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
Type Description
List<String>

A list containing the sourceIpRangesToNat.

hasName()

public abstract boolean hasName()

URL for the subnetwork resource that will use NAT.

optional string name = 3373707;

Returns
Type Description
boolean

Whether the name field is set.