Package com.google.cloud.compute.v1
Class NatIpInfoNatIpInfoMapping
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.NatIpInfoNatIpInfoMapping
- All Implemented Interfaces:
NatIpInfoNatIpInfoMappingOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class NatIpInfoNatIpInfoMapping
extends com.google.protobuf.GeneratedMessage
implements NatIpInfoNatIpInfoMappingOrBuilder
Contains information of a NAT IP.Protobuf type
google.cloud.compute.v1.NatIpInfoNatIpInfoMapping- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContains information of a NAT IP.static enumOutput only.static enumOutput only.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic NatIpInfoNatIpInfoMappingstatic final com.google.protobuf.Descriptors.DescriptorgetMode()Output only.com.google.protobuf.ByteStringOutput only.getNatIp()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.Parser<NatIpInfoNatIpInfoMapping>intgetUsage()Output only.com.google.protobuf.ByteStringOutput only.inthashCode()booleanhasMode()Output only.booleanhasNatIp()Output only.booleanhasUsage()Output only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(NatIpInfoNatIpInfoMapping prototype) protected NatIpInfoNatIpInfoMapping.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static NatIpInfoNatIpInfoMappingparseDelimitedFrom(InputStream input) static NatIpInfoNatIpInfoMappingparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NatIpInfoNatIpInfoMappingparseFrom(byte[] data) static NatIpInfoNatIpInfoMappingparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NatIpInfoNatIpInfoMappingparseFrom(com.google.protobuf.ByteString data) static NatIpInfoNatIpInfoMappingparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NatIpInfoNatIpInfoMappingparseFrom(com.google.protobuf.CodedInputStream input) static NatIpInfoNatIpInfoMappingparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NatIpInfoNatIpInfoMappingparseFrom(InputStream input) static NatIpInfoNatIpInfoMappingparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NatIpInfoNatIpInfoMappingparseFrom(ByteBuffer data) static NatIpInfoNatIpInfoMappingparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<NatIpInfoNatIpInfoMapping>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
MODE_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER- See Also:
-
NAT_IP_FIELD_NUMBER
public static final int NAT_IP_FIELD_NUMBER- See Also:
-
USAGE_FIELD_NUMBER
public static final int USAGE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasMode
public boolean hasMode()Output only. Specifies whether NAT IP is auto or manual. Check the Mode enum for the list of possible values.
optional string mode = 3357091;- Specified by:
hasModein interfaceNatIpInfoNatIpInfoMappingOrBuilder- Returns:
- Whether the mode field is set.
-
getMode
Output only. Specifies whether NAT IP is auto or manual. Check the Mode enum for the list of possible values.
optional string mode = 3357091;- Specified by:
getModein interfaceNatIpInfoNatIpInfoMappingOrBuilder- Returns:
- The mode.
-
getModeBytes
public com.google.protobuf.ByteString getModeBytes()Output only. Specifies whether NAT IP is auto or manual. Check the Mode enum for the list of possible values.
optional string mode = 3357091;- Specified by:
getModeBytesin interfaceNatIpInfoNatIpInfoMappingOrBuilder- Returns:
- The bytes for mode.
-
hasNatIp
public boolean hasNatIp()Output only. NAT IP address. For example: 203.0.113.11.
optional string nat_ip = 21113093;- Specified by:
hasNatIpin interfaceNatIpInfoNatIpInfoMappingOrBuilder- Returns:
- Whether the natIp field is set.
-
getNatIp
Output only. NAT IP address. For example: 203.0.113.11.
optional string nat_ip = 21113093;- Specified by:
getNatIpin interfaceNatIpInfoNatIpInfoMappingOrBuilder- Returns:
- The natIp.
-
getNatIpBytes
public com.google.protobuf.ByteString getNatIpBytes()Output only. NAT IP address. For example: 203.0.113.11.
optional string nat_ip = 21113093;- Specified by:
getNatIpBytesin interfaceNatIpInfoNatIpInfoMappingOrBuilder- Returns:
- The bytes for natIp.
-
hasUsage
public boolean hasUsage()Output only. 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;- Specified by:
hasUsagein interfaceNatIpInfoNatIpInfoMappingOrBuilder- Returns:
- Whether the usage field is set.
-
getUsage
Output only. 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;- Specified by:
getUsagein interfaceNatIpInfoNatIpInfoMappingOrBuilder- Returns:
- The usage.
-
getUsageBytes
public com.google.protobuf.ByteString getUsageBytes()Output only. 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;- Specified by:
getUsageBytesin interfaceNatIpInfoNatIpInfoMappingOrBuilder- Returns:
- The bytes for usage.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static NatIpInfoNatIpInfoMapping parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NatIpInfoNatIpInfoMapping parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NatIpInfoNatIpInfoMapping parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NatIpInfoNatIpInfoMapping parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NatIpInfoNatIpInfoMapping parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NatIpInfoNatIpInfoMapping parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static NatIpInfoNatIpInfoMapping parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static NatIpInfoNatIpInfoMapping parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static NatIpInfoNatIpInfoMapping parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static NatIpInfoNatIpInfoMapping parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NatIpInfoNatIpInfoMapping.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-