blob: d2c46b24fe0bbe89a25b82b34947c55943425955 [file] [log] [blame]
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: com/google/protobuf/multiple_files_proto3.proto
package multiple_files_proto3;
/**
* Protobuf enum {@code multiple_files_proto3.NestedEnum}
*/
public enum NestedEnum
implements com.google.protobuf.Internal.EnumLite {
/**
* <code>FOO = 0;</code>
*/
FOO(0),
UNRECOGNIZED(-1),
;
/**
* <code>FOO = 0;</code>
*/
public static final int FOO_VALUE = 0;
@java.lang.Override
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 number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static NestedEnum valueOf(int value) {
return forNumber(value);
}
public static NestedEnum forNumber(int value) {
switch (value) {
case 0: return FOO;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<NestedEnum>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
NestedEnum> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<NestedEnum>() {
@java.lang.Override
public NestedEnum findValueByNumber(int number) {
return NestedEnum.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return NestedEnumVerifier.INSTANCE;
}
private static final class NestedEnumVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new NestedEnumVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return NestedEnum.forNumber(number) != null;
}
};
private final int value;
private NestedEnum(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:multiple_files_proto3.NestedEnum)
}