public final class VmEndpointNatMappingsInterfaceNatMappings extends GeneratedMessageV3 implements VmEndpointNatMappingsInterfaceNatMappingsOrBuilder
Contain information of Nat mapping for an interface of this endpoint.
Protobuf type google.cloud.compute.v1.VmEndpointNatMappingsInterfaceNatMappings
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DRAIN_NAT_IP_PORT_RANGES_FIELD_NUMBER
public static final int DRAIN_NAT_IP_PORT_RANGES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NAT_IP_PORT_RANGES_FIELD_NUMBER
public static final int NAT_IP_PORT_RANGES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NUM_TOTAL_DRAIN_NAT_PORTS_FIELD_NUMBER
public static final int NUM_TOTAL_DRAIN_NAT_PORTS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NUM_TOTAL_NAT_PORTS_FIELD_NUMBER
public static final int NUM_TOTAL_NAT_PORTS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RULE_MAPPINGS_FIELD_NUMBER
public static final int RULE_MAPPINGS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SOURCE_ALIAS_IP_RANGE_FIELD_NUMBER
public static final int SOURCE_ALIAS_IP_RANGE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SOURCE_VIRTUAL_IP_FIELD_NUMBER
public static final int SOURCE_VIRTUAL_IP_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static VmEndpointNatMappingsInterfaceNatMappings getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static VmEndpointNatMappingsInterfaceNatMappings.Builder newBuilder()
newBuilder(VmEndpointNatMappingsInterfaceNatMappings prototype)
public static VmEndpointNatMappingsInterfaceNatMappings.Builder newBuilder(VmEndpointNatMappingsInterfaceNatMappings prototype)
public static VmEndpointNatMappingsInterfaceNatMappings parseDelimitedFrom(InputStream input)
public static VmEndpointNatMappingsInterfaceNatMappings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static VmEndpointNatMappingsInterfaceNatMappings parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VmEndpointNatMappingsInterfaceNatMappings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static VmEndpointNatMappingsInterfaceNatMappings parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VmEndpointNatMappingsInterfaceNatMappings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VmEndpointNatMappingsInterfaceNatMappings parseFrom(CodedInputStream input)
public static VmEndpointNatMappingsInterfaceNatMappings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static VmEndpointNatMappingsInterfaceNatMappings parseFrom(InputStream input)
public static VmEndpointNatMappingsInterfaceNatMappings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static VmEndpointNatMappingsInterfaceNatMappings parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VmEndpointNatMappingsInterfaceNatMappings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<VmEndpointNatMappingsInterfaceNatMappings> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public VmEndpointNatMappingsInterfaceNatMappings getDefaultInstanceForType()
getDrainNatIpPortRanges(int index)
public String getDrainNatIpPortRanges(int index)
Output only. 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;
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The drainNatIpPortRanges at the given index.
|
getDrainNatIpPortRangesBytes(int index)
public ByteString getDrainNatIpPortRangesBytes(int index)
Output only. 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;
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the drainNatIpPortRanges at the given index.
|
getDrainNatIpPortRangesCount()
public int getDrainNatIpPortRangesCount()
Output only. 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 |
| Type |
Description |
int |
The count of drainNatIpPortRanges.
|
getDrainNatIpPortRangesList()
public ProtocolStringList getDrainNatIpPortRangesList()
Output only. 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;
getNatIpPortRanges(int index)
public String getNatIpPortRanges(int index)
Output only. 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;
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The natIpPortRanges at the given index.
|
getNatIpPortRangesBytes(int index)
public ByteString getNatIpPortRangesBytes(int index)
Output only. 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;
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the natIpPortRanges at the given index.
|
getNatIpPortRangesCount()
public int getNatIpPortRangesCount()
Output only. 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 |
| Type |
Description |
int |
The count of natIpPortRanges.
|
getNatIpPortRangesList()
public ProtocolStringList getNatIpPortRangesList()
Output only. 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;
getNumTotalDrainNatPorts()
public int getNumTotalDrainNatPorts()
Output only. 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 |
| Type |
Description |
int |
The numTotalDrainNatPorts.
|
getNumTotalNatPorts()
public int getNumTotalNatPorts()
Output only. 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 |
| Type |
Description |
int |
The numTotalNatPorts.
|
getParserForType()
public Parser<VmEndpointNatMappingsInterfaceNatMappings> getParserForType()
Overrides
getRuleMappings(int index)
public VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings getRuleMappings(int index)
Output only. Information about mappings provided by rules in this NAT.
repeated .google.cloud.compute.v1.VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings rule_mappings = 486192968;
| Parameter |
| Name |
Description |
index |
int
|
getRuleMappingsCount()
public int getRuleMappingsCount()
Output only. Information about mappings provided by rules in this NAT.
repeated .google.cloud.compute.v1.VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings rule_mappings = 486192968;
| Returns |
| Type |
Description |
int |
|
getRuleMappingsList()
public List<VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings> getRuleMappingsList()
Output only. Information about mappings provided by rules in this NAT.
repeated .google.cloud.compute.v1.VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings rule_mappings = 486192968;
getRuleMappingsOrBuilder(int index)
public VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappingsOrBuilder getRuleMappingsOrBuilder(int index)
Output only. Information about mappings provided by rules in this NAT.
repeated .google.cloud.compute.v1.VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings rule_mappings = 486192968;
| Parameter |
| Name |
Description |
index |
int
|
getRuleMappingsOrBuilderList()
public List<? extends VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappingsOrBuilder> getRuleMappingsOrBuilderList()
Output only. Information about mappings provided by rules in this NAT.
repeated .google.cloud.compute.v1.VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings rule_mappings = 486192968;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.compute.v1.VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappingsOrBuilder> |
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSourceAliasIpRange()
public String getSourceAliasIpRange()
Output only. 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 |
| Type |
Description |
String |
The sourceAliasIpRange.
|
getSourceAliasIpRangeBytes()
public ByteString getSourceAliasIpRangeBytes()
Output only. 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 |
| Type |
Description |
ByteString |
The bytes for sourceAliasIpRange.
|
getSourceVirtualIp()
public String getSourceVirtualIp()
Output only. Primary IP of the VM for this NIC.
optional string source_virtual_ip = 149836159;
| Returns |
| Type |
Description |
String |
The sourceVirtualIp.
|
getSourceVirtualIpBytes()
public ByteString getSourceVirtualIpBytes()
Output only. Primary IP of the VM for this NIC.
optional string source_virtual_ip = 149836159;
| Returns |
| Type |
Description |
ByteString |
The bytes for sourceVirtualIp.
|
hasNumTotalDrainNatPorts()
public boolean hasNumTotalDrainNatPorts()
Output only. 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 |
| Type |
Description |
boolean |
Whether the numTotalDrainNatPorts field is set.
|
hasNumTotalNatPorts()
public boolean hasNumTotalNatPorts()
Output only. 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 |
| Type |
Description |
boolean |
Whether the numTotalNatPorts field is set.
|
hasSourceAliasIpRange()
public boolean hasSourceAliasIpRange()
Output only. 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 |
| Type |
Description |
boolean |
Whether the sourceAliasIpRange field is set.
|
hasSourceVirtualIp()
public boolean hasSourceVirtualIp()
Output only. Primary IP of the VM for this NIC.
optional string source_virtual_ip = 149836159;
| Returns |
| Type |
Description |
boolean |
Whether the sourceVirtualIp field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public VmEndpointNatMappingsInterfaceNatMappings.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VmEndpointNatMappingsInterfaceNatMappings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
| Returns |
| Type |
Description |
Object |
|
Overrides
toBuilder()
public VmEndpointNatMappingsInterfaceNatMappings.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides