Enum Action.ActionCase
- java.lang.Object
-
- java.lang.Enum<Action.ActionCase>
-
- com.google.cloud.contentwarehouse.v1.Action.ActionCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<Action.ActionCase>
- Enclosing class:
- Action
public static enum Action.ActionCase extends Enum<Action.ActionCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCESS_CONTROL
ACTION_NOT_SET
ADD_TO_FOLDER
DATA_UPDATE
DATA_VALIDATION
DELETE_DOCUMENT_ACTION
PUBLISH_TO_PUB_SUB
REMOVE_FROM_FOLDER_ACTION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Action.ActionCase
forNumber(int value)
int
getNumber()
static Action.ActionCase
valueOf(int value)
Deprecated.static Action.ActionCase
valueOf(String name)
Returns the enum constant of this type with the specified name.static Action.ActionCase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCESS_CONTROL
public static final Action.ActionCase ACCESS_CONTROL
-
DATA_VALIDATION
public static final Action.ActionCase DATA_VALIDATION
-
DATA_UPDATE
public static final Action.ActionCase DATA_UPDATE
-
ADD_TO_FOLDER
public static final Action.ActionCase ADD_TO_FOLDER
-
PUBLISH_TO_PUB_SUB
public static final Action.ActionCase PUBLISH_TO_PUB_SUB
-
REMOVE_FROM_FOLDER_ACTION
public static final Action.ActionCase REMOVE_FROM_FOLDER_ACTION
-
DELETE_DOCUMENT_ACTION
public static final Action.ActionCase DELETE_DOCUMENT_ACTION
-
ACTION_NOT_SET
public static final Action.ActionCase ACTION_NOT_SET
-
-
Method Detail
-
values
public static Action.ActionCase[] 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 (Action.ActionCase c : Action.ActionCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Action.ActionCase 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 Action.ActionCase 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 Action.ActionCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
-