public static final class RouterNatSubnetworkToNat.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouterNatSubnetworkToNat.Builder> implements RouterNatSubnetworkToNatOrBuilder
Defines the IP ranges that want to use NAT for a subnetwork.Protobuf type
google.cloud.compute.v1.RouterNatSubnetworkToNat| Modifier and Type | Method and Description |
|---|---|
RouterNatSubnetworkToNat.Builder |
addAllSecondaryIpRangeNames(Iterable<String> values)
A list of the secondary ranges of the Subnetwork that are allowed to use NAT.
|
RouterNatSubnetworkToNat.Builder |
addAllSourceIpRangesToNat(Iterable<String> values)
Specify the options for NAT ranges in the Subnetwork.
|
RouterNatSubnetworkToNat.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouterNatSubnetworkToNat.Builder |
addSecondaryIpRangeNames(String value)
A list of the secondary ranges of the Subnetwork that are allowed to use NAT.
|
RouterNatSubnetworkToNat.Builder |
addSecondaryIpRangeNamesBytes(com.google.protobuf.ByteString value)
A list of the secondary ranges of the Subnetwork that are allowed to use NAT.
|
RouterNatSubnetworkToNat.Builder |
addSourceIpRangesToNat(String value)
Specify the options for NAT ranges in the Subnetwork.
|
RouterNatSubnetworkToNat.Builder |
addSourceIpRangesToNatBytes(com.google.protobuf.ByteString value)
Specify the options for NAT ranges in the Subnetwork.
|
RouterNatSubnetworkToNat |
build() |
RouterNatSubnetworkToNat |
buildPartial() |
RouterNatSubnetworkToNat.Builder |
clear() |
RouterNatSubnetworkToNat.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RouterNatSubnetworkToNat.Builder |
clearName()
URL for the subnetwork resource that will use NAT.
|
RouterNatSubnetworkToNat.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RouterNatSubnetworkToNat.Builder |
clearSecondaryIpRangeNames()
A list of the secondary ranges of the Subnetwork that are allowed to use NAT.
|
RouterNatSubnetworkToNat.Builder |
clearSourceIpRangesToNat()
Specify the options for NAT ranges in the Subnetwork.
|
RouterNatSubnetworkToNat.Builder |
clone() |
RouterNatSubnetworkToNat |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
URL for the subnetwork resource that will use NAT.
|
com.google.protobuf.ByteString |
getNameBytes()
URL for the subnetwork resource that will use NAT.
|
String |
getSecondaryIpRangeNames(int index)
A list of the secondary ranges of the Subnetwork that are allowed to use NAT.
|
com.google.protobuf.ByteString |
getSecondaryIpRangeNamesBytes(int index)
A list of the secondary ranges of the Subnetwork that are allowed to use NAT.
|
int |
getSecondaryIpRangeNamesCount()
A list of the secondary ranges of the Subnetwork that are allowed to use NAT.
|
com.google.protobuf.ProtocolStringList |
getSecondaryIpRangeNamesList()
A list of the secondary ranges of the Subnetwork that are allowed to use NAT.
|
String |
getSourceIpRangesToNat(int index)
Specify the options for NAT ranges in the Subnetwork.
|
com.google.protobuf.ByteString |
getSourceIpRangesToNatBytes(int index)
Specify the options for NAT ranges in the Subnetwork.
|
int |
getSourceIpRangesToNatCount()
Specify the options for NAT ranges in the Subnetwork.
|
com.google.protobuf.ProtocolStringList |
getSourceIpRangesToNatList()
Specify the options for NAT ranges in the Subnetwork.
|
boolean |
hasName()
URL for the subnetwork resource that will use NAT.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RouterNatSubnetworkToNat.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RouterNatSubnetworkToNat.Builder |
mergeFrom(com.google.protobuf.Message other) |
RouterNatSubnetworkToNat.Builder |
mergeFrom(RouterNatSubnetworkToNat other) |
RouterNatSubnetworkToNat.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouterNatSubnetworkToNat.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouterNatSubnetworkToNat.Builder |
setName(String value)
URL for the subnetwork resource that will use NAT.
|
RouterNatSubnetworkToNat.Builder |
setNameBytes(com.google.protobuf.ByteString value)
URL for the subnetwork resource that will use NAT.
|
RouterNatSubnetworkToNat.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RouterNatSubnetworkToNat.Builder |
setSecondaryIpRangeNames(int index,
String value)
A list of the secondary ranges of the Subnetwork that are allowed to use NAT.
|
RouterNatSubnetworkToNat.Builder |
setSourceIpRangesToNat(int index,
String value)
Specify the options for NAT ranges in the Subnetwork.
|
RouterNatSubnetworkToNat.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RouterNatSubnetworkToNat.Builder>public RouterNatSubnetworkToNat.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RouterNatSubnetworkToNat.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RouterNatSubnetworkToNat.Builder>public RouterNatSubnetworkToNat getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RouterNatSubnetworkToNat build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RouterNatSubnetworkToNat buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RouterNatSubnetworkToNat.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RouterNatSubnetworkToNat.Builder>public RouterNatSubnetworkToNat.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RouterNatSubnetworkToNat.Builder>public RouterNatSubnetworkToNat.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RouterNatSubnetworkToNat.Builder>public RouterNatSubnetworkToNat.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RouterNatSubnetworkToNat.Builder>public RouterNatSubnetworkToNat.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouterNatSubnetworkToNat.Builder>public RouterNatSubnetworkToNat.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouterNatSubnetworkToNat.Builder>public RouterNatSubnetworkToNat.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouterNatSubnetworkToNat.Builder>public RouterNatSubnetworkToNat.Builder mergeFrom(RouterNatSubnetworkToNat other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RouterNatSubnetworkToNat.Builder>public RouterNatSubnetworkToNat.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouterNatSubnetworkToNat.Builder>IOExceptionpublic boolean hasName()
URL for the subnetwork resource that will use NAT.
optional string name = 3373707;hasName in interface RouterNatSubnetworkToNatOrBuilderpublic String getName()
URL for the subnetwork resource that will use NAT.
optional string name = 3373707;getName in interface RouterNatSubnetworkToNatOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
URL for the subnetwork resource that will use NAT.
optional string name = 3373707;getNameBytes in interface RouterNatSubnetworkToNatOrBuilderpublic RouterNatSubnetworkToNat.Builder setName(String value)
URL for the subnetwork resource that will use NAT.
optional string name = 3373707;value - The name to set.public RouterNatSubnetworkToNat.Builder clearName()
URL for the subnetwork resource that will use NAT.
optional string name = 3373707;public RouterNatSubnetworkToNat.Builder setNameBytes(com.google.protobuf.ByteString value)
URL for the subnetwork resource that will use NAT.
optional string name = 3373707;value - The bytes for name to set.public com.google.protobuf.ProtocolStringList getSecondaryIpRangeNamesList()
A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in source_ip_ranges_to_nat.
repeated string secondary_ip_range_names = 264315097;getSecondaryIpRangeNamesList in interface RouterNatSubnetworkToNatOrBuilderpublic int getSecondaryIpRangeNamesCount()
A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in source_ip_ranges_to_nat.
repeated string secondary_ip_range_names = 264315097;getSecondaryIpRangeNamesCount in interface RouterNatSubnetworkToNatOrBuilderpublic String getSecondaryIpRangeNames(int index)
A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in source_ip_ranges_to_nat.
repeated string secondary_ip_range_names = 264315097;getSecondaryIpRangeNames in interface RouterNatSubnetworkToNatOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getSecondaryIpRangeNamesBytes(int index)
A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in source_ip_ranges_to_nat.
repeated string secondary_ip_range_names = 264315097;getSecondaryIpRangeNamesBytes in interface RouterNatSubnetworkToNatOrBuilderindex - The index of the value to return.public RouterNatSubnetworkToNat.Builder setSecondaryIpRangeNames(int index, String value)
A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in source_ip_ranges_to_nat.
repeated string secondary_ip_range_names = 264315097;index - The index to set the value at.value - The secondaryIpRangeNames to set.public RouterNatSubnetworkToNat.Builder addSecondaryIpRangeNames(String value)
A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in source_ip_ranges_to_nat.
repeated string secondary_ip_range_names = 264315097;value - The secondaryIpRangeNames to add.public RouterNatSubnetworkToNat.Builder addAllSecondaryIpRangeNames(Iterable<String> values)
A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in source_ip_ranges_to_nat.
repeated string secondary_ip_range_names = 264315097;values - The secondaryIpRangeNames to add.public RouterNatSubnetworkToNat.Builder clearSecondaryIpRangeNames()
A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in source_ip_ranges_to_nat.
repeated string secondary_ip_range_names = 264315097;public RouterNatSubnetworkToNat.Builder addSecondaryIpRangeNamesBytes(com.google.protobuf.ByteString value)
A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in source_ip_ranges_to_nat.
repeated string secondary_ip_range_names = 264315097;value - The bytes of the secondaryIpRangeNames to add.public com.google.protobuf.ProtocolStringList getSourceIpRangesToNatList()
Specify the options for NAT ranges in the Subnetwork. All options of a single value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES] Check the SourceIpRangesToNat enum for the list of possible values.
repeated string source_ip_ranges_to_nat = 388310386;getSourceIpRangesToNatList in interface RouterNatSubnetworkToNatOrBuilderpublic int getSourceIpRangesToNatCount()
Specify the options for NAT ranges in the Subnetwork. All options of a single value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES] Check the SourceIpRangesToNat enum for the list of possible values.
repeated string source_ip_ranges_to_nat = 388310386;getSourceIpRangesToNatCount in interface RouterNatSubnetworkToNatOrBuilderpublic String getSourceIpRangesToNat(int index)
Specify the options for NAT ranges in the Subnetwork. All options of a single value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES] Check the SourceIpRangesToNat enum for the list of possible values.
repeated string source_ip_ranges_to_nat = 388310386;getSourceIpRangesToNat in interface RouterNatSubnetworkToNatOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getSourceIpRangesToNatBytes(int index)
Specify the options for NAT ranges in the Subnetwork. All options of a single value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES] Check the SourceIpRangesToNat enum for the list of possible values.
repeated string source_ip_ranges_to_nat = 388310386;getSourceIpRangesToNatBytes in interface RouterNatSubnetworkToNatOrBuilderindex - The index of the value to return.public RouterNatSubnetworkToNat.Builder setSourceIpRangesToNat(int index, String value)
Specify the options for NAT ranges in the Subnetwork. All options of a single value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES] Check the SourceIpRangesToNat enum for the list of possible values.
repeated string source_ip_ranges_to_nat = 388310386;index - The index to set the value at.value - The sourceIpRangesToNat to set.public RouterNatSubnetworkToNat.Builder addSourceIpRangesToNat(String value)
Specify the options for NAT ranges in the Subnetwork. All options of a single value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES] Check the SourceIpRangesToNat enum for the list of possible values.
repeated string source_ip_ranges_to_nat = 388310386;value - The sourceIpRangesToNat to add.public RouterNatSubnetworkToNat.Builder addAllSourceIpRangesToNat(Iterable<String> values)
Specify the options for NAT ranges in the Subnetwork. All options of a single value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES] Check the SourceIpRangesToNat enum for the list of possible values.
repeated string source_ip_ranges_to_nat = 388310386;values - The sourceIpRangesToNat to add.public RouterNatSubnetworkToNat.Builder clearSourceIpRangesToNat()
Specify the options for NAT ranges in the Subnetwork. All options of a single value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES] Check the SourceIpRangesToNat enum for the list of possible values.
repeated string source_ip_ranges_to_nat = 388310386;public RouterNatSubnetworkToNat.Builder addSourceIpRangesToNatBytes(com.google.protobuf.ByteString value)
Specify the options for NAT ranges in the Subnetwork. All options of a single value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES] Check the SourceIpRangesToNat enum for the list of possible values.
repeated string source_ip_ranges_to_nat = 388310386;value - The bytes of the sourceIpRangesToNat to add.public final RouterNatSubnetworkToNat.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouterNatSubnetworkToNat.Builder>public final RouterNatSubnetworkToNat.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouterNatSubnetworkToNat.Builder>Copyright © 2023 Google LLC. All rights reserved.