Enum FieldInfo.Format (2.37.1)

public enum FieldInfo.Format extends Enum<FieldInfo.Format> implements ProtocolMessageEnum

The standard format of a field value. The supported formats are all backed by either an RFC defined by the IETF or a Google-defined AIP.

Protobuf enum google.api.FieldInfo.Format

Implements

ProtocolMessageEnum

Static Fields

NameDescription
FORMAT_UNSPECIFIED

Default, unspecified value.

FORMAT_UNSPECIFIED = 0;

FORMAT_UNSPECIFIED_VALUE

Default, unspecified value.

FORMAT_UNSPECIFIED = 0;

IPV4

Internet Protocol v4 value as defined by RFC 791. The value may be condensed, with leading zeros in each octet stripped. For example, 001.022.233.040 would be condensed to 1.22.233.40.

IPV4 = 2;

IPV4_OR_IPV6

An IP address in either v4 or v6 format as described by the individual values defined herein. See the comments on the IPV4 and IPV6 types for allowed normalizations of each.

IPV4_OR_IPV6 = 4;

IPV4_OR_IPV6_VALUE

An IP address in either v4 or v6 format as described by the individual values defined herein. See the comments on the IPV4 and IPV6 types for allowed normalizations of each.

IPV4_OR_IPV6 = 4;

IPV4_VALUE

Internet Protocol v4 value as defined by RFC 791. The value may be condensed, with leading zeros in each octet stripped. For example, 001.022.233.040 would be condensed to 1.22.233.40.

IPV4 = 2;

IPV6

Internet Protocol v6 value as defined by RFC 2460. The value may be normalized to entirely lowercase letters with zeros compressed, following RFC 5952. For example, the value 2001:0DB8:0::0 would be normalized to 2001:db8::.

IPV6 = 3;

IPV6_VALUE

Internet Protocol v6 value as defined by RFC 2460. The value may be normalized to entirely lowercase letters with zeros compressed, following RFC 5952. For example, the value 2001:0DB8:0::0 would be normalized to 2001:db8::.

IPV6 = 3;

UNRECOGNIZED
UUID4

Universally Unique Identifier, version 4, value as defined by https://datatracker.ietf.org/doc/html/rfc4122. The value may be normalized to entirely lowercase letters. For example, the value F47AC10B-58CC-0372-8567-0E02B2C3D479 would be normalized to f47ac10b-58cc-0372-8567-0e02b2c3d479.

UUID4 = 1;

UUID4_VALUE

Universally Unique Identifier, version 4, value as defined by https://datatracker.ietf.org/doc/html/rfc4122. The value may be normalized to entirely lowercase letters. For example, the value F47AC10B-58CC-0372-8567-0E02B2C3D479 would be normalized to f47ac10b-58cc-0372-8567-0e02b2c3d479.

UUID4 = 1;

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