Interface InvocationPolicyOuterClass.AllowValuesOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InvocationPolicyOuterClass.AllowValues,InvocationPolicyOuterClass.AllowValues.Builder
- Enclosing class:
- InvocationPolicyOuterClass
public static interface InvocationPolicyOuterClass.AllowValuesOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetAllowedValues(int index)It is an error for the user to use any value not in this list, unless new_value or use_default is set.com.google.protobuf.ByteStringgetAllowedValuesBytes(int index)It is an error for the user to use any value not in this list, unless new_value or use_default is set.intgetAllowedValuesCount()It is an error for the user to use any value not in this list, unless new_value or use_default is set.java.util.List<java.lang.String>getAllowedValuesList()It is an error for the user to use any value not in this list, unless new_value or use_default is set.java.lang.StringgetNewValue()If set and if the value of the flag is disallowed (including the default value of the flag if the user doesn't specify a value), use this value as the value of the flag instead of raising an error.com.google.protobuf.ByteStringgetNewValueBytes()If set and if the value of the flag is disallowed (including the default value of the flag if the user doesn't specify a value), use this value as the value of the flag instead of raising an error.InvocationPolicyOuterClass.AllowValues.ReplacementValueCasegetReplacementValueCase()InvocationPolicyOuterClass.UseDefaultgetUseDefault()If set and if the value of the flag is disallowed, use the default value of the flag instead of raising an error.InvocationPolicyOuterClass.UseDefaultOrBuildergetUseDefaultOrBuilder()If set and if the value of the flag is disallowed, use the default value of the flag instead of raising an error.booleanhasNewValue()If set and if the value of the flag is disallowed (including the default value of the flag if the user doesn't specify a value), use this value as the value of the flag instead of raising an error.booleanhasUseDefault()If set and if the value of the flag is disallowed, use the default value of the flag instead of raising an error.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAllowedValuesList
java.util.List<java.lang.String> getAllowedValuesList()
It is an error for the user to use any value not in this list, unless new_value or use_default is set.
repeated string allowed_values = 1;- Returns:
- A list containing the allowedValues.
-
getAllowedValuesCount
int getAllowedValuesCount()
It is an error for the user to use any value not in this list, unless new_value or use_default is set.
repeated string allowed_values = 1;- Returns:
- The count of allowedValues.
-
getAllowedValues
java.lang.String getAllowedValues(int index)
It is an error for the user to use any value not in this list, unless new_value or use_default is set.
repeated string allowed_values = 1;- Parameters:
index- The index of the element to return.- Returns:
- The allowedValues at the given index.
-
getAllowedValuesBytes
com.google.protobuf.ByteString getAllowedValuesBytes(int index)
It is an error for the user to use any value not in this list, unless new_value or use_default is set.
repeated string allowed_values = 1;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the allowedValues at the given index.
-
hasNewValue
boolean hasNewValue()
If set and if the value of the flag is disallowed (including the default value of the flag if the user doesn't specify a value), use this value as the value of the flag instead of raising an error. This does not apply to repeatable flags and is ignored if the flag is a repeatable flag.
string new_value = 3;- Returns:
- Whether the newValue field is set.
-
getNewValue
java.lang.String getNewValue()
If set and if the value of the flag is disallowed (including the default value of the flag if the user doesn't specify a value), use this value as the value of the flag instead of raising an error. This does not apply to repeatable flags and is ignored if the flag is a repeatable flag.
string new_value = 3;- Returns:
- The newValue.
-
getNewValueBytes
com.google.protobuf.ByteString getNewValueBytes()
If set and if the value of the flag is disallowed (including the default value of the flag if the user doesn't specify a value), use this value as the value of the flag instead of raising an error. This does not apply to repeatable flags and is ignored if the flag is a repeatable flag.
string new_value = 3;- Returns:
- The bytes for newValue.
-
hasUseDefault
boolean hasUseDefault()
If set and if the value of the flag is disallowed, use the default value of the flag instead of raising an error. Unlike new_value, this works for repeatable flags, but note that the default value for repeatable flags is always empty. Note that it is an error to disallow the default value of the flag and to set use_default, unless the flag is a repeatable flag where the default value is always the empty list.
.blaze.invocation_policy.UseDefault use_default = 4;- Returns:
- Whether the useDefault field is set.
-
getUseDefault
InvocationPolicyOuterClass.UseDefault getUseDefault()
If set and if the value of the flag is disallowed, use the default value of the flag instead of raising an error. Unlike new_value, this works for repeatable flags, but note that the default value for repeatable flags is always empty. Note that it is an error to disallow the default value of the flag and to set use_default, unless the flag is a repeatable flag where the default value is always the empty list.
.blaze.invocation_policy.UseDefault use_default = 4;- Returns:
- The useDefault.
-
getUseDefaultOrBuilder
InvocationPolicyOuterClass.UseDefaultOrBuilder getUseDefaultOrBuilder()
If set and if the value of the flag is disallowed, use the default value of the flag instead of raising an error. Unlike new_value, this works for repeatable flags, but note that the default value for repeatable flags is always empty. Note that it is an error to disallow the default value of the flag and to set use_default, unless the flag is a repeatable flag where the default value is always the empty list.
.blaze.invocation_policy.UseDefault use_default = 4;
-
getReplacementValueCase
InvocationPolicyOuterClass.AllowValues.ReplacementValueCase getReplacementValueCase()
-
-