Enum ApiDiffProto.ClassDiff.DiffCase
- java.lang.Object
-
- java.lang.Enum<ApiDiffProto.ClassDiff.DiffCase>
-
- com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff.DiffCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<ApiDiffProto.ClassDiff.DiffCase>
- Enclosing class:
- ApiDiffProto.ClassDiff
public static enum ApiDiffProto.ClassDiff.DiffCase extends Enum<ApiDiffProto.ClassDiff.DiffCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIFF_NOT_SET
EVERYTHING_DIFF
MEMBER_DIFF
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ApiDiffProto.ClassDiff.DiffCase
forNumber(int value)
int
getNumber()
static ApiDiffProto.ClassDiff.DiffCase
valueOf(int value)
Deprecated.static ApiDiffProto.ClassDiff.DiffCase
valueOf(String name)
Returns the enum constant of this type with the specified name.static ApiDiffProto.ClassDiff.DiffCase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EVERYTHING_DIFF
public static final ApiDiffProto.ClassDiff.DiffCase EVERYTHING_DIFF
-
MEMBER_DIFF
public static final ApiDiffProto.ClassDiff.DiffCase MEMBER_DIFF
-
DIFF_NOT_SET
public static final ApiDiffProto.ClassDiff.DiffCase DIFF_NOT_SET
-
-
Method Detail
-
values
public static ApiDiffProto.ClassDiff.DiffCase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ApiDiffProto.ClassDiff.DiffCase c : ApiDiffProto.ClassDiff.DiffCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ApiDiffProto.ClassDiff.DiffCase valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOf
@Deprecated public static ApiDiffProto.ClassDiff.DiffCase valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static ApiDiffProto.ClassDiff.DiffCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
-