Enum 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,java.io.Serializable,java.lang.Comparable<InvocationPolicyOuterClass.SetValue.Behavior>
- Enclosing class:
- InvocationPolicyOuterClass.SetValue
public static enum InvocationPolicyOuterClass.SetValue.Behavior extends java.lang.Enum<InvocationPolicyOuterClass.SetValue.Behavior> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumblaze.invocation_policy.SetValue.Behavior
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLOW_OVERRIDESChange the flag value but allow it to be overridden by explicit settings from command line/config expansion/rc files.APPENDAppend a new value for a repeatable flag, leave old values and allow further overrides.FINAL_VALUE_IGNORE_OVERRIDESSet a final value of the flag.UNDEFINEDUNDEFINED = 0;
-
Field Summary
Fields Modifier and Type Field Description static intALLOW_OVERRIDES_VALUEChange the flag value but allow it to be overridden by explicit settings from command line/config expansion/rc files.static intAPPEND_VALUEAppend a new value for a repeatable flag, leave old values and allow further overrides.static intFINAL_VALUE_IGNORE_OVERRIDES_VALUESet a final value of the flag.static intUNDEFINED_VALUEUNDEFINED = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static InvocationPolicyOuterClass.SetValue.BehaviorforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<InvocationPolicyOuterClass.SetValue.Behavior>internalGetValueMap()static InvocationPolicyOuterClass.SetValue.BehaviorvalueOf(int value)Deprecated.static InvocationPolicyOuterClass.SetValue.BehaviorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static InvocationPolicyOuterClass.SetValue.BehaviorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static InvocationPolicyOuterClass.SetValue.Behavior[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDEFINED
public static final InvocationPolicyOuterClass.SetValue.Behavior UNDEFINED
UNDEFINED = 0;
-
ALLOW_OVERRIDES
public static final InvocationPolicyOuterClass.SetValue.Behavior 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
public static final InvocationPolicyOuterClass.SetValue.Behavior 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
public static final InvocationPolicyOuterClass.SetValue.Behavior 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 Detail
-
UNDEFINED_VALUE
public static final int UNDEFINED_VALUE
UNDEFINED = 0;- See Also:
- Constant Field Values
-
ALLOW_OVERRIDES_VALUE
public static final int ALLOW_OVERRIDES_VALUE
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;- See Also:
- Constant Field Values
-
APPEND_VALUE
public static final int APPEND_VALUE
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;- See Also:
- Constant Field Values
-
FINAL_VALUE_IGNORE_OVERRIDES_VALUE
public static final int FINAL_VALUE_IGNORE_OVERRIDES_VALUE
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;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static InvocationPolicyOuterClass.SetValue.Behavior[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (InvocationPolicyOuterClass.SetValue.Behavior c : InvocationPolicyOuterClass.SetValue.Behavior.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InvocationPolicyOuterClass.SetValue.Behavior valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- 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 public static InvocationPolicyOuterClass.SetValue.Behavior valueOf(int value)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static InvocationPolicyOuterClass.SetValue.Behavior forNumber(int value)
- 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 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-