public static enum Table.TimestampGranularity extends Enum<Table.TimestampGranularity> implements com.google.protobuf.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 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<Table.TimestampGranularity> |
internalGetValueMap() |
static Table.TimestampGranularity |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Table.TimestampGranularity |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Table.TimestampGranularity |
valueOf(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(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 Table.TimestampGranularity valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Table.TimestampGranularity forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Table.TimestampGranularity> 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 Table.TimestampGranularity valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2020 Google LLC. All rights reserved.