Package viam.app.v1
Enum Class AppOuterClass.LogOrder
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<AppOuterClass.LogOrder>,Constable
- Enclosing class:
AppOuterClass
public static enum AppOuterClass.LogOrder
extends Enum<AppOuterClass.LogOrder>
implements com.google.protobuf.Internal.EnumLite
LogOrder is the order in which logs are returned, by time.Protobuf enum
viam.app.v1.LogOrder-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionoldest logs firstnewest logs firstLOG_ORDER_UNSPECIFIED is treated as LOG_ORDER_DESCENDING. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intoldest logs firststatic final intnewest logs firststatic final intLOG_ORDER_UNSPECIFIED is treated as LOG_ORDER_DESCENDING. -
Method Summary
Modifier and TypeMethodDescriptionstatic AppOuterClass.LogOrderforNumber(int value) final intstatic com.google.protobuf.Internal.EnumLiteMap<AppOuterClass.LogOrder> static com.google.protobuf.Internal.EnumVerifierstatic AppOuterClass.LogOrdervalueOf(int value) Deprecated.static AppOuterClass.LogOrderReturns the enum constant of this class with the specified name.static AppOuterClass.LogOrder[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LOG_ORDER_UNSPECIFIED
LOG_ORDER_UNSPECIFIED is treated as LOG_ORDER_DESCENDING.
LOG_ORDER_UNSPECIFIED = 0; -
LOG_ORDER_ASCENDING
oldest logs first
LOG_ORDER_ASCENDING = 1; -
LOG_ORDER_DESCENDING
newest logs first
LOG_ORDER_DESCENDING = 2; -
UNRECOGNIZED
-
-
Field Details
-
LOG_ORDER_UNSPECIFIED_VALUE
public static final int LOG_ORDER_UNSPECIFIED_VALUELOG_ORDER_UNSPECIFIED is treated as LOG_ORDER_DESCENDING.
LOG_ORDER_UNSPECIFIED = 0;- See Also:
-
LOG_ORDER_ASCENDING_VALUE
public static final int LOG_ORDER_ASCENDING_VALUEoldest logs first
LOG_ORDER_ASCENDING = 1;- See Also:
-
LOG_ORDER_DESCENDING_VALUE
public static final int LOG_ORDER_DESCENDING_VALUEnewest logs first
LOG_ORDER_DESCENDING = 2;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<AppOuterClass.LogOrder> internalGetValueMap() -
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-