public final class RouterStatusNatStatusNatRuleStatus extends GeneratedMessageV3 implements RouterStatusNatStatusNatRuleStatusOrBuilder
Status of a NAT Rule contained in this NAT.
Protobuf type google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ACTIVE_NAT_IPS_FIELD_NUMBER
public static final int ACTIVE_NAT_IPS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DRAIN_NAT_IPS_FIELD_NUMBER
public static final int DRAIN_NAT_IPS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int MIN_EXTRA_IPS_NEEDED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NUM_VM_ENDPOINTS_WITH_NAT_MAPPINGS_FIELD_NUMBER
public static final int NUM_VM_ENDPOINTS_WITH_NAT_MAPPINGS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RULE_NUMBER_FIELD_NUMBER
public static final int RULE_NUMBER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static RouterStatusNatStatusNatRuleStatus getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static RouterStatusNatStatusNatRuleStatus.Builder newBuilder()
newBuilder(RouterStatusNatStatusNatRuleStatus prototype)
public static RouterStatusNatStatusNatRuleStatus.Builder newBuilder(RouterStatusNatStatusNatRuleStatus prototype)
public static RouterStatusNatStatusNatRuleStatus parseDelimitedFrom(InputStream input)
public static RouterStatusNatStatusNatRuleStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static RouterStatusNatStatusNatRuleStatus parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RouterStatusNatStatusNatRuleStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static RouterStatusNatStatusNatRuleStatus parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RouterStatusNatStatusNatRuleStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RouterStatusNatStatusNatRuleStatus parseFrom(CodedInputStream input)
public static RouterStatusNatStatusNatRuleStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RouterStatusNatStatusNatRuleStatus parseFrom(InputStream input)
public static RouterStatusNatStatusNatRuleStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static RouterStatusNatStatusNatRuleStatus parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RouterStatusNatStatusNatRuleStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<RouterStatusNatStatusNatRuleStatus> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getActiveNatIps(int index)
public String getActiveNatIps(int index)
A list of active IPs for NAT. Example: ["1.1.1.1", "179.12.26.133"].
repeated string active_nat_ips = 208517077;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The activeNatIps at the given index.
|
getActiveNatIpsBytes(int index)
public ByteString getActiveNatIpsBytes(int index)
A list of active IPs for NAT. Example: ["1.1.1.1", "179.12.26.133"].
repeated string active_nat_ips = 208517077;
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the activeNatIps at the given index.
|
getActiveNatIpsCount()
public int getActiveNatIpsCount()
A list of active IPs for NAT. Example: ["1.1.1.1", "179.12.26.133"].
repeated string active_nat_ips = 208517077;
Returns |
Type |
Description |
int |
The count of activeNatIps.
|
getActiveNatIpsList()
public ProtocolStringList getActiveNatIpsList()
A list of active IPs for NAT. Example: ["1.1.1.1", "179.12.26.133"].
repeated string active_nat_ips = 208517077;
getDefaultInstanceForType()
public RouterStatusNatStatusNatRuleStatus getDefaultInstanceForType()
getDrainNatIps(int index)
public String getDrainNatIps(int index)
A list of IPs for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"].
repeated string drain_nat_ips = 504078535;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The drainNatIps at the given index.
|
getDrainNatIpsBytes(int index)
public ByteString getDrainNatIpsBytes(int index)
A list of IPs for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"].
repeated string drain_nat_ips = 504078535;
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the drainNatIps at the given index.
|
getDrainNatIpsCount()
public int getDrainNatIpsCount()
A list of IPs for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"].
repeated string drain_nat_ips = 504078535;
Returns |
Type |
Description |
int |
The count of drainNatIps.
|
getDrainNatIpsList()
public ProtocolStringList getDrainNatIpsList()
A list of IPs for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"].
repeated string drain_nat_ips = 504078535;
public int getMinExtraIpsNeeded()
The number of extra IPs to allocate. This will be greater than 0 only if the existing IPs in this NAT Rule are NOT enough to allow all configured VMs to use NAT.
optional int32 min_extra_ips_needed = 353002756;
Returns |
Type |
Description |
int |
The minExtraIpsNeeded.
|
getNumVmEndpointsWithNatMappings()
public int getNumVmEndpointsWithNatMappings()
Number of VM endpoints (i.e., NICs) that have NAT Mappings from this NAT Rule.
optional int32 num_vm_endpoints_with_nat_mappings = 512367468;
Returns |
Type |
Description |
int |
The numVmEndpointsWithNatMappings.
|
getParserForType()
public Parser<RouterStatusNatStatusNatRuleStatus> getParserForType()
Overrides
getRuleNumber()
public int getRuleNumber()
Rule number of the rule.
optional int32 rule_number = 535211500;
Returns |
Type |
Description |
int |
The ruleNumber.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public boolean hasMinExtraIpsNeeded()
The number of extra IPs to allocate. This will be greater than 0 only if the existing IPs in this NAT Rule are NOT enough to allow all configured VMs to use NAT.
optional int32 min_extra_ips_needed = 353002756;
Returns |
Type |
Description |
boolean |
Whether the minExtraIpsNeeded field is set.
|
hasNumVmEndpointsWithNatMappings()
public boolean hasNumVmEndpointsWithNatMappings()
Number of VM endpoints (i.e., NICs) that have NAT Mappings from this NAT Rule.
optional int32 num_vm_endpoints_with_nat_mappings = 512367468;
Returns |
Type |
Description |
boolean |
Whether the numVmEndpointsWithNatMappings field is set.
|
hasRuleNumber()
public boolean hasRuleNumber()
Rule number of the rule.
optional int32 rule_number = 535211500;
Returns |
Type |
Description |
boolean |
Whether the ruleNumber field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public RouterStatusNatStatusNatRuleStatus.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RouterStatusNatStatusNatRuleStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public RouterStatusNatStatusNatRuleStatus.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides