Interface InvocationPolicyOuterClass.DisallowValuesOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
InvocationPolicyOuterClass.DisallowValues, InvocationPolicyOuterClass.DisallowValues.Builder
Enclosing class:
InvocationPolicyOuterClass

public static interface InvocationPolicyOuterClass.DisallowValuesOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    It is an error for the user to use any of these values (that is, the Bazel command will fail), unless new_value or use_default is set.
    com.google.protobuf.ByteString
    It is an error for the user to use any of these values (that is, the Bazel command will fail), unless new_value or use_default is set.
    int
    It is an error for the user to use any of these values (that is, the Bazel command will fail), unless new_value or use_default is set.
    It is an error for the user to use any of these values (that is, the Bazel command will fail), unless new_value or use_default is set.
    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.ByteString
    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.
     
    If set and if the value of the flag is disallowed, use the default value of the flag instead of raising an error.
    If set and if the value of the flag is disallowed, use the default value of the flag instead of raising an error.
    boolean
    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.
    boolean
    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.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDisallowedValuesList

      List<String> getDisallowedValuesList()
       It is an error for the user to use any of these values (that is, the Bazel
       command will fail), unless new_value or use_default is set.
      
       For repeatable flags, if any one of the values in the flag matches a value
       in the list of disallowed values, an error is thrown.
      
       Care must be taken for flags with complicated converters. For example,
       it's possible for a repeated flag to be of type List<List<T>>, so that
       "--foo=a,b --foo=c,d" results in foo=[["a","b"], ["c", "d"]]. In this case,
       it is not possible to disallow just "b", nor will ["b", "a"] match, nor
       will ["b", "c"] (but ["a", "b"] will still match).
       
      repeated string disallowed_values = 1;
      Returns:
      A list containing the disallowedValues.
    • getDisallowedValuesCount

      int getDisallowedValuesCount()
       It is an error for the user to use any of these values (that is, the Bazel
       command will fail), unless new_value or use_default is set.
      
       For repeatable flags, if any one of the values in the flag matches a value
       in the list of disallowed values, an error is thrown.
      
       Care must be taken for flags with complicated converters. For example,
       it's possible for a repeated flag to be of type List<List<T>>, so that
       "--foo=a,b --foo=c,d" results in foo=[["a","b"], ["c", "d"]]. In this case,
       it is not possible to disallow just "b", nor will ["b", "a"] match, nor
       will ["b", "c"] (but ["a", "b"] will still match).
       
      repeated string disallowed_values = 1;
      Returns:
      The count of disallowedValues.
    • getDisallowedValues

      String getDisallowedValues(int index)
       It is an error for the user to use any of these values (that is, the Bazel
       command will fail), unless new_value or use_default is set.
      
       For repeatable flags, if any one of the values in the flag matches a value
       in the list of disallowed values, an error is thrown.
      
       Care must be taken for flags with complicated converters. For example,
       it's possible for a repeated flag to be of type List<List<T>>, so that
       "--foo=a,b --foo=c,d" results in foo=[["a","b"], ["c", "d"]]. In this case,
       it is not possible to disallow just "b", nor will ["b", "a"] match, nor
       will ["b", "c"] (but ["a", "b"] will still match).
       
      repeated string disallowed_values = 1;
      Parameters:
      index - The index of the element to return.
      Returns:
      The disallowedValues at the given index.
    • getDisallowedValuesBytes

      com.google.protobuf.ByteString getDisallowedValuesBytes(int index)
       It is an error for the user to use any of these values (that is, the Bazel
       command will fail), unless new_value or use_default is set.
      
       For repeatable flags, if any one of the values in the flag matches a value
       in the list of disallowed values, an error is thrown.
      
       Care must be taken for flags with complicated converters. For example,
       it's possible for a repeated flag to be of type List<List<T>>, so that
       "--foo=a,b --foo=c,d" results in foo=[["a","b"], ["c", "d"]]. In this case,
       it is not possible to disallow just "b", nor will ["b", "a"] match, nor
       will ["b", "c"] (but ["a", "b"] will still match).
       
      repeated string disallowed_values = 1;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the disallowedValues 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

      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

       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

       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