Enum ForwardingRule.IpVersion (1.37.0)

public enum ForwardingRule.IpVersion extends Enum<ForwardingRule.IpVersion> implements ProtocolMessageEnum

The IP Version that will be used by this forwarding rule. Valid options are IPV4 or IPV6.

Protobuf enum google.cloud.compute.v1.ForwardingRule.IpVersion

Implements

ProtocolMessageEnum

Static Fields

NameDescription
IPV4

IPV4 = 2254341;

IPV4_VALUE

IPV4 = 2254341;

IPV6

IPV6 = 2254343;

IPV6_VALUE

IPV6 = 2254343;

UNDEFINED_IP_VERSION

A value indicating that the enum field is not set.

UNDEFINED_IP_VERSION = 0;

UNDEFINED_IP_VERSION_VALUE

A value indicating that the enum field is not set.

UNDEFINED_IP_VERSION = 0;

UNRECOGNIZED
UNSPECIFIED_VERSION

UNSPECIFIED_VERSION = 21850000;

UNSPECIFIED_VERSION_VALUE

UNSPECIFIED_VERSION = 21850000;

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()