Enum Class InvocationPolicyOuterClass.SetValue.Behavior
java.lang.Object
java.lang.Enum<InvocationPolicyOuterClass.SetValue.Behavior>
com.google.devtools.build.lib.runtime.proto.InvocationPolicyOuterClass.SetValue.Behavior
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<InvocationPolicyOuterClass.SetValue.Behavior>,Constable
- Enclosing class:
- InvocationPolicyOuterClass.SetValue
public static enum InvocationPolicyOuterClass.SetValue.Behavior
extends Enum<InvocationPolicyOuterClass.SetValue.Behavior>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
blaze.invocation_policy.SetValue.Behavior-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionChange the flag value but allow it to be overridden by explicit settings from command line/config expansion/rc files.Append a new value for a repeatable flag, leave old values and allow further overrides.Set a final value of the flag.UNDEFINED = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intChange the flag value but allow it to be overridden by explicit settings from command line/config expansion/rc files.static final intAppend a new value for a repeatable flag, leave old values and allow further overrides.static final intSet a final value of the flag.static final intUNDEFINED = 0; -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<InvocationPolicyOuterClass.SetValue.Behavior>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNDEFINED
UNDEFINED = 0; -
ALLOW_OVERRIDES
Change the flag value but allow it to be overridden by explicit settings from command line/config expansion/rc files. Matching old flag values: append = false, overridable = true.
ALLOW_OVERRIDES = 1; -
APPEND
Append a new value for a repeatable flag, leave old values and allow further overrides. Matching old flag values: append = true, overridable = false.
APPEND = 2; -
FINAL_VALUE_IGNORE_OVERRIDES
Set a final value of the flag. Any overrides provided by the user for this flag will be ignored. Matching old flag values: append = false, overridable = false.
FINAL_VALUE_IGNORE_OVERRIDES = 3;
-
-
Field Details
-
UNDEFINED_VALUE
public static final int UNDEFINED_VALUEUNDEFINED = 0;- See Also:
-
ALLOW_OVERRIDES_VALUE
public static final int ALLOW_OVERRIDES_VALUEChange the flag value but allow it to be overridden by explicit settings from command line/config expansion/rc files. Matching old flag values: append = false, overridable = true.
ALLOW_OVERRIDES = 1;- See Also:
-
APPEND_VALUE
public static final int APPEND_VALUEAppend a new value for a repeatable flag, leave old values and allow further overrides. Matching old flag values: append = true, overridable = false.
APPEND = 2;- See Also:
-
FINAL_VALUE_IGNORE_OVERRIDES_VALUE
public static final int FINAL_VALUE_IGNORE_OVERRIDES_VALUESet a final value of the flag. Any overrides provided by the user for this flag will be ignored. Matching old flag values: append = false, overridable = false.
FINAL_VALUE_IGNORE_OVERRIDES = 3;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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 class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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<InvocationPolicyOuterClass.SetValue.Behavior> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static InvocationPolicyOuterClass.SetValue.Behavior valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-