Package com.authzed.api.v1
Enum Class ExpSchemaDiff.DiffCase
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<ExpSchemaDiff.DiffCase>
,Constable
- Enclosing class:
- ExpSchemaDiff
public static enum ExpSchemaDiff.DiffCase
extends Enum<ExpSchemaDiff.DiffCase>
implements com.google.protobuf.Internal.EnumLite
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic ExpSchemaDiff.DiffCase
forNumber
(int value) int
static ExpSchemaDiff.DiffCase
valueOf
(int value) Deprecated.static ExpSchemaDiff.DiffCase
Returns the enum constant of this class with the specified name.static ExpSchemaDiff.DiffCase[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFINITION_ADDED
-
DEFINITION_REMOVED
-
DEFINITION_DOC_COMMENT_CHANGED
-
RELATION_ADDED
-
RELATION_REMOVED
-
RELATION_DOC_COMMENT_CHANGED
-
RELATION_SUBJECT_TYPE_ADDED
-
RELATION_SUBJECT_TYPE_REMOVED
-
PERMISSION_ADDED
-
PERMISSION_REMOVED
-
PERMISSION_DOC_COMMENT_CHANGED
-
PERMISSION_EXPR_CHANGED
-
CAVEAT_ADDED
-
CAVEAT_REMOVED
-
CAVEAT_DOC_COMMENT_CHANGED
-
CAVEAT_EXPR_CHANGED
-
CAVEAT_PARAMETER_ADDED
-
CAVEAT_PARAMETER_REMOVED
-
CAVEAT_PARAMETER_TYPE_CHANGED
-
DIFF_NOT_SET
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
-
getNumber
public int getNumber()- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-