Enum Gateway.IpVersion (0.23.0)

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

The types of IP version for the gateway. Possible values are:

  • IPV4
  • IPV6

Protobuf enum google.cloud.networkservices.v1.Gateway.IpVersion

Implements

ProtocolMessageEnum

Static Fields

Name Description
IPV4

The type for IP version 4.

IPV4 = 1;

IPV4_VALUE

The type for IP version 4.

IPV4 = 1;

IPV6

The type for IP version 6.

IPV6 = 2;

IPV6_VALUE

The type for IP version 6.

IPV6 = 2;

IP_VERSION_UNSPECIFIED

The type when IP version is not specified. Defaults to IPV4.

IP_VERSION_UNSPECIFIED = 0;

IP_VERSION_UNSPECIFIED_VALUE

The type when IP version is not specified. Defaults to IPV4.

IP_VERSION_UNSPECIFIED = 0;

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()