com.google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnum Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-ads-stubs-v17 Show documentation
Show all versions of google-ads-stubs-v17 Show documentation
Stubs for GAAPI version google-ads-stubs-v17
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v17/errors/offline_user_data_job_error.proto
// Protobuf Java Version: 3.25.3
package com.google.ads.googleads.v17.errors;
/**
*
* Container for enum describing possible offline user data job errors.
*
*
* Protobuf type {@code google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnum}
*/
public final class OfflineUserDataJobErrorEnum extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnum)
OfflineUserDataJobErrorEnumOrBuilder {
private static final long serialVersionUID = 0L;
// Use OfflineUserDataJobErrorEnum.newBuilder() to construct.
private OfflineUserDataJobErrorEnum(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private OfflineUserDataJobErrorEnum() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new OfflineUserDataJobErrorEnum();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v17.errors.OfflineUserDataJobErrorProto.internal_static_google_ads_googleads_v17_errors_OfflineUserDataJobErrorEnum_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v17.errors.OfflineUserDataJobErrorProto.internal_static_google_ads_googleads_v17_errors_OfflineUserDataJobErrorEnum_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnum.class, com.google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnum.Builder.class);
}
/**
*
* Enum describing possible request errors.
*
*
* Protobuf enum {@code google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnum.OfflineUserDataJobError}
*/
public enum OfflineUserDataJobError
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),
/**
*
* The user list ID provided for the job is invalid.
*
*
* INVALID_USER_LIST_ID = 3;
*/
INVALID_USER_LIST_ID(3),
/**
*
* Type of the user list is not applicable for the job.
*
*
* INVALID_USER_LIST_TYPE = 4;
*/
INVALID_USER_LIST_TYPE(4),
/**
*
* Customer is not allowisted for using user ID in upload data.
*
*
* NOT_ON_ALLOWLIST_FOR_USER_ID = 33;
*/
NOT_ON_ALLOWLIST_FOR_USER_ID(33),
/**
*
* Upload data is not compatible with the upload key type of the associated
* user list.
*
*
* INCOMPATIBLE_UPLOAD_KEY_TYPE = 6;
*/
INCOMPATIBLE_UPLOAD_KEY_TYPE(6),
/**
*
* The user identifier is missing valid data.
*
*
* MISSING_USER_IDENTIFIER = 7;
*/
MISSING_USER_IDENTIFIER(7),
/**
*
* The mobile ID is malformed.
*
*
* INVALID_MOBILE_ID_FORMAT = 8;
*/
INVALID_MOBILE_ID_FORMAT(8),
/**
*
* Maximum number of user identifiers allowed per request is 100,000 and per
* operation is 20.
*
*
* TOO_MANY_USER_IDENTIFIERS = 9;
*/
TOO_MANY_USER_IDENTIFIERS(9),
/**
*
* Customer is not on the allow-list for store sales direct data.
*
*
* NOT_ON_ALLOWLIST_FOR_STORE_SALES_DIRECT = 31;
*/
NOT_ON_ALLOWLIST_FOR_STORE_SALES_DIRECT(31),
/**
*
* Customer is not on the allow-list for unified store sales data.
*
*
* NOT_ON_ALLOWLIST_FOR_UNIFIED_STORE_SALES = 32;
*/
NOT_ON_ALLOWLIST_FOR_UNIFIED_STORE_SALES(32),
/**
*
* The partner ID in store sales direct metadata is invalid.
*
*
* INVALID_PARTNER_ID = 11;
*/
INVALID_PARTNER_ID(11),
/**
*
* The data in user identifier should not be encoded.
*
*
* INVALID_ENCODING = 12;
*/
INVALID_ENCODING(12),
/**
*
* The country code is invalid.
*
*
* INVALID_COUNTRY_CODE = 13;
*/
INVALID_COUNTRY_CODE(13),
/**
*
* Incompatible user identifier when using third_party_user_id for store
* sales direct first party data or not using third_party_user_id for store
* sales third party data.
*
*
* INCOMPATIBLE_USER_IDENTIFIER = 14;
*/
INCOMPATIBLE_USER_IDENTIFIER(14),
/**
*
* A transaction time in the future is not allowed.
*
*
* FUTURE_TRANSACTION_TIME = 15;
*/
FUTURE_TRANSACTION_TIME(15),
/**
*
* The conversion_action specified in transaction_attributes is used to
* report conversions to a conversion action configured in Google Ads. This
* error indicates there is no such conversion action in the account.
*
*
* INVALID_CONVERSION_ACTION = 16;
*/
INVALID_CONVERSION_ACTION(16),
/**
*
* Mobile ID is not supported for store sales direct data.
*
*
* MOBILE_ID_NOT_SUPPORTED = 17;
*/
MOBILE_ID_NOT_SUPPORTED(17),
/**
*
* When a remove-all operation is provided, it has to be the first operation
* of the operation list.
*
*
* INVALID_OPERATION_ORDER = 18;
*/
INVALID_OPERATION_ORDER(18),
/**
*
* Mixing creation and removal of offline data in the same job is not
* allowed.
*
*
* CONFLICTING_OPERATION = 19;
*/
CONFLICTING_OPERATION(19),
/**
*
* The external update ID already exists.
*
*
* EXTERNAL_UPDATE_ID_ALREADY_EXISTS = 21;
*/
EXTERNAL_UPDATE_ID_ALREADY_EXISTS(21),
/**
*
* Once the upload job is started, new operations cannot be added.
*
*
* JOB_ALREADY_STARTED = 22;
*/
JOB_ALREADY_STARTED(22),
/**
*
* Remove operation is not allowed for store sales direct updates.
*
*
* REMOVE_NOT_SUPPORTED = 23;
*/
REMOVE_NOT_SUPPORTED(23),
/**
*
* Remove-all is not supported for certain offline user data job types.
*
*
* REMOVE_ALL_NOT_SUPPORTED = 24;
*/
REMOVE_ALL_NOT_SUPPORTED(24),
/**
*
* The SHA256 encoded value is malformed.
*
*
* INVALID_SHA256_FORMAT = 25;
*/
INVALID_SHA256_FORMAT(25),
/**
*
* The custom key specified is not enabled for the unified store sales
* upload.
*
*
* CUSTOM_KEY_DISABLED = 26;
*/
CUSTOM_KEY_DISABLED(26),
/**
*
* The custom key specified is not predefined through the Google Ads UI.
*
*
* CUSTOM_KEY_NOT_PREDEFINED = 27;
*/
CUSTOM_KEY_NOT_PREDEFINED(27),
/**
*
* The custom key specified is not set in the upload.
*
*
* CUSTOM_KEY_NOT_SET = 29;
*/
CUSTOM_KEY_NOT_SET(29),
/**
*
* The customer has not accepted the customer data terms in the conversion
* settings page.
*
*
* CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS = 30;
*/
CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS(30),
/**
*
* User attributes cannot be uploaded into a user list.
*
*
* ATTRIBUTES_NOT_APPLICABLE_FOR_CUSTOMER_MATCH_USER_LIST = 34;
*/
ATTRIBUTES_NOT_APPLICABLE_FOR_CUSTOMER_MATCH_USER_LIST(34),
/**
*
* Lifetime bucket value must be a number from 0 to 10; 0 is only accepted
* for remove operations
*
*
* LIFETIME_VALUE_BUCKET_NOT_IN_RANGE = 35;
*/
LIFETIME_VALUE_BUCKET_NOT_IN_RANGE(35),
/**
*
* Identifiers not supported for Customer Match attributes. User attributes
* can only be provided with contact info (email, phone, address) user
* identifiers.
*
*
* INCOMPATIBLE_USER_IDENTIFIER_FOR_ATTRIBUTES = 36;
*/
INCOMPATIBLE_USER_IDENTIFIER_FOR_ATTRIBUTES(36),
/**
*
* A time in the future is not allowed.
*
*
* FUTURE_TIME_NOT_ALLOWED = 37;
*/
FUTURE_TIME_NOT_ALLOWED(37),
/**
*
* Last purchase date time cannot be less than acquisition date time.
*
*
* LAST_PURCHASE_TIME_LESS_THAN_ACQUISITION_TIME = 38;
*/
LAST_PURCHASE_TIME_LESS_THAN_ACQUISITION_TIME(38),
/**
*
* Only emails are accepted as user identifiers for shopping loyalty match.
* {-- api.dev/not-precedent: The identifier is not limited to ids, but
* also include other user info eg. phone numbers.}
*
*
* CUSTOMER_IDENTIFIER_NOT_ALLOWED = 39;
*/
CUSTOMER_IDENTIFIER_NOT_ALLOWED(39),
/**
*
* Provided item ID is invalid.
*
*
* INVALID_ITEM_ID = 40;
*/
INVALID_ITEM_ID(40),
/**
*
* First purchase date time cannot be greater than the last purchase date
* time.
*
*
* FIRST_PURCHASE_TIME_GREATER_THAN_LAST_PURCHASE_TIME = 42;
*/
FIRST_PURCHASE_TIME_GREATER_THAN_LAST_PURCHASE_TIME(42),
/**
*
* Provided lifecycle stage is invalid.
*
*
* INVALID_LIFECYCLE_STAGE = 43;
*/
INVALID_LIFECYCLE_STAGE(43),
/**
*
* The event value of the Customer Match user attribute is invalid.
*
*
* INVALID_EVENT_VALUE = 44;
*/
INVALID_EVENT_VALUE(44),
/**
*
* All the fields are not present in the EventAttribute of the Customer
* Match.
*
*
* EVENT_ATTRIBUTE_ALL_FIELDS_ARE_REQUIRED = 45;
*/
EVENT_ATTRIBUTE_ALL_FIELDS_ARE_REQUIRED(45),
/**
*
* Consent was provided at the operation level for an OfflineUserDataJobType
* that expects it at the job level. The provided operation-level consent
* will be ignored.
*
*
* OPERATION_LEVEL_CONSENT_PROVIDED = 48;
*/
OPERATION_LEVEL_CONSENT_PROVIDED(48),
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;
/**
*
* The user list ID provided for the job is invalid.
*
*
* INVALID_USER_LIST_ID = 3;
*/
public static final int INVALID_USER_LIST_ID_VALUE = 3;
/**
*
* Type of the user list is not applicable for the job.
*
*
* INVALID_USER_LIST_TYPE = 4;
*/
public static final int INVALID_USER_LIST_TYPE_VALUE = 4;
/**
*
* Customer is not allowisted for using user ID in upload data.
*
*
* NOT_ON_ALLOWLIST_FOR_USER_ID = 33;
*/
public static final int NOT_ON_ALLOWLIST_FOR_USER_ID_VALUE = 33;
/**
*
* Upload data is not compatible with the upload key type of the associated
* user list.
*
*
* INCOMPATIBLE_UPLOAD_KEY_TYPE = 6;
*/
public static final int INCOMPATIBLE_UPLOAD_KEY_TYPE_VALUE = 6;
/**
*
* The user identifier is missing valid data.
*
*
* MISSING_USER_IDENTIFIER = 7;
*/
public static final int MISSING_USER_IDENTIFIER_VALUE = 7;
/**
*
* The mobile ID is malformed.
*
*
* INVALID_MOBILE_ID_FORMAT = 8;
*/
public static final int INVALID_MOBILE_ID_FORMAT_VALUE = 8;
/**
*
* Maximum number of user identifiers allowed per request is 100,000 and per
* operation is 20.
*
*
* TOO_MANY_USER_IDENTIFIERS = 9;
*/
public static final int TOO_MANY_USER_IDENTIFIERS_VALUE = 9;
/**
*
* Customer is not on the allow-list for store sales direct data.
*
*
* NOT_ON_ALLOWLIST_FOR_STORE_SALES_DIRECT = 31;
*/
public static final int NOT_ON_ALLOWLIST_FOR_STORE_SALES_DIRECT_VALUE = 31;
/**
*
* Customer is not on the allow-list for unified store sales data.
*
*
* NOT_ON_ALLOWLIST_FOR_UNIFIED_STORE_SALES = 32;
*/
public static final int NOT_ON_ALLOWLIST_FOR_UNIFIED_STORE_SALES_VALUE = 32;
/**
*
* The partner ID in store sales direct metadata is invalid.
*
*
* INVALID_PARTNER_ID = 11;
*/
public static final int INVALID_PARTNER_ID_VALUE = 11;
/**
*
* The data in user identifier should not be encoded.
*
*
* INVALID_ENCODING = 12;
*/
public static final int INVALID_ENCODING_VALUE = 12;
/**
*
* The country code is invalid.
*
*
* INVALID_COUNTRY_CODE = 13;
*/
public static final int INVALID_COUNTRY_CODE_VALUE = 13;
/**
*
* Incompatible user identifier when using third_party_user_id for store
* sales direct first party data or not using third_party_user_id for store
* sales third party data.
*
*
* INCOMPATIBLE_USER_IDENTIFIER = 14;
*/
public static final int INCOMPATIBLE_USER_IDENTIFIER_VALUE = 14;
/**
*
* A transaction time in the future is not allowed.
*
*
* FUTURE_TRANSACTION_TIME = 15;
*/
public static final int FUTURE_TRANSACTION_TIME_VALUE = 15;
/**
*
* The conversion_action specified in transaction_attributes is used to
* report conversions to a conversion action configured in Google Ads. This
* error indicates there is no such conversion action in the account.
*
*
* INVALID_CONVERSION_ACTION = 16;
*/
public static final int INVALID_CONVERSION_ACTION_VALUE = 16;
/**
*
* Mobile ID is not supported for store sales direct data.
*
*
* MOBILE_ID_NOT_SUPPORTED = 17;
*/
public static final int MOBILE_ID_NOT_SUPPORTED_VALUE = 17;
/**
*
* When a remove-all operation is provided, it has to be the first operation
* of the operation list.
*
*
* INVALID_OPERATION_ORDER = 18;
*/
public static final int INVALID_OPERATION_ORDER_VALUE = 18;
/**
*
* Mixing creation and removal of offline data in the same job is not
* allowed.
*
*
* CONFLICTING_OPERATION = 19;
*/
public static final int CONFLICTING_OPERATION_VALUE = 19;
/**
*
* The external update ID already exists.
*
*
* EXTERNAL_UPDATE_ID_ALREADY_EXISTS = 21;
*/
public static final int EXTERNAL_UPDATE_ID_ALREADY_EXISTS_VALUE = 21;
/**
*
* Once the upload job is started, new operations cannot be added.
*
*
* JOB_ALREADY_STARTED = 22;
*/
public static final int JOB_ALREADY_STARTED_VALUE = 22;
/**
*
* Remove operation is not allowed for store sales direct updates.
*
*
* REMOVE_NOT_SUPPORTED = 23;
*/
public static final int REMOVE_NOT_SUPPORTED_VALUE = 23;
/**
*
* Remove-all is not supported for certain offline user data job types.
*
*
* REMOVE_ALL_NOT_SUPPORTED = 24;
*/
public static final int REMOVE_ALL_NOT_SUPPORTED_VALUE = 24;
/**
*
* The SHA256 encoded value is malformed.
*
*
* INVALID_SHA256_FORMAT = 25;
*/
public static final int INVALID_SHA256_FORMAT_VALUE = 25;
/**
*
* The custom key specified is not enabled for the unified store sales
* upload.
*
*
* CUSTOM_KEY_DISABLED = 26;
*/
public static final int CUSTOM_KEY_DISABLED_VALUE = 26;
/**
*
* The custom key specified is not predefined through the Google Ads UI.
*
*
* CUSTOM_KEY_NOT_PREDEFINED = 27;
*/
public static final int CUSTOM_KEY_NOT_PREDEFINED_VALUE = 27;
/**
*
* The custom key specified is not set in the upload.
*
*
* CUSTOM_KEY_NOT_SET = 29;
*/
public static final int CUSTOM_KEY_NOT_SET_VALUE = 29;
/**
*
* The customer has not accepted the customer data terms in the conversion
* settings page.
*
*
* CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS = 30;
*/
public static final int CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS_VALUE = 30;
/**
*
* User attributes cannot be uploaded into a user list.
*
*
* ATTRIBUTES_NOT_APPLICABLE_FOR_CUSTOMER_MATCH_USER_LIST = 34;
*/
public static final int ATTRIBUTES_NOT_APPLICABLE_FOR_CUSTOMER_MATCH_USER_LIST_VALUE = 34;
/**
*
* Lifetime bucket value must be a number from 0 to 10; 0 is only accepted
* for remove operations
*
*
* LIFETIME_VALUE_BUCKET_NOT_IN_RANGE = 35;
*/
public static final int LIFETIME_VALUE_BUCKET_NOT_IN_RANGE_VALUE = 35;
/**
*
* Identifiers not supported for Customer Match attributes. User attributes
* can only be provided with contact info (email, phone, address) user
* identifiers.
*
*
* INCOMPATIBLE_USER_IDENTIFIER_FOR_ATTRIBUTES = 36;
*/
public static final int INCOMPATIBLE_USER_IDENTIFIER_FOR_ATTRIBUTES_VALUE = 36;
/**
*
* A time in the future is not allowed.
*
*
* FUTURE_TIME_NOT_ALLOWED = 37;
*/
public static final int FUTURE_TIME_NOT_ALLOWED_VALUE = 37;
/**
*
* Last purchase date time cannot be less than acquisition date time.
*
*
* LAST_PURCHASE_TIME_LESS_THAN_ACQUISITION_TIME = 38;
*/
public static final int LAST_PURCHASE_TIME_LESS_THAN_ACQUISITION_TIME_VALUE = 38;
/**
*
* Only emails are accepted as user identifiers for shopping loyalty match.
* {-- api.dev/not-precedent: The identifier is not limited to ids, but
* also include other user info eg. phone numbers.}
*
*
* CUSTOMER_IDENTIFIER_NOT_ALLOWED = 39;
*/
public static final int CUSTOMER_IDENTIFIER_NOT_ALLOWED_VALUE = 39;
/**
*
* Provided item ID is invalid.
*
*
* INVALID_ITEM_ID = 40;
*/
public static final int INVALID_ITEM_ID_VALUE = 40;
/**
*
* First purchase date time cannot be greater than the last purchase date
* time.
*
*
* FIRST_PURCHASE_TIME_GREATER_THAN_LAST_PURCHASE_TIME = 42;
*/
public static final int FIRST_PURCHASE_TIME_GREATER_THAN_LAST_PURCHASE_TIME_VALUE = 42;
/**
*
* Provided lifecycle stage is invalid.
*
*
* INVALID_LIFECYCLE_STAGE = 43;
*/
public static final int INVALID_LIFECYCLE_STAGE_VALUE = 43;
/**
*
* The event value of the Customer Match user attribute is invalid.
*
*
* INVALID_EVENT_VALUE = 44;
*/
public static final int INVALID_EVENT_VALUE_VALUE = 44;
/**
*
* All the fields are not present in the EventAttribute of the Customer
* Match.
*
*
* EVENT_ATTRIBUTE_ALL_FIELDS_ARE_REQUIRED = 45;
*/
public static final int EVENT_ATTRIBUTE_ALL_FIELDS_ARE_REQUIRED_VALUE = 45;
/**
*
* Consent was provided at the operation level for an OfflineUserDataJobType
* that expects it at the job level. The provided operation-level consent
* will be ignored.
*
*
* OPERATION_LEVEL_CONSENT_PROVIDED = 48;
*/
public static final int OPERATION_LEVEL_CONSENT_PROVIDED_VALUE = 48;
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 OfflineUserDataJobError 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 OfflineUserDataJobError forNumber(int value) {
switch (value) {
case 0: return UNSPECIFIED;
case 1: return UNKNOWN;
case 3: return INVALID_USER_LIST_ID;
case 4: return INVALID_USER_LIST_TYPE;
case 33: return NOT_ON_ALLOWLIST_FOR_USER_ID;
case 6: return INCOMPATIBLE_UPLOAD_KEY_TYPE;
case 7: return MISSING_USER_IDENTIFIER;
case 8: return INVALID_MOBILE_ID_FORMAT;
case 9: return TOO_MANY_USER_IDENTIFIERS;
case 31: return NOT_ON_ALLOWLIST_FOR_STORE_SALES_DIRECT;
case 32: return NOT_ON_ALLOWLIST_FOR_UNIFIED_STORE_SALES;
case 11: return INVALID_PARTNER_ID;
case 12: return INVALID_ENCODING;
case 13: return INVALID_COUNTRY_CODE;
case 14: return INCOMPATIBLE_USER_IDENTIFIER;
case 15: return FUTURE_TRANSACTION_TIME;
case 16: return INVALID_CONVERSION_ACTION;
case 17: return MOBILE_ID_NOT_SUPPORTED;
case 18: return INVALID_OPERATION_ORDER;
case 19: return CONFLICTING_OPERATION;
case 21: return EXTERNAL_UPDATE_ID_ALREADY_EXISTS;
case 22: return JOB_ALREADY_STARTED;
case 23: return REMOVE_NOT_SUPPORTED;
case 24: return REMOVE_ALL_NOT_SUPPORTED;
case 25: return INVALID_SHA256_FORMAT;
case 26: return CUSTOM_KEY_DISABLED;
case 27: return CUSTOM_KEY_NOT_PREDEFINED;
case 29: return CUSTOM_KEY_NOT_SET;
case 30: return CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS;
case 34: return ATTRIBUTES_NOT_APPLICABLE_FOR_CUSTOMER_MATCH_USER_LIST;
case 35: return LIFETIME_VALUE_BUCKET_NOT_IN_RANGE;
case 36: return INCOMPATIBLE_USER_IDENTIFIER_FOR_ATTRIBUTES;
case 37: return FUTURE_TIME_NOT_ALLOWED;
case 38: return LAST_PURCHASE_TIME_LESS_THAN_ACQUISITION_TIME;
case 39: return CUSTOMER_IDENTIFIER_NOT_ALLOWED;
case 40: return INVALID_ITEM_ID;
case 42: return FIRST_PURCHASE_TIME_GREATER_THAN_LAST_PURCHASE_TIME;
case 43: return INVALID_LIFECYCLE_STAGE;
case 44: return INVALID_EVENT_VALUE;
case 45: return EVENT_ATTRIBUTE_ALL_FIELDS_ARE_REQUIRED;
case 48: return OPERATION_LEVEL_CONSENT_PROVIDED;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
OfflineUserDataJobError> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public OfflineUserDataJobError findValueByNumber(int number) {
return OfflineUserDataJobError.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.OfflineUserDataJobErrorEnum.getDescriptor().getEnumTypes().get(0);
}
private static final OfflineUserDataJobError[] VALUES = values();
public static OfflineUserDataJobError 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 OfflineUserDataJobError(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnum.OfflineUserDataJobError)
}
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.OfflineUserDataJobErrorEnum)) {
return super.equals(obj);
}
com.google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnum other = (com.google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnum) 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.OfflineUserDataJobErrorEnum parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnum 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.OfflineUserDataJobErrorEnum parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnum 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.OfflineUserDataJobErrorEnum parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnum 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.OfflineUserDataJobErrorEnum 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.OfflineUserDataJobErrorEnum 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.OfflineUserDataJobErrorEnum 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.OfflineUserDataJobErrorEnum 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.OfflineUserDataJobErrorEnum 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.OfflineUserDataJobErrorEnum 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.OfflineUserDataJobErrorEnum 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 offline user data job errors.
*
*
* Protobuf type {@code google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnum}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnum)
com.google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnumOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v17.errors.OfflineUserDataJobErrorProto.internal_static_google_ads_googleads_v17_errors_OfflineUserDataJobErrorEnum_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v17.errors.OfflineUserDataJobErrorProto.internal_static_google_ads_googleads_v17_errors_OfflineUserDataJobErrorEnum_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnum.class, com.google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnum.Builder.class);
}
// Construct using com.google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnum.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.OfflineUserDataJobErrorProto.internal_static_google_ads_googleads_v17_errors_OfflineUserDataJobErrorEnum_descriptor;
}
@java.lang.Override
public com.google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnum getDefaultInstanceForType() {
return com.google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnum.getDefaultInstance();
}
@java.lang.Override
public com.google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnum build() {
com.google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnum result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnum buildPartial() {
com.google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnum result = new com.google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnum(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.OfflineUserDataJobErrorEnum) {
return mergeFrom((com.google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnum)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnum other) {
if (other == com.google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnum.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.OfflineUserDataJobErrorEnum)
}
// @@protoc_insertion_point(class_scope:google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnum)
private static final com.google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnum DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnum();
}
public static com.google.ads.googleads.v17.errors.OfflineUserDataJobErrorEnum getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public OfflineUserDataJobErrorEnum 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.OfflineUserDataJobErrorEnum getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy