
alluxio.grpc.ConfigStatus Maven / Gradle / Ivy
// Generated by the protocol buffer alluxio.shaded.client.com.iler. DO NOT EDIT!
// source: grpc/meta_master.proto
package alluxio.grpc;
/**
* Protobuf enum {@code alluxio.grpc.meta.ConfigStatus}
*/
public enum ConfigStatus
implements alluxio.shaded.client.com.google.protobuf.ProtocolMessageEnum {
/**
* PASSED = 1;
*/
PASSED(1),
/**
* WARN = 2;
*/
WARN(2),
/**
* FAILED = 3;
*/
FAILED(3),
;
/**
* PASSED = 1;
*/
public static final int PASSED_VALUE = 1;
/**
* WARN = 2;
*/
public static final int WARN_VALUE = 2;
/**
* FAILED = 3;
*/
public static final int FAILED_VALUE = 3;
public final int getNumber() {
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 ConfigStatus 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 ConfigStatus forNumber(int value) {
switch (value) {
case 1: return PASSED;
case 2: return WARN;
case 3: return FAILED;
default: return null;
}
}
public static alluxio.shaded.client.com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final alluxio.shaded.client.com.google.protobuf.Internal.EnumLiteMap<
ConfigStatus> internalValueMap =
new alluxio.shaded.client.com.google.protobuf.Internal.EnumLiteMap() {
public ConfigStatus findValueByNumber(int number) {
return ConfigStatus.forNumber(number);
}
};
public final alluxio.shaded.client.com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final alluxio.shaded.client.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return alluxio.grpc.MetaMasterProto.getDescriptor().getEnumTypes().get(0);
}
private static final ConfigStatus[] VALUES = values();
public static ConfigStatus valueOf(
alluxio.shaded.client.com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private ConfigStatus(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:alluxio.grpc.meta.ConfigStatus)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy