All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.ads.googleads.v17.errors.QueryErrorEnum Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/ads/googleads/v17/errors/query_error.proto

// Protobuf Java Version: 3.25.3
package com.google.ads.googleads.v17.errors;

/**
 * 
 * Container for enum describing possible query errors.
 * 
* * Protobuf type {@code google.ads.googleads.v17.errors.QueryErrorEnum} */ public final class QueryErrorEnum extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.ads.googleads.v17.errors.QueryErrorEnum) QueryErrorEnumOrBuilder { private static final long serialVersionUID = 0L; // Use QueryErrorEnum.newBuilder() to construct. private QueryErrorEnum(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryErrorEnum() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryErrorEnum(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.errors.QueryErrorProto.internal_static_google_ads_googleads_v17_errors_QueryErrorEnum_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v17.errors.QueryErrorProto.internal_static_google_ads_googleads_v17_errors_QueryErrorEnum_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.errors.QueryErrorEnum.class, com.google.ads.googleads.v17.errors.QueryErrorEnum.Builder.class); } /** *
   * Enum describing possible query errors.
   * 
* * Protobuf enum {@code google.ads.googleads.v17.errors.QueryErrorEnum.QueryError} */ public enum QueryError implements com.google.protobuf.ProtocolMessageEnum { /** *
     * Name unspecified.
     * 
* * UNSPECIFIED = 0; */ UNSPECIFIED(0), /** *
     * The received error code is not known in this version.
     * 
* * UNKNOWN = 1; */ UNKNOWN(1), /** *
     * Returned if all other query error reasons are not applicable.
     * 
* * QUERY_ERROR = 50; */ QUERY_ERROR(50), /** *
     * A condition used in the query references an invalid enum constant.
     * 
* * BAD_ENUM_CONSTANT = 18; */ BAD_ENUM_CONSTANT(18), /** *
     * Query contains an invalid escape sequence.
     * 
* * BAD_ESCAPE_SEQUENCE = 7; */ BAD_ESCAPE_SEQUENCE(7), /** *
     * Field name is invalid.
     * 
* * BAD_FIELD_NAME = 12; */ BAD_FIELD_NAME(12), /** *
     * Limit value is invalid (for example, not a number)
     * 
* * BAD_LIMIT_VALUE = 15; */ BAD_LIMIT_VALUE(15), /** *
     * Encountered number can not be parsed.
     * 
* * BAD_NUMBER = 5; */ BAD_NUMBER(5), /** *
     * Invalid operator encountered.
     * 
* * BAD_OPERATOR = 3; */ BAD_OPERATOR(3), /** *
     * Parameter unknown or not supported.
     * 
* * BAD_PARAMETER_NAME = 61; */ BAD_PARAMETER_NAME(61), /** *
     * Parameter have invalid value.
     * 
* * BAD_PARAMETER_VALUE = 62; */ BAD_PARAMETER_VALUE(62), /** *
     * Invalid resource type was specified in the FROM clause.
     * 
* * BAD_RESOURCE_TYPE_IN_FROM_CLAUSE = 45; */ BAD_RESOURCE_TYPE_IN_FROM_CLAUSE(45), /** *
     * Non-ASCII symbol encountered outside of strings.
     * 
* * BAD_SYMBOL = 2; */ BAD_SYMBOL(2), /** *
     * Value is invalid.
     * 
* * BAD_VALUE = 4; */ BAD_VALUE(4), /** *
     * 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_WIDE(36), /** *
     * Filters on date/week/month/quarter have a start date after
     * end date.
     * 
* * DATE_RANGE_TOO_NARROW = 60; */ DATE_RANGE_TOO_NARROW(60), /** *
     * Expected AND between values with BETWEEN operator.
     * 
* * EXPECTED_AND = 30; */ EXPECTED_AND(30), /** *
     * Expecting ORDER BY to have BY.
     * 
* * EXPECTED_BY = 14; */ EXPECTED_BY(14), /** *
     * There was no dimension field selected.
     * 
* * EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE = 37; */ EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE(37), /** *
     * Missing filters on date related fields.
     * 
* * EXPECTED_FILTERS_ON_DATE_RANGE = 55; */ EXPECTED_FILTERS_ON_DATE_RANGE(55), /** *
     * Missing FROM clause.
     * 
* * EXPECTED_FROM = 44; */ EXPECTED_FROM(44), /** *
     * The operator used in the conditions requires the value to be a list.
     * 
* * EXPECTED_LIST = 41; */ EXPECTED_LIST(41), /** *
     * Fields used in WHERE or ORDER BY clauses are missing from the SELECT
     * clause.
     * 
* * EXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSE = 16; */ EXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSE(16), /** *
     * SELECT is missing at the beginning of query.
     * 
* * EXPECTED_SELECT = 13; */ EXPECTED_SELECT(13), /** *
     * A list was passed as a value to a condition whose operator expects a
     * single value.
     * 
* * EXPECTED_SINGLE_VALUE = 42; */ EXPECTED_SINGLE_VALUE(42), /** *
     * Missing one or both values with BETWEEN operator.
     * 
* * EXPECTED_VALUE_WITH_BETWEEN_OPERATOR = 29; */ EXPECTED_VALUE_WITH_BETWEEN_OPERATOR(29), /** *
     * Invalid date format. Expected 'YYYY-MM-DD'.
     * 
* * INVALID_DATE_FORMAT = 38; */ INVALID_DATE_FORMAT(38), /** *
     * 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; */ MISALIGNED_DATE_FOR_FILTER(64), /** *
     * Value passed was not a string when it should have been. For example, it
     * was a number or unquoted literal.
     * 
* * INVALID_STRING_VALUE = 57; */ INVALID_STRING_VALUE(57), /** *
     * A String value passed to the BETWEEN operator does not parse as a date.
     * 
* * INVALID_VALUE_WITH_BETWEEN_OPERATOR = 26; */ INVALID_VALUE_WITH_BETWEEN_OPERATOR(26), /** *
     * The value passed to the DURING operator is not a Date range literal
     * 
* * INVALID_VALUE_WITH_DURING_OPERATOR = 22; */ INVALID_VALUE_WITH_DURING_OPERATOR(22), /** *
     * An invalid value was passed to the LIKE operator.
     * 
* * INVALID_VALUE_WITH_LIKE_OPERATOR = 56; */ INVALID_VALUE_WITH_LIKE_OPERATOR(56), /** *
     * An operator was provided that is inapplicable to the field being
     * filtered.
     * 
* * OPERATOR_FIELD_MISMATCH = 35; */ OPERATOR_FIELD_MISMATCH(35), /** *
     * A Condition was found with an empty list.
     * 
* * PROHIBITED_EMPTY_LIST_IN_CONDITION = 28; */ PROHIBITED_EMPTY_LIST_IN_CONDITION(28), /** *
     * A condition used in the query references an unsupported enum constant.
     * 
* * PROHIBITED_ENUM_CONSTANT = 54; */ PROHIBITED_ENUM_CONSTANT(54), /** *
     * Fields that are not allowed to be selected together were included in
     * the SELECT clause.
     * 
* * PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE = 31; */ PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE(31), /** *
     * A field that is not orderable was included in the ORDER BY clause.
     * 
* * PROHIBITED_FIELD_IN_ORDER_BY_CLAUSE = 40; */ PROHIBITED_FIELD_IN_ORDER_BY_CLAUSE(40), /** *
     * A field that is not selectable was included in the SELECT clause.
     * 
* * PROHIBITED_FIELD_IN_SELECT_CLAUSE = 23; */ PROHIBITED_FIELD_IN_SELECT_CLAUSE(23), /** *
     * A field that is not filterable was included in the WHERE clause.
     * 
* * PROHIBITED_FIELD_IN_WHERE_CLAUSE = 24; */ PROHIBITED_FIELD_IN_WHERE_CLAUSE(24), /** *
     * Resource type specified in the FROM clause is not supported by this
     * service.
     * 
* * PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE = 43; */ PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE(43), /** *
     * 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_SELECT_CLAUSE(48), /** *
     * A field that comes from an incompatible resource was included in the
     * WHERE clause.
     * 
* * PROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSE = 58; */ PROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSE(58), /** *
     * 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_METRIC_IN_SELECT_OR_WHERE_CLAUSE(49), /** *
     * 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_IN_SELECT_OR_WHERE_CLAUSE(51), /** *
     * 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; */ PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE(53), /** *
     * The value passed to the limit clause is too low.
     * 
* * LIMIT_VALUE_TOO_LOW = 25; */ LIMIT_VALUE_TOO_LOW(25), /** *
     * Query has a string containing a newline character.
     * 
* * PROHIBITED_NEWLINE_IN_STRING = 8; */ PROHIBITED_NEWLINE_IN_STRING(8), /** *
     * List contains values of different types.
     * 
* * PROHIBITED_VALUE_COMBINATION_IN_LIST = 10; */ PROHIBITED_VALUE_COMBINATION_IN_LIST(10), /** *
     * The values passed to the BETWEEN operator are not of the same type.
     * 
* * PROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATOR = 21; */ PROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATOR(21), /** *
     * Query contains unterminated string.
     * 
* * STRING_NOT_TERMINATED = 6; */ STRING_NOT_TERMINATED(6), /** *
     * Too many segments are specified in SELECT clause.
     * 
* * TOO_MANY_SEGMENTS = 34; */ TOO_MANY_SEGMENTS(34), /** *
     * Query is incomplete and cannot be parsed.
     * 
* * UNEXPECTED_END_OF_QUERY = 9; */ UNEXPECTED_END_OF_QUERY(9), /** *
     * FROM clause cannot be specified in this query.
     * 
* * UNEXPECTED_FROM_CLAUSE = 47; */ UNEXPECTED_FROM_CLAUSE(47), /** *
     * Query contains one or more unrecognized fields.
     * 
* * UNRECOGNIZED_FIELD = 32; */ UNRECOGNIZED_FIELD(32), /** *
     * Query has an unexpected extra part.
     * 
* * UNEXPECTED_INPUT = 11; */ UNEXPECTED_INPUT(11), /** *
     * 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; */ REQUESTED_METRICS_FOR_MANAGER(59), /** *
     * The number of values (right-hand-side operands) in a filter exceeds the
     * limit.
     * 
* * FILTER_HAS_TOO_MANY_VALUES = 63; */ FILTER_HAS_TOO_MANY_VALUES(63), UNRECOGNIZED(-1), ; /** *
     * Name unspecified.
     * 
* * UNSPECIFIED = 0; */ public static final int UNSPECIFIED_VALUE = 0; /** *
     * The received error code is not known in this version.
     * 
* * UNKNOWN = 1; */ public static final int UNKNOWN_VALUE = 1; /** *
     * Returned if all other query error reasons are not applicable.
     * 
* * QUERY_ERROR = 50; */ public static final int QUERY_ERROR_VALUE = 50; /** *
     * A condition used in the query references an invalid enum constant.
     * 
* * BAD_ENUM_CONSTANT = 18; */ public static final int BAD_ENUM_CONSTANT_VALUE = 18; /** *
     * Query contains an invalid escape sequence.
     * 
* * BAD_ESCAPE_SEQUENCE = 7; */ public static final int BAD_ESCAPE_SEQUENCE_VALUE = 7; /** *
     * Field name is invalid.
     * 
* * BAD_FIELD_NAME = 12; */ public static final int BAD_FIELD_NAME_VALUE = 12; /** *
     * Limit value is invalid (for example, not a number)
     * 
* * BAD_LIMIT_VALUE = 15; */ public static final int BAD_LIMIT_VALUE_VALUE = 15; /** *
     * Encountered number can not be parsed.
     * 
* * BAD_NUMBER = 5; */ public static final int BAD_NUMBER_VALUE = 5; /** *
     * Invalid operator encountered.
     * 
* * BAD_OPERATOR = 3; */ public static final int BAD_OPERATOR_VALUE = 3; /** *
     * Parameter unknown or not supported.
     * 
* * BAD_PARAMETER_NAME = 61; */ public static final int BAD_PARAMETER_NAME_VALUE = 61; /** *
     * Parameter have invalid value.
     * 
* * BAD_PARAMETER_VALUE = 62; */ public static final int BAD_PARAMETER_VALUE_VALUE = 62; /** *
     * Invalid resource type was specified in the FROM clause.
     * 
* * BAD_RESOURCE_TYPE_IN_FROM_CLAUSE = 45; */ public static final int BAD_RESOURCE_TYPE_IN_FROM_CLAUSE_VALUE = 45; /** *
     * Non-ASCII symbol encountered outside of strings.
     * 
* * BAD_SYMBOL = 2; */ public static final int BAD_SYMBOL_VALUE = 2; /** *
     * Value is invalid.
     * 
* * BAD_VALUE = 4; */ public static final int BAD_VALUE_VALUE = 4; /** *
     * 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; */ public static final int DATE_RANGE_TOO_WIDE_VALUE = 36; /** *
     * Filters on date/week/month/quarter have a start date after
     * end date.
     * 
* * DATE_RANGE_TOO_NARROW = 60; */ public static final int DATE_RANGE_TOO_NARROW_VALUE = 60; /** *
     * Expected AND between values with BETWEEN operator.
     * 
* * EXPECTED_AND = 30; */ public static final int EXPECTED_AND_VALUE = 30; /** *
     * Expecting ORDER BY to have BY.
     * 
* * EXPECTED_BY = 14; */ public static final int EXPECTED_BY_VALUE = 14; /** *
     * There was no dimension field selected.
     * 
* * EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE = 37; */ public static final int EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE_VALUE = 37; /** *
     * Missing filters on date related fields.
     * 
* * EXPECTED_FILTERS_ON_DATE_RANGE = 55; */ public static final int EXPECTED_FILTERS_ON_DATE_RANGE_VALUE = 55; /** *
     * Missing FROM clause.
     * 
* * EXPECTED_FROM = 44; */ public static final int EXPECTED_FROM_VALUE = 44; /** *
     * The operator used in the conditions requires the value to be a list.
     * 
* * EXPECTED_LIST = 41; */ public static final int EXPECTED_LIST_VALUE = 41; /** *
     * Fields used in WHERE or ORDER BY clauses are missing from the SELECT
     * clause.
     * 
* * EXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSE = 16; */ public static final int EXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSE_VALUE = 16; /** *
     * SELECT is missing at the beginning of query.
     * 
* * EXPECTED_SELECT = 13; */ public static final int EXPECTED_SELECT_VALUE = 13; /** *
     * A list was passed as a value to a condition whose operator expects a
     * single value.
     * 
* * EXPECTED_SINGLE_VALUE = 42; */ public static final int EXPECTED_SINGLE_VALUE_VALUE = 42; /** *
     * Missing one or both values with BETWEEN operator.
     * 
* * EXPECTED_VALUE_WITH_BETWEEN_OPERATOR = 29; */ public static final int EXPECTED_VALUE_WITH_BETWEEN_OPERATOR_VALUE = 29; /** *
     * Invalid date format. Expected 'YYYY-MM-DD'.
     * 
* * INVALID_DATE_FORMAT = 38; */ public static final int INVALID_DATE_FORMAT_VALUE = 38; /** *
     * 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; */ public static final int MISALIGNED_DATE_FOR_FILTER_VALUE = 64; /** *
     * Value passed was not a string when it should have been. For example, it
     * was a number or unquoted literal.
     * 
* * INVALID_STRING_VALUE = 57; */ public static final int INVALID_STRING_VALUE_VALUE = 57; /** *
     * A String value passed to the BETWEEN operator does not parse as a date.
     * 
* * INVALID_VALUE_WITH_BETWEEN_OPERATOR = 26; */ public static final int INVALID_VALUE_WITH_BETWEEN_OPERATOR_VALUE = 26; /** *
     * The value passed to the DURING operator is not a Date range literal
     * 
* * INVALID_VALUE_WITH_DURING_OPERATOR = 22; */ public static final int INVALID_VALUE_WITH_DURING_OPERATOR_VALUE = 22; /** *
     * An invalid value was passed to the LIKE operator.
     * 
* * INVALID_VALUE_WITH_LIKE_OPERATOR = 56; */ public static final int INVALID_VALUE_WITH_LIKE_OPERATOR_VALUE = 56; /** *
     * An operator was provided that is inapplicable to the field being
     * filtered.
     * 
* * OPERATOR_FIELD_MISMATCH = 35; */ public static final int OPERATOR_FIELD_MISMATCH_VALUE = 35; /** *
     * A Condition was found with an empty list.
     * 
* * PROHIBITED_EMPTY_LIST_IN_CONDITION = 28; */ public static final int PROHIBITED_EMPTY_LIST_IN_CONDITION_VALUE = 28; /** *
     * A condition used in the query references an unsupported enum constant.
     * 
* * PROHIBITED_ENUM_CONSTANT = 54; */ public static final int PROHIBITED_ENUM_CONSTANT_VALUE = 54; /** *
     * Fields that are not allowed to be selected together were included in
     * the SELECT clause.
     * 
* * PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE = 31; */ public static final int PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE_VALUE = 31; /** *
     * A field that is not orderable was included in the ORDER BY clause.
     * 
* * PROHIBITED_FIELD_IN_ORDER_BY_CLAUSE = 40; */ public static final int PROHIBITED_FIELD_IN_ORDER_BY_CLAUSE_VALUE = 40; /** *
     * A field that is not selectable was included in the SELECT clause.
     * 
* * PROHIBITED_FIELD_IN_SELECT_CLAUSE = 23; */ public static final int PROHIBITED_FIELD_IN_SELECT_CLAUSE_VALUE = 23; /** *
     * A field that is not filterable was included in the WHERE clause.
     * 
* * PROHIBITED_FIELD_IN_WHERE_CLAUSE = 24; */ public static final int PROHIBITED_FIELD_IN_WHERE_CLAUSE_VALUE = 24; /** *
     * Resource type specified in the FROM clause is not supported by this
     * service.
     * 
* * PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE = 43; */ public static final int PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE_VALUE = 43; /** *
     * A field that comes from an incompatible resource was included in the
     * SELECT clause.
     * 
* * PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE = 48; */ public static final int PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE_VALUE = 48; /** *
     * A field that comes from an incompatible resource was included in the
     * WHERE clause.
     * 
* * PROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSE = 58; */ public static final int PROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSE_VALUE = 58; /** *
     * 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; */ public static final int PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE_VALUE = 49; /** *
     * 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; */ public static final int PROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSE_VALUE = 51; /** *
     * 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; */ public static final int PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE_VALUE = 53; /** *
     * The value passed to the limit clause is too low.
     * 
* * LIMIT_VALUE_TOO_LOW = 25; */ public static final int LIMIT_VALUE_TOO_LOW_VALUE = 25; /** *
     * Query has a string containing a newline character.
     * 
* * PROHIBITED_NEWLINE_IN_STRING = 8; */ public static final int PROHIBITED_NEWLINE_IN_STRING_VALUE = 8; /** *
     * List contains values of different types.
     * 
* * PROHIBITED_VALUE_COMBINATION_IN_LIST = 10; */ public static final int PROHIBITED_VALUE_COMBINATION_IN_LIST_VALUE = 10; /** *
     * The values passed to the BETWEEN operator are not of the same type.
     * 
* * PROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATOR = 21; */ public static final int PROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATOR_VALUE = 21; /** *
     * Query contains unterminated string.
     * 
* * STRING_NOT_TERMINATED = 6; */ public static final int STRING_NOT_TERMINATED_VALUE = 6; /** *
     * Too many segments are specified in SELECT clause.
     * 
* * TOO_MANY_SEGMENTS = 34; */ public static final int TOO_MANY_SEGMENTS_VALUE = 34; /** *
     * Query is incomplete and cannot be parsed.
     * 
* * UNEXPECTED_END_OF_QUERY = 9; */ public static final int UNEXPECTED_END_OF_QUERY_VALUE = 9; /** *
     * FROM clause cannot be specified in this query.
     * 
* * UNEXPECTED_FROM_CLAUSE = 47; */ public static final int UNEXPECTED_FROM_CLAUSE_VALUE = 47; /** *
     * Query contains one or more unrecognized fields.
     * 
* * UNRECOGNIZED_FIELD = 32; */ public static final int UNRECOGNIZED_FIELD_VALUE = 32; /** *
     * Query has an unexpected extra part.
     * 
* * UNEXPECTED_INPUT = 11; */ public static final int UNEXPECTED_INPUT_VALUE = 11; /** *
     * 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; */ public static final int REQUESTED_METRICS_FOR_MANAGER_VALUE = 59; /** *
     * The number of values (right-hand-side operands) in a filter exceeds the
     * limit.
     * 
* * FILTER_HAS_TOO_MANY_VALUES = 63; */ public static final int FILTER_HAS_TOO_MANY_VALUES_VALUE = 63; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static QueryError valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static QueryError forNumber(int value) { switch (value) { case 0: return UNSPECIFIED; case 1: return UNKNOWN; case 50: return QUERY_ERROR; case 18: return BAD_ENUM_CONSTANT; case 7: return BAD_ESCAPE_SEQUENCE; case 12: return BAD_FIELD_NAME; case 15: return BAD_LIMIT_VALUE; case 5: return BAD_NUMBER; case 3: return BAD_OPERATOR; case 61: return BAD_PARAMETER_NAME; case 62: return BAD_PARAMETER_VALUE; case 45: return BAD_RESOURCE_TYPE_IN_FROM_CLAUSE; case 2: return BAD_SYMBOL; case 4: return BAD_VALUE; case 36: return DATE_RANGE_TOO_WIDE; case 60: return DATE_RANGE_TOO_NARROW; case 30: return EXPECTED_AND; case 14: return EXPECTED_BY; case 37: return EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE; case 55: return EXPECTED_FILTERS_ON_DATE_RANGE; case 44: return EXPECTED_FROM; case 41: return EXPECTED_LIST; case 16: return EXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSE; case 13: return EXPECTED_SELECT; case 42: return EXPECTED_SINGLE_VALUE; case 29: return EXPECTED_VALUE_WITH_BETWEEN_OPERATOR; case 38: return INVALID_DATE_FORMAT; case 64: return MISALIGNED_DATE_FOR_FILTER; case 57: return INVALID_STRING_VALUE; case 26: return INVALID_VALUE_WITH_BETWEEN_OPERATOR; case 22: return INVALID_VALUE_WITH_DURING_OPERATOR; case 56: return INVALID_VALUE_WITH_LIKE_OPERATOR; case 35: return OPERATOR_FIELD_MISMATCH; case 28: return PROHIBITED_EMPTY_LIST_IN_CONDITION; case 54: return PROHIBITED_ENUM_CONSTANT; case 31: return PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE; case 40: return PROHIBITED_FIELD_IN_ORDER_BY_CLAUSE; case 23: return PROHIBITED_FIELD_IN_SELECT_CLAUSE; case 24: return PROHIBITED_FIELD_IN_WHERE_CLAUSE; case 43: return PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE; case 48: return PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE; case 58: return PROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSE; case 49: return PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE; case 51: return PROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSE; case 53: return PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE; case 25: return LIMIT_VALUE_TOO_LOW; case 8: return PROHIBITED_NEWLINE_IN_STRING; case 10: return PROHIBITED_VALUE_COMBINATION_IN_LIST; case 21: return PROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATOR; case 6: return STRING_NOT_TERMINATED; case 34: return TOO_MANY_SEGMENTS; case 9: return UNEXPECTED_END_OF_QUERY; case 47: return UNEXPECTED_FROM_CLAUSE; case 32: return UNRECOGNIZED_FIELD; case 11: return UNEXPECTED_INPUT; case 59: return REQUESTED_METRICS_FOR_MANAGER; case 63: return FILTER_HAS_TOO_MANY_VALUES; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< QueryError> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public QueryError findValueByNumber(int number) { return QueryError.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.ads.googleads.v17.errors.QueryErrorEnum.getDescriptor().getEnumTypes().get(0); } private static final QueryError[] VALUES = values(); public static QueryError valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private QueryError(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:google.ads.googleads.v17.errors.QueryErrorEnum.QueryError) } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.ads.googleads.v17.errors.QueryErrorEnum)) { return super.equals(obj); } com.google.ads.googleads.v17.errors.QueryErrorEnum other = (com.google.ads.googleads.v17.errors.QueryErrorEnum) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.ads.googleads.v17.errors.QueryErrorEnum parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.errors.QueryErrorEnum parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v17.errors.QueryErrorEnum parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.errors.QueryErrorEnum parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v17.errors.QueryErrorEnum parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.errors.QueryErrorEnum parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v17.errors.QueryErrorEnum parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.errors.QueryErrorEnum parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.ads.googleads.v17.errors.QueryErrorEnum parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.errors.QueryErrorEnum parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.ads.googleads.v17.errors.QueryErrorEnum parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.errors.QueryErrorEnum parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.ads.googleads.v17.errors.QueryErrorEnum prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * Container for enum describing possible query errors.
   * 
* * Protobuf type {@code google.ads.googleads.v17.errors.QueryErrorEnum} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.ads.googleads.v17.errors.QueryErrorEnum) com.google.ads.googleads.v17.errors.QueryErrorEnumOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.errors.QueryErrorProto.internal_static_google_ads_googleads_v17_errors_QueryErrorEnum_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v17.errors.QueryErrorProto.internal_static_google_ads_googleads_v17_errors_QueryErrorEnum_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.errors.QueryErrorEnum.class, com.google.ads.googleads.v17.errors.QueryErrorEnum.Builder.class); } // Construct using com.google.ads.googleads.v17.errors.QueryErrorEnum.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.ads.googleads.v17.errors.QueryErrorProto.internal_static_google_ads_googleads_v17_errors_QueryErrorEnum_descriptor; } @java.lang.Override public com.google.ads.googleads.v17.errors.QueryErrorEnum getDefaultInstanceForType() { return com.google.ads.googleads.v17.errors.QueryErrorEnum.getDefaultInstance(); } @java.lang.Override public com.google.ads.googleads.v17.errors.QueryErrorEnum build() { com.google.ads.googleads.v17.errors.QueryErrorEnum result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.ads.googleads.v17.errors.QueryErrorEnum buildPartial() { com.google.ads.googleads.v17.errors.QueryErrorEnum result = new com.google.ads.googleads.v17.errors.QueryErrorEnum(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.ads.googleads.v17.errors.QueryErrorEnum) { return mergeFrom((com.google.ads.googleads.v17.errors.QueryErrorEnum)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.ads.googleads.v17.errors.QueryErrorEnum other) { if (other == com.google.ads.googleads.v17.errors.QueryErrorEnum.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:google.ads.googleads.v17.errors.QueryErrorEnum) } // @@protoc_insertion_point(class_scope:google.ads.googleads.v17.errors.QueryErrorEnum) private static final com.google.ads.googleads.v17.errors.QueryErrorEnum DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.ads.googleads.v17.errors.QueryErrorEnum(); } public static com.google.ads.googleads.v17.errors.QueryErrorEnum getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryErrorEnum parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.ads.googleads.v17.errors.QueryErrorEnum getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy