com.google.ads.googleads.v17.resources.OfflineConversionError 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/resources/offline_conversion_upload_client_summary.proto
// Protobuf Java Version: 3.25.3
package com.google.ads.googleads.v17.resources;
/**
*
* Possible errors for offline conversion client summary.
*
*
* Protobuf type {@code google.ads.googleads.v17.resources.OfflineConversionError}
*/
public final class OfflineConversionError extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:google.ads.googleads.v17.resources.OfflineConversionError)
OfflineConversionErrorOrBuilder {
private static final long serialVersionUID = 0L;
// Use OfflineConversionError.newBuilder() to construct.
private OfflineConversionError(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private OfflineConversionError() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new OfflineConversionError();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummaryProto.internal_static_google_ads_googleads_v17_resources_OfflineConversionError_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummaryProto.internal_static_google_ads_googleads_v17_resources_OfflineConversionError_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v17.resources.OfflineConversionError.class, com.google.ads.googleads.v17.resources.OfflineConversionError.Builder.class);
}
private int errorCodeCase_ = 0;
@SuppressWarnings("serial")
private java.lang.Object errorCode_;
public enum ErrorCodeCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
COLLECTION_SIZE_ERROR(1),
CONVERSION_ADJUSTMENT_UPLOAD_ERROR(2),
CONVERSION_UPLOAD_ERROR(3),
DATE_ERROR(4),
DISTINCT_ERROR(5),
FIELD_ERROR(6),
MUTATE_ERROR(7),
NOT_ALLOWLISTED_ERROR(8),
STRING_FORMAT_ERROR(9),
STRING_LENGTH_ERROR(10),
ERRORCODE_NOT_SET(0);
private final int value;
private ErrorCodeCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ErrorCodeCase valueOf(int value) {
return forNumber(value);
}
public static ErrorCodeCase forNumber(int value) {
switch (value) {
case 1: return COLLECTION_SIZE_ERROR;
case 2: return CONVERSION_ADJUSTMENT_UPLOAD_ERROR;
case 3: return CONVERSION_UPLOAD_ERROR;
case 4: return DATE_ERROR;
case 5: return DISTINCT_ERROR;
case 6: return FIELD_ERROR;
case 7: return MUTATE_ERROR;
case 8: return NOT_ALLOWLISTED_ERROR;
case 9: return STRING_FORMAT_ERROR;
case 10: return STRING_LENGTH_ERROR;
case 0: return ERRORCODE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public ErrorCodeCase
getErrorCodeCase() {
return ErrorCodeCase.forNumber(
errorCodeCase_);
}
public static final int COLLECTION_SIZE_ERROR_FIELD_NUMBER = 1;
/**
*
* Output only. Collection size error.
*
*
* .google.ads.googleads.v17.errors.CollectionSizeErrorEnum.CollectionSizeError collection_size_error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return Whether the collectionSizeError field is set.
*/
public boolean hasCollectionSizeError() {
return errorCodeCase_ == 1;
}
/**
*
* Output only. Collection size error.
*
*
* .google.ads.googleads.v17.errors.CollectionSizeErrorEnum.CollectionSizeError collection_size_error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The enum numeric value on the wire for collectionSizeError.
*/
public int getCollectionSizeErrorValue() {
if (errorCodeCase_ == 1) {
return (java.lang.Integer) errorCode_;
}
return 0;
}
/**
*
* Output only. Collection size error.
*
*
* .google.ads.googleads.v17.errors.CollectionSizeErrorEnum.CollectionSizeError collection_size_error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The collectionSizeError.
*/
public com.google.ads.googleads.v17.errors.CollectionSizeErrorEnum.CollectionSizeError getCollectionSizeError() {
if (errorCodeCase_ == 1) {
com.google.ads.googleads.v17.errors.CollectionSizeErrorEnum.CollectionSizeError result = com.google.ads.googleads.v17.errors.CollectionSizeErrorEnum.CollectionSizeError.forNumber(
(java.lang.Integer) errorCode_);
return result == null ? com.google.ads.googleads.v17.errors.CollectionSizeErrorEnum.CollectionSizeError.UNRECOGNIZED : result;
}
return com.google.ads.googleads.v17.errors.CollectionSizeErrorEnum.CollectionSizeError.UNSPECIFIED;
}
public static final int CONVERSION_ADJUSTMENT_UPLOAD_ERROR_FIELD_NUMBER = 2;
/**
*
* Output only. Conversion adjustment upload error.
*
*
* .google.ads.googleads.v17.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError conversion_adjustment_upload_error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return Whether the conversionAdjustmentUploadError field is set.
*/
public boolean hasConversionAdjustmentUploadError() {
return errorCodeCase_ == 2;
}
/**
*
* Output only. Conversion adjustment upload error.
*
*
* .google.ads.googleads.v17.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError conversion_adjustment_upload_error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The enum numeric value on the wire for conversionAdjustmentUploadError.
*/
public int getConversionAdjustmentUploadErrorValue() {
if (errorCodeCase_ == 2) {
return (java.lang.Integer) errorCode_;
}
return 0;
}
/**
*
* Output only. Conversion adjustment upload error.
*
*
* .google.ads.googleads.v17.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError conversion_adjustment_upload_error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The conversionAdjustmentUploadError.
*/
public com.google.ads.googleads.v17.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError getConversionAdjustmentUploadError() {
if (errorCodeCase_ == 2) {
com.google.ads.googleads.v17.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError result = com.google.ads.googleads.v17.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError.forNumber(
(java.lang.Integer) errorCode_);
return result == null ? com.google.ads.googleads.v17.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError.UNRECOGNIZED : result;
}
return com.google.ads.googleads.v17.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError.UNSPECIFIED;
}
public static final int CONVERSION_UPLOAD_ERROR_FIELD_NUMBER = 3;
/**
*
* Output only. Conversion upload error.
*
*
* .google.ads.googleads.v17.errors.ConversionUploadErrorEnum.ConversionUploadError conversion_upload_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return Whether the conversionUploadError field is set.
*/
public boolean hasConversionUploadError() {
return errorCodeCase_ == 3;
}
/**
*
* Output only. Conversion upload error.
*
*
* .google.ads.googleads.v17.errors.ConversionUploadErrorEnum.ConversionUploadError conversion_upload_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The enum numeric value on the wire for conversionUploadError.
*/
public int getConversionUploadErrorValue() {
if (errorCodeCase_ == 3) {
return (java.lang.Integer) errorCode_;
}
return 0;
}
/**
*
* Output only. Conversion upload error.
*
*
* .google.ads.googleads.v17.errors.ConversionUploadErrorEnum.ConversionUploadError conversion_upload_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The conversionUploadError.
*/
public com.google.ads.googleads.v17.errors.ConversionUploadErrorEnum.ConversionUploadError getConversionUploadError() {
if (errorCodeCase_ == 3) {
com.google.ads.googleads.v17.errors.ConversionUploadErrorEnum.ConversionUploadError result = com.google.ads.googleads.v17.errors.ConversionUploadErrorEnum.ConversionUploadError.forNumber(
(java.lang.Integer) errorCode_);
return result == null ? com.google.ads.googleads.v17.errors.ConversionUploadErrorEnum.ConversionUploadError.UNRECOGNIZED : result;
}
return com.google.ads.googleads.v17.errors.ConversionUploadErrorEnum.ConversionUploadError.UNSPECIFIED;
}
public static final int DATE_ERROR_FIELD_NUMBER = 4;
/**
*
* Output only. Date error.
*
*
* .google.ads.googleads.v17.errors.DateErrorEnum.DateError date_error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return Whether the dateError field is set.
*/
public boolean hasDateError() {
return errorCodeCase_ == 4;
}
/**
*
* Output only. Date error.
*
*
* .google.ads.googleads.v17.errors.DateErrorEnum.DateError date_error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The enum numeric value on the wire for dateError.
*/
public int getDateErrorValue() {
if (errorCodeCase_ == 4) {
return (java.lang.Integer) errorCode_;
}
return 0;
}
/**
*
* Output only. Date error.
*
*
* .google.ads.googleads.v17.errors.DateErrorEnum.DateError date_error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The dateError.
*/
public com.google.ads.googleads.v17.errors.DateErrorEnum.DateError getDateError() {
if (errorCodeCase_ == 4) {
com.google.ads.googleads.v17.errors.DateErrorEnum.DateError result = com.google.ads.googleads.v17.errors.DateErrorEnum.DateError.forNumber(
(java.lang.Integer) errorCode_);
return result == null ? com.google.ads.googleads.v17.errors.DateErrorEnum.DateError.UNRECOGNIZED : result;
}
return com.google.ads.googleads.v17.errors.DateErrorEnum.DateError.UNSPECIFIED;
}
public static final int DISTINCT_ERROR_FIELD_NUMBER = 5;
/**
*
* Output only. Distinct error.
*
*
* .google.ads.googleads.v17.errors.DistinctErrorEnum.DistinctError distinct_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return Whether the distinctError field is set.
*/
public boolean hasDistinctError() {
return errorCodeCase_ == 5;
}
/**
*
* Output only. Distinct error.
*
*
* .google.ads.googleads.v17.errors.DistinctErrorEnum.DistinctError distinct_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The enum numeric value on the wire for distinctError.
*/
public int getDistinctErrorValue() {
if (errorCodeCase_ == 5) {
return (java.lang.Integer) errorCode_;
}
return 0;
}
/**
*
* Output only. Distinct error.
*
*
* .google.ads.googleads.v17.errors.DistinctErrorEnum.DistinctError distinct_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The distinctError.
*/
public com.google.ads.googleads.v17.errors.DistinctErrorEnum.DistinctError getDistinctError() {
if (errorCodeCase_ == 5) {
com.google.ads.googleads.v17.errors.DistinctErrorEnum.DistinctError result = com.google.ads.googleads.v17.errors.DistinctErrorEnum.DistinctError.forNumber(
(java.lang.Integer) errorCode_);
return result == null ? com.google.ads.googleads.v17.errors.DistinctErrorEnum.DistinctError.UNRECOGNIZED : result;
}
return com.google.ads.googleads.v17.errors.DistinctErrorEnum.DistinctError.UNSPECIFIED;
}
public static final int FIELD_ERROR_FIELD_NUMBER = 6;
/**
*
* Output only. Field error.
*
*
* .google.ads.googleads.v17.errors.FieldErrorEnum.FieldError field_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return Whether the fieldError field is set.
*/
public boolean hasFieldError() {
return errorCodeCase_ == 6;
}
/**
*
* Output only. Field error.
*
*
* .google.ads.googleads.v17.errors.FieldErrorEnum.FieldError field_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The enum numeric value on the wire for fieldError.
*/
public int getFieldErrorValue() {
if (errorCodeCase_ == 6) {
return (java.lang.Integer) errorCode_;
}
return 0;
}
/**
*
* Output only. Field error.
*
*
* .google.ads.googleads.v17.errors.FieldErrorEnum.FieldError field_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The fieldError.
*/
public com.google.ads.googleads.v17.errors.FieldErrorEnum.FieldError getFieldError() {
if (errorCodeCase_ == 6) {
com.google.ads.googleads.v17.errors.FieldErrorEnum.FieldError result = com.google.ads.googleads.v17.errors.FieldErrorEnum.FieldError.forNumber(
(java.lang.Integer) errorCode_);
return result == null ? com.google.ads.googleads.v17.errors.FieldErrorEnum.FieldError.UNRECOGNIZED : result;
}
return com.google.ads.googleads.v17.errors.FieldErrorEnum.FieldError.UNSPECIFIED;
}
public static final int MUTATE_ERROR_FIELD_NUMBER = 7;
/**
*
* Output only. Mutate error.
*
*
* .google.ads.googleads.v17.errors.MutateErrorEnum.MutateError mutate_error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return Whether the mutateError field is set.
*/
public boolean hasMutateError() {
return errorCodeCase_ == 7;
}
/**
*
* Output only. Mutate error.
*
*
* .google.ads.googleads.v17.errors.MutateErrorEnum.MutateError mutate_error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The enum numeric value on the wire for mutateError.
*/
public int getMutateErrorValue() {
if (errorCodeCase_ == 7) {
return (java.lang.Integer) errorCode_;
}
return 0;
}
/**
*
* Output only. Mutate error.
*
*
* .google.ads.googleads.v17.errors.MutateErrorEnum.MutateError mutate_error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The mutateError.
*/
public com.google.ads.googleads.v17.errors.MutateErrorEnum.MutateError getMutateError() {
if (errorCodeCase_ == 7) {
com.google.ads.googleads.v17.errors.MutateErrorEnum.MutateError result = com.google.ads.googleads.v17.errors.MutateErrorEnum.MutateError.forNumber(
(java.lang.Integer) errorCode_);
return result == null ? com.google.ads.googleads.v17.errors.MutateErrorEnum.MutateError.UNRECOGNIZED : result;
}
return com.google.ads.googleads.v17.errors.MutateErrorEnum.MutateError.UNSPECIFIED;
}
public static final int NOT_ALLOWLISTED_ERROR_FIELD_NUMBER = 8;
/**
*
* Output only. Not allowlisted error.
*
*
* .google.ads.googleads.v17.errors.NotAllowlistedErrorEnum.NotAllowlistedError not_allowlisted_error = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return Whether the notAllowlistedError field is set.
*/
public boolean hasNotAllowlistedError() {
return errorCodeCase_ == 8;
}
/**
*
* Output only. Not allowlisted error.
*
*
* .google.ads.googleads.v17.errors.NotAllowlistedErrorEnum.NotAllowlistedError not_allowlisted_error = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The enum numeric value on the wire for notAllowlistedError.
*/
public int getNotAllowlistedErrorValue() {
if (errorCodeCase_ == 8) {
return (java.lang.Integer) errorCode_;
}
return 0;
}
/**
*
* Output only. Not allowlisted error.
*
*
* .google.ads.googleads.v17.errors.NotAllowlistedErrorEnum.NotAllowlistedError not_allowlisted_error = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The notAllowlistedError.
*/
public com.google.ads.googleads.v17.errors.NotAllowlistedErrorEnum.NotAllowlistedError getNotAllowlistedError() {
if (errorCodeCase_ == 8) {
com.google.ads.googleads.v17.errors.NotAllowlistedErrorEnum.NotAllowlistedError result = com.google.ads.googleads.v17.errors.NotAllowlistedErrorEnum.NotAllowlistedError.forNumber(
(java.lang.Integer) errorCode_);
return result == null ? com.google.ads.googleads.v17.errors.NotAllowlistedErrorEnum.NotAllowlistedError.UNRECOGNIZED : result;
}
return com.google.ads.googleads.v17.errors.NotAllowlistedErrorEnum.NotAllowlistedError.UNSPECIFIED;
}
public static final int STRING_FORMAT_ERROR_FIELD_NUMBER = 9;
/**
*
* Output only. String format error.
*
*
* .google.ads.googleads.v17.errors.StringFormatErrorEnum.StringFormatError string_format_error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return Whether the stringFormatError field is set.
*/
public boolean hasStringFormatError() {
return errorCodeCase_ == 9;
}
/**
*
* Output only. String format error.
*
*
* .google.ads.googleads.v17.errors.StringFormatErrorEnum.StringFormatError string_format_error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The enum numeric value on the wire for stringFormatError.
*/
public int getStringFormatErrorValue() {
if (errorCodeCase_ == 9) {
return (java.lang.Integer) errorCode_;
}
return 0;
}
/**
*
* Output only. String format error.
*
*
* .google.ads.googleads.v17.errors.StringFormatErrorEnum.StringFormatError string_format_error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The stringFormatError.
*/
public com.google.ads.googleads.v17.errors.StringFormatErrorEnum.StringFormatError getStringFormatError() {
if (errorCodeCase_ == 9) {
com.google.ads.googleads.v17.errors.StringFormatErrorEnum.StringFormatError result = com.google.ads.googleads.v17.errors.StringFormatErrorEnum.StringFormatError.forNumber(
(java.lang.Integer) errorCode_);
return result == null ? com.google.ads.googleads.v17.errors.StringFormatErrorEnum.StringFormatError.UNRECOGNIZED : result;
}
return com.google.ads.googleads.v17.errors.StringFormatErrorEnum.StringFormatError.UNSPECIFIED;
}
public static final int STRING_LENGTH_ERROR_FIELD_NUMBER = 10;
/**
*
* Output only. String length error.
*
*
* .google.ads.googleads.v17.errors.StringLengthErrorEnum.StringLengthError string_length_error = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return Whether the stringLengthError field is set.
*/
public boolean hasStringLengthError() {
return errorCodeCase_ == 10;
}
/**
*
* Output only. String length error.
*
*
* .google.ads.googleads.v17.errors.StringLengthErrorEnum.StringLengthError string_length_error = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The enum numeric value on the wire for stringLengthError.
*/
public int getStringLengthErrorValue() {
if (errorCodeCase_ == 10) {
return (java.lang.Integer) errorCode_;
}
return 0;
}
/**
*
* Output only. String length error.
*
*
* .google.ads.googleads.v17.errors.StringLengthErrorEnum.StringLengthError string_length_error = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The stringLengthError.
*/
public com.google.ads.googleads.v17.errors.StringLengthErrorEnum.StringLengthError getStringLengthError() {
if (errorCodeCase_ == 10) {
com.google.ads.googleads.v17.errors.StringLengthErrorEnum.StringLengthError result = com.google.ads.googleads.v17.errors.StringLengthErrorEnum.StringLengthError.forNumber(
(java.lang.Integer) errorCode_);
return result == null ? com.google.ads.googleads.v17.errors.StringLengthErrorEnum.StringLengthError.UNRECOGNIZED : result;
}
return com.google.ads.googleads.v17.errors.StringLengthErrorEnum.StringLengthError.UNSPECIFIED;
}
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 {
if (errorCodeCase_ == 1) {
output.writeEnum(1, ((java.lang.Integer) errorCode_));
}
if (errorCodeCase_ == 2) {
output.writeEnum(2, ((java.lang.Integer) errorCode_));
}
if (errorCodeCase_ == 3) {
output.writeEnum(3, ((java.lang.Integer) errorCode_));
}
if (errorCodeCase_ == 4) {
output.writeEnum(4, ((java.lang.Integer) errorCode_));
}
if (errorCodeCase_ == 5) {
output.writeEnum(5, ((java.lang.Integer) errorCode_));
}
if (errorCodeCase_ == 6) {
output.writeEnum(6, ((java.lang.Integer) errorCode_));
}
if (errorCodeCase_ == 7) {
output.writeEnum(7, ((java.lang.Integer) errorCode_));
}
if (errorCodeCase_ == 8) {
output.writeEnum(8, ((java.lang.Integer) errorCode_));
}
if (errorCodeCase_ == 9) {
output.writeEnum(9, ((java.lang.Integer) errorCode_));
}
if (errorCodeCase_ == 10) {
output.writeEnum(10, ((java.lang.Integer) errorCode_));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (errorCodeCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, ((java.lang.Integer) errorCode_));
}
if (errorCodeCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, ((java.lang.Integer) errorCode_));
}
if (errorCodeCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, ((java.lang.Integer) errorCode_));
}
if (errorCodeCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(4, ((java.lang.Integer) errorCode_));
}
if (errorCodeCase_ == 5) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(5, ((java.lang.Integer) errorCode_));
}
if (errorCodeCase_ == 6) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(6, ((java.lang.Integer) errorCode_));
}
if (errorCodeCase_ == 7) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(7, ((java.lang.Integer) errorCode_));
}
if (errorCodeCase_ == 8) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(8, ((java.lang.Integer) errorCode_));
}
if (errorCodeCase_ == 9) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(9, ((java.lang.Integer) errorCode_));
}
if (errorCodeCase_ == 10) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(10, ((java.lang.Integer) errorCode_));
}
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.resources.OfflineConversionError)) {
return super.equals(obj);
}
com.google.ads.googleads.v17.resources.OfflineConversionError other = (com.google.ads.googleads.v17.resources.OfflineConversionError) obj;
if (!getErrorCodeCase().equals(other.getErrorCodeCase())) return false;
switch (errorCodeCase_) {
case 1:
if (getCollectionSizeErrorValue()
!= other.getCollectionSizeErrorValue()) return false;
break;
case 2:
if (getConversionAdjustmentUploadErrorValue()
!= other.getConversionAdjustmentUploadErrorValue()) return false;
break;
case 3:
if (getConversionUploadErrorValue()
!= other.getConversionUploadErrorValue()) return false;
break;
case 4:
if (getDateErrorValue()
!= other.getDateErrorValue()) return false;
break;
case 5:
if (getDistinctErrorValue()
!= other.getDistinctErrorValue()) return false;
break;
case 6:
if (getFieldErrorValue()
!= other.getFieldErrorValue()) return false;
break;
case 7:
if (getMutateErrorValue()
!= other.getMutateErrorValue()) return false;
break;
case 8:
if (getNotAllowlistedErrorValue()
!= other.getNotAllowlistedErrorValue()) return false;
break;
case 9:
if (getStringFormatErrorValue()
!= other.getStringFormatErrorValue()) return false;
break;
case 10:
if (getStringLengthErrorValue()
!= other.getStringLengthErrorValue()) return false;
break;
case 0:
default:
}
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();
switch (errorCodeCase_) {
case 1:
hash = (37 * hash) + COLLECTION_SIZE_ERROR_FIELD_NUMBER;
hash = (53 * hash) + getCollectionSizeErrorValue();
break;
case 2:
hash = (37 * hash) + CONVERSION_ADJUSTMENT_UPLOAD_ERROR_FIELD_NUMBER;
hash = (53 * hash) + getConversionAdjustmentUploadErrorValue();
break;
case 3:
hash = (37 * hash) + CONVERSION_UPLOAD_ERROR_FIELD_NUMBER;
hash = (53 * hash) + getConversionUploadErrorValue();
break;
case 4:
hash = (37 * hash) + DATE_ERROR_FIELD_NUMBER;
hash = (53 * hash) + getDateErrorValue();
break;
case 5:
hash = (37 * hash) + DISTINCT_ERROR_FIELD_NUMBER;
hash = (53 * hash) + getDistinctErrorValue();
break;
case 6:
hash = (37 * hash) + FIELD_ERROR_FIELD_NUMBER;
hash = (53 * hash) + getFieldErrorValue();
break;
case 7:
hash = (37 * hash) + MUTATE_ERROR_FIELD_NUMBER;
hash = (53 * hash) + getMutateErrorValue();
break;
case 8:
hash = (37 * hash) + NOT_ALLOWLISTED_ERROR_FIELD_NUMBER;
hash = (53 * hash) + getNotAllowlistedErrorValue();
break;
case 9:
hash = (37 * hash) + STRING_FORMAT_ERROR_FIELD_NUMBER;
hash = (53 * hash) + getStringFormatErrorValue();
break;
case 10:
hash = (37 * hash) + STRING_LENGTH_ERROR_FIELD_NUMBER;
hash = (53 * hash) + getStringLengthErrorValue();
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.ads.googleads.v17.resources.OfflineConversionError parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.resources.OfflineConversionError 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.resources.OfflineConversionError parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.resources.OfflineConversionError 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.resources.OfflineConversionError parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.resources.OfflineConversionError 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.resources.OfflineConversionError parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.ads.googleads.v17.resources.OfflineConversionError 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.resources.OfflineConversionError parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.ads.googleads.v17.resources.OfflineConversionError 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.resources.OfflineConversionError 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.resources.OfflineConversionError 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.resources.OfflineConversionError 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;
}
/**
*
* Possible errors for offline conversion client summary.
*
*
* Protobuf type {@code google.ads.googleads.v17.resources.OfflineConversionError}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:google.ads.googleads.v17.resources.OfflineConversionError)
com.google.ads.googleads.v17.resources.OfflineConversionErrorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummaryProto.internal_static_google_ads_googleads_v17_resources_OfflineConversionError_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummaryProto.internal_static_google_ads_googleads_v17_resources_OfflineConversionError_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v17.resources.OfflineConversionError.class, com.google.ads.googleads.v17.resources.OfflineConversionError.Builder.class);
}
// Construct using com.google.ads.googleads.v17.resources.OfflineConversionError.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
errorCodeCase_ = 0;
errorCode_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummaryProto.internal_static_google_ads_googleads_v17_resources_OfflineConversionError_descriptor;
}
@java.lang.Override
public com.google.ads.googleads.v17.resources.OfflineConversionError getDefaultInstanceForType() {
return com.google.ads.googleads.v17.resources.OfflineConversionError.getDefaultInstance();
}
@java.lang.Override
public com.google.ads.googleads.v17.resources.OfflineConversionError build() {
com.google.ads.googleads.v17.resources.OfflineConversionError result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.ads.googleads.v17.resources.OfflineConversionError buildPartial() {
com.google.ads.googleads.v17.resources.OfflineConversionError result = new com.google.ads.googleads.v17.resources.OfflineConversionError(this);
if (bitField0_ != 0) { buildPartial0(result); }
buildPartialOneofs(result);
onBuilt();
return result;
}
private void buildPartial0(com.google.ads.googleads.v17.resources.OfflineConversionError result) {
int from_bitField0_ = bitField0_;
}
private void buildPartialOneofs(com.google.ads.googleads.v17.resources.OfflineConversionError result) {
result.errorCodeCase_ = errorCodeCase_;
result.errorCode_ = this.errorCode_;
}
@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.resources.OfflineConversionError) {
return mergeFrom((com.google.ads.googleads.v17.resources.OfflineConversionError)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.ads.googleads.v17.resources.OfflineConversionError other) {
if (other == com.google.ads.googleads.v17.resources.OfflineConversionError.getDefaultInstance()) return this;
switch (other.getErrorCodeCase()) {
case COLLECTION_SIZE_ERROR: {
setCollectionSizeErrorValue(other.getCollectionSizeErrorValue());
break;
}
case CONVERSION_ADJUSTMENT_UPLOAD_ERROR: {
setConversionAdjustmentUploadErrorValue(other.getConversionAdjustmentUploadErrorValue());
break;
}
case CONVERSION_UPLOAD_ERROR: {
setConversionUploadErrorValue(other.getConversionUploadErrorValue());
break;
}
case DATE_ERROR: {
setDateErrorValue(other.getDateErrorValue());
break;
}
case DISTINCT_ERROR: {
setDistinctErrorValue(other.getDistinctErrorValue());
break;
}
case FIELD_ERROR: {
setFieldErrorValue(other.getFieldErrorValue());
break;
}
case MUTATE_ERROR: {
setMutateErrorValue(other.getMutateErrorValue());
break;
}
case NOT_ALLOWLISTED_ERROR: {
setNotAllowlistedErrorValue(other.getNotAllowlistedErrorValue());
break;
}
case STRING_FORMAT_ERROR: {
setStringFormatErrorValue(other.getStringFormatErrorValue());
break;
}
case STRING_LENGTH_ERROR: {
setStringLengthErrorValue(other.getStringLengthErrorValue());
break;
}
case ERRORCODE_NOT_SET: {
break;
}
}
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;
case 8: {
int rawValue = input.readEnum();
errorCodeCase_ = 1;
errorCode_ = rawValue;
break;
} // case 8
case 16: {
int rawValue = input.readEnum();
errorCodeCase_ = 2;
errorCode_ = rawValue;
break;
} // case 16
case 24: {
int rawValue = input.readEnum();
errorCodeCase_ = 3;
errorCode_ = rawValue;
break;
} // case 24
case 32: {
int rawValue = input.readEnum();
errorCodeCase_ = 4;
errorCode_ = rawValue;
break;
} // case 32
case 40: {
int rawValue = input.readEnum();
errorCodeCase_ = 5;
errorCode_ = rawValue;
break;
} // case 40
case 48: {
int rawValue = input.readEnum();
errorCodeCase_ = 6;
errorCode_ = rawValue;
break;
} // case 48
case 56: {
int rawValue = input.readEnum();
errorCodeCase_ = 7;
errorCode_ = rawValue;
break;
} // case 56
case 64: {
int rawValue = input.readEnum();
errorCodeCase_ = 8;
errorCode_ = rawValue;
break;
} // case 64
case 72: {
int rawValue = input.readEnum();
errorCodeCase_ = 9;
errorCode_ = rawValue;
break;
} // case 72
case 80: {
int rawValue = input.readEnum();
errorCodeCase_ = 10;
errorCode_ = rawValue;
break;
} // case 80
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;
}
private int errorCodeCase_ = 0;
private java.lang.Object errorCode_;
public ErrorCodeCase
getErrorCodeCase() {
return ErrorCodeCase.forNumber(
errorCodeCase_);
}
public Builder clearErrorCode() {
errorCodeCase_ = 0;
errorCode_ = null;
onChanged();
return this;
}
private int bitField0_;
/**
*
* Output only. Collection size error.
*
*
* .google.ads.googleads.v17.errors.CollectionSizeErrorEnum.CollectionSizeError collection_size_error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return Whether the collectionSizeError field is set.
*/
@java.lang.Override
public boolean hasCollectionSizeError() {
return errorCodeCase_ == 1;
}
/**
*
* Output only. Collection size error.
*
*
* .google.ads.googleads.v17.errors.CollectionSizeErrorEnum.CollectionSizeError collection_size_error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The enum numeric value on the wire for collectionSizeError.
*/
@java.lang.Override
public int getCollectionSizeErrorValue() {
if (errorCodeCase_ == 1) {
return ((java.lang.Integer) errorCode_).intValue();
}
return 0;
}
/**
*
* Output only. Collection size error.
*
*
* .google.ads.googleads.v17.errors.CollectionSizeErrorEnum.CollectionSizeError collection_size_error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The enum numeric value on the wire for collectionSizeError to set.
* @return This builder for chaining.
*/
public Builder setCollectionSizeErrorValue(int value) {
errorCodeCase_ = 1;
errorCode_ = value;
onChanged();
return this;
}
/**
*
* Output only. Collection size error.
*
*
* .google.ads.googleads.v17.errors.CollectionSizeErrorEnum.CollectionSizeError collection_size_error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The collectionSizeError.
*/
@java.lang.Override
public com.google.ads.googleads.v17.errors.CollectionSizeErrorEnum.CollectionSizeError getCollectionSizeError() {
if (errorCodeCase_ == 1) {
com.google.ads.googleads.v17.errors.CollectionSizeErrorEnum.CollectionSizeError result = com.google.ads.googleads.v17.errors.CollectionSizeErrorEnum.CollectionSizeError.forNumber(
(java.lang.Integer) errorCode_);
return result == null ? com.google.ads.googleads.v17.errors.CollectionSizeErrorEnum.CollectionSizeError.UNRECOGNIZED : result;
}
return com.google.ads.googleads.v17.errors.CollectionSizeErrorEnum.CollectionSizeError.UNSPECIFIED;
}
/**
*
* Output only. Collection size error.
*
*
* .google.ads.googleads.v17.errors.CollectionSizeErrorEnum.CollectionSizeError collection_size_error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The collectionSizeError to set.
* @return This builder for chaining.
*/
public Builder setCollectionSizeError(com.google.ads.googleads.v17.errors.CollectionSizeErrorEnum.CollectionSizeError value) {
if (value == null) {
throw new NullPointerException();
}
errorCodeCase_ = 1;
errorCode_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Output only. Collection size error.
*
*
* .google.ads.googleads.v17.errors.CollectionSizeErrorEnum.CollectionSizeError collection_size_error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return This builder for chaining.
*/
public Builder clearCollectionSizeError() {
if (errorCodeCase_ == 1) {
errorCodeCase_ = 0;
errorCode_ = null;
onChanged();
}
return this;
}
/**
*
* Output only. Conversion adjustment upload error.
*
*
* .google.ads.googleads.v17.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError conversion_adjustment_upload_error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return Whether the conversionAdjustmentUploadError field is set.
*/
@java.lang.Override
public boolean hasConversionAdjustmentUploadError() {
return errorCodeCase_ == 2;
}
/**
*
* Output only. Conversion adjustment upload error.
*
*
* .google.ads.googleads.v17.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError conversion_adjustment_upload_error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The enum numeric value on the wire for conversionAdjustmentUploadError.
*/
@java.lang.Override
public int getConversionAdjustmentUploadErrorValue() {
if (errorCodeCase_ == 2) {
return ((java.lang.Integer) errorCode_).intValue();
}
return 0;
}
/**
*
* Output only. Conversion adjustment upload error.
*
*
* .google.ads.googleads.v17.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError conversion_adjustment_upload_error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The enum numeric value on the wire for conversionAdjustmentUploadError to set.
* @return This builder for chaining.
*/
public Builder setConversionAdjustmentUploadErrorValue(int value) {
errorCodeCase_ = 2;
errorCode_ = value;
onChanged();
return this;
}
/**
*
* Output only. Conversion adjustment upload error.
*
*
* .google.ads.googleads.v17.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError conversion_adjustment_upload_error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The conversionAdjustmentUploadError.
*/
@java.lang.Override
public com.google.ads.googleads.v17.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError getConversionAdjustmentUploadError() {
if (errorCodeCase_ == 2) {
com.google.ads.googleads.v17.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError result = com.google.ads.googleads.v17.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError.forNumber(
(java.lang.Integer) errorCode_);
return result == null ? com.google.ads.googleads.v17.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError.UNRECOGNIZED : result;
}
return com.google.ads.googleads.v17.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError.UNSPECIFIED;
}
/**
*
* Output only. Conversion adjustment upload error.
*
*
* .google.ads.googleads.v17.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError conversion_adjustment_upload_error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The conversionAdjustmentUploadError to set.
* @return This builder for chaining.
*/
public Builder setConversionAdjustmentUploadError(com.google.ads.googleads.v17.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError value) {
if (value == null) {
throw new NullPointerException();
}
errorCodeCase_ = 2;
errorCode_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Output only. Conversion adjustment upload error.
*
*
* .google.ads.googleads.v17.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError conversion_adjustment_upload_error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return This builder for chaining.
*/
public Builder clearConversionAdjustmentUploadError() {
if (errorCodeCase_ == 2) {
errorCodeCase_ = 0;
errorCode_ = null;
onChanged();
}
return this;
}
/**
*
* Output only. Conversion upload error.
*
*
* .google.ads.googleads.v17.errors.ConversionUploadErrorEnum.ConversionUploadError conversion_upload_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return Whether the conversionUploadError field is set.
*/
@java.lang.Override
public boolean hasConversionUploadError() {
return errorCodeCase_ == 3;
}
/**
*
* Output only. Conversion upload error.
*
*
* .google.ads.googleads.v17.errors.ConversionUploadErrorEnum.ConversionUploadError conversion_upload_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The enum numeric value on the wire for conversionUploadError.
*/
@java.lang.Override
public int getConversionUploadErrorValue() {
if (errorCodeCase_ == 3) {
return ((java.lang.Integer) errorCode_).intValue();
}
return 0;
}
/**
*
* Output only. Conversion upload error.
*
*
* .google.ads.googleads.v17.errors.ConversionUploadErrorEnum.ConversionUploadError conversion_upload_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The enum numeric value on the wire for conversionUploadError to set.
* @return This builder for chaining.
*/
public Builder setConversionUploadErrorValue(int value) {
errorCodeCase_ = 3;
errorCode_ = value;
onChanged();
return this;
}
/**
*
* Output only. Conversion upload error.
*
*
* .google.ads.googleads.v17.errors.ConversionUploadErrorEnum.ConversionUploadError conversion_upload_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The conversionUploadError.
*/
@java.lang.Override
public com.google.ads.googleads.v17.errors.ConversionUploadErrorEnum.ConversionUploadError getConversionUploadError() {
if (errorCodeCase_ == 3) {
com.google.ads.googleads.v17.errors.ConversionUploadErrorEnum.ConversionUploadError result = com.google.ads.googleads.v17.errors.ConversionUploadErrorEnum.ConversionUploadError.forNumber(
(java.lang.Integer) errorCode_);
return result == null ? com.google.ads.googleads.v17.errors.ConversionUploadErrorEnum.ConversionUploadError.UNRECOGNIZED : result;
}
return com.google.ads.googleads.v17.errors.ConversionUploadErrorEnum.ConversionUploadError.UNSPECIFIED;
}
/**
*
* Output only. Conversion upload error.
*
*
* .google.ads.googleads.v17.errors.ConversionUploadErrorEnum.ConversionUploadError conversion_upload_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The conversionUploadError to set.
* @return This builder for chaining.
*/
public Builder setConversionUploadError(com.google.ads.googleads.v17.errors.ConversionUploadErrorEnum.ConversionUploadError value) {
if (value == null) {
throw new NullPointerException();
}
errorCodeCase_ = 3;
errorCode_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Output only. Conversion upload error.
*
*
* .google.ads.googleads.v17.errors.ConversionUploadErrorEnum.ConversionUploadError conversion_upload_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return This builder for chaining.
*/
public Builder clearConversionUploadError() {
if (errorCodeCase_ == 3) {
errorCodeCase_ = 0;
errorCode_ = null;
onChanged();
}
return this;
}
/**
*
* Output only. Date error.
*
*
* .google.ads.googleads.v17.errors.DateErrorEnum.DateError date_error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return Whether the dateError field is set.
*/
@java.lang.Override
public boolean hasDateError() {
return errorCodeCase_ == 4;
}
/**
*
* Output only. Date error.
*
*
* .google.ads.googleads.v17.errors.DateErrorEnum.DateError date_error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The enum numeric value on the wire for dateError.
*/
@java.lang.Override
public int getDateErrorValue() {
if (errorCodeCase_ == 4) {
return ((java.lang.Integer) errorCode_).intValue();
}
return 0;
}
/**
*
* Output only. Date error.
*
*
* .google.ads.googleads.v17.errors.DateErrorEnum.DateError date_error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The enum numeric value on the wire for dateError to set.
* @return This builder for chaining.
*/
public Builder setDateErrorValue(int value) {
errorCodeCase_ = 4;
errorCode_ = value;
onChanged();
return this;
}
/**
*
* Output only. Date error.
*
*
* .google.ads.googleads.v17.errors.DateErrorEnum.DateError date_error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The dateError.
*/
@java.lang.Override
public com.google.ads.googleads.v17.errors.DateErrorEnum.DateError getDateError() {
if (errorCodeCase_ == 4) {
com.google.ads.googleads.v17.errors.DateErrorEnum.DateError result = com.google.ads.googleads.v17.errors.DateErrorEnum.DateError.forNumber(
(java.lang.Integer) errorCode_);
return result == null ? com.google.ads.googleads.v17.errors.DateErrorEnum.DateError.UNRECOGNIZED : result;
}
return com.google.ads.googleads.v17.errors.DateErrorEnum.DateError.UNSPECIFIED;
}
/**
*
* Output only. Date error.
*
*
* .google.ads.googleads.v17.errors.DateErrorEnum.DateError date_error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The dateError to set.
* @return This builder for chaining.
*/
public Builder setDateError(com.google.ads.googleads.v17.errors.DateErrorEnum.DateError value) {
if (value == null) {
throw new NullPointerException();
}
errorCodeCase_ = 4;
errorCode_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Output only. Date error.
*
*
* .google.ads.googleads.v17.errors.DateErrorEnum.DateError date_error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return This builder for chaining.
*/
public Builder clearDateError() {
if (errorCodeCase_ == 4) {
errorCodeCase_ = 0;
errorCode_ = null;
onChanged();
}
return this;
}
/**
*
* Output only. Distinct error.
*
*
* .google.ads.googleads.v17.errors.DistinctErrorEnum.DistinctError distinct_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return Whether the distinctError field is set.
*/
@java.lang.Override
public boolean hasDistinctError() {
return errorCodeCase_ == 5;
}
/**
*
* Output only. Distinct error.
*
*
* .google.ads.googleads.v17.errors.DistinctErrorEnum.DistinctError distinct_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The enum numeric value on the wire for distinctError.
*/
@java.lang.Override
public int getDistinctErrorValue() {
if (errorCodeCase_ == 5) {
return ((java.lang.Integer) errorCode_).intValue();
}
return 0;
}
/**
*
* Output only. Distinct error.
*
*
* .google.ads.googleads.v17.errors.DistinctErrorEnum.DistinctError distinct_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The enum numeric value on the wire for distinctError to set.
* @return This builder for chaining.
*/
public Builder setDistinctErrorValue(int value) {
errorCodeCase_ = 5;
errorCode_ = value;
onChanged();
return this;
}
/**
*
* Output only. Distinct error.
*
*
* .google.ads.googleads.v17.errors.DistinctErrorEnum.DistinctError distinct_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The distinctError.
*/
@java.lang.Override
public com.google.ads.googleads.v17.errors.DistinctErrorEnum.DistinctError getDistinctError() {
if (errorCodeCase_ == 5) {
com.google.ads.googleads.v17.errors.DistinctErrorEnum.DistinctError result = com.google.ads.googleads.v17.errors.DistinctErrorEnum.DistinctError.forNumber(
(java.lang.Integer) errorCode_);
return result == null ? com.google.ads.googleads.v17.errors.DistinctErrorEnum.DistinctError.UNRECOGNIZED : result;
}
return com.google.ads.googleads.v17.errors.DistinctErrorEnum.DistinctError.UNSPECIFIED;
}
/**
*
* Output only. Distinct error.
*
*
* .google.ads.googleads.v17.errors.DistinctErrorEnum.DistinctError distinct_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The distinctError to set.
* @return This builder for chaining.
*/
public Builder setDistinctError(com.google.ads.googleads.v17.errors.DistinctErrorEnum.DistinctError value) {
if (value == null) {
throw new NullPointerException();
}
errorCodeCase_ = 5;
errorCode_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Output only. Distinct error.
*
*
* .google.ads.googleads.v17.errors.DistinctErrorEnum.DistinctError distinct_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return This builder for chaining.
*/
public Builder clearDistinctError() {
if (errorCodeCase_ == 5) {
errorCodeCase_ = 0;
errorCode_ = null;
onChanged();
}
return this;
}
/**
*
* Output only. Field error.
*
*
* .google.ads.googleads.v17.errors.FieldErrorEnum.FieldError field_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return Whether the fieldError field is set.
*/
@java.lang.Override
public boolean hasFieldError() {
return errorCodeCase_ == 6;
}
/**
*
* Output only. Field error.
*
*
* .google.ads.googleads.v17.errors.FieldErrorEnum.FieldError field_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The enum numeric value on the wire for fieldError.
*/
@java.lang.Override
public int getFieldErrorValue() {
if (errorCodeCase_ == 6) {
return ((java.lang.Integer) errorCode_).intValue();
}
return 0;
}
/**
*
* Output only. Field error.
*
*
* .google.ads.googleads.v17.errors.FieldErrorEnum.FieldError field_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The enum numeric value on the wire for fieldError to set.
* @return This builder for chaining.
*/
public Builder setFieldErrorValue(int value) {
errorCodeCase_ = 6;
errorCode_ = value;
onChanged();
return this;
}
/**
*
* Output only. Field error.
*
*
* .google.ads.googleads.v17.errors.FieldErrorEnum.FieldError field_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The fieldError.
*/
@java.lang.Override
public com.google.ads.googleads.v17.errors.FieldErrorEnum.FieldError getFieldError() {
if (errorCodeCase_ == 6) {
com.google.ads.googleads.v17.errors.FieldErrorEnum.FieldError result = com.google.ads.googleads.v17.errors.FieldErrorEnum.FieldError.forNumber(
(java.lang.Integer) errorCode_);
return result == null ? com.google.ads.googleads.v17.errors.FieldErrorEnum.FieldError.UNRECOGNIZED : result;
}
return com.google.ads.googleads.v17.errors.FieldErrorEnum.FieldError.UNSPECIFIED;
}
/**
*
* Output only. Field error.
*
*
* .google.ads.googleads.v17.errors.FieldErrorEnum.FieldError field_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The fieldError to set.
* @return This builder for chaining.
*/
public Builder setFieldError(com.google.ads.googleads.v17.errors.FieldErrorEnum.FieldError value) {
if (value == null) {
throw new NullPointerException();
}
errorCodeCase_ = 6;
errorCode_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Output only. Field error.
*
*
* .google.ads.googleads.v17.errors.FieldErrorEnum.FieldError field_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return This builder for chaining.
*/
public Builder clearFieldError() {
if (errorCodeCase_ == 6) {
errorCodeCase_ = 0;
errorCode_ = null;
onChanged();
}
return this;
}
/**
*
* Output only. Mutate error.
*
*
* .google.ads.googleads.v17.errors.MutateErrorEnum.MutateError mutate_error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return Whether the mutateError field is set.
*/
@java.lang.Override
public boolean hasMutateError() {
return errorCodeCase_ == 7;
}
/**
*
* Output only. Mutate error.
*
*
* .google.ads.googleads.v17.errors.MutateErrorEnum.MutateError mutate_error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The enum numeric value on the wire for mutateError.
*/
@java.lang.Override
public int getMutateErrorValue() {
if (errorCodeCase_ == 7) {
return ((java.lang.Integer) errorCode_).intValue();
}
return 0;
}
/**
*
* Output only. Mutate error.
*
*
* .google.ads.googleads.v17.errors.MutateErrorEnum.MutateError mutate_error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The enum numeric value on the wire for mutateError to set.
* @return This builder for chaining.
*/
public Builder setMutateErrorValue(int value) {
errorCodeCase_ = 7;
errorCode_ = value;
onChanged();
return this;
}
/**
*
* Output only. Mutate error.
*
*
* .google.ads.googleads.v17.errors.MutateErrorEnum.MutateError mutate_error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The mutateError.
*/
@java.lang.Override
public com.google.ads.googleads.v17.errors.MutateErrorEnum.MutateError getMutateError() {
if (errorCodeCase_ == 7) {
com.google.ads.googleads.v17.errors.MutateErrorEnum.MutateError result = com.google.ads.googleads.v17.errors.MutateErrorEnum.MutateError.forNumber(
(java.lang.Integer) errorCode_);
return result == null ? com.google.ads.googleads.v17.errors.MutateErrorEnum.MutateError.UNRECOGNIZED : result;
}
return com.google.ads.googleads.v17.errors.MutateErrorEnum.MutateError.UNSPECIFIED;
}
/**
*
* Output only. Mutate error.
*
*
* .google.ads.googleads.v17.errors.MutateErrorEnum.MutateError mutate_error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The mutateError to set.
* @return This builder for chaining.
*/
public Builder setMutateError(com.google.ads.googleads.v17.errors.MutateErrorEnum.MutateError value) {
if (value == null) {
throw new NullPointerException();
}
errorCodeCase_ = 7;
errorCode_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Output only. Mutate error.
*
*
* .google.ads.googleads.v17.errors.MutateErrorEnum.MutateError mutate_error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return This builder for chaining.
*/
public Builder clearMutateError() {
if (errorCodeCase_ == 7) {
errorCodeCase_ = 0;
errorCode_ = null;
onChanged();
}
return this;
}
/**
*
* Output only. Not allowlisted error.
*
*
* .google.ads.googleads.v17.errors.NotAllowlistedErrorEnum.NotAllowlistedError not_allowlisted_error = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return Whether the notAllowlistedError field is set.
*/
@java.lang.Override
public boolean hasNotAllowlistedError() {
return errorCodeCase_ == 8;
}
/**
*
* Output only. Not allowlisted error.
*
*
* .google.ads.googleads.v17.errors.NotAllowlistedErrorEnum.NotAllowlistedError not_allowlisted_error = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The enum numeric value on the wire for notAllowlistedError.
*/
@java.lang.Override
public int getNotAllowlistedErrorValue() {
if (errorCodeCase_ == 8) {
return ((java.lang.Integer) errorCode_).intValue();
}
return 0;
}
/**
*
* Output only. Not allowlisted error.
*
*
* .google.ads.googleads.v17.errors.NotAllowlistedErrorEnum.NotAllowlistedError not_allowlisted_error = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The enum numeric value on the wire for notAllowlistedError to set.
* @return This builder for chaining.
*/
public Builder setNotAllowlistedErrorValue(int value) {
errorCodeCase_ = 8;
errorCode_ = value;
onChanged();
return this;
}
/**
*
* Output only. Not allowlisted error.
*
*
* .google.ads.googleads.v17.errors.NotAllowlistedErrorEnum.NotAllowlistedError not_allowlisted_error = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The notAllowlistedError.
*/
@java.lang.Override
public com.google.ads.googleads.v17.errors.NotAllowlistedErrorEnum.NotAllowlistedError getNotAllowlistedError() {
if (errorCodeCase_ == 8) {
com.google.ads.googleads.v17.errors.NotAllowlistedErrorEnum.NotAllowlistedError result = com.google.ads.googleads.v17.errors.NotAllowlistedErrorEnum.NotAllowlistedError.forNumber(
(java.lang.Integer) errorCode_);
return result == null ? com.google.ads.googleads.v17.errors.NotAllowlistedErrorEnum.NotAllowlistedError.UNRECOGNIZED : result;
}
return com.google.ads.googleads.v17.errors.NotAllowlistedErrorEnum.NotAllowlistedError.UNSPECIFIED;
}
/**
*
* Output only. Not allowlisted error.
*
*
* .google.ads.googleads.v17.errors.NotAllowlistedErrorEnum.NotAllowlistedError not_allowlisted_error = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The notAllowlistedError to set.
* @return This builder for chaining.
*/
public Builder setNotAllowlistedError(com.google.ads.googleads.v17.errors.NotAllowlistedErrorEnum.NotAllowlistedError value) {
if (value == null) {
throw new NullPointerException();
}
errorCodeCase_ = 8;
errorCode_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Output only. Not allowlisted error.
*
*
* .google.ads.googleads.v17.errors.NotAllowlistedErrorEnum.NotAllowlistedError not_allowlisted_error = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return This builder for chaining.
*/
public Builder clearNotAllowlistedError() {
if (errorCodeCase_ == 8) {
errorCodeCase_ = 0;
errorCode_ = null;
onChanged();
}
return this;
}
/**
*
* Output only. String format error.
*
*
* .google.ads.googleads.v17.errors.StringFormatErrorEnum.StringFormatError string_format_error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return Whether the stringFormatError field is set.
*/
@java.lang.Override
public boolean hasStringFormatError() {
return errorCodeCase_ == 9;
}
/**
*
* Output only. String format error.
*
*
* .google.ads.googleads.v17.errors.StringFormatErrorEnum.StringFormatError string_format_error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The enum numeric value on the wire for stringFormatError.
*/
@java.lang.Override
public int getStringFormatErrorValue() {
if (errorCodeCase_ == 9) {
return ((java.lang.Integer) errorCode_).intValue();
}
return 0;
}
/**
*
* Output only. String format error.
*
*
* .google.ads.googleads.v17.errors.StringFormatErrorEnum.StringFormatError string_format_error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The enum numeric value on the wire for stringFormatError to set.
* @return This builder for chaining.
*/
public Builder setStringFormatErrorValue(int value) {
errorCodeCase_ = 9;
errorCode_ = value;
onChanged();
return this;
}
/**
*
* Output only. String format error.
*
*
* .google.ads.googleads.v17.errors.StringFormatErrorEnum.StringFormatError string_format_error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The stringFormatError.
*/
@java.lang.Override
public com.google.ads.googleads.v17.errors.StringFormatErrorEnum.StringFormatError getStringFormatError() {
if (errorCodeCase_ == 9) {
com.google.ads.googleads.v17.errors.StringFormatErrorEnum.StringFormatError result = com.google.ads.googleads.v17.errors.StringFormatErrorEnum.StringFormatError.forNumber(
(java.lang.Integer) errorCode_);
return result == null ? com.google.ads.googleads.v17.errors.StringFormatErrorEnum.StringFormatError.UNRECOGNIZED : result;
}
return com.google.ads.googleads.v17.errors.StringFormatErrorEnum.StringFormatError.UNSPECIFIED;
}
/**
*
* Output only. String format error.
*
*
* .google.ads.googleads.v17.errors.StringFormatErrorEnum.StringFormatError string_format_error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The stringFormatError to set.
* @return This builder for chaining.
*/
public Builder setStringFormatError(com.google.ads.googleads.v17.errors.StringFormatErrorEnum.StringFormatError value) {
if (value == null) {
throw new NullPointerException();
}
errorCodeCase_ = 9;
errorCode_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Output only. String format error.
*
*
* .google.ads.googleads.v17.errors.StringFormatErrorEnum.StringFormatError string_format_error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return This builder for chaining.
*/
public Builder clearStringFormatError() {
if (errorCodeCase_ == 9) {
errorCodeCase_ = 0;
errorCode_ = null;
onChanged();
}
return this;
}
/**
*
* Output only. String length error.
*
*
* .google.ads.googleads.v17.errors.StringLengthErrorEnum.StringLengthError string_length_error = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return Whether the stringLengthError field is set.
*/
@java.lang.Override
public boolean hasStringLengthError() {
return errorCodeCase_ == 10;
}
/**
*
* Output only. String length error.
*
*
* .google.ads.googleads.v17.errors.StringLengthErrorEnum.StringLengthError string_length_error = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The enum numeric value on the wire for stringLengthError.
*/
@java.lang.Override
public int getStringLengthErrorValue() {
if (errorCodeCase_ == 10) {
return ((java.lang.Integer) errorCode_).intValue();
}
return 0;
}
/**
*
* Output only. String length error.
*
*
* .google.ads.googleads.v17.errors.StringLengthErrorEnum.StringLengthError string_length_error = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The enum numeric value on the wire for stringLengthError to set.
* @return This builder for chaining.
*/
public Builder setStringLengthErrorValue(int value) {
errorCodeCase_ = 10;
errorCode_ = value;
onChanged();
return this;
}
/**
*
* Output only. String length error.
*
*
* .google.ads.googleads.v17.errors.StringLengthErrorEnum.StringLengthError string_length_error = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The stringLengthError.
*/
@java.lang.Override
public com.google.ads.googleads.v17.errors.StringLengthErrorEnum.StringLengthError getStringLengthError() {
if (errorCodeCase_ == 10) {
com.google.ads.googleads.v17.errors.StringLengthErrorEnum.StringLengthError result = com.google.ads.googleads.v17.errors.StringLengthErrorEnum.StringLengthError.forNumber(
(java.lang.Integer) errorCode_);
return result == null ? com.google.ads.googleads.v17.errors.StringLengthErrorEnum.StringLengthError.UNRECOGNIZED : result;
}
return com.google.ads.googleads.v17.errors.StringLengthErrorEnum.StringLengthError.UNSPECIFIED;
}
/**
*
* Output only. String length error.
*
*
* .google.ads.googleads.v17.errors.StringLengthErrorEnum.StringLengthError string_length_error = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The stringLengthError to set.
* @return This builder for chaining.
*/
public Builder setStringLengthError(com.google.ads.googleads.v17.errors.StringLengthErrorEnum.StringLengthError value) {
if (value == null) {
throw new NullPointerException();
}
errorCodeCase_ = 10;
errorCode_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Output only. String length error.
*
*
* .google.ads.googleads.v17.errors.StringLengthErrorEnum.StringLengthError string_length_error = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return This builder for chaining.
*/
public Builder clearStringLengthError() {
if (errorCodeCase_ == 10) {
errorCodeCase_ = 0;
errorCode_ = null;
onChanged();
}
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.resources.OfflineConversionError)
}
// @@protoc_insertion_point(class_scope:google.ads.googleads.v17.resources.OfflineConversionError)
private static final com.google.ads.googleads.v17.resources.OfflineConversionError DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.ads.googleads.v17.resources.OfflineConversionError();
}
public static com.google.ads.googleads.v17.resources.OfflineConversionError getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public OfflineConversionError 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.resources.OfflineConversionError getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy