public static enum ReliabilityProjection.RiskType extends Enum<ReliabilityProjection.RiskType> implements com.google.protobuf.ProtocolMessageEnum
The risk associated with the reliability issue.Protobuf enum
google.cloud.recommender.v1.ReliabilityProjection.RiskType| Enum Constant and Description |
|---|
ACCESS_DENY
Potential access denial.
|
DATA_LOSS
Potential data loss.
|
RISK_TYPE_UNSPECIFIED
Default unspecified risk.
|
SERVICE_DISRUPTION
Potential service downtime.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACCESS_DENY_VALUE
Potential access denial.
|
static int |
DATA_LOSS_VALUE
Potential data loss.
|
static int |
RISK_TYPE_UNSPECIFIED_VALUE
Default unspecified risk.
|
static int |
SERVICE_DISRUPTION_VALUE
Potential service downtime.
|
| Modifier and Type | Method and Description |
|---|---|
static ReliabilityProjection.RiskType |
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<ReliabilityProjection.RiskType> |
internalGetValueMap() |
static ReliabilityProjection.RiskType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ReliabilityProjection.RiskType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ReliabilityProjection.RiskType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReliabilityProjection.RiskType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReliabilityProjection.RiskType RISK_TYPE_UNSPECIFIED
Default unspecified risk. Don't use directly.
RISK_TYPE_UNSPECIFIED = 0;public static final ReliabilityProjection.RiskType SERVICE_DISRUPTION
Potential service downtime.
SERVICE_DISRUPTION = 1;public static final ReliabilityProjection.RiskType DATA_LOSS
Potential data loss.
DATA_LOSS = 2;public static final ReliabilityProjection.RiskType ACCESS_DENY
Potential access denial. The service is still up but some or all clients can't access it.
ACCESS_DENY = 3;public static final ReliabilityProjection.RiskType UNRECOGNIZED
public static final int RISK_TYPE_UNSPECIFIED_VALUE
Default unspecified risk. Don't use directly.
RISK_TYPE_UNSPECIFIED = 0;public static final int SERVICE_DISRUPTION_VALUE
Potential service downtime.
SERVICE_DISRUPTION = 1;public static final int DATA_LOSS_VALUE
Potential data loss.
DATA_LOSS = 2;public static final int ACCESS_DENY_VALUE
Potential access denial. The service is still up but some or all clients can't access it.
ACCESS_DENY = 3;public static ReliabilityProjection.RiskType[] values()
for (ReliabilityProjection.RiskType c : ReliabilityProjection.RiskType.values()) System.out.println(c);
public static ReliabilityProjection.RiskType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static ReliabilityProjection.RiskType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ReliabilityProjection.RiskType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ReliabilityProjection.RiskType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ReliabilityProjection.RiskType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.