public static final class RouterNatRuleAction.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouterNatRuleAction.Builder> implements RouterNatRuleActionOrBuilder
Protobuf type
google.cloud.compute.v1.RouterNatRuleAction| Modifier and Type | Method and Description |
|---|---|
RouterNatRuleAction.Builder |
addAllSourceNatActiveIps(Iterable<String> values)
A list of URLs of the IP resources used for this NAT rule.
|
RouterNatRuleAction.Builder |
addAllSourceNatDrainIps(Iterable<String> values)
A list of URLs of the IP resources to be drained.
|
RouterNatRuleAction.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouterNatRuleAction.Builder |
addSourceNatActiveIps(String value)
A list of URLs of the IP resources used for this NAT rule.
|
RouterNatRuleAction.Builder |
addSourceNatActiveIpsBytes(com.google.protobuf.ByteString value)
A list of URLs of the IP resources used for this NAT rule.
|
RouterNatRuleAction.Builder |
addSourceNatDrainIps(String value)
A list of URLs of the IP resources to be drained.
|
RouterNatRuleAction.Builder |
addSourceNatDrainIpsBytes(com.google.protobuf.ByteString value)
A list of URLs of the IP resources to be drained.
|
RouterNatRuleAction |
build() |
RouterNatRuleAction |
buildPartial() |
RouterNatRuleAction.Builder |
clear() |
RouterNatRuleAction.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RouterNatRuleAction.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RouterNatRuleAction.Builder |
clearSourceNatActiveIps()
A list of URLs of the IP resources used for this NAT rule.
|
RouterNatRuleAction.Builder |
clearSourceNatDrainIps()
A list of URLs of the IP resources to be drained.
|
RouterNatRuleAction.Builder |
clone() |
RouterNatRuleAction |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getSourceNatActiveIps(int index)
A list of URLs of the IP resources used for this NAT rule.
|
com.google.protobuf.ByteString |
getSourceNatActiveIpsBytes(int index)
A list of URLs of the IP resources used for this NAT rule.
|
int |
getSourceNatActiveIpsCount()
A list of URLs of the IP resources used for this NAT rule.
|
com.google.protobuf.ProtocolStringList |
getSourceNatActiveIpsList()
A list of URLs of the IP resources used for this NAT rule.
|
String |
getSourceNatDrainIps(int index)
A list of URLs of the IP resources to be drained.
|
com.google.protobuf.ByteString |
getSourceNatDrainIpsBytes(int index)
A list of URLs of the IP resources to be drained.
|
int |
getSourceNatDrainIpsCount()
A list of URLs of the IP resources to be drained.
|
com.google.protobuf.ProtocolStringList |
getSourceNatDrainIpsList()
A list of URLs of the IP resources to be drained.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RouterNatRuleAction.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RouterNatRuleAction.Builder |
mergeFrom(com.google.protobuf.Message other) |
RouterNatRuleAction.Builder |
mergeFrom(RouterNatRuleAction other) |
RouterNatRuleAction.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouterNatRuleAction.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouterNatRuleAction.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RouterNatRuleAction.Builder |
setSourceNatActiveIps(int index,
String value)
A list of URLs of the IP resources used for this NAT rule.
|
RouterNatRuleAction.Builder |
setSourceNatDrainIps(int index,
String value)
A list of URLs of the IP resources to be drained.
|
RouterNatRuleAction.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<RouterNatRuleAction.Builder>public RouterNatRuleAction.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RouterNatRuleAction.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<RouterNatRuleAction.Builder>public RouterNatRuleAction getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RouterNatRuleAction build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RouterNatRuleAction buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RouterNatRuleAction.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RouterNatRuleAction.Builder>public RouterNatRuleAction.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<RouterNatRuleAction.Builder>public RouterNatRuleAction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RouterNatRuleAction.Builder>public RouterNatRuleAction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RouterNatRuleAction.Builder>public RouterNatRuleAction.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<RouterNatRuleAction.Builder>public RouterNatRuleAction.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<RouterNatRuleAction.Builder>public RouterNatRuleAction.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouterNatRuleAction.Builder>public RouterNatRuleAction.Builder mergeFrom(RouterNatRuleAction other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RouterNatRuleAction.Builder>public RouterNatRuleAction.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<RouterNatRuleAction.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList getSourceNatActiveIpsList()
A list of URLs of the IP resources used for this NAT rule. These IP addresses must be valid static external IP addresses assigned to the project. This field is used for public NAT.
repeated string source_nat_active_ips = 210378229;getSourceNatActiveIpsList in interface RouterNatRuleActionOrBuilderpublic int getSourceNatActiveIpsCount()
A list of URLs of the IP resources used for this NAT rule. These IP addresses must be valid static external IP addresses assigned to the project. This field is used for public NAT.
repeated string source_nat_active_ips = 210378229;getSourceNatActiveIpsCount in interface RouterNatRuleActionOrBuilderpublic String getSourceNatActiveIps(int index)
A list of URLs of the IP resources used for this NAT rule. These IP addresses must be valid static external IP addresses assigned to the project. This field is used for public NAT.
repeated string source_nat_active_ips = 210378229;getSourceNatActiveIps in interface RouterNatRuleActionOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getSourceNatActiveIpsBytes(int index)
A list of URLs of the IP resources used for this NAT rule. These IP addresses must be valid static external IP addresses assigned to the project. This field is used for public NAT.
repeated string source_nat_active_ips = 210378229;getSourceNatActiveIpsBytes in interface RouterNatRuleActionOrBuilderindex - The index of the value to return.public RouterNatRuleAction.Builder setSourceNatActiveIps(int index, String value)
A list of URLs of the IP resources used for this NAT rule. These IP addresses must be valid static external IP addresses assigned to the project. This field is used for public NAT.
repeated string source_nat_active_ips = 210378229;index - The index to set the value at.value - The sourceNatActiveIps to set.public RouterNatRuleAction.Builder addSourceNatActiveIps(String value)
A list of URLs of the IP resources used for this NAT rule. These IP addresses must be valid static external IP addresses assigned to the project. This field is used for public NAT.
repeated string source_nat_active_ips = 210378229;value - The sourceNatActiveIps to add.public RouterNatRuleAction.Builder addAllSourceNatActiveIps(Iterable<String> values)
A list of URLs of the IP resources used for this NAT rule. These IP addresses must be valid static external IP addresses assigned to the project. This field is used for public NAT.
repeated string source_nat_active_ips = 210378229;values - The sourceNatActiveIps to add.public RouterNatRuleAction.Builder clearSourceNatActiveIps()
A list of URLs of the IP resources used for this NAT rule. These IP addresses must be valid static external IP addresses assigned to the project. This field is used for public NAT.
repeated string source_nat_active_ips = 210378229;public RouterNatRuleAction.Builder addSourceNatActiveIpsBytes(com.google.protobuf.ByteString value)
A list of URLs of the IP resources used for this NAT rule. These IP addresses must be valid static external IP addresses assigned to the project. This field is used for public NAT.
repeated string source_nat_active_ips = 210378229;value - The bytes of the sourceNatActiveIps to add.public com.google.protobuf.ProtocolStringList getSourceNatDrainIpsList()
A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT rule only. This field is used for public NAT.
repeated string source_nat_drain_ips = 340812451;getSourceNatDrainIpsList in interface RouterNatRuleActionOrBuilderpublic int getSourceNatDrainIpsCount()
A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT rule only. This field is used for public NAT.
repeated string source_nat_drain_ips = 340812451;getSourceNatDrainIpsCount in interface RouterNatRuleActionOrBuilderpublic String getSourceNatDrainIps(int index)
A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT rule only. This field is used for public NAT.
repeated string source_nat_drain_ips = 340812451;getSourceNatDrainIps in interface RouterNatRuleActionOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getSourceNatDrainIpsBytes(int index)
A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT rule only. This field is used for public NAT.
repeated string source_nat_drain_ips = 340812451;getSourceNatDrainIpsBytes in interface RouterNatRuleActionOrBuilderindex - The index of the value to return.public RouterNatRuleAction.Builder setSourceNatDrainIps(int index, String value)
A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT rule only. This field is used for public NAT.
repeated string source_nat_drain_ips = 340812451;index - The index to set the value at.value - The sourceNatDrainIps to set.public RouterNatRuleAction.Builder addSourceNatDrainIps(String value)
A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT rule only. This field is used for public NAT.
repeated string source_nat_drain_ips = 340812451;value - The sourceNatDrainIps to add.public RouterNatRuleAction.Builder addAllSourceNatDrainIps(Iterable<String> values)
A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT rule only. This field is used for public NAT.
repeated string source_nat_drain_ips = 340812451;values - The sourceNatDrainIps to add.public RouterNatRuleAction.Builder clearSourceNatDrainIps()
A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT rule only. This field is used for public NAT.
repeated string source_nat_drain_ips = 340812451;public RouterNatRuleAction.Builder addSourceNatDrainIpsBytes(com.google.protobuf.ByteString value)
A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT rule only. This field is used for public NAT.
repeated string source_nat_drain_ips = 340812451;value - The bytes of the sourceNatDrainIps to add.public final RouterNatRuleAction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouterNatRuleAction.Builder>public final RouterNatRuleAction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouterNatRuleAction.Builder>Copyright © 2023 Google LLC. All rights reserved.