Package io.zeebe.exporter.proto
Enum Schema.RecordMetadata.RecordType
- java.lang.Object
-
- java.lang.Enum<Schema.RecordMetadata.RecordType>
-
- io.zeebe.exporter.proto.Schema.RecordMetadata.RecordType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Schema.RecordMetadata.RecordType>
- Enclosing class:
- Schema.RecordMetadata
public static enum Schema.RecordMetadata.RecordType extends Enum<Schema.RecordMetadata.RecordType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumexporter_protocol.RecordMetadata.RecordType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMANDCOMMAND = 2;COMMAND_REJECTIONCOMMAND_REJECTION = 3;EVENTEVENT = 1;UNKNOWN_RECORD_TYPEUNKNOWN_RECORD_TYPE = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intCOMMAND_REJECTION_VALUECOMMAND_REJECTION = 3;static intCOMMAND_VALUECOMMAND = 2;static intEVENT_VALUEEVENT = 1;static intUNKNOWN_RECORD_TYPE_VALUEUNKNOWN_RECORD_TYPE = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Schema.RecordMetadata.RecordTypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<Schema.RecordMetadata.RecordType>internalGetValueMap()static Schema.RecordMetadata.RecordTypevalueOf(int value)Deprecated.static Schema.RecordMetadata.RecordTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Schema.RecordMetadata.RecordTypevalueOf(String name)Returns the enum constant of this type with the specified name.static Schema.RecordMetadata.RecordType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN_RECORD_TYPE
public static final Schema.RecordMetadata.RecordType UNKNOWN_RECORD_TYPE
UNKNOWN_RECORD_TYPE = 0;
-
EVENT
public static final Schema.RecordMetadata.RecordType EVENT
EVENT = 1;
-
COMMAND
public static final Schema.RecordMetadata.RecordType COMMAND
COMMAND = 2;
-
COMMAND_REJECTION
public static final Schema.RecordMetadata.RecordType COMMAND_REJECTION
COMMAND_REJECTION = 3;
-
UNRECOGNIZED
public static final Schema.RecordMetadata.RecordType UNRECOGNIZED
-
-
Field Detail
-
UNKNOWN_RECORD_TYPE_VALUE
public static final int UNKNOWN_RECORD_TYPE_VALUE
UNKNOWN_RECORD_TYPE = 0;- See Also:
- Constant Field Values
-
EVENT_VALUE
public static final int EVENT_VALUE
EVENT = 1;- See Also:
- Constant Field Values
-
COMMAND_VALUE
public static final int COMMAND_VALUE
COMMAND = 2;- See Also:
- Constant Field Values
-
COMMAND_REJECTION_VALUE
public static final int COMMAND_REJECTION_VALUE
COMMAND_REJECTION = 3;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Schema.RecordMetadata.RecordType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Schema.RecordMetadata.RecordType c : Schema.RecordMetadata.RecordType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Schema.RecordMetadata.RecordType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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 public static Schema.RecordMetadata.RecordType valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static Schema.RecordMetadata.RecordType forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Schema.RecordMetadata.RecordType> 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 Schema.RecordMetadata.RecordType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-