Enum Address.IpVersion (1.49.0)

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

The IP version that will be used by this address. Valid options are IPV4 or IPV6.

Protobuf enum google.cloud.compute.v1.Address.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()