public static enum FieldType.PrimitiveType extends Enum<FieldType.PrimitiveType> implements com.google.protobuf.ProtocolMessageEnum
google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType| Enum Constant and Description |
|---|
BOOL
A boolean value.
|
DOUBLE
A double precision number.
|
PRIMITIVE_TYPE_UNSPECIFIED
This is the default invalid value for a type.
|
STRING
An UTF-8 string.
|
TIMESTAMP
A timestamp.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BOOL_VALUE
A boolean value.
|
static int |
DOUBLE_VALUE
A double precision number.
|
static int |
PRIMITIVE_TYPE_UNSPECIFIED_VALUE
This is the default invalid value for a type.
|
static int |
STRING_VALUE
An UTF-8 string.
|
static int |
TIMESTAMP_VALUE
A timestamp.
|
| Modifier and Type | Method and Description |
|---|---|
static FieldType.PrimitiveType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<FieldType.PrimitiveType> |
internalGetValueMap() |
static FieldType.PrimitiveType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static FieldType.PrimitiveType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static FieldType.PrimitiveType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldType.PrimitiveType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldType.PrimitiveType PRIMITIVE_TYPE_UNSPECIFIED
This is the default invalid value for a type.
PRIMITIVE_TYPE_UNSPECIFIED = 0;public static final FieldType.PrimitiveType DOUBLE
A double precision number.
DOUBLE = 1;public static final FieldType.PrimitiveType STRING
An UTF-8 string.
STRING = 2;public static final FieldType.PrimitiveType BOOL
A boolean value.
BOOL = 3;public static final FieldType.PrimitiveType TIMESTAMP
A timestamp.
TIMESTAMP = 4;public static final FieldType.PrimitiveType UNRECOGNIZED
public static final int PRIMITIVE_TYPE_UNSPECIFIED_VALUE
This is the default invalid value for a type.
PRIMITIVE_TYPE_UNSPECIFIED = 0;public static final int DOUBLE_VALUE
A double precision number.
DOUBLE = 1;public static final int STRING_VALUE
An UTF-8 string.
STRING = 2;public static final int BOOL_VALUE
A boolean value.
BOOL = 3;public static final int TIMESTAMP_VALUE
A timestamp.
TIMESTAMP = 4;public static FieldType.PrimitiveType[] values()
for (FieldType.PrimitiveType c : FieldType.PrimitiveType.values()) System.out.println(c);
public static FieldType.PrimitiveType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static FieldType.PrimitiveType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static FieldType.PrimitiveType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<FieldType.PrimitiveType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static FieldType.PrimitiveType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.