Package com.google.cloud.compute.v1
Interface VmEndpointNatMappingsInterfaceNatMappingsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VmEndpointNatMappingsInterfaceNatMappings
,VmEndpointNatMappingsInterfaceNatMappings.Builder
public interface VmEndpointNatMappingsInterfaceNatMappingsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDrainNatIpPortRanges(int index)
List of all drain IP:port-range mappings assigned to this interface.com.google.protobuf.ByteString
getDrainNatIpPortRangesBytes(int index)
List of all drain IP:port-range mappings assigned to this interface.int
getDrainNatIpPortRangesCount()
List of all drain IP:port-range mappings assigned to this interface.List<String>
getDrainNatIpPortRangesList()
List of all drain IP:port-range mappings assigned to this interface.String
getNatIpPortRanges(int index)
A list of all IP:port-range mappings assigned to this interface.com.google.protobuf.ByteString
getNatIpPortRangesBytes(int index)
A list of all IP:port-range mappings assigned to this interface.int
getNatIpPortRangesCount()
A list of all IP:port-range mappings assigned to this interface.List<String>
getNatIpPortRangesList()
A list of all IP:port-range mappings assigned to this interface.int
getNumTotalDrainNatPorts()
Total number of drain ports across all NAT IPs allocated to this interface.int
getNumTotalNatPorts()
Total number of ports across all NAT IPs allocated to this interface.VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
getRuleMappings(int index)
Information about mappings provided by rules in this NAT.int
getRuleMappingsCount()
Information about mappings provided by rules in this NAT.List<VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings>
getRuleMappingsList()
Information about mappings provided by rules in this NAT.VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappingsOrBuilder
getRuleMappingsOrBuilder(int index)
Information about mappings provided by rules in this NAT.List<? extends VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappingsOrBuilder>
getRuleMappingsOrBuilderList()
Information about mappings provided by rules in this NAT.String
getSourceAliasIpRange()
Alias IP range for this interface endpoint.com.google.protobuf.ByteString
getSourceAliasIpRangeBytes()
Alias IP range for this interface endpoint.String
getSourceVirtualIp()
Primary IP of the VM for this NIC.com.google.protobuf.ByteString
getSourceVirtualIpBytes()
Primary IP of the VM for this NIC.boolean
hasNumTotalDrainNatPorts()
Total number of drain ports across all NAT IPs allocated to this interface.boolean
hasNumTotalNatPorts()
Total number of ports across all NAT IPs allocated to this interface.boolean
hasSourceAliasIpRange()
Alias IP range for this interface endpoint.boolean
hasSourceVirtualIp()
Primary IP of the VM for this NIC.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDrainNatIpPortRangesList
List<String> getDrainNatIpPortRangesList()
List of all drain IP:port-range mappings assigned to this interface. 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()
List of all drain IP:port-range mappings assigned to this interface. 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
String getDrainNatIpPortRanges(int index)
List of all drain IP:port-range mappings assigned to this interface. 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)
List of all drain IP:port-range mappings assigned to this interface. 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
List<String> getNatIpPortRangesList()
A list of all IP:port-range mappings assigned to this interface. 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()
A list of all IP:port-range mappings assigned to this interface. 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
String getNatIpPortRanges(int index)
A list of all IP:port-range mappings assigned to this interface. 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)
A list of all IP:port-range mappings assigned to this interface. 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()
Total number of drain ports across all NAT IPs allocated to this interface. It equals to 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()
Total number of drain ports across all NAT IPs allocated to this interface. It equals to 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()
Total number of ports across all NAT IPs allocated to this interface. It equals to 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()
Total number of ports across all NAT IPs allocated to this interface. It equals to the aggregated port number in the field nat_ip_port_ranges.
optional int32 num_total_nat_ports = 299904384;
- Returns:
- The numTotalNatPorts.
-
getRuleMappingsList
List<VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings> getRuleMappingsList()
Information about mappings provided by rules in this NAT.
repeated .google.cloud.compute.v1.VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings rule_mappings = 486192968;
-
getRuleMappings
VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings getRuleMappings(int index)
Information about mappings provided by rules in this NAT.
repeated .google.cloud.compute.v1.VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings rule_mappings = 486192968;
-
getRuleMappingsCount
int getRuleMappingsCount()
Information about mappings provided by rules in this NAT.
repeated .google.cloud.compute.v1.VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings rule_mappings = 486192968;
-
getRuleMappingsOrBuilderList
List<? extends VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappingsOrBuilder> getRuleMappingsOrBuilderList()
Information about mappings provided by rules in this NAT.
repeated .google.cloud.compute.v1.VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings rule_mappings = 486192968;
-
getRuleMappingsOrBuilder
VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappingsOrBuilder getRuleMappingsOrBuilder(int index)
Information about mappings provided by rules in this NAT.
repeated .google.cloud.compute.v1.VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings rule_mappings = 486192968;
-
hasSourceAliasIpRange
boolean hasSourceAliasIpRange()
Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP range. Examples: "10.33.4.55/32", or "192.168.5.0/24".
optional string source_alias_ip_range = 440340952;
- Returns:
- Whether the sourceAliasIpRange field is set.
-
getSourceAliasIpRange
String getSourceAliasIpRange()
Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP range. Examples: "10.33.4.55/32", or "192.168.5.0/24".
optional string source_alias_ip_range = 440340952;
- Returns:
- The sourceAliasIpRange.
-
getSourceAliasIpRangeBytes
com.google.protobuf.ByteString getSourceAliasIpRangeBytes()
Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP range. Examples: "10.33.4.55/32", or "192.168.5.0/24".
optional string source_alias_ip_range = 440340952;
- Returns:
- The bytes for sourceAliasIpRange.
-
hasSourceVirtualIp
boolean hasSourceVirtualIp()
Primary IP of the VM for this NIC.
optional string source_virtual_ip = 149836159;
- Returns:
- Whether the sourceVirtualIp field is set.
-
getSourceVirtualIp
String getSourceVirtualIp()
Primary IP of the VM for this NIC.
optional string source_virtual_ip = 149836159;
- Returns:
- The sourceVirtualIp.
-
getSourceVirtualIpBytes
com.google.protobuf.ByteString getSourceVirtualIpBytes()
Primary IP of the VM for this NIC.
optional string source_virtual_ip = 149836159;
- Returns:
- The bytes for sourceVirtualIp.
-
-