Package flyteidl.core
Enum Execution.TaskLog.MessageFormat
- java.lang.Object
-
- java.lang.Enum<Execution.TaskLog.MessageFormat>
-
- flyteidl.core.Execution.TaskLog.MessageFormat
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Execution.TaskLog.MessageFormat>
- Enclosing class:
- Execution.TaskLog
public static enum Execution.TaskLog.MessageFormat extends Enum<Execution.TaskLog.MessageFormat> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumflyteidl.core.TaskLog.MessageFormat
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CSVCSV = 1;JSONJSON = 2;UNKNOWNUNKNOWN = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intCSV_VALUECSV = 1;private static com.google.protobuf.Internal.EnumLiteMap<Execution.TaskLog.MessageFormat>internalValueMapstatic intJSON_VALUEJSON = 2;static intUNKNOWN_VALUEUNKNOWN = 0;private intvalueprivate static Execution.TaskLog.MessageFormat[]VALUES
-
Constructor Summary
Constructors Modifier Constructor Description privateMessageFormat(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Execution.TaskLog.MessageFormatforNumber(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<Execution.TaskLog.MessageFormat>internalGetValueMap()static Execution.TaskLog.MessageFormatvalueOf(int value)Deprecated.static Execution.TaskLog.MessageFormatvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Execution.TaskLog.MessageFormatvalueOf(String name)Returns the enum constant of this type with the specified name.static Execution.TaskLog.MessageFormat[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final Execution.TaskLog.MessageFormat UNKNOWN
UNKNOWN = 0;
-
CSV
public static final Execution.TaskLog.MessageFormat CSV
CSV = 1;
-
JSON
public static final Execution.TaskLog.MessageFormat JSON
JSON = 2;
-
UNRECOGNIZED
public static final Execution.TaskLog.MessageFormat UNRECOGNIZED
-
-
Field Detail
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
UNKNOWN = 0;- See Also:
- Constant Field Values
-
CSV_VALUE
public static final int CSV_VALUE
CSV = 1;- See Also:
- Constant Field Values
-
JSON_VALUE
public static final int JSON_VALUE
JSON = 2;- See Also:
- Constant Field Values
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<Execution.TaskLog.MessageFormat> internalValueMap
-
VALUES
private static final Execution.TaskLog.MessageFormat[] VALUES
-
value
private final int value
-
-
Method Detail
-
values
public static Execution.TaskLog.MessageFormat[] 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 (Execution.TaskLog.MessageFormat c : Execution.TaskLog.MessageFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Execution.TaskLog.MessageFormat 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 Execution.TaskLog.MessageFormat 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 Execution.TaskLog.MessageFormat forNumber(int value)
- 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<Execution.TaskLog.MessageFormat> 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 Execution.TaskLog.MessageFormat 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
-
-