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

com.google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum Maven / Gradle / Ivy

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

package com.google.ads.googleads.v10.errors;

/**
 * 
 * Container for enum describing possible ad group criterion errors.
 * 
* * Protobuf type {@code google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum} */ public final class AdGroupCriterionErrorEnum extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum) AdGroupCriterionErrorEnumOrBuilder { private static final long serialVersionUID = 0L; // Use AdGroupCriterionErrorEnum.newBuilder() to construct. private AdGroupCriterionErrorEnum(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AdGroupCriterionErrorEnum() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AdGroupCriterionErrorEnum(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v10.errors.AdGroupCriterionErrorProto.internal_static_google_ads_googleads_v10_errors_AdGroupCriterionErrorEnum_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v10.errors.AdGroupCriterionErrorProto.internal_static_google_ads_googleads_v10_errors_AdGroupCriterionErrorEnum_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum.class, com.google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum.Builder.class); } /** *
   * Enum describing possible ad group criterion errors.
   * 
* * Protobuf enum {@code google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum.AdGroupCriterionError} */ public enum AdGroupCriterionError implements com.google.protobuf.ProtocolMessageEnum { /** *
     * Enum unspecified.
     * 
* * UNSPECIFIED = 0; */ UNSPECIFIED(0), /** *
     * The received error code is not known in this version.
     * 
* * UNKNOWN = 1; */ UNKNOWN(1), /** *
     * No link found between the AdGroupCriterion and the label.
     * 
* * AD_GROUP_CRITERION_LABEL_DOES_NOT_EXIST = 2; */ AD_GROUP_CRITERION_LABEL_DOES_NOT_EXIST(2), /** *
     * The label has already been attached to the AdGroupCriterion.
     * 
* * AD_GROUP_CRITERION_LABEL_ALREADY_EXISTS = 3; */ AD_GROUP_CRITERION_LABEL_ALREADY_EXISTS(3), /** *
     * Negative AdGroupCriterion cannot have labels.
     * 
* * CANNOT_ADD_LABEL_TO_NEGATIVE_CRITERION = 4; */ CANNOT_ADD_LABEL_TO_NEGATIVE_CRITERION(4), /** *
     * Too many operations for a single call.
     * 
* * TOO_MANY_OPERATIONS = 5; */ TOO_MANY_OPERATIONS(5), /** *
     * Negative ad group criteria are not updateable.
     * 
* * CANT_UPDATE_NEGATIVE = 6; */ CANT_UPDATE_NEGATIVE(6), /** *
     * Concrete type of criterion (keyword v.s. placement) is required for ADD
     * and SET operations.
     * 
* * CONCRETE_TYPE_REQUIRED = 7; */ CONCRETE_TYPE_REQUIRED(7), /** *
     * Bid is incompatible with ad group's bidding settings.
     * 
* * BID_INCOMPATIBLE_WITH_ADGROUP = 8; */ BID_INCOMPATIBLE_WITH_ADGROUP(8), /** *
     * Cannot target and exclude the same criterion at once.
     * 
* * CANNOT_TARGET_AND_EXCLUDE = 9; */ CANNOT_TARGET_AND_EXCLUDE(9), /** *
     * The URL of a placement is invalid.
     * 
* * ILLEGAL_URL = 10; */ ILLEGAL_URL(10), /** *
     * Keyword text was invalid.
     * 
* * INVALID_KEYWORD_TEXT = 11; */ INVALID_KEYWORD_TEXT(11), /** *
     * Destination URL was invalid.
     * 
* * INVALID_DESTINATION_URL = 12; */ INVALID_DESTINATION_URL(12), /** *
     * The destination url must contain at least one tag (for example, {lpurl})
     * 
* * MISSING_DESTINATION_URL_TAG = 13; */ MISSING_DESTINATION_URL_TAG(13), /** *
     * Keyword-level cpm bid is not supported
     * 
* * KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM = 14; */ KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM(14), /** *
     * For example, cannot add a biddable ad group criterion that had been
     * removed.
     * 
* * INVALID_USER_STATUS = 15; */ INVALID_USER_STATUS(15), /** *
     * Criteria type cannot be targeted for the ad group. Either the account is
     * restricted to keywords only, the criteria type is incompatible with the
     * campaign's bidding strategy, or the criteria type can only be applied to
     * campaigns.
     * 
* * CANNOT_ADD_CRITERIA_TYPE = 16; */ CANNOT_ADD_CRITERIA_TYPE(16), /** *
     * Criteria type cannot be excluded for the ad group. Refer to the
     * documentation for a specific criterion to check if it is excludable.
     * 
* * CANNOT_EXCLUDE_CRITERIA_TYPE = 17; */ CANNOT_EXCLUDE_CRITERIA_TYPE(17), /** *
     * Partial failure is not supported for shopping campaign mutate operations.
     * 
* * CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILURE = 27; */ CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILURE(27), /** *
     * Operations in the mutate request changes too many shopping ad groups.
     * Split requests for multiple shopping ad groups across multiple
     * requests.
     * 
* * OPERATIONS_FOR_TOO_MANY_SHOPPING_ADGROUPS = 28; */ OPERATIONS_FOR_TOO_MANY_SHOPPING_ADGROUPS(28), /** *
     * Not allowed to modify url fields of an ad group criterion if there are
     * duplicate elements for that ad group criterion in the request.
     * 
* * CANNOT_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTS = 29; */ CANNOT_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTS(29), /** *
     * Cannot set url fields without also setting final urls.
     * 
* * CANNOT_SET_WITHOUT_FINAL_URLS = 30; */ CANNOT_SET_WITHOUT_FINAL_URLS(30), /** *
     * Cannot clear final urls if final mobile urls exist.
     * 
* * CANNOT_CLEAR_FINAL_URLS_IF_FINAL_MOBILE_URLS_EXIST = 31; */ CANNOT_CLEAR_FINAL_URLS_IF_FINAL_MOBILE_URLS_EXIST(31), /** *
     * Cannot clear final urls if final app urls exist.
     * 
* * CANNOT_CLEAR_FINAL_URLS_IF_FINAL_APP_URLS_EXIST = 32; */ CANNOT_CLEAR_FINAL_URLS_IF_FINAL_APP_URLS_EXIST(32), /** *
     * Cannot clear final urls if tracking url template exists.
     * 
* * CANNOT_CLEAR_FINAL_URLS_IF_TRACKING_URL_TEMPLATE_EXISTS = 33; */ CANNOT_CLEAR_FINAL_URLS_IF_TRACKING_URL_TEMPLATE_EXISTS(33), /** *
     * Cannot clear final urls if url custom parameters exist.
     * 
* * CANNOT_CLEAR_FINAL_URLS_IF_URL_CUSTOM_PARAMETERS_EXIST = 34; */ CANNOT_CLEAR_FINAL_URLS_IF_URL_CUSTOM_PARAMETERS_EXIST(34), /** *
     * Cannot set both destination url and final urls.
     * 
* * CANNOT_SET_BOTH_DESTINATION_URL_AND_FINAL_URLS = 35; */ CANNOT_SET_BOTH_DESTINATION_URL_AND_FINAL_URLS(35), /** *
     * Cannot set both destination url and tracking url template.
     * 
* * CANNOT_SET_BOTH_DESTINATION_URL_AND_TRACKING_URL_TEMPLATE = 36; */ CANNOT_SET_BOTH_DESTINATION_URL_AND_TRACKING_URL_TEMPLATE(36), /** *
     * Final urls are not supported for this criterion type.
     * 
* * FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE = 37; */ FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE(37), /** *
     * Final mobile urls are not supported for this criterion type.
     * 
* * FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE = 38; */ FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE(38), UNRECOGNIZED(-1), ; /** *
     * Enum 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; /** *
     * No link found between the AdGroupCriterion and the label.
     * 
* * AD_GROUP_CRITERION_LABEL_DOES_NOT_EXIST = 2; */ public static final int AD_GROUP_CRITERION_LABEL_DOES_NOT_EXIST_VALUE = 2; /** *
     * The label has already been attached to the AdGroupCriterion.
     * 
* * AD_GROUP_CRITERION_LABEL_ALREADY_EXISTS = 3; */ public static final int AD_GROUP_CRITERION_LABEL_ALREADY_EXISTS_VALUE = 3; /** *
     * Negative AdGroupCriterion cannot have labels.
     * 
* * CANNOT_ADD_LABEL_TO_NEGATIVE_CRITERION = 4; */ public static final int CANNOT_ADD_LABEL_TO_NEGATIVE_CRITERION_VALUE = 4; /** *
     * Too many operations for a single call.
     * 
* * TOO_MANY_OPERATIONS = 5; */ public static final int TOO_MANY_OPERATIONS_VALUE = 5; /** *
     * Negative ad group criteria are not updateable.
     * 
* * CANT_UPDATE_NEGATIVE = 6; */ public static final int CANT_UPDATE_NEGATIVE_VALUE = 6; /** *
     * Concrete type of criterion (keyword v.s. placement) is required for ADD
     * and SET operations.
     * 
* * CONCRETE_TYPE_REQUIRED = 7; */ public static final int CONCRETE_TYPE_REQUIRED_VALUE = 7; /** *
     * Bid is incompatible with ad group's bidding settings.
     * 
* * BID_INCOMPATIBLE_WITH_ADGROUP = 8; */ public static final int BID_INCOMPATIBLE_WITH_ADGROUP_VALUE = 8; /** *
     * Cannot target and exclude the same criterion at once.
     * 
* * CANNOT_TARGET_AND_EXCLUDE = 9; */ public static final int CANNOT_TARGET_AND_EXCLUDE_VALUE = 9; /** *
     * The URL of a placement is invalid.
     * 
* * ILLEGAL_URL = 10; */ public static final int ILLEGAL_URL_VALUE = 10; /** *
     * Keyword text was invalid.
     * 
* * INVALID_KEYWORD_TEXT = 11; */ public static final int INVALID_KEYWORD_TEXT_VALUE = 11; /** *
     * Destination URL was invalid.
     * 
* * INVALID_DESTINATION_URL = 12; */ public static final int INVALID_DESTINATION_URL_VALUE = 12; /** *
     * The destination url must contain at least one tag (for example, {lpurl})
     * 
* * MISSING_DESTINATION_URL_TAG = 13; */ public static final int MISSING_DESTINATION_URL_TAG_VALUE = 13; /** *
     * Keyword-level cpm bid is not supported
     * 
* * KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM = 14; */ public static final int KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM_VALUE = 14; /** *
     * For example, cannot add a biddable ad group criterion that had been
     * removed.
     * 
* * INVALID_USER_STATUS = 15; */ public static final int INVALID_USER_STATUS_VALUE = 15; /** *
     * Criteria type cannot be targeted for the ad group. Either the account is
     * restricted to keywords only, the criteria type is incompatible with the
     * campaign's bidding strategy, or the criteria type can only be applied to
     * campaigns.
     * 
* * CANNOT_ADD_CRITERIA_TYPE = 16; */ public static final int CANNOT_ADD_CRITERIA_TYPE_VALUE = 16; /** *
     * Criteria type cannot be excluded for the ad group. Refer to the
     * documentation for a specific criterion to check if it is excludable.
     * 
* * CANNOT_EXCLUDE_CRITERIA_TYPE = 17; */ public static final int CANNOT_EXCLUDE_CRITERIA_TYPE_VALUE = 17; /** *
     * Partial failure is not supported for shopping campaign mutate operations.
     * 
* * CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILURE = 27; */ public static final int CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILURE_VALUE = 27; /** *
     * Operations in the mutate request changes too many shopping ad groups.
     * Split requests for multiple shopping ad groups across multiple
     * requests.
     * 
* * OPERATIONS_FOR_TOO_MANY_SHOPPING_ADGROUPS = 28; */ public static final int OPERATIONS_FOR_TOO_MANY_SHOPPING_ADGROUPS_VALUE = 28; /** *
     * Not allowed to modify url fields of an ad group criterion if there are
     * duplicate elements for that ad group criterion in the request.
     * 
* * CANNOT_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTS = 29; */ public static final int CANNOT_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTS_VALUE = 29; /** *
     * Cannot set url fields without also setting final urls.
     * 
* * CANNOT_SET_WITHOUT_FINAL_URLS = 30; */ public static final int CANNOT_SET_WITHOUT_FINAL_URLS_VALUE = 30; /** *
     * Cannot clear final urls if final mobile urls exist.
     * 
* * CANNOT_CLEAR_FINAL_URLS_IF_FINAL_MOBILE_URLS_EXIST = 31; */ public static final int CANNOT_CLEAR_FINAL_URLS_IF_FINAL_MOBILE_URLS_EXIST_VALUE = 31; /** *
     * Cannot clear final urls if final app urls exist.
     * 
* * CANNOT_CLEAR_FINAL_URLS_IF_FINAL_APP_URLS_EXIST = 32; */ public static final int CANNOT_CLEAR_FINAL_URLS_IF_FINAL_APP_URLS_EXIST_VALUE = 32; /** *
     * Cannot clear final urls if tracking url template exists.
     * 
* * CANNOT_CLEAR_FINAL_URLS_IF_TRACKING_URL_TEMPLATE_EXISTS = 33; */ public static final int CANNOT_CLEAR_FINAL_URLS_IF_TRACKING_URL_TEMPLATE_EXISTS_VALUE = 33; /** *
     * Cannot clear final urls if url custom parameters exist.
     * 
* * CANNOT_CLEAR_FINAL_URLS_IF_URL_CUSTOM_PARAMETERS_EXIST = 34; */ public static final int CANNOT_CLEAR_FINAL_URLS_IF_URL_CUSTOM_PARAMETERS_EXIST_VALUE = 34; /** *
     * Cannot set both destination url and final urls.
     * 
* * CANNOT_SET_BOTH_DESTINATION_URL_AND_FINAL_URLS = 35; */ public static final int CANNOT_SET_BOTH_DESTINATION_URL_AND_FINAL_URLS_VALUE = 35; /** *
     * Cannot set both destination url and tracking url template.
     * 
* * CANNOT_SET_BOTH_DESTINATION_URL_AND_TRACKING_URL_TEMPLATE = 36; */ public static final int CANNOT_SET_BOTH_DESTINATION_URL_AND_TRACKING_URL_TEMPLATE_VALUE = 36; /** *
     * Final urls are not supported for this criterion type.
     * 
* * FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE = 37; */ public static final int FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE_VALUE = 37; /** *
     * Final mobile urls are not supported for this criterion type.
     * 
* * FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE = 38; */ public static final int FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE_VALUE = 38; 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 AdGroupCriterionError 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 AdGroupCriterionError forNumber(int value) { switch (value) { case 0: return UNSPECIFIED; case 1: return UNKNOWN; case 2: return AD_GROUP_CRITERION_LABEL_DOES_NOT_EXIST; case 3: return AD_GROUP_CRITERION_LABEL_ALREADY_EXISTS; case 4: return CANNOT_ADD_LABEL_TO_NEGATIVE_CRITERION; case 5: return TOO_MANY_OPERATIONS; case 6: return CANT_UPDATE_NEGATIVE; case 7: return CONCRETE_TYPE_REQUIRED; case 8: return BID_INCOMPATIBLE_WITH_ADGROUP; case 9: return CANNOT_TARGET_AND_EXCLUDE; case 10: return ILLEGAL_URL; case 11: return INVALID_KEYWORD_TEXT; case 12: return INVALID_DESTINATION_URL; case 13: return MISSING_DESTINATION_URL_TAG; case 14: return KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM; case 15: return INVALID_USER_STATUS; case 16: return CANNOT_ADD_CRITERIA_TYPE; case 17: return CANNOT_EXCLUDE_CRITERIA_TYPE; case 27: return CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILURE; case 28: return OPERATIONS_FOR_TOO_MANY_SHOPPING_ADGROUPS; case 29: return CANNOT_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTS; case 30: return CANNOT_SET_WITHOUT_FINAL_URLS; case 31: return CANNOT_CLEAR_FINAL_URLS_IF_FINAL_MOBILE_URLS_EXIST; case 32: return CANNOT_CLEAR_FINAL_URLS_IF_FINAL_APP_URLS_EXIST; case 33: return CANNOT_CLEAR_FINAL_URLS_IF_TRACKING_URL_TEMPLATE_EXISTS; case 34: return CANNOT_CLEAR_FINAL_URLS_IF_URL_CUSTOM_PARAMETERS_EXIST; case 35: return CANNOT_SET_BOTH_DESTINATION_URL_AND_FINAL_URLS; case 36: return CANNOT_SET_BOTH_DESTINATION_URL_AND_TRACKING_URL_TEMPLATE; case 37: return FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE; case 38: return FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< AdGroupCriterionError> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public AdGroupCriterionError findValueByNumber(int number) { return AdGroupCriterionError.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.v10.errors.AdGroupCriterionErrorEnum.getDescriptor().getEnumTypes().get(0); } private static final AdGroupCriterionError[] VALUES = values(); public static AdGroupCriterionError 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 AdGroupCriterionError(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum.AdGroupCriterionError) } 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.v10.errors.AdGroupCriterionErrorEnum)) { return super.equals(obj); } com.google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum other = (com.google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum) 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.v10.errors.AdGroupCriterionErrorEnum parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum 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.v10.errors.AdGroupCriterionErrorEnum parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum 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.v10.errors.AdGroupCriterionErrorEnum parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum 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.v10.errors.AdGroupCriterionErrorEnum parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum 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.v10.errors.AdGroupCriterionErrorEnum parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum 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.v10.errors.AdGroupCriterionErrorEnum 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 ad group criterion errors.
   * 
* * Protobuf type {@code google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum) com.google.ads.googleads.v10.errors.AdGroupCriterionErrorEnumOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v10.errors.AdGroupCriterionErrorProto.internal_static_google_ads_googleads_v10_errors_AdGroupCriterionErrorEnum_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v10.errors.AdGroupCriterionErrorProto.internal_static_google_ads_googleads_v10_errors_AdGroupCriterionErrorEnum_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum.class, com.google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum.Builder.class); } // Construct using com.google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum.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.v10.errors.AdGroupCriterionErrorProto.internal_static_google_ads_googleads_v10_errors_AdGroupCriterionErrorEnum_descriptor; } @java.lang.Override public com.google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum getDefaultInstanceForType() { return com.google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum.getDefaultInstance(); } @java.lang.Override public com.google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum build() { com.google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum buildPartial() { com.google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum result = new com.google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum(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.v10.errors.AdGroupCriterionErrorEnum) { return mergeFrom((com.google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum other) { if (other == com.google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum.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.v10.errors.AdGroupCriterionErrorEnum) } // @@protoc_insertion_point(class_scope:google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum) private static final com.google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum(); } public static com.google.ads.googleads.v10.errors.AdGroupCriterionErrorEnum getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AdGroupCriterionErrorEnum 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.v10.errors.AdGroupCriterionErrorEnum getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy