public enum TargetInstance.NatPolicy extends Enum<TargetInstance.NatPolicy> implements ProtocolMessageEnum
Must have a value of NO_NAT. Protocol forwarding delivers packets while preserving the destination IP address of the forwarding rule referencing the target instance.
Protobuf enum google.cloud.compute.v1.TargetInstance.NatPolicy
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
NO_NAT |
No NAT performed. |
NO_NAT_VALUE |
No NAT performed. |
UNDEFINED_NAT_POLICY |
A value indicating that the enum field is not set. |
UNDEFINED_NAT_POLICY_VALUE |
A value indicating that the enum field is not set. |
UNRECOGNIZED |
Static Methods |
|
---|---|
Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
Methods |
|
---|---|
Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |