com.dimajix.flowman.kernel.proto.ExecutionStatus Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: common.proto
package com.dimajix.flowman.kernel.proto;
/**
* Protobuf enum {@code com.dimajix.flowman.kernel.ExecutionStatus}
*/
public enum ExecutionStatus
implements com.google.protobuf.ProtocolMessageEnum {
/**
* UNKNOWN_STATUS = 0;
*/
UNKNOWN_STATUS(0),
/**
* RUNNING = 10;
*/
RUNNING(10),
/**
* SUCCESS = 20;
*/
SUCCESS(20),
/**
* SUCCESS_WITH_ERRORS = 30;
*/
SUCCESS_WITH_ERRORS(30),
/**
* FAILED = 40;
*/
FAILED(40),
/**
* ABORTED = 50;
*/
ABORTED(50),
/**
* SKIPPED = 60;
*/
SKIPPED(60),
UNRECOGNIZED(-1),
;
/**
* UNKNOWN_STATUS = 0;
*/
public static final int UNKNOWN_STATUS_VALUE = 0;
/**
* RUNNING = 10;
*/
public static final int RUNNING_VALUE = 10;
/**
* SUCCESS = 20;
*/
public static final int SUCCESS_VALUE = 20;
/**
* SUCCESS_WITH_ERRORS = 30;
*/
public static final int SUCCESS_WITH_ERRORS_VALUE = 30;
/**
* FAILED = 40;
*/
public static final int FAILED_VALUE = 40;
/**
* ABORTED = 50;
*/
public static final int ABORTED_VALUE = 50;
/**
* SKIPPED = 60;
*/
public static final int SKIPPED_VALUE = 60;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ExecutionStatus valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static ExecutionStatus forNumber(int value) {
switch (value) {
case 0: return UNKNOWN_STATUS;
case 10: return RUNNING;
case 20: return SUCCESS;
case 30: return SUCCESS_WITH_ERRORS;
case 40: return FAILED;
case 50: return ABORTED;
case 60: return SKIPPED;
default: return null;
}
}
public static com.dimajix.shaded.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.dimajix.shaded.protobuf.Internal.EnumLiteMap<
ExecutionStatus> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public ExecutionStatus findValueByNumber(int number) {
return ExecutionStatus.forNumber(number);
}
};
public final com.dimajix.shaded.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.dimajix.shaded.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.dimajix.shaded.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.dimajix.flowman.kernel.proto.CommonProto.getDescriptor().getEnumTypes().get(2);
}
private static final ExecutionStatus[] VALUES = values();
public static ExecutionStatus valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private ExecutionStatus(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.dimajix.flowman.kernel.ExecutionStatus)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy