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

    Modifier and Type
    Method
    Description
    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.
    com.google.protobuf.ByteString
    It is an error for the user to use any value not in this list, unless new_value or use_default is set.
    int
    It is an error for the user to use any value not in this list, unless new_value or use_default is set.
    It is an error for the user to use any value not in this list, 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

    • getAllowedValuesList

      List<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

      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

      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