Package com.google.cloud.compute.v1
Class NatIpInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<NatIpInfo.Builder>
com.google.cloud.compute.v1.NatIpInfo.Builder
- All Implemented Interfaces:
NatIpInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- NatIpInfo
public static final class NatIpInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<NatIpInfo.Builder>
implements NatIpInfoOrBuilder
Contains NAT IP information of a NAT config (i.e. usage status, mode).Protobuf type
google.cloud.compute.v1.NatIpInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllNatIpInfoMappings(Iterable<? extends NatIpInfoNatIpInfoMapping> values) Output only.addNatIpInfoMappings(int index, NatIpInfoNatIpInfoMapping value) Output only.addNatIpInfoMappings(int index, NatIpInfoNatIpInfoMapping.Builder builderForValue) Output only.Output only.addNatIpInfoMappings(NatIpInfoNatIpInfoMapping.Builder builderForValue) Output only.Output only.addNatIpInfoMappingsBuilder(int index) Output only.build()clear()Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetNatIpInfoMappings(int index) Output only.getNatIpInfoMappingsBuilder(int index) Output only.Output only.intOutput only.Output only.getNatIpInfoMappingsOrBuilder(int index) Output only.List<? extends NatIpInfoNatIpInfoMappingOrBuilder>Output only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeNatIpInfoMappings(int index) Output only.setNatIpInfoMappings(int index, NatIpInfoNatIpInfoMapping value) Output only.setNatIpInfoMappings(int index, NatIpInfoNatIpInfoMapping.Builder builderForValue) Output only.setNatName(String value) Output only.setNatNameBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<NatIpInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<NatIpInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<NatIpInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NatIpInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<NatIpInfo.Builder>
-
mergeFrom
public NatIpInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NatIpInfo.Builder>- Throws:
IOException
-
getNatIpInfoMappingsList
Output only. A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884;- Specified by:
getNatIpInfoMappingsListin interfaceNatIpInfoOrBuilder
-
getNatIpInfoMappingsCount
public int getNatIpInfoMappingsCount()Output only. A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884;- Specified by:
getNatIpInfoMappingsCountin interfaceNatIpInfoOrBuilder
-
getNatIpInfoMappings
Output only. A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884;- Specified by:
getNatIpInfoMappingsin interfaceNatIpInfoOrBuilder
-
setNatIpInfoMappings
Output only. A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884; -
setNatIpInfoMappings
public NatIpInfo.Builder setNatIpInfoMappings(int index, NatIpInfoNatIpInfoMapping.Builder builderForValue) Output only. A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884; -
addNatIpInfoMappings
Output only. A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884; -
addNatIpInfoMappings
Output only. A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884; -
addNatIpInfoMappings
Output only. A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884; -
addNatIpInfoMappings
public NatIpInfo.Builder addNatIpInfoMappings(int index, NatIpInfoNatIpInfoMapping.Builder builderForValue) Output only. A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884; -
addAllNatIpInfoMappings
public NatIpInfo.Builder addAllNatIpInfoMappings(Iterable<? extends NatIpInfoNatIpInfoMapping> values) Output only. A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884; -
clearNatIpInfoMappings
Output only. A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884; -
removeNatIpInfoMappings
Output only. A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884; -
getNatIpInfoMappingsBuilder
Output only. A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884; -
getNatIpInfoMappingsOrBuilder
Output only. A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884;- Specified by:
getNatIpInfoMappingsOrBuilderin interfaceNatIpInfoOrBuilder
-
getNatIpInfoMappingsOrBuilderList
Output only. A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884;- Specified by:
getNatIpInfoMappingsOrBuilderListin interfaceNatIpInfoOrBuilder
-
addNatIpInfoMappingsBuilder
Output only. A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884; -
addNatIpInfoMappingsBuilder
Output only. A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884; -
getNatIpInfoMappingsBuilderList
Output only. A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884; -
hasNatName
public boolean hasNatName()Output only. Name of the NAT config which the NAT IP belongs to.
optional string nat_name = 425596649;- Specified by:
hasNatNamein interfaceNatIpInfoOrBuilder- Returns:
- Whether the natName field is set.
-
getNatName
Output only. Name of the NAT config which the NAT IP belongs to.
optional string nat_name = 425596649;- Specified by:
getNatNamein interfaceNatIpInfoOrBuilder- Returns:
- The natName.
-
getNatNameBytes
public com.google.protobuf.ByteString getNatNameBytes()Output only. Name of the NAT config which the NAT IP belongs to.
optional string nat_name = 425596649;- Specified by:
getNatNameBytesin interfaceNatIpInfoOrBuilder- Returns:
- The bytes for natName.
-
setNatName
Output only. Name of the NAT config which the NAT IP belongs to.
optional string nat_name = 425596649;- Parameters:
value- The natName to set.- Returns:
- This builder for chaining.
-
clearNatName
Output only. Name of the NAT config which the NAT IP belongs to.
optional string nat_name = 425596649;- Returns:
- This builder for chaining.
-
setNatNameBytes
Output only. Name of the NAT config which the NAT IP belongs to.
optional string nat_name = 425596649;- Parameters:
value- The bytes for natName to set.- Returns:
- This builder for chaining.
-