Enum UpdateWorkerVersioningRulesRequest.OperationCase
- java.lang.Object
-
- java.lang.Enum<UpdateWorkerVersioningRulesRequest.OperationCase>
-
- io.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.OperationCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<UpdateWorkerVersioningRulesRequest.OperationCase>
- Enclosing class:
- UpdateWorkerVersioningRulesRequest
public static enum UpdateWorkerVersioningRulesRequest.OperationCase extends java.lang.Enum<UpdateWorkerVersioningRulesRequest.OperationCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_COMPATIBLE_REDIRECT_RULECOMMIT_BUILD_IDDELETE_ASSIGNMENT_RULEDELETE_COMPATIBLE_REDIRECT_RULEINSERT_ASSIGNMENT_RULEOPERATION_NOT_SETREPLACE_ASSIGNMENT_RULEREPLACE_COMPATIBLE_REDIRECT_RULE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static UpdateWorkerVersioningRulesRequest.OperationCaseforNumber(int value)intgetNumber()static UpdateWorkerVersioningRulesRequest.OperationCasevalueOf(int value)Deprecated.static UpdateWorkerVersioningRulesRequest.OperationCasevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static UpdateWorkerVersioningRulesRequest.OperationCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSERT_ASSIGNMENT_RULE
public static final UpdateWorkerVersioningRulesRequest.OperationCase INSERT_ASSIGNMENT_RULE
-
REPLACE_ASSIGNMENT_RULE
public static final UpdateWorkerVersioningRulesRequest.OperationCase REPLACE_ASSIGNMENT_RULE
-
DELETE_ASSIGNMENT_RULE
public static final UpdateWorkerVersioningRulesRequest.OperationCase DELETE_ASSIGNMENT_RULE
-
ADD_COMPATIBLE_REDIRECT_RULE
public static final UpdateWorkerVersioningRulesRequest.OperationCase ADD_COMPATIBLE_REDIRECT_RULE
-
REPLACE_COMPATIBLE_REDIRECT_RULE
public static final UpdateWorkerVersioningRulesRequest.OperationCase REPLACE_COMPATIBLE_REDIRECT_RULE
-
DELETE_COMPATIBLE_REDIRECT_RULE
public static final UpdateWorkerVersioningRulesRequest.OperationCase DELETE_COMPATIBLE_REDIRECT_RULE
-
COMMIT_BUILD_ID
public static final UpdateWorkerVersioningRulesRequest.OperationCase COMMIT_BUILD_ID
-
OPERATION_NOT_SET
public static final UpdateWorkerVersioningRulesRequest.OperationCase OPERATION_NOT_SET
-
-
Method Detail
-
values
public static UpdateWorkerVersioningRulesRequest.OperationCase[] 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 (UpdateWorkerVersioningRulesRequest.OperationCase c : UpdateWorkerVersioningRulesRequest.OperationCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UpdateWorkerVersioningRulesRequest.OperationCase 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
-
valueOf
@Deprecated public static UpdateWorkerVersioningRulesRequest.OperationCase 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 UpdateWorkerVersioningRulesRequest.OperationCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-