Package com.google.cloudbuild.v1
Enum Build.Warning.Priority
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Build.Warning.Priority>
- Enclosing class:
- Build.Warning
public static enum Build.Warning.Priority
extends Enum<Build.Warning.Priority>
implements com.google.protobuf.ProtocolMessageEnum
The relative importance of this warning.Protobuf enum
google.devtools.cloudbuild.v1.Build.Warning.Priority-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptione.g. alerts that a feature used in the build is pending removale.g. deprecation warnings and alternative feature highlights.Should not be used.e.g. automated detection of possible issues with the build. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final inte.g. alerts that a feature used in the build is pending removalstatic final inte.g. deprecation warnings and alternative feature highlights.static final intShould not be used.static final inte.g. automated detection of possible issues with the build. -
Method Summary
Modifier and TypeMethodDescriptionstatic Build.Warning.PriorityforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Build.Warning.Priority>static Build.Warning.PriorityvalueOf(int value) Deprecated.static Build.Warning.PriorityvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Build.Warning.PriorityReturns the enum constant of this type with the specified name.static Build.Warning.Priority[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PRIORITY_UNSPECIFIED
Should not be used.
PRIORITY_UNSPECIFIED = 0; -
INFO
e.g. deprecation warnings and alternative feature highlights.
INFO = 1; -
WARNING
e.g. automated detection of possible issues with the build.
WARNING = 2; -
ALERT
e.g. alerts that a feature used in the build is pending removal
ALERT = 3; -
UNRECOGNIZED
-
-
Field Details
-
PRIORITY_UNSPECIFIED_VALUE
public static final int PRIORITY_UNSPECIFIED_VALUEShould not be used.
PRIORITY_UNSPECIFIED = 0;- See Also:
-
INFO_VALUE
public static final int INFO_VALUEe.g. deprecation warnings and alternative feature highlights.
INFO = 1;- See Also:
-
WARNING_VALUE
public static final int WARNING_VALUEe.g. automated detection of possible issues with the build.
WARNING = 2;- See Also:
-
ALERT_VALUE
public static final int ALERT_VALUEe.g. alerts that a feature used in the build is pending removal
ALERT = 3;- 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
public static com.google.protobuf.Internal.EnumLiteMap<Build.Warning.Priority> 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
public static Build.Warning.Priority 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
-