Package com.google.cloud.compute.v1
Interface RouterNatSubnetworkToNatOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RouterNatSubnetworkToNat,RouterNatSubnetworkToNat.Builder
@Generated
public interface RouterNatSubnetworkToNatOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetName()URL for the subnetwork resource that will use NAT.com.google.protobuf.ByteStringURL for the subnetwork resource that will use NAT.getSecondaryIpRangeNames(int index) A list of the secondary ranges of the Subnetwork that are allowed to use NAT.com.google.protobuf.ByteStringgetSecondaryIpRangeNamesBytes(int index) A list of the secondary ranges of the Subnetwork that are allowed to use NAT.intA list of the secondary ranges of the Subnetwork that are allowed to use NAT.A list of the secondary ranges of the Subnetwork that are allowed to use NAT.getSourceIpRangesToNat(int index) Specify the options for NAT ranges in the Subnetwork.com.google.protobuf.ByteStringgetSourceIpRangesToNatBytes(int index) Specify the options for NAT ranges in the Subnetwork.intSpecify the options for NAT ranges in the Subnetwork.Specify the options for NAT ranges in the Subnetwork.booleanhasName()URL for the subnetwork resource that will use NAT.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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
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
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
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.
-