public static enum StatusOuterClass.Status.Code extends Enum<StatusOuterClass.Status.Code> implements com.google.protobuf.ProtocolMessageEnum
hapi.release.Status.Code| 枚举常量和说明 |
|---|
DELETED
Status_DELETED indicates that a release has been deleted from Kubermetes.
|
DELETING
Status_DELETING indicates that a delete operation is underway.
|
DEPLOYED
Status_DEPLOYED indicates that the release has been pushed to Kubernetes.
|
FAILED
Status_FAILED indicates that the release was not successfully deployed.
|
PENDING_INSTALL
Status_PENDING_INSTALL indicates that an install operation is underway.
|
PENDING_ROLLBACK
Status_PENDING_ROLLBACK indicates that an rollback operation is underway.
|
PENDING_UPGRADE
Status_PENDING_UPGRADE indicates that an upgrade operation is underway.
|
SUPERSEDED
Status_SUPERSEDED indicates that this release object is outdated and a newer one exists.
|
UNKNOWN
Status_UNKNOWN indicates that a release is in an uncertain state.
|
UNRECOGNIZED |
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
DELETED_VALUE
Status_DELETED indicates that a release has been deleted from Kubermetes.
|
static int |
DELETING_VALUE
Status_DELETING indicates that a delete operation is underway.
|
static int |
DEPLOYED_VALUE
Status_DEPLOYED indicates that the release has been pushed to Kubernetes.
|
static int |
FAILED_VALUE
Status_FAILED indicates that the release was not successfully deployed.
|
static int |
PENDING_INSTALL_VALUE
Status_PENDING_INSTALL indicates that an install operation is underway.
|
static int |
PENDING_ROLLBACK_VALUE
Status_PENDING_ROLLBACK indicates that an rollback operation is underway.
|
static int |
PENDING_UPGRADE_VALUE
Status_PENDING_UPGRADE indicates that an upgrade operation is underway.
|
static int |
SUPERSEDED_VALUE
Status_SUPERSEDED indicates that this release object is outdated and a newer one exists.
|
static int |
UNKNOWN_VALUE
Status_UNKNOWN indicates that a release is in an uncertain state.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static StatusOuterClass.Status.Code |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<StatusOuterClass.Status.Code> |
internalGetValueMap() |
static StatusOuterClass.Status.Code |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static StatusOuterClass.Status.Code |
valueOf(int value)
已过时。
Use
forNumber(int) instead. |
static StatusOuterClass.Status.Code |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static StatusOuterClass.Status.Code[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final StatusOuterClass.Status.Code UNKNOWN
Status_UNKNOWN indicates that a release is in an uncertain state.
UNKNOWN = 0;public static final StatusOuterClass.Status.Code DEPLOYED
Status_DEPLOYED indicates that the release has been pushed to Kubernetes.
DEPLOYED = 1;public static final StatusOuterClass.Status.Code DELETED
Status_DELETED indicates that a release has been deleted from Kubermetes.
DELETED = 2;public static final StatusOuterClass.Status.Code SUPERSEDED
Status_SUPERSEDED indicates that this release object is outdated and a newer one exists.
SUPERSEDED = 3;public static final StatusOuterClass.Status.Code FAILED
Status_FAILED indicates that the release was not successfully deployed.
FAILED = 4;public static final StatusOuterClass.Status.Code DELETING
Status_DELETING indicates that a delete operation is underway.
DELETING = 5;public static final StatusOuterClass.Status.Code PENDING_INSTALL
Status_PENDING_INSTALL indicates that an install operation is underway.
PENDING_INSTALL = 6;public static final StatusOuterClass.Status.Code PENDING_UPGRADE
Status_PENDING_UPGRADE indicates that an upgrade operation is underway.
PENDING_UPGRADE = 7;public static final StatusOuterClass.Status.Code PENDING_ROLLBACK
Status_PENDING_ROLLBACK indicates that an rollback operation is underway.
PENDING_ROLLBACK = 8;public static final StatusOuterClass.Status.Code UNRECOGNIZED
public static final int UNKNOWN_VALUE
Status_UNKNOWN indicates that a release is in an uncertain state.
UNKNOWN = 0;public static final int DEPLOYED_VALUE
Status_DEPLOYED indicates that the release has been pushed to Kubernetes.
DEPLOYED = 1;public static final int DELETED_VALUE
Status_DELETED indicates that a release has been deleted from Kubermetes.
DELETED = 2;public static final int SUPERSEDED_VALUE
Status_SUPERSEDED indicates that this release object is outdated and a newer one exists.
SUPERSEDED = 3;public static final int FAILED_VALUE
Status_FAILED indicates that the release was not successfully deployed.
FAILED = 4;public static final int DELETING_VALUE
Status_DELETING indicates that a delete operation is underway.
DELETING = 5;public static final int PENDING_INSTALL_VALUE
Status_PENDING_INSTALL indicates that an install operation is underway.
PENDING_INSTALL = 6;public static final int PENDING_UPGRADE_VALUE
Status_PENDING_UPGRADE indicates that an upgrade operation is underway.
PENDING_UPGRADE = 7;public static final int PENDING_ROLLBACK_VALUE
Status_PENDING_ROLLBACK indicates that an rollback operation is underway.
PENDING_ROLLBACK = 8;public static StatusOuterClass.Status.Code[] values()
for (StatusOuterClass.Status.Code c : StatusOuterClass.Status.Code.values()) System.out.println(c);
public static StatusOuterClass.Status.Code valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public final int getNumber()
getNumber 在接口中 com.google.protobuf.Internal.EnumLitegetNumber 在接口中 com.google.protobuf.ProtocolMessageEnum@Deprecated public static StatusOuterClass.Status.Code valueOf(int value)
forNumber(int) instead.public static StatusOuterClass.Status.Code forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<StatusOuterClass.Status.Code> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor 在接口中 com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static StatusOuterClass.Status.Code valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022. All rights reserved.