Send feedback
Class NatIpInfoNatIpInfoMapping (1.55.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.55.0 keyboard_arrow_down
public final class NatIpInfoNatIpInfoMapping extends GeneratedMessageV3 implements NatIpInfoNatIpInfoMappingOrBuilder
Contains information of a NAT IP.
Protobuf type google.cloud.compute.v1.NatIpInfoNatIpInfoMapping
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
MODE_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER
Field Value
Type
Description
int
NAT_IP_FIELD_NUMBER
public static final int NAT_IP_FIELD_NUMBER
Field Value
Type
Description
int
USAGE_FIELD_NUMBER
public static final int USAGE_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static NatIpInfoNatIpInfoMapping getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static NatIpInfoNatIpInfoMapping . Builder newBuilder ()
newBuilder(NatIpInfoNatIpInfoMapping prototype)
public static NatIpInfoNatIpInfoMapping . Builder newBuilder ( NatIpInfoNatIpInfoMapping prototype )
public static NatIpInfoNatIpInfoMapping parseDelimitedFrom ( InputStream input )
public static NatIpInfoNatIpInfoMapping parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static NatIpInfoNatIpInfoMapping parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NatIpInfoNatIpInfoMapping parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static NatIpInfoNatIpInfoMapping parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NatIpInfoNatIpInfoMapping parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static NatIpInfoNatIpInfoMapping parseFrom ( CodedInputStream input )
public static NatIpInfoNatIpInfoMapping parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static NatIpInfoNatIpInfoMapping parseFrom ( InputStream input )
public static NatIpInfoNatIpInfoMapping parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static NatIpInfoNatIpInfoMapping parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NatIpInfoNatIpInfoMapping parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<NatIpInfoNatIpInfoMapping> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public NatIpInfoNatIpInfoMapping getDefaultInstanceForType ()
getMode()
Specifies whether NAT IP is auto or manual.
Check the Mode enum for the list of possible values.
optional string mode = 3357091;
Returns
Type
Description
String
The mode.
getModeBytes()
public ByteString getModeBytes ()
Specifies whether NAT IP is auto or manual.
Check the Mode enum for the list of possible values.
optional string mode = 3357091;
Returns
Type
Description
ByteString
The bytes for mode.
getNatIp()
NAT IP address. For example: 203.0.113.11.
optional string nat_ip = 21113093;
Returns
Type
Description
String
The natIp.
getNatIpBytes()
public ByteString getNatIpBytes ()
NAT IP address. For example: 203.0.113.11.
optional string nat_ip = 21113093;
Returns
Type
Description
ByteString
The bytes for natIp.
getParserForType()
public Parser<NatIpInfoNatIpInfoMapping> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getUsage()
Specifies whether NAT IP is currently serving at least one endpoint or not.
Check the Usage enum for the list of possible values.
optional string usage = 111574433;
Returns
Type
Description
String
The usage.
getUsageBytes()
public ByteString getUsageBytes ()
Specifies whether NAT IP is currently serving at least one endpoint or not.
Check the Usage enum for the list of possible values.
optional string usage = 111574433;
Returns
Type
Description
ByteString
The bytes for usage.
hasMode()
Specifies whether NAT IP is auto or manual.
Check the Mode enum for the list of possible values.
optional string mode = 3357091;
Returns
Type
Description
boolean
Whether the mode field is set.
hasNatIp()
public boolean hasNatIp ()
NAT IP address. For example: 203.0.113.11.
optional string nat_ip = 21113093;
Returns
Type
Description
boolean
Whether the natIp field is set.
hasUsage()
public boolean hasUsage ()
Specifies whether NAT IP is currently serving at least one endpoint or not.
Check the Usage enum for the list of possible values.
optional string usage = 111574433;
Returns
Type
Description
boolean
Whether the usage field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public NatIpInfoNatIpInfoMapping . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NatIpInfoNatIpInfoMapping . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public NatIpInfoNatIpInfoMapping . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]