程序包 hapi.release
枚举 StatusOuterClass.Status.Code
- java.lang.Object
-
- java.lang.Enum<StatusOuterClass.Status.Code>
-
- hapi.release.StatusOuterClass.Status.Code
-
- 所有已实现的接口:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<StatusOuterClass.Status.Code>
public static enum StatusOuterClass.Status.Code extends Enum<StatusOuterClass.Status.Code> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumhapi.release.Status.Code
-
-
枚举常量概要
枚举常量 枚举常量 说明 DELETEDStatus_DELETED indicates that a release has been deleted from Kubermetes.DELETINGStatus_DELETING indicates that a delete operation is underway.DEPLOYEDStatus_DEPLOYED indicates that the release has been pushed to Kubernetes.FAILEDStatus_FAILED indicates that the release was not successfully deployed.PENDING_INSTALLStatus_PENDING_INSTALL indicates that an install operation is underway.PENDING_ROLLBACKStatus_PENDING_ROLLBACK indicates that an rollback operation is underway.PENDING_UPGRADEStatus_PENDING_UPGRADE indicates that an upgrade operation is underway.SUPERSEDEDStatus_SUPERSEDED indicates that this release object is outdated and a newer one exists.UNKNOWNStatus_UNKNOWN indicates that a release is in an uncertain state.UNRECOGNIZED
-
字段概要
字段 修饰符和类型 字段 说明 static intDELETED_VALUEStatus_DELETED indicates that a release has been deleted from Kubermetes.static intDELETING_VALUEStatus_DELETING indicates that a delete operation is underway.static intDEPLOYED_VALUEStatus_DEPLOYED indicates that the release has been pushed to Kubernetes.static intFAILED_VALUEStatus_FAILED indicates that the release was not successfully deployed.static intPENDING_INSTALL_VALUEStatus_PENDING_INSTALL indicates that an install operation is underway.static intPENDING_ROLLBACK_VALUEStatus_PENDING_ROLLBACK indicates that an rollback operation is underway.static intPENDING_UPGRADE_VALUEStatus_PENDING_UPGRADE indicates that an upgrade operation is underway.static intSUPERSEDED_VALUEStatus_SUPERSEDED indicates that this release object is outdated and a newer one exists.static intUNKNOWN_VALUEStatus_UNKNOWN indicates that a release is in an uncertain state.
-
方法概要
所有方法 静态方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 static StatusOuterClass.Status.CodeforNumber(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<StatusOuterClass.Status.Code>internalGetValueMap()static StatusOuterClass.Status.CodevalueOf(int value)已过时。static StatusOuterClass.Status.CodevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)返回带有指定名称的该类型的枚举常量。static StatusOuterClass.Status.CodevalueOf(String name)返回带有指定名称的该类型的枚举常量。static StatusOuterClass.Status.Code[]values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
-
-
-
枚举常量详细资料
-
UNKNOWN
public static final StatusOuterClass.Status.Code UNKNOWN
Status_UNKNOWN indicates that a release is in an uncertain state.
UNKNOWN = 0;
-
DEPLOYED
public static final StatusOuterClass.Status.Code DEPLOYED
Status_DEPLOYED indicates that the release has been pushed to Kubernetes.
DEPLOYED = 1;
-
DELETED
public static final StatusOuterClass.Status.Code DELETED
Status_DELETED indicates that a release has been deleted from Kubermetes.
DELETED = 2;
-
SUPERSEDED
public static final StatusOuterClass.Status.Code SUPERSEDED
Status_SUPERSEDED indicates that this release object is outdated and a newer one exists.
SUPERSEDED = 3;
-
FAILED
public static final StatusOuterClass.Status.Code FAILED
Status_FAILED indicates that the release was not successfully deployed.
FAILED = 4;
-
DELETING
public static final StatusOuterClass.Status.Code DELETING
Status_DELETING indicates that a delete operation is underway.
DELETING = 5;
-
PENDING_INSTALL
public static final StatusOuterClass.Status.Code PENDING_INSTALL
Status_PENDING_INSTALL indicates that an install operation is underway.
PENDING_INSTALL = 6;
-
PENDING_UPGRADE
public static final StatusOuterClass.Status.Code PENDING_UPGRADE
Status_PENDING_UPGRADE indicates that an upgrade operation is underway.
PENDING_UPGRADE = 7;
-
PENDING_ROLLBACK
public static final StatusOuterClass.Status.Code PENDING_ROLLBACK
Status_PENDING_ROLLBACK indicates that an rollback operation is underway.
PENDING_ROLLBACK = 8;
-
UNRECOGNIZED
public static final StatusOuterClass.Status.Code UNRECOGNIZED
-
-
字段详细资料
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
Status_UNKNOWN indicates that a release is in an uncertain state.
UNKNOWN = 0;- 另请参阅:
- 常量字段值
-
DEPLOYED_VALUE
public static final int DEPLOYED_VALUE
Status_DEPLOYED indicates that the release has been pushed to Kubernetes.
DEPLOYED = 1;- 另请参阅:
- 常量字段值
-
DELETED_VALUE
public static final int DELETED_VALUE
Status_DELETED indicates that a release has been deleted from Kubermetes.
DELETED = 2;- 另请参阅:
- 常量字段值
-
SUPERSEDED_VALUE
public static final int SUPERSEDED_VALUE
Status_SUPERSEDED indicates that this release object is outdated and a newer one exists.
SUPERSEDED = 3;- 另请参阅:
- 常量字段值
-
FAILED_VALUE
public static final int FAILED_VALUE
Status_FAILED indicates that the release was not successfully deployed.
FAILED = 4;- 另请参阅:
- 常量字段值
-
DELETING_VALUE
public static final int DELETING_VALUE
Status_DELETING indicates that a delete operation is underway.
DELETING = 5;- 另请参阅:
- 常量字段值
-
PENDING_INSTALL_VALUE
public static final int PENDING_INSTALL_VALUE
Status_PENDING_INSTALL indicates that an install operation is underway.
PENDING_INSTALL = 6;- 另请参阅:
- 常量字段值
-
PENDING_UPGRADE_VALUE
public static final int PENDING_UPGRADE_VALUE
Status_PENDING_UPGRADE indicates that an upgrade operation is underway.
PENDING_UPGRADE = 7;- 另请参阅:
- 常量字段值
-
PENDING_ROLLBACK_VALUE
public static final int PENDING_ROLLBACK_VALUE
Status_PENDING_ROLLBACK indicates that an rollback operation is underway.
PENDING_ROLLBACK = 8;- 另请参阅:
- 常量字段值
-
-
方法详细资料
-
values
public static StatusOuterClass.Status.Code[] values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:for (StatusOuterClass.Status.Code c : StatusOuterClass.Status.Code.values()) System.out.println(c);
- 返回:
- 按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
-
valueOf
public static StatusOuterClass.Status.Code valueOf(String name)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
getNumber
public final int getNumber()
- 指定者:
getNumber在接口中com.google.protobuf.Internal.EnumLite- 指定者:
getNumber在接口中com.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static StatusOuterClass.Status.Code valueOf(int value)
已过时。返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
value- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
forNumber
public static StatusOuterClass.Status.Code forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<StatusOuterClass.Status.Code> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- 指定者:
getValueDescriptor在接口中com.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- 指定者:
getDescriptorForType在接口中com.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static StatusOuterClass.Status.Code valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
desc- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
-