Package com.google.cloud.compute.v1
Interface RouterNatRuleActionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RouterNatRuleAction
,RouterNatRuleAction.Builder
public interface RouterNatRuleActionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.List<String>
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.List<String>
getSourceNatDrainIpsList()
A list of URLs of the IP resources to be drained.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSourceNatActiveIpsList
List<String> 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;
- Returns:
- A list containing the sourceNatActiveIps.
-
getSourceNatActiveIpsCount
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;
- Returns:
- The count of sourceNatActiveIps.
-
getSourceNatActiveIps
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;
- Parameters:
index
- The index of the element to return.- Returns:
- The sourceNatActiveIps at the given index.
-
getSourceNatActiveIpsBytes
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;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the sourceNatActiveIps at the given index.
-
getSourceNatDrainIpsList
List<String> 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;
- Returns:
- A list containing the sourceNatDrainIps.
-
getSourceNatDrainIpsCount
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;
- Returns:
- The count of sourceNatDrainIps.
-
getSourceNatDrainIps
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;
- Parameters:
index
- The index of the element to return.- Returns:
- The sourceNatDrainIps at the given index.
-
getSourceNatDrainIpsBytes
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;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the sourceNatDrainIps at the given index.
-
-