Package pbx
Enum Model.Crud
- java.lang.Object
-
- java.lang.Enum<Model.Crud>
-
- pbx.Model.Crud
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<Model.Crud>
- Enclosing class:
- Model
public static enum Model.Crud extends java.lang.Enum<Model.Crud> implements com.google.protobuf.Internal.EnumLite
Protobuf enumpbx.Crud
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATECREATE = 0;DELETEDELETE = 2;UNRECOGNIZEDUPDATEUPDATE = 1;
-
Field Summary
Fields Modifier and Type Field Description static intCREATE_VALUECREATE = 0;static intDELETE_VALUEDELETE = 2;static intUPDATE_VALUEUPDATE = 1;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Model.CrudforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<Model.Crud>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static Model.CrudvalueOf(int value)Deprecated.static Model.CrudvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Model.Crud[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATE
public static final Model.Crud CREATE
CREATE = 0;
-
UPDATE
public static final Model.Crud UPDATE
UPDATE = 1;
-
DELETE
public static final Model.Crud DELETE
DELETE = 2;
-
UNRECOGNIZED
public static final Model.Crud UNRECOGNIZED
-
-
Field Detail
-
CREATE_VALUE
public static final int CREATE_VALUE
CREATE = 0;- See Also:
- Constant Field Values
-
UPDATE_VALUE
public static final int UPDATE_VALUE
UPDATE = 1;- See Also:
- Constant Field Values
-
DELETE_VALUE
public static final int DELETE_VALUE
DELETE = 2;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Model.Crud[] 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 (Model.Crud c : Model.Crud.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Model.Crud valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
valueOf
@Deprecated public static Model.Crud 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static Model.Crud forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Model.Crud> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-