Enum Class HistoryAggregateProto.AggregateKind
java.lang.Object
java.lang.Enum<HistoryAggregateProto.AggregateKind>
com.inductiveautomation.ignition.common.protocolbuffers.HistoryAggregateProto.AggregateKind
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<HistoryAggregateProto.AggregateKind>, Constable
- Enclosing class:
HistoryAggregateProto
public static enum HistoryAggregateProto.AggregateKind
extends Enum<HistoryAggregateProto.AggregateKind>
implements com.google.protobuf.ProtocolMessageEnum
Proto3 cannot distinguish an absent enum from value zero, so zero is a sentinel no producer emits. An unspecified kind means the sender predates this field and the decoder falls back to type.Protobuf enum
common.protobuf.AggregateKind-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionKind_AdHocPythonAggregate = 1;Kind_AggregateInfo = 2;Kind_AggregationMode = 3;Kind_Unspecified = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intKind_AdHocPythonAggregate = 1;static final intKind_AggregateInfo = 2;static final intKind_AggregationMode = 3;static final intKind_Unspecified = 0; -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<HistoryAggregateProto.AggregateKind> valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.static HistoryAggregateProto.AggregateKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Kind_Unspecified
Kind_Unspecified = 0; -
Kind_AdHocPythonAggregate
Kind_AdHocPythonAggregate = 1; -
Kind_AggregateInfo
Kind_AggregateInfo = 2; -
Kind_AggregationMode
Kind_AggregationMode = 3; -
UNRECOGNIZED
-
-
Field Details
-
Kind_Unspecified_VALUE
public static final int Kind_Unspecified_VALUEKind_Unspecified = 0;- See Also:
-
Kind_AdHocPythonAggregate_VALUE
public static final int Kind_AdHocPythonAggregate_VALUEKind_AdHocPythonAggregate = 1;- See Also:
-
Kind_AggregateInfo_VALUE
public static final int Kind_AggregateInfo_VALUEKind_AggregateInfo = 2;- See Also:
-
Kind_AggregationMode_VALUE
public static final int Kind_AggregationMode_VALUEKind_AggregationMode = 3;- 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- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
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
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<HistoryAggregateProto.AggregateKind> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static HistoryAggregateProto.AggregateKind valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) 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:
desc- 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
-