public final class RouterNatSubnetworkToNat extends com.google.protobuf.GeneratedMessageV3 implements RouterNatSubnetworkToNatOrBuilder
Defines the IP ranges that want to use NAT for a subnetwork.Protobuf type
google.cloud.compute.v1.RouterNatSubnetworkToNat| Modifier and Type | Class and Description |
|---|---|
static class |
RouterNatSubnetworkToNat.Builder
Defines the IP ranges that want to use NAT for a subnetwork.
|
static class |
RouterNatSubnetworkToNat.SourceIpRangesToNat |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
NAME_FIELD_NUMBER |
static int |
SECONDARY_IP_RANGE_NAMES_FIELD_NUMBER |
static int |
SOURCE_IP_RANGES_TO_NAT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static RouterNatSubnetworkToNat |
getDefaultInstance() |
RouterNatSubnetworkToNat |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<RouterNatSubnetworkToNat> |
getParserForType() |
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.
|
int |
getSerializedSize() |
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasName()
URL for the subnetwork resource that will use NAT.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RouterNatSubnetworkToNat.Builder |
newBuilder() |
static RouterNatSubnetworkToNat.Builder |
newBuilder(RouterNatSubnetworkToNat prototype) |
RouterNatSubnetworkToNat.Builder |
newBuilderForType() |
protected RouterNatSubnetworkToNat.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RouterNatSubnetworkToNat |
parseDelimitedFrom(InputStream input) |
static RouterNatSubnetworkToNat |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouterNatSubnetworkToNat |
parseFrom(byte[] data) |
static RouterNatSubnetworkToNat |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouterNatSubnetworkToNat |
parseFrom(ByteBuffer data) |
static RouterNatSubnetworkToNat |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouterNatSubnetworkToNat |
parseFrom(com.google.protobuf.ByteString data) |
static RouterNatSubnetworkToNat |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouterNatSubnetworkToNat |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RouterNatSubnetworkToNat |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouterNatSubnetworkToNat |
parseFrom(InputStream input) |
static RouterNatSubnetworkToNat |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RouterNatSubnetworkToNat> |
parser() |
RouterNatSubnetworkToNat.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int SECONDARY_IP_RANGE_NAMES_FIELD_NUMBER
public static final int SOURCE_IP_RANGES_TO_NAT_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static RouterNatSubnetworkToNat parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterNatSubnetworkToNat parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterNatSubnetworkToNat parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterNatSubnetworkToNat parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterNatSubnetworkToNat parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterNatSubnetworkToNat parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterNatSubnetworkToNat parseFrom(InputStream input) throws IOException
IOExceptionpublic static RouterNatSubnetworkToNat parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RouterNatSubnetworkToNat parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RouterNatSubnetworkToNat parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RouterNatSubnetworkToNat parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RouterNatSubnetworkToNat parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RouterNatSubnetworkToNat.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RouterNatSubnetworkToNat.Builder newBuilder()
public static RouterNatSubnetworkToNat.Builder newBuilder(RouterNatSubnetworkToNat prototype)
public RouterNatSubnetworkToNat.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RouterNatSubnetworkToNat.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RouterNatSubnetworkToNat getDefaultInstance()
public static com.google.protobuf.Parser<RouterNatSubnetworkToNat> parser()
public com.google.protobuf.Parser<RouterNatSubnetworkToNat> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RouterNatSubnetworkToNat getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.