public static enum Type.TTLType extends Enum<Type.TTLType> implements com.google.protobuf.ProtocolMessageEnum
openmldb.type.TTLType| Enum Constant and Description |
|---|
kAbsAndLat
kAbsAndLat = 4; |
kAbsoluteTime
kAbsoluteTime = 1; |
kAbsOrLat
kAbsOrLat = 5; |
kLatestTime
kLatestTime = 3; |
kRelativeTime
kRelativeTime = 2; |
| Modifier and Type | Field and Description |
|---|---|
static int |
kAbsAndLat_VALUE
kAbsAndLat = 4; |
static int |
kAbsoluteTime_VALUE
kAbsoluteTime = 1; |
static int |
kAbsOrLat_VALUE
kAbsOrLat = 5; |
static int |
kLatestTime_VALUE
kLatestTime = 3; |
static int |
kRelativeTime_VALUE
kRelativeTime = 2; |
| Modifier and Type | Method and Description |
|---|---|
static Type.TTLType |
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<Type.TTLType> |
internalGetValueMap() |
static Type.TTLType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Type.TTLType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Type.TTLType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Type.TTLType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Type.TTLType kAbsoluteTime
kAbsoluteTime = 1;public static final Type.TTLType kRelativeTime
kRelativeTime = 2;public static final Type.TTLType kLatestTime
kLatestTime = 3;public static final Type.TTLType kAbsAndLat
kAbsAndLat = 4;public static final Type.TTLType kAbsOrLat
kAbsOrLat = 5;public static final int kAbsoluteTime_VALUE
kAbsoluteTime = 1;public static final int kRelativeTime_VALUE
kRelativeTime = 2;public static final int kLatestTime_VALUE
kLatestTime = 3;public static final int kAbsAndLat_VALUE
kAbsAndLat = 4;public static final int kAbsOrLat_VALUE
kAbsOrLat = 5;public static Type.TTLType[] values()
for (Type.TTLType c : Type.TTLType.values()) System.out.println(c);
public static Type.TTLType 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 Type.TTLType valueOf(int value)
forNumber(int) instead.public static Type.TTLType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Type.TTLType> 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 Type.TTLType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023. All rights reserved.