Enum QueryErrorEnum.QueryError
- java.lang.Object
-
- java.lang.Enum<QueryErrorEnum.QueryError>
-
- com.google.ads.googleads.v10.errors.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 enumgoogle.ads.googleads.v10.errors.QueryErrorEnum.QueryError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BAD_ENUM_CONSTANTA condition used in the query references an invalid enum constant.BAD_ESCAPE_SEQUENCEQuery contains an invalid escape sequence.BAD_FIELD_NAMEField name is invalid.BAD_LIMIT_VALUELimit value is invalid (i.e.BAD_NUMBEREncountered number can not be parsed.BAD_OPERATORInvalid operator encountered.BAD_PARAMETER_NAMEParameter unknown or not supported.BAD_PARAMETER_VALUEParameter have invalid value.BAD_RESOURCE_TYPE_IN_FROM_CLAUSEInvalid resource type was specified in the FROM clause.BAD_SYMBOLNon-ASCII symbol encountered outside of strings.BAD_VALUEValue is invalid.DATE_RANGE_TOO_NARROWFilters on date/week/month/quarter have a start date after end date.DATE_RANGE_TOO_WIDEDate filters fail to restrict date to a range smaller than 31 days.EXPECTED_ANDExpected AND between values with BETWEEN operator.EXPECTED_BYExpecting ORDER BY to have BY.EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSEThere was no dimension field selected.EXPECTED_FILTERS_ON_DATE_RANGEMissing filters on date related fields.EXPECTED_FROMMissing FROM clause.EXPECTED_LISTThe operator used in the conditions requires the value to be a list.EXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSEFields used in WHERE or ORDER BY clauses are missing from the SELECT clause.EXPECTED_SELECTSELECT is missing at the beginning of query.EXPECTED_SINGLE_VALUEA list was passed as a value to a condition whose operator expects a single value.EXPECTED_VALUE_WITH_BETWEEN_OPERATORMissing one or both values with BETWEEN operator.FILTER_HAS_TOO_MANY_VALUESThe number of values (right-hand-side operands) in a filter exceeds the limit.INVALID_DATE_FORMATInvalid date format.INVALID_STRING_VALUEValue passed was not a string when it should have been.INVALID_VALUE_WITH_BETWEEN_OPERATORA String value passed to the BETWEEN operator does not parse as a date.INVALID_VALUE_WITH_DURING_OPERATORThe value passed to the DURING operator is not a Date range literalINVALID_VALUE_WITH_LIKE_OPERATORAn invalid value was passed to the LIKE operator.LIMIT_VALUE_TOO_LOWThe value passed to the limit clause is too low.MISALIGNED_DATE_FOR_FILTERMisaligned date value for the filter.OPERATOR_FIELD_MISMATCHAn operator was provided that is inapplicable to the field being filtered.PROHIBITED_EMPTY_LIST_IN_CONDITIONA Condition was found with an empty list.PROHIBITED_ENUM_CONSTANTA condition used in the query references an unsupported enum constant.PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSEFields that are not allowed to be selected together were included in the SELECT clause.PROHIBITED_FIELD_IN_ORDER_BY_CLAUSEA field that is not orderable was included in the ORDER BY clause.PROHIBITED_FIELD_IN_SELECT_CLAUSEA field that is not selectable was included in the SELECT clause.PROHIBITED_FIELD_IN_WHERE_CLAUSEA field that is not filterable was included in the WHERE clause.PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSEA metric incompatible with the main resource or other selected segmenting resources was included in the SELECT or WHERE clause.PROHIBITED_NEWLINE_IN_STRINGQuery has a string containing a newline character.PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSEResource type specified in the FROM clause is not supported by this service.PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSEA field that comes from an incompatible resource was included in the SELECT clause.PROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSEA field that comes from an incompatible resource was included in the WHERE clause.PROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSEA segment incompatible with the main resource or other selected segmenting resources was included in the SELECT or WHERE clause.PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSEA segment in the SELECT clause is incompatible with a metric in the SELECT or WHERE clause.PROHIBITED_VALUE_COMBINATION_IN_LISTList contains values of different types.PROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATORThe values passed to the BETWEEN operator are not of the same type.QUERY_ERRORReturned if all other query error reasons are not applicable.REQUESTED_METRICS_FOR_MANAGERMetrics cannot be requested for a manager account.STRING_NOT_TERMINATEDQuery contains unterminated string.TOO_MANY_SEGMENTSToo many segments are specified in SELECT clause.UNEXPECTED_END_OF_QUERYQuery is incomplete and cannot be parsed.UNEXPECTED_FROM_CLAUSEFROM clause cannot be specified in this query.UNEXPECTED_INPUTQuery has an unexpected extra part.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNRECOGNIZED_FIELDQuery contains one or more unrecognized fields.UNSPECIFIEDName unspecified.
-
Field Summary
Fields Modifier and Type Field Description static intBAD_ENUM_CONSTANT_VALUEA condition used in the query references an invalid enum constant.static intBAD_ESCAPE_SEQUENCE_VALUEQuery contains an invalid escape sequence.static intBAD_FIELD_NAME_VALUEField name is invalid.static intBAD_LIMIT_VALUE_VALUELimit value is invalid (i.e.static intBAD_NUMBER_VALUEEncountered number can not be parsed.static intBAD_OPERATOR_VALUEInvalid operator encountered.static intBAD_PARAMETER_NAME_VALUEParameter unknown or not supported.static intBAD_PARAMETER_VALUE_VALUEParameter have invalid value.static intBAD_RESOURCE_TYPE_IN_FROM_CLAUSE_VALUEInvalid resource type was specified in the FROM clause.static intBAD_SYMBOL_VALUENon-ASCII symbol encountered outside of strings.static intBAD_VALUE_VALUEValue is invalid.static intDATE_RANGE_TOO_NARROW_VALUEFilters on date/week/month/quarter have a start date after end date.static intDATE_RANGE_TOO_WIDE_VALUEDate filters fail to restrict date to a range smaller than 31 days.static intEXPECTED_AND_VALUEExpected AND between values with BETWEEN operator.static intEXPECTED_BY_VALUEExpecting ORDER BY to have BY.static intEXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE_VALUEThere was no dimension field selected.static intEXPECTED_FILTERS_ON_DATE_RANGE_VALUEMissing filters on date related fields.static intEXPECTED_FROM_VALUEMissing FROM clause.static intEXPECTED_LIST_VALUEThe operator used in the conditions requires the value to be a list.static intEXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSE_VALUEFields used in WHERE or ORDER BY clauses are missing from the SELECT clause.static intEXPECTED_SELECT_VALUESELECT is missing at the beginning of query.static intEXPECTED_SINGLE_VALUE_VALUEA list was passed as a value to a condition whose operator expects a single value.static intEXPECTED_VALUE_WITH_BETWEEN_OPERATOR_VALUEMissing one or both values with BETWEEN operator.static intFILTER_HAS_TOO_MANY_VALUES_VALUEThe number of values (right-hand-side operands) in a filter exceeds the limit.static intINVALID_DATE_FORMAT_VALUEInvalid date format.static intINVALID_STRING_VALUE_VALUEValue passed was not a string when it should have been.static intINVALID_VALUE_WITH_BETWEEN_OPERATOR_VALUEA String value passed to the BETWEEN operator does not parse as a date.static intINVALID_VALUE_WITH_DURING_OPERATOR_VALUEThe value passed to the DURING operator is not a Date range literalstatic intINVALID_VALUE_WITH_LIKE_OPERATOR_VALUEAn invalid value was passed to the LIKE operator.static intLIMIT_VALUE_TOO_LOW_VALUEThe value passed to the limit clause is too low.static intMISALIGNED_DATE_FOR_FILTER_VALUEMisaligned date value for the filter.static intOPERATOR_FIELD_MISMATCH_VALUEAn operator was provided that is inapplicable to the field being filtered.static intPROHIBITED_EMPTY_LIST_IN_CONDITION_VALUEA Condition was found with an empty list.static intPROHIBITED_ENUM_CONSTANT_VALUEA condition used in the query references an unsupported enum constant.static intPROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE_VALUEFields that are not allowed to be selected together were included in the SELECT clause.static intPROHIBITED_FIELD_IN_ORDER_BY_CLAUSE_VALUEA field that is not orderable was included in the ORDER BY clause.static intPROHIBITED_FIELD_IN_SELECT_CLAUSE_VALUEA field that is not selectable was included in the SELECT clause.static intPROHIBITED_FIELD_IN_WHERE_CLAUSE_VALUEA field that is not filterable was included in the WHERE clause.static intPROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE_VALUEA metric incompatible with the main resource or other selected segmenting resources was included in the SELECT or WHERE clause.static intPROHIBITED_NEWLINE_IN_STRING_VALUEQuery has a string containing a newline character.static intPROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE_VALUEResource type specified in the FROM clause is not supported by this service.static intPROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE_VALUEA field that comes from an incompatible resource was included in the SELECT clause.static intPROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSE_VALUEA field that comes from an incompatible resource was included in the WHERE clause.static intPROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSE_VALUEA segment incompatible with the main resource or other selected segmenting resources was included in the SELECT or WHERE clause.static intPROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE_VALUEA segment in the SELECT clause is incompatible with a metric in the SELECT or WHERE clause.static intPROHIBITED_VALUE_COMBINATION_IN_LIST_VALUEList contains values of different types.static intPROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATOR_VALUEThe values passed to the BETWEEN operator are not of the same type.static intQUERY_ERROR_VALUEReturned if all other query error reasons are not applicable.static intREQUESTED_METRICS_FOR_MANAGER_VALUEMetrics cannot be requested for a manager account.static intSTRING_NOT_TERMINATED_VALUEQuery contains unterminated string.static intTOO_MANY_SEGMENTS_VALUEToo many segments are specified in SELECT clause.static intUNEXPECTED_END_OF_QUERY_VALUEQuery is incomplete and cannot be parsed.static intUNEXPECTED_FROM_CLAUSE_VALUEFROM clause cannot be specified in this query.static intUNEXPECTED_INPUT_VALUEQuery has an unexpected extra part.static intUNKNOWN_VALUEThe received error code is not known in this version.static intUNRECOGNIZED_FIELD_VALUEQuery contains one or more unrecognized fields.static intUNSPECIFIED_VALUEName unspecified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static QueryErrorEnum.QueryErrorforNumber(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<QueryErrorEnum.QueryError>internalGetValueMap()static QueryErrorEnum.QueryErrorvalueOf(int value)Deprecated.static QueryErrorEnum.QueryErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static QueryErrorEnum.QueryErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static QueryErrorEnum.QueryError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final QueryErrorEnum.QueryError UNSPECIFIED
Name unspecified.
UNSPECIFIED = 0;
-
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_FIELD_NAME
public static final QueryErrorEnum.QueryError BAD_FIELD_NAME
Field name is invalid.
BAD_FIELD_NAME = 12;
-
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_NUMBER
public static final QueryErrorEnum.QueryError BAD_NUMBER
Encountered number can not be parsed.
BAD_NUMBER = 5;
-
BAD_OPERATOR
public static final QueryErrorEnum.QueryError BAD_OPERATOR
Invalid operator encountered.
BAD_OPERATOR = 3;
-
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;
-
BAD_VALUE
public static final QueryErrorEnum.QueryError BAD_VALUE
Value is invalid.
BAD_VALUE = 4;
-
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_BY
public static final QueryErrorEnum.QueryError EXPECTED_BY
Expecting ORDER BY to have BY.
EXPECTED_BY = 14;
-
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_FROM
public static final QueryErrorEnum.QueryError EXPECTED_FROM
Missing FROM clause.
EXPECTED_FROM = 44;
-
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;
-
UNRECOGNIZED
public static final QueryErrorEnum.QueryError UNRECOGNIZED
-
-
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 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 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 namejava.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:
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 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 namejava.lang.NullPointerException- if the argument is null
-
-