Enum TypeCode (2.8.0)

public enum TypeCode extends Enum<TypeCode> implements ProtocolMessageEnum

TypeCode is used as a part of DataType.

Protobuf enum google.cloud.automl.v1beta1.TypeCode

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ARRAY

Encoded as list, where the list elements are represented according to list_element_type.

ARRAY = 8;

ARRAY_VALUE

Encoded as list, where the list elements are represented according to list_element_type.

ARRAY = 8;

CATEGORY

Values of this type are not further understood by AutoML, e.g. AutoML is unable to tell the order of values (as it could with FLOAT64), or is unable to say if one value contains another (as it could with STRING). Encoded as string (bytes should be base64-encoded, as described in RFC 4648, section 4).

CATEGORY = 10;

CATEGORY_VALUE

Values of this type are not further understood by AutoML, e.g. AutoML is unable to tell the order of values (as it could with FLOAT64), or is unable to say if one value contains another (as it could with STRING). Encoded as string (bytes should be base64-encoded, as described in RFC 4648, section 4).

CATEGORY = 10;

FLOAT64

Encoded as number, or the strings "NaN", "Infinity", or "-Infinity".

FLOAT64 = 3;

FLOAT64_VALUE

Encoded as number, or the strings "NaN", "Infinity", or "-Infinity".

FLOAT64 = 3;

STRING

Encoded as string.

STRING = 6;

STRING_VALUE

Encoded as string.

STRING = 6;

STRUCT

Encoded as struct, where field values are represented according to struct_type.

STRUCT = 9;

STRUCT_VALUE

Encoded as struct, where field values are represented according to struct_type.

STRUCT = 9;

TIMESTAMP

Must be between 0AD and 9999AD. Encoded as string according to time_format, or, if that format is not set, then in RFC 3339 date-time format, where time-offset = "Z" (e.g. 1985-04-12T23:20:50.52Z).

TIMESTAMP = 4;

TIMESTAMP_VALUE

Must be between 0AD and 9999AD. Encoded as string according to time_format, or, if that format is not set, then in RFC 3339 date-time format, where time-offset = "Z" (e.g. 1985-04-12T23:20:50.52Z).

TIMESTAMP = 4;

TYPE_CODE_UNSPECIFIED

Not specified. Should not be used.

TYPE_CODE_UNSPECIFIED = 0;

TYPE_CODE_UNSPECIFIED_VALUE

Not specified. Should not be used.

TYPE_CODE_UNSPECIFIED = 0;

UNRECOGNIZED

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