public static final class NatIpInfo.Builder extends GeneratedMessageV3.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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllNatIpInfoMappings(Iterable<? extends NatIpInfoNatIpInfoMapping> values)
public NatIpInfo.Builder addAllNatIpInfoMappings(Iterable<? extends NatIpInfoNatIpInfoMapping> values)
A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.compute.v1.NatIpInfoNatIpInfoMapping>
|
addNatIpInfoMappings(NatIpInfoNatIpInfoMapping value)
public NatIpInfo.Builder addNatIpInfoMappings(NatIpInfoNatIpInfoMapping value)
A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884;
addNatIpInfoMappings(NatIpInfoNatIpInfoMapping.Builder builderForValue)
public NatIpInfo.Builder addNatIpInfoMappings(NatIpInfoNatIpInfoMapping.Builder builderForValue)
A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884;
addNatIpInfoMappings(int index, NatIpInfoNatIpInfoMapping value)
public NatIpInfo.Builder addNatIpInfoMappings(int index, NatIpInfoNatIpInfoMapping value)
A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884;
addNatIpInfoMappings(int index, NatIpInfoNatIpInfoMapping.Builder builderForValue)
public NatIpInfo.Builder addNatIpInfoMappings(int index, NatIpInfoNatIpInfoMapping.Builder builderForValue)
A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884;
addNatIpInfoMappingsBuilder()
public NatIpInfoNatIpInfoMapping.Builder addNatIpInfoMappingsBuilder()
A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884;
addNatIpInfoMappingsBuilder(int index)
public NatIpInfoNatIpInfoMapping.Builder addNatIpInfoMappingsBuilder(int index)
A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NatIpInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public NatIpInfo buildPartial()
clear()
public NatIpInfo.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public NatIpInfo.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNatIpInfoMappings()
public NatIpInfo.Builder clearNatIpInfoMappings()
A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884;
clearNatName()
public NatIpInfo.Builder clearNatName()
Name of the NAT config which the NAT IP belongs to.
optional string nat_name = 425596649;
clearOneof(Descriptors.OneofDescriptor oneof)
public NatIpInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public NatIpInfo.Builder clone()
Overrides
getDefaultInstanceForType()
public NatIpInfo getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNatIpInfoMappings(int index)
public NatIpInfoNatIpInfoMapping getNatIpInfoMappings(int index)
A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884;
Parameter |
Name |
Description |
index |
int
|
getNatIpInfoMappingsBuilder(int index)
public NatIpInfoNatIpInfoMapping.Builder getNatIpInfoMappingsBuilder(int index)
A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884;
Parameter |
Name |
Description |
index |
int
|
getNatIpInfoMappingsBuilderList()
public List<NatIpInfoNatIpInfoMapping.Builder> getNatIpInfoMappingsBuilderList()
A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884;
getNatIpInfoMappingsCount()
public int getNatIpInfoMappingsCount()
A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884;
Returns |
Type |
Description |
int |
|
getNatIpInfoMappingsList()
public List<NatIpInfoNatIpInfoMapping> getNatIpInfoMappingsList()
A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884;
getNatIpInfoMappingsOrBuilder(int index)
public NatIpInfoNatIpInfoMappingOrBuilder getNatIpInfoMappingsOrBuilder(int index)
A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884;
Parameter |
Name |
Description |
index |
int
|
getNatIpInfoMappingsOrBuilderList()
public List<? extends NatIpInfoNatIpInfoMappingOrBuilder> getNatIpInfoMappingsOrBuilderList()
A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884;
Returns |
Type |
Description |
List<? extends com.google.cloud.compute.v1.NatIpInfoNatIpInfoMappingOrBuilder> |
|
getNatName()
public String getNatName()
Name of the NAT config which the NAT IP belongs to.
optional string nat_name = 425596649;
Returns |
Type |
Description |
String |
The natName.
|
getNatNameBytes()
public ByteString getNatNameBytes()
Name of the NAT config which the NAT IP belongs to.
optional string nat_name = 425596649;
Returns |
Type |
Description |
ByteString |
The bytes for natName.
|
hasNatName()
public boolean hasNatName()
Name of the NAT config which the NAT IP belongs to.
optional string nat_name = 425596649;
Returns |
Type |
Description |
boolean |
Whether the natName field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(NatIpInfo other)
public NatIpInfo.Builder mergeFrom(NatIpInfo other)
public NatIpInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public NatIpInfo.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NatIpInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeNatIpInfoMappings(int index)
public NatIpInfo.Builder removeNatIpInfoMappings(int index)
A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public NatIpInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNatIpInfoMappings(int index, NatIpInfoNatIpInfoMapping value)
public NatIpInfo.Builder setNatIpInfoMappings(int index, NatIpInfoNatIpInfoMapping value)
A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884;
setNatIpInfoMappings(int index, NatIpInfoNatIpInfoMapping.Builder builderForValue)
public NatIpInfo.Builder setNatIpInfoMappings(int index, NatIpInfoNatIpInfoMapping.Builder builderForValue)
A list of all NAT IPs assigned to this NAT config.
repeated .google.cloud.compute.v1.NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884;
setNatName(String value)
public NatIpInfo.Builder setNatName(String value)
Name of the NAT config which the NAT IP belongs to.
optional string nat_name = 425596649;
Parameter |
Name |
Description |
value |
String
The natName to set.
|
setNatNameBytes(ByteString value)
public NatIpInfo.Builder setNatNameBytes(ByteString value)
Name of the NAT config which the NAT IP belongs to.
optional string nat_name = 425596649;
Parameter |
Name |
Description |
value |
ByteString
The bytes for natName to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NatIpInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NatIpInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides