Interface RouterNatSubnetworkToNatOrBuilder (1.26.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
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

URL for the subnetwork resource that will use NAT.

optional string name = 3373707;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the name field is set.