Package com.atlassian.bamboo.grpc
Enum CrossNodesCommunication.ResultStatus.Status
- java.lang.Object
-
- java.lang.Enum<CrossNodesCommunication.ResultStatus.Status>
-
- com.atlassian.bamboo.grpc.CrossNodesCommunication.ResultStatus.Status
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<CrossNodesCommunication.ResultStatus.Status>
- Enclosing class:
- CrossNodesCommunication.ResultStatus
public static enum CrossNodesCommunication.ResultStatus.Status extends Enum<CrossNodesCommunication.ResultStatus.Status> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumcom.atlassian.bamboo.grpc.ResultStatus.Status
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAILUREFAILURE = 1;PARTIAL_SUCCESSPARTIAL_SUCCESS = 2;SUCCESSSUCCESS = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intFAILURE_VALUEFAILURE = 1;static intPARTIAL_SUCCESS_VALUEPARTIAL_SUCCESS = 2;static intSUCCESS_VALUESUCCESS = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CrossNodesCommunication.ResultStatus.StatusforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<CrossNodesCommunication.ResultStatus.Status>internalGetValueMap()static CrossNodesCommunication.ResultStatus.StatusvalueOf(int value)Deprecated.static CrossNodesCommunication.ResultStatus.StatusvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static CrossNodesCommunication.ResultStatus.StatusvalueOf(String name)Returns the enum constant of this type with the specified name.static CrossNodesCommunication.ResultStatus.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final CrossNodesCommunication.ResultStatus.Status SUCCESS
SUCCESS = 0;
-
FAILURE
public static final CrossNodesCommunication.ResultStatus.Status FAILURE
FAILURE = 1;
-
PARTIAL_SUCCESS
public static final CrossNodesCommunication.ResultStatus.Status PARTIAL_SUCCESS
PARTIAL_SUCCESS = 2;
-
UNRECOGNIZED
public static final CrossNodesCommunication.ResultStatus.Status UNRECOGNIZED
-
-
Field Detail
-
SUCCESS_VALUE
public static final int SUCCESS_VALUE
SUCCESS = 0;- See Also:
- Constant Field Values
-
FAILURE_VALUE
public static final int FAILURE_VALUE
FAILURE = 1;- See Also:
- Constant Field Values
-
PARTIAL_SUCCESS_VALUE
public static final int PARTIAL_SUCCESS_VALUE
PARTIAL_SUCCESS = 2;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static CrossNodesCommunication.ResultStatus.Status[] 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 (CrossNodesCommunication.ResultStatus.Status c : CrossNodesCommunication.ResultStatus.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CrossNodesCommunication.ResultStatus.Status 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
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static CrossNodesCommunication.ResultStatus.Status 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 CrossNodesCommunication.ResultStatus.Status forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<CrossNodesCommunication.ResultStatus.Status> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static CrossNodesCommunication.ResultStatus.Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
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:
desc- 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
-
-