public static ErrorType valueOf(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()];
        }
@deprecated Use {@link #forNumber(int)} instead.
jraft-core/src/main/java/com/alipay/sofa/jraft/entity/EnumOutter.java