public final class RouterStatusNatStatusNatRuleStatus extends GeneratedMessage implements RouterStatusNatStatusNatRuleStatusOrBuilder
Status of a NAT Rule contained in this NAT.
Protobuf type google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,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)
Output only. 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)
Output only. 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()
Output only. 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()
Output only. 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)
Output only. 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)
Output only. 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()
Output only. 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()
Output only. 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()
Output only. 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()
Output only. 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()
Output only. 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()
Output only. 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()
Output only. 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()
Output only. 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public RouterStatusNatStatusNatRuleStatus.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected RouterStatusNatStatusNatRuleStatus.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public RouterStatusNatStatusNatRuleStatus.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides