public static enum Table.TimestampGranularity extends java.lang.Enum<Table.TimestampGranularity> implements ProtocolMessageEnum
Possible timestamp granularities to use when keeping multiple versions of data in a table.Protobuf enum
google.bigtable.admin.v2.Table.TimestampGranularity
Enum Constant and Description |
---|
MILLIS
The table keeps data versioned at a granularity of 1ms.
|
TIMESTAMP_GRANULARITY_UNSPECIFIED
The user did not specify a granularity.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
MILLIS_VALUE
The table keeps data versioned at a granularity of 1ms.
|
static int |
TIMESTAMP_GRANULARITY_UNSPECIFIED_VALUE
The user did not specify a granularity.
|
Modifier and Type | Method and Description |
---|---|
static Table.TimestampGranularity |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Table.TimestampGranularity> |
internalGetValueMap() |
static Table.TimestampGranularity |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Table.TimestampGranularity |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Table.TimestampGranularity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Table.TimestampGranularity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Table.TimestampGranularity TIMESTAMP_GRANULARITY_UNSPECIFIED
The user did not specify a granularity. Should not be returned. When specified during table creation, MILLIS will be used.
TIMESTAMP_GRANULARITY_UNSPECIFIED = 0;
public static final Table.TimestampGranularity MILLIS
The table keeps data versioned at a granularity of 1ms.
MILLIS = 1;
public static final Table.TimestampGranularity UNRECOGNIZED
public static final int TIMESTAMP_GRANULARITY_UNSPECIFIED_VALUE
The user did not specify a granularity. Should not be returned. When specified during table creation, MILLIS will be used.
TIMESTAMP_GRANULARITY_UNSPECIFIED = 0;
public static final int MILLIS_VALUE
The table keeps data versioned at a granularity of 1ms.
MILLIS = 1;
public static Table.TimestampGranularity[] values()
for (Table.TimestampGranularity c : Table.TimestampGranularity.values()) System.out.println(c);
public static Table.TimestampGranularity valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static Table.TimestampGranularity valueOf(int value)
forNumber(int)
instead.public static Table.TimestampGranularity forNumber(int value)
public static Internal.EnumLiteMap<Table.TimestampGranularity> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static Table.TimestampGranularity valueOf(Descriptors.EnumValueDescriptor desc)