com.dimajix.flowman.kernel.proto.history.TargetOrder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: history.proto
package com.dimajix.flowman.kernel.proto.history;
/**
* Protobuf enum {@code com.dimajix.flowman.kernel.history.TargetOrder}
*/
public enum TargetOrder
implements com.dimajix.shaded.protobuf.ProtocolMessageEnum {
/**
* TARGET_BY_DATETIME = 0;
*/
TARGET_BY_DATETIME(0),
/**
* TARGET_BY_PROJECT = 10;
*/
TARGET_BY_PROJECT(10),
/**
* TARGET_BY_NAME = 20;
*/
TARGET_BY_NAME(20),
/**
* TARGET_BY_ID = 30;
*/
TARGET_BY_ID(30),
/**
* TARGET_BY_STATUS = 40;
*/
TARGET_BY_STATUS(40),
/**
* TARGET_BY_PHASE = 50;
*/
TARGET_BY_PHASE(50),
/**
* TARGET_BY_PARENT_NAME = 60;
*/
TARGET_BY_PARENT_NAME(60),
/**
* TARGET_BY_PARENT_ID = 70;
*/
TARGET_BY_PARENT_ID(70),
UNRECOGNIZED(-1),
;
/**
* TARGET_BY_DATETIME = 0;
*/
public static final int TARGET_BY_DATETIME_VALUE = 0;
/**
* TARGET_BY_PROJECT = 10;
*/
public static final int TARGET_BY_PROJECT_VALUE = 10;
/**
* TARGET_BY_NAME = 20;
*/
public static final int TARGET_BY_NAME_VALUE = 20;
/**
* TARGET_BY_ID = 30;
*/
public static final int TARGET_BY_ID_VALUE = 30;
/**
* TARGET_BY_STATUS = 40;
*/
public static final int TARGET_BY_STATUS_VALUE = 40;
/**
* TARGET_BY_PHASE = 50;
*/
public static final int TARGET_BY_PHASE_VALUE = 50;
/**
* TARGET_BY_PARENT_NAME = 60;
*/
public static final int TARGET_BY_PARENT_NAME_VALUE = 60;
/**
* TARGET_BY_PARENT_ID = 70;
*/
public static final int TARGET_BY_PARENT_ID_VALUE = 70;
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 TargetOrder 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 TargetOrder forNumber(int value) {
switch (value) {
case 0: return TARGET_BY_DATETIME;
case 10: return TARGET_BY_PROJECT;
case 20: return TARGET_BY_NAME;
case 30: return TARGET_BY_ID;
case 40: return TARGET_BY_STATUS;
case 50: return TARGET_BY_PHASE;
case 60: return TARGET_BY_PARENT_NAME;
case 70: return TARGET_BY_PARENT_ID;
default: return null;
}
}
public static com.dimajix.shaded.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.dimajix.shaded.protobuf.Internal.EnumLiteMap<
TargetOrder> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public TargetOrder findValueByNumber(int number) {
return TargetOrder.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.history.HistoryProto.getDescriptor().getEnumTypes().get(1);
}
private static final TargetOrder[] VALUES = values();
public static TargetOrder valueOf(
com.dimajix.shaded.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 TargetOrder(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.dimajix.flowman.kernel.history.TargetOrder)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy