Enum QueryErrorEnum.QueryError

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, java.io.Serializable, java.lang.Comparable<QueryErrorEnum.QueryError>
    Enclosing class:
    QueryErrorEnum

    public static enum QueryErrorEnum.QueryError
    extends java.lang.Enum<QueryErrorEnum.QueryError>
    implements com.google.protobuf.ProtocolMessageEnum
     Enum describing possible query errors.
     
    Protobuf enum google.ads.googleads.v10.errors.QueryErrorEnum.QueryError
    • Enum Constant Detail

      • UNKNOWN

        public static final QueryErrorEnum.QueryError UNKNOWN
         The received error code is not known in this version.
         
        UNKNOWN = 1;
      • QUERY_ERROR

        public static final QueryErrorEnum.QueryError QUERY_ERROR
         Returned if all other query error reasons are not applicable.
         
        QUERY_ERROR = 50;
      • BAD_ENUM_CONSTANT

        public static final QueryErrorEnum.QueryError BAD_ENUM_CONSTANT
         A condition used in the query references an invalid enum constant.
         
        BAD_ENUM_CONSTANT = 18;
      • BAD_ESCAPE_SEQUENCE

        public static final QueryErrorEnum.QueryError BAD_ESCAPE_SEQUENCE
         Query contains an invalid escape sequence.
         
        BAD_ESCAPE_SEQUENCE = 7;
      • BAD_LIMIT_VALUE

        public static final QueryErrorEnum.QueryError BAD_LIMIT_VALUE
         Limit value is invalid (i.e. not a number)
         
        BAD_LIMIT_VALUE = 15;
      • BAD_PARAMETER_NAME

        public static final QueryErrorEnum.QueryError BAD_PARAMETER_NAME
         Parameter unknown or not supported.
         
        BAD_PARAMETER_NAME = 61;
      • BAD_PARAMETER_VALUE

        public static final QueryErrorEnum.QueryError BAD_PARAMETER_VALUE
         Parameter have invalid value.
         
        BAD_PARAMETER_VALUE = 62;
      • BAD_RESOURCE_TYPE_IN_FROM_CLAUSE

        public static final QueryErrorEnum.QueryError BAD_RESOURCE_TYPE_IN_FROM_CLAUSE
         Invalid resource type was specified in the FROM clause.
         
        BAD_RESOURCE_TYPE_IN_FROM_CLAUSE = 45;
      • BAD_SYMBOL

        public static final QueryErrorEnum.QueryError BAD_SYMBOL
         Non-ASCII symbol encountered outside of strings.
         
        BAD_SYMBOL = 2;
      • DATE_RANGE_TOO_WIDE

        public static final QueryErrorEnum.QueryError DATE_RANGE_TOO_WIDE
         Date filters fail to restrict date to a range smaller than 31 days.
         Applicable if the query is segmented by date.
         
        DATE_RANGE_TOO_WIDE = 36;
      • DATE_RANGE_TOO_NARROW

        public static final QueryErrorEnum.QueryError DATE_RANGE_TOO_NARROW
         Filters on date/week/month/quarter have a start date after
         end date.
         
        DATE_RANGE_TOO_NARROW = 60;
      • EXPECTED_AND

        public static final QueryErrorEnum.QueryError EXPECTED_AND
         Expected AND between values with BETWEEN operator.
         
        EXPECTED_AND = 30;
      • EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE

        public static final QueryErrorEnum.QueryError EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE
         There was no dimension field selected.
         
        EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE = 37;
      • EXPECTED_FILTERS_ON_DATE_RANGE

        public static final QueryErrorEnum.QueryError EXPECTED_FILTERS_ON_DATE_RANGE
         Missing filters on date related fields.
         
        EXPECTED_FILTERS_ON_DATE_RANGE = 55;
      • EXPECTED_LIST

        public static final QueryErrorEnum.QueryError EXPECTED_LIST
         The operator used in the conditions requires the value to be a list.
         
        EXPECTED_LIST = 41;
      • EXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSE

        public static final QueryErrorEnum.QueryError EXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSE
         Fields used in WHERE or ORDER BY clauses are missing from the SELECT
         clause.
         
        EXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSE = 16;
      • EXPECTED_SELECT

        public static final QueryErrorEnum.QueryError EXPECTED_SELECT
         SELECT is missing at the beginning of query.
         
        EXPECTED_SELECT = 13;
      • EXPECTED_SINGLE_VALUE

        public static final QueryErrorEnum.QueryError EXPECTED_SINGLE_VALUE
         A list was passed as a value to a condition whose operator expects a
         single value.
         
        EXPECTED_SINGLE_VALUE = 42;
      • EXPECTED_VALUE_WITH_BETWEEN_OPERATOR

        public static final QueryErrorEnum.QueryError EXPECTED_VALUE_WITH_BETWEEN_OPERATOR
         Missing one or both values with BETWEEN operator.
         
        EXPECTED_VALUE_WITH_BETWEEN_OPERATOR = 29;
      • INVALID_DATE_FORMAT

        public static final QueryErrorEnum.QueryError INVALID_DATE_FORMAT
         Invalid date format. Expected 'YYYY-MM-DD'.
         
        INVALID_DATE_FORMAT = 38;
      • MISALIGNED_DATE_FOR_FILTER

        public static final QueryErrorEnum.QueryError MISALIGNED_DATE_FOR_FILTER
         Misaligned date value for the filter. The date should be the start of a
         week/month/quarter if the filtered field is
         segments.week/segments.month/segments.quarter.
         
        MISALIGNED_DATE_FOR_FILTER = 64;
      • INVALID_STRING_VALUE

        public static final QueryErrorEnum.QueryError INVALID_STRING_VALUE
         Value passed was not a string when it should have been. I.e., it was a
         number or unquoted literal.
         
        INVALID_STRING_VALUE = 57;
      • INVALID_VALUE_WITH_BETWEEN_OPERATOR

        public static final QueryErrorEnum.QueryError INVALID_VALUE_WITH_BETWEEN_OPERATOR
         A String value passed to the BETWEEN operator does not parse as a date.
         
        INVALID_VALUE_WITH_BETWEEN_OPERATOR = 26;
      • INVALID_VALUE_WITH_DURING_OPERATOR

        public static final QueryErrorEnum.QueryError INVALID_VALUE_WITH_DURING_OPERATOR
         The value passed to the DURING operator is not a Date range literal
         
        INVALID_VALUE_WITH_DURING_OPERATOR = 22;
      • INVALID_VALUE_WITH_LIKE_OPERATOR

        public static final QueryErrorEnum.QueryError INVALID_VALUE_WITH_LIKE_OPERATOR
         An invalid value was passed to the LIKE operator.
         
        INVALID_VALUE_WITH_LIKE_OPERATOR = 56;
      • OPERATOR_FIELD_MISMATCH

        public static final QueryErrorEnum.QueryError OPERATOR_FIELD_MISMATCH
         An operator was provided that is inapplicable to the field being
         filtered.
         
        OPERATOR_FIELD_MISMATCH = 35;
      • PROHIBITED_EMPTY_LIST_IN_CONDITION

        public static final QueryErrorEnum.QueryError PROHIBITED_EMPTY_LIST_IN_CONDITION
         A Condition was found with an empty list.
         
        PROHIBITED_EMPTY_LIST_IN_CONDITION = 28;
      • PROHIBITED_ENUM_CONSTANT

        public static final QueryErrorEnum.QueryError PROHIBITED_ENUM_CONSTANT
         A condition used in the query references an unsupported enum constant.
         
        PROHIBITED_ENUM_CONSTANT = 54;
      • PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE

        public static final QueryErrorEnum.QueryError PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE
         Fields that are not allowed to be selected together were included in
         the SELECT clause.
         
        PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE = 31;
      • PROHIBITED_FIELD_IN_ORDER_BY_CLAUSE

        public static final QueryErrorEnum.QueryError PROHIBITED_FIELD_IN_ORDER_BY_CLAUSE
         A field that is not orderable was included in the ORDER BY clause.
         
        PROHIBITED_FIELD_IN_ORDER_BY_CLAUSE = 40;
      • PROHIBITED_FIELD_IN_SELECT_CLAUSE

        public static final QueryErrorEnum.QueryError PROHIBITED_FIELD_IN_SELECT_CLAUSE
         A field that is not selectable was included in the SELECT clause.
         
        PROHIBITED_FIELD_IN_SELECT_CLAUSE = 23;
      • PROHIBITED_FIELD_IN_WHERE_CLAUSE

        public static final QueryErrorEnum.QueryError PROHIBITED_FIELD_IN_WHERE_CLAUSE
         A field that is not filterable was included in the WHERE clause.
         
        PROHIBITED_FIELD_IN_WHERE_CLAUSE = 24;
      • PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE

        public static final QueryErrorEnum.QueryError PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE
         Resource type specified in the FROM clause is not supported by this
         service.
         
        PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE = 43;
      • PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE

        public static final QueryErrorEnum.QueryError PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE
         A field that comes from an incompatible resource was included in the
         SELECT clause.
         
        PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE = 48;
      • PROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSE

        public static final QueryErrorEnum.QueryError PROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSE
         A field that comes from an incompatible resource was included in the
         WHERE clause.
         
        PROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSE = 58;
      • PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE

        public static final QueryErrorEnum.QueryError PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE
         A metric incompatible with the main resource or other selected
         segmenting resources was included in the SELECT or WHERE clause.
         
        PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE = 49;
      • PROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSE

        public static final QueryErrorEnum.QueryError PROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSE
         A segment incompatible with the main resource or other selected
         segmenting resources was included in the SELECT or WHERE clause.
         
        PROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSE = 51;
      • PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE

        public static final QueryErrorEnum.QueryError PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE
         A segment in the SELECT clause is incompatible with a metric in the
         SELECT or WHERE clause.
         
        PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE = 53;
      • LIMIT_VALUE_TOO_LOW

        public static final QueryErrorEnum.QueryError LIMIT_VALUE_TOO_LOW
         The value passed to the limit clause is too low.
         
        LIMIT_VALUE_TOO_LOW = 25;
      • PROHIBITED_NEWLINE_IN_STRING

        public static final QueryErrorEnum.QueryError PROHIBITED_NEWLINE_IN_STRING
         Query has a string containing a newline character.
         
        PROHIBITED_NEWLINE_IN_STRING = 8;
      • PROHIBITED_VALUE_COMBINATION_IN_LIST

        public static final QueryErrorEnum.QueryError PROHIBITED_VALUE_COMBINATION_IN_LIST
         List contains values of different types.
         
        PROHIBITED_VALUE_COMBINATION_IN_LIST = 10;
      • PROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATOR

        public static final QueryErrorEnum.QueryError PROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATOR
         The values passed to the BETWEEN operator are not of the same type.
         
        PROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATOR = 21;
      • STRING_NOT_TERMINATED

        public static final QueryErrorEnum.QueryError STRING_NOT_TERMINATED
         Query contains unterminated string.
         
        STRING_NOT_TERMINATED = 6;
      • TOO_MANY_SEGMENTS

        public static final QueryErrorEnum.QueryError TOO_MANY_SEGMENTS
         Too many segments are specified in SELECT clause.
         
        TOO_MANY_SEGMENTS = 34;
      • UNEXPECTED_END_OF_QUERY

        public static final QueryErrorEnum.QueryError UNEXPECTED_END_OF_QUERY
         Query is incomplete and cannot be parsed.
         
        UNEXPECTED_END_OF_QUERY = 9;
      • UNEXPECTED_FROM_CLAUSE

        public static final QueryErrorEnum.QueryError UNEXPECTED_FROM_CLAUSE
         FROM clause cannot be specified in this query.
         
        UNEXPECTED_FROM_CLAUSE = 47;
      • UNRECOGNIZED_FIELD

        public static final QueryErrorEnum.QueryError UNRECOGNIZED_FIELD
         Query contains one or more unrecognized fields.
         
        UNRECOGNIZED_FIELD = 32;
      • UNEXPECTED_INPUT

        public static final QueryErrorEnum.QueryError UNEXPECTED_INPUT
         Query has an unexpected extra part.
         
        UNEXPECTED_INPUT = 11;
      • REQUESTED_METRICS_FOR_MANAGER

        public static final QueryErrorEnum.QueryError REQUESTED_METRICS_FOR_MANAGER
         Metrics cannot be requested for a manager account. To retrieve metrics,
         issue separate requests against each client account under the manager
         account.
         
        REQUESTED_METRICS_FOR_MANAGER = 59;
      • FILTER_HAS_TOO_MANY_VALUES

        public static final QueryErrorEnum.QueryError FILTER_HAS_TOO_MANY_VALUES
         The number of values (right-hand-side operands) in a filter exceeds the
         limit.
         
        FILTER_HAS_TOO_MANY_VALUES = 63;
    • Field Detail

      • UNSPECIFIED_VALUE

        public static final int UNSPECIFIED_VALUE
         Name unspecified.
         
        UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • UNKNOWN_VALUE

        public static final int UNKNOWN_VALUE
         The received error code is not known in this version.
         
        UNKNOWN = 1;
        See Also:
        Constant Field Values
      • QUERY_ERROR_VALUE

        public static final int QUERY_ERROR_VALUE
         Returned if all other query error reasons are not applicable.
         
        QUERY_ERROR = 50;
        See Also:
        Constant Field Values
      • BAD_ENUM_CONSTANT_VALUE

        public static final int BAD_ENUM_CONSTANT_VALUE
         A condition used in the query references an invalid enum constant.
         
        BAD_ENUM_CONSTANT = 18;
        See Also:
        Constant Field Values
      • BAD_ESCAPE_SEQUENCE_VALUE

        public static final int BAD_ESCAPE_SEQUENCE_VALUE
         Query contains an invalid escape sequence.
         
        BAD_ESCAPE_SEQUENCE = 7;
        See Also:
        Constant Field Values
      • BAD_FIELD_NAME_VALUE

        public static final int BAD_FIELD_NAME_VALUE
         Field name is invalid.
         
        BAD_FIELD_NAME = 12;
        See Also:
        Constant Field Values
      • BAD_LIMIT_VALUE_VALUE

        public static final int BAD_LIMIT_VALUE_VALUE
         Limit value is invalid (i.e. not a number)
         
        BAD_LIMIT_VALUE = 15;
        See Also:
        Constant Field Values
      • BAD_NUMBER_VALUE

        public static final int BAD_NUMBER_VALUE
         Encountered number can not be parsed.
         
        BAD_NUMBER = 5;
        See Also:
        Constant Field Values
      • BAD_OPERATOR_VALUE

        public static final int BAD_OPERATOR_VALUE
         Invalid operator encountered.
         
        BAD_OPERATOR = 3;
        See Also:
        Constant Field Values
      • BAD_PARAMETER_NAME_VALUE

        public static final int BAD_PARAMETER_NAME_VALUE
         Parameter unknown or not supported.
         
        BAD_PARAMETER_NAME = 61;
        See Also:
        Constant Field Values
      • BAD_PARAMETER_VALUE_VALUE

        public static final int BAD_PARAMETER_VALUE_VALUE
         Parameter have invalid value.
         
        BAD_PARAMETER_VALUE = 62;
        See Also:
        Constant Field Values
      • BAD_RESOURCE_TYPE_IN_FROM_CLAUSE_VALUE

        public static final int BAD_RESOURCE_TYPE_IN_FROM_CLAUSE_VALUE
         Invalid resource type was specified in the FROM clause.
         
        BAD_RESOURCE_TYPE_IN_FROM_CLAUSE = 45;
        See Also:
        Constant Field Values
      • BAD_SYMBOL_VALUE

        public static final int BAD_SYMBOL_VALUE
         Non-ASCII symbol encountered outside of strings.
         
        BAD_SYMBOL = 2;
        See Also:
        Constant Field Values
      • BAD_VALUE_VALUE

        public static final int BAD_VALUE_VALUE
         Value is invalid.
         
        BAD_VALUE = 4;
        See Also:
        Constant Field Values
      • DATE_RANGE_TOO_WIDE_VALUE

        public static final int DATE_RANGE_TOO_WIDE_VALUE
         Date filters fail to restrict date to a range smaller than 31 days.
         Applicable if the query is segmented by date.
         
        DATE_RANGE_TOO_WIDE = 36;
        See Also:
        Constant Field Values
      • DATE_RANGE_TOO_NARROW_VALUE

        public static final int DATE_RANGE_TOO_NARROW_VALUE
         Filters on date/week/month/quarter have a start date after
         end date.
         
        DATE_RANGE_TOO_NARROW = 60;
        See Also:
        Constant Field Values
      • EXPECTED_AND_VALUE

        public static final int EXPECTED_AND_VALUE
         Expected AND between values with BETWEEN operator.
         
        EXPECTED_AND = 30;
        See Also:
        Constant Field Values
      • EXPECTED_BY_VALUE

        public static final int EXPECTED_BY_VALUE
         Expecting ORDER BY to have BY.
         
        EXPECTED_BY = 14;
        See Also:
        Constant Field Values
      • EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE_VALUE

        public static final int EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE_VALUE
         There was no dimension field selected.
         
        EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE = 37;
        See Also:
        Constant Field Values
      • EXPECTED_FILTERS_ON_DATE_RANGE_VALUE

        public static final int EXPECTED_FILTERS_ON_DATE_RANGE_VALUE
         Missing filters on date related fields.
         
        EXPECTED_FILTERS_ON_DATE_RANGE = 55;
        See Also:
        Constant Field Values
      • EXPECTED_FROM_VALUE

        public static final int EXPECTED_FROM_VALUE
         Missing FROM clause.
         
        EXPECTED_FROM = 44;
        See Also:
        Constant Field Values
      • EXPECTED_LIST_VALUE

        public static final int EXPECTED_LIST_VALUE
         The operator used in the conditions requires the value to be a list.
         
        EXPECTED_LIST = 41;
        See Also:
        Constant Field Values
      • EXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSE_VALUE

        public static final int EXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSE_VALUE
         Fields used in WHERE or ORDER BY clauses are missing from the SELECT
         clause.
         
        EXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSE = 16;
        See Also:
        Constant Field Values
      • EXPECTED_SELECT_VALUE

        public static final int EXPECTED_SELECT_VALUE
         SELECT is missing at the beginning of query.
         
        EXPECTED_SELECT = 13;
        See Also:
        Constant Field Values
      • EXPECTED_SINGLE_VALUE_VALUE

        public static final int EXPECTED_SINGLE_VALUE_VALUE
         A list was passed as a value to a condition whose operator expects a
         single value.
         
        EXPECTED_SINGLE_VALUE = 42;
        See Also:
        Constant Field Values
      • EXPECTED_VALUE_WITH_BETWEEN_OPERATOR_VALUE

        public static final int EXPECTED_VALUE_WITH_BETWEEN_OPERATOR_VALUE
         Missing one or both values with BETWEEN operator.
         
        EXPECTED_VALUE_WITH_BETWEEN_OPERATOR = 29;
        See Also:
        Constant Field Values
      • INVALID_DATE_FORMAT_VALUE

        public static final int INVALID_DATE_FORMAT_VALUE
         Invalid date format. Expected 'YYYY-MM-DD'.
         
        INVALID_DATE_FORMAT = 38;
        See Also:
        Constant Field Values
      • MISALIGNED_DATE_FOR_FILTER_VALUE

        public static final int MISALIGNED_DATE_FOR_FILTER_VALUE
         Misaligned date value for the filter. The date should be the start of a
         week/month/quarter if the filtered field is
         segments.week/segments.month/segments.quarter.
         
        MISALIGNED_DATE_FOR_FILTER = 64;
        See Also:
        Constant Field Values
      • INVALID_STRING_VALUE_VALUE

        public static final int INVALID_STRING_VALUE_VALUE
         Value passed was not a string when it should have been. I.e., it was a
         number or unquoted literal.
         
        INVALID_STRING_VALUE = 57;
        See Also:
        Constant Field Values
      • INVALID_VALUE_WITH_BETWEEN_OPERATOR_VALUE

        public static final int INVALID_VALUE_WITH_BETWEEN_OPERATOR_VALUE
         A String value passed to the BETWEEN operator does not parse as a date.
         
        INVALID_VALUE_WITH_BETWEEN_OPERATOR = 26;
        See Also:
        Constant Field Values
      • INVALID_VALUE_WITH_DURING_OPERATOR_VALUE

        public static final int INVALID_VALUE_WITH_DURING_OPERATOR_VALUE
         The value passed to the DURING operator is not a Date range literal
         
        INVALID_VALUE_WITH_DURING_OPERATOR = 22;
        See Also:
        Constant Field Values
      • INVALID_VALUE_WITH_LIKE_OPERATOR_VALUE

        public static final int INVALID_VALUE_WITH_LIKE_OPERATOR_VALUE
         An invalid value was passed to the LIKE operator.
         
        INVALID_VALUE_WITH_LIKE_OPERATOR = 56;
        See Also:
        Constant Field Values
      • OPERATOR_FIELD_MISMATCH_VALUE

        public static final int OPERATOR_FIELD_MISMATCH_VALUE
         An operator was provided that is inapplicable to the field being
         filtered.
         
        OPERATOR_FIELD_MISMATCH = 35;
        See Also:
        Constant Field Values
      • PROHIBITED_EMPTY_LIST_IN_CONDITION_VALUE

        public static final int PROHIBITED_EMPTY_LIST_IN_CONDITION_VALUE
         A Condition was found with an empty list.
         
        PROHIBITED_EMPTY_LIST_IN_CONDITION = 28;
        See Also:
        Constant Field Values
      • PROHIBITED_ENUM_CONSTANT_VALUE

        public static final int PROHIBITED_ENUM_CONSTANT_VALUE
         A condition used in the query references an unsupported enum constant.
         
        PROHIBITED_ENUM_CONSTANT = 54;
        See Also:
        Constant Field Values
      • PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE_VALUE

        public static final int PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE_VALUE
         Fields that are not allowed to be selected together were included in
         the SELECT clause.
         
        PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE = 31;
        See Also:
        Constant Field Values
      • PROHIBITED_FIELD_IN_ORDER_BY_CLAUSE_VALUE

        public static final int PROHIBITED_FIELD_IN_ORDER_BY_CLAUSE_VALUE
         A field that is not orderable was included in the ORDER BY clause.
         
        PROHIBITED_FIELD_IN_ORDER_BY_CLAUSE = 40;
        See Also:
        Constant Field Values
      • PROHIBITED_FIELD_IN_SELECT_CLAUSE_VALUE

        public static final int PROHIBITED_FIELD_IN_SELECT_CLAUSE_VALUE
         A field that is not selectable was included in the SELECT clause.
         
        PROHIBITED_FIELD_IN_SELECT_CLAUSE = 23;
        See Also:
        Constant Field Values
      • PROHIBITED_FIELD_IN_WHERE_CLAUSE_VALUE

        public static final int PROHIBITED_FIELD_IN_WHERE_CLAUSE_VALUE
         A field that is not filterable was included in the WHERE clause.
         
        PROHIBITED_FIELD_IN_WHERE_CLAUSE = 24;
        See Also:
        Constant Field Values
      • PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE_VALUE

        public static final int PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE_VALUE
         Resource type specified in the FROM clause is not supported by this
         service.
         
        PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE = 43;
        See Also:
        Constant Field Values
      • PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE_VALUE

        public static final int PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE_VALUE
         A field that comes from an incompatible resource was included in the
         SELECT clause.
         
        PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE = 48;
        See Also:
        Constant Field Values
      • PROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSE_VALUE

        public static final int PROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSE_VALUE
         A field that comes from an incompatible resource was included in the
         WHERE clause.
         
        PROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSE = 58;
        See Also:
        Constant Field Values
      • PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE_VALUE

        public static final int PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE_VALUE
         A metric incompatible with the main resource or other selected
         segmenting resources was included in the SELECT or WHERE clause.
         
        PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE = 49;
        See Also:
        Constant Field Values
      • PROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSE_VALUE

        public static final int PROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSE_VALUE
         A segment incompatible with the main resource or other selected
         segmenting resources was included in the SELECT or WHERE clause.
         
        PROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSE = 51;
        See Also:
        Constant Field Values
      • PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE_VALUE

        public static final int PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE_VALUE
         A segment in the SELECT clause is incompatible with a metric in the
         SELECT or WHERE clause.
         
        PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE = 53;
        See Also:
        Constant Field Values
      • LIMIT_VALUE_TOO_LOW_VALUE

        public static final int LIMIT_VALUE_TOO_LOW_VALUE
         The value passed to the limit clause is too low.
         
        LIMIT_VALUE_TOO_LOW = 25;
        See Also:
        Constant Field Values
      • PROHIBITED_NEWLINE_IN_STRING_VALUE

        public static final int PROHIBITED_NEWLINE_IN_STRING_VALUE
         Query has a string containing a newline character.
         
        PROHIBITED_NEWLINE_IN_STRING = 8;
        See Also:
        Constant Field Values
      • PROHIBITED_VALUE_COMBINATION_IN_LIST_VALUE

        public static final int PROHIBITED_VALUE_COMBINATION_IN_LIST_VALUE
         List contains values of different types.
         
        PROHIBITED_VALUE_COMBINATION_IN_LIST = 10;
        See Also:
        Constant Field Values
      • PROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATOR_VALUE

        public static final int PROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATOR_VALUE
         The values passed to the BETWEEN operator are not of the same type.
         
        PROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATOR = 21;
        See Also:
        Constant Field Values
      • STRING_NOT_TERMINATED_VALUE

        public static final int STRING_NOT_TERMINATED_VALUE
         Query contains unterminated string.
         
        STRING_NOT_TERMINATED = 6;
        See Also:
        Constant Field Values
      • TOO_MANY_SEGMENTS_VALUE

        public static final int TOO_MANY_SEGMENTS_VALUE
         Too many segments are specified in SELECT clause.
         
        TOO_MANY_SEGMENTS = 34;
        See Also:
        Constant Field Values
      • UNEXPECTED_END_OF_QUERY_VALUE

        public static final int UNEXPECTED_END_OF_QUERY_VALUE
         Query is incomplete and cannot be parsed.
         
        UNEXPECTED_END_OF_QUERY = 9;
        See Also:
        Constant Field Values
      • UNEXPECTED_FROM_CLAUSE_VALUE

        public static final int UNEXPECTED_FROM_CLAUSE_VALUE
         FROM clause cannot be specified in this query.
         
        UNEXPECTED_FROM_CLAUSE = 47;
        See Also:
        Constant Field Values
      • UNRECOGNIZED_FIELD_VALUE

        public static final int UNRECOGNIZED_FIELD_VALUE
         Query contains one or more unrecognized fields.
         
        UNRECOGNIZED_FIELD = 32;
        See Also:
        Constant Field Values
      • UNEXPECTED_INPUT_VALUE

        public static final int UNEXPECTED_INPUT_VALUE
         Query has an unexpected extra part.
         
        UNEXPECTED_INPUT = 11;
        See Also:
        Constant Field Values
      • REQUESTED_METRICS_FOR_MANAGER_VALUE

        public static final int REQUESTED_METRICS_FOR_MANAGER_VALUE
         Metrics cannot be requested for a manager account. To retrieve metrics,
         issue separate requests against each client account under the manager
         account.
         
        REQUESTED_METRICS_FOR_MANAGER = 59;
        See Also:
        Constant Field Values
      • FILTER_HAS_TOO_MANY_VALUES_VALUE

        public static final int FILTER_HAS_TOO_MANY_VALUES_VALUE
         The number of values (right-hand-side operands) in a filter exceeds the
         limit.
         
        FILTER_HAS_TOO_MANY_VALUES = 63;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static QueryErrorEnum.QueryError[] 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 (QueryErrorEnum.QueryError c : QueryErrorEnum.QueryError.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static QueryErrorEnum.QueryError 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 name
        java.lang.NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static QueryErrorEnum.QueryError 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 name
        java.lang.NullPointerException - if the argument is null
      • forNumber

        public static QueryErrorEnum.QueryError 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<QueryErrorEnum.QueryError> internalGetValueMap()
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static QueryErrorEnum.QueryError 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 name
        java.lang.NullPointerException - if the argument is null