Enum Event.Relevance
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Event.Relevance>
- Enclosing class:
- Event
public static enum Event.Relevance
extends Enum<Event.Relevance>
implements com.google.protobuf.ProtocolMessageEnum
Communicates why a given incident is deemed relevant in the context of a given project. This enum lists all possible detailed states of relevance.Protobuf enum
google.cloud.servicehealth.v1.Event.Relevance-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe incident is verified to be impacting your project.The incident does not impact the project.The incident is associated with a Google Cloud product your project uses, but the incident may not be impacting your project.The incident has a direct connection with your project and impacts a Google Cloud product in a location your project uses.Unspecified relevance.The relevance of the incident to the project is unknown. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe incident is verified to be impacting your project.static final intThe incident does not impact the project.static final intThe incident is associated with a Google Cloud product your project uses, but the incident may not be impacting your project.static final intThe incident has a direct connection with your project and impacts a Google Cloud product in a location your project uses.static final intUnspecified relevance.static final intThe relevance of the incident to the project is unknown. -
Method Summary
Modifier and TypeMethodDescriptionstatic Event.RelevanceforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Event.Relevance>static Event.RelevancevalueOf(int value) Deprecated.static Event.RelevancevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Event.RelevanceReturns the enum constant of this type with the specified name.static Event.Relevance[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
RELEVANCE_UNSPECIFIED
Unspecified relevance.
RELEVANCE_UNSPECIFIED = 0; -
UNKNOWN
The relevance of the incident to the project is unknown.
UNKNOWN = 2; -
NOT_IMPACTED
The incident does not impact the project.
NOT_IMPACTED = 6; -
PARTIALLY_RELATED
The incident is associated with a Google Cloud product your project uses, but the incident may not be impacting your project. For example, the incident may be impacting a Google Cloud product that your project uses, but in a location that your project does not use.
PARTIALLY_RELATED = 7; -
RELATED
The incident has a direct connection with your project and impacts a Google Cloud product in a location your project uses.
RELATED = 8; -
IMPACTED
The incident is verified to be impacting your project.
IMPACTED = 9; -
UNRECOGNIZED
-
-
Field Details
-
RELEVANCE_UNSPECIFIED_VALUE
public static final int RELEVANCE_UNSPECIFIED_VALUEUnspecified relevance.
RELEVANCE_UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEThe relevance of the incident to the project is unknown.
UNKNOWN = 2;- See Also:
-
NOT_IMPACTED_VALUE
public static final int NOT_IMPACTED_VALUEThe incident does not impact the project.
NOT_IMPACTED = 6;- See Also:
-
PARTIALLY_RELATED_VALUE
public static final int PARTIALLY_RELATED_VALUEThe incident is associated with a Google Cloud product your project uses, but the incident may not be impacting your project. For example, the incident may be impacting a Google Cloud product that your project uses, but in a location that your project does not use.
PARTIALLY_RELATED = 7;- See Also:
-
RELATED_VALUE
public static final int RELATED_VALUEThe incident has a direct connection with your project and impacts a Google Cloud product in a location your project uses.
RELATED = 8;- See Also:
-
IMPACTED_VALUE
public static final int IMPACTED_VALUEThe incident is verified to be impacting your project.
IMPACTED = 9;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.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
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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
-