Package com.google.cloud.compute.v1
Interface VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappingsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings,VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings.Builder
@Generated
public interface VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappingsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetDrainNatIpPortRanges(int index) Output only.com.google.protobuf.ByteStringgetDrainNatIpPortRangesBytes(int index) Output only.intOutput only.Output only.getNatIpPortRanges(int index) Output only.com.google.protobuf.ByteStringgetNatIpPortRangesBytes(int index) Output only.intOutput only.Output only.intOutput only.intOutput only.intOutput only.booleanOutput only.booleanOutput only.booleanOutput only.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
-
getDrainNatIpPortRangesList
Output only. 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()Output only. 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
Output only. 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) Output only. 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
Output only. 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()Output only. 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
Output only. 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) Output only. 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()Output only. 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()Output only. 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()Output only. 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()Output only. 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()Output only. Rule number of the NAT Rule.
optional int32 rule_number = 535211500;- Returns:
- Whether the ruleNumber field is set.
-
getRuleNumber
int getRuleNumber()Output only. Rule number of the NAT Rule.
optional int32 rule_number = 535211500;- Returns:
- The ruleNumber.
-