com.google.ads.googleads.v10.errors.ImageErrorEnum Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-ads-stubs-v10 Show documentation
Show all versions of google-ads-stubs-v10 Show documentation
Stubs for GAAPI version google-ads-stubs-v10
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v10/errors/image_error.proto
package com.google.ads.googleads.v10.errors;
/**
*
* Container for enum describing possible image errors.
*
*
* Protobuf type {@code google.ads.googleads.v10.errors.ImageErrorEnum}
*/
public final class ImageErrorEnum extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:google.ads.googleads.v10.errors.ImageErrorEnum)
ImageErrorEnumOrBuilder {
private static final long serialVersionUID = 0L;
// Use ImageErrorEnum.newBuilder() to construct.
private ImageErrorEnum(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ImageErrorEnum() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ImageErrorEnum();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v10.errors.ImageErrorProto.internal_static_google_ads_googleads_v10_errors_ImageErrorEnum_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v10.errors.ImageErrorProto.internal_static_google_ads_googleads_v10_errors_ImageErrorEnum_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v10.errors.ImageErrorEnum.class, com.google.ads.googleads.v10.errors.ImageErrorEnum.Builder.class);
}
/**
*
* Enum describing possible image errors.
*
*
* Protobuf enum {@code google.ads.googleads.v10.errors.ImageErrorEnum.ImageError}
*/
public enum ImageError
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 image is not valid.
*
*
* INVALID_IMAGE = 2;
*/
INVALID_IMAGE(2),
/**
*
* The image could not be stored.
*
*
* STORAGE_ERROR = 3;
*/
STORAGE_ERROR(3),
/**
*
* There was a problem with the request.
*
*
* BAD_REQUEST = 4;
*/
BAD_REQUEST(4),
/**
*
* The image is not of legal dimensions.
*
*
* UNEXPECTED_SIZE = 5;
*/
UNEXPECTED_SIZE(5),
/**
*
* Animated image are not permitted.
*
*
* ANIMATED_NOT_ALLOWED = 6;
*/
ANIMATED_NOT_ALLOWED(6),
/**
*
* Animation is too long.
*
*
* ANIMATION_TOO_LONG = 7;
*/
ANIMATION_TOO_LONG(7),
/**
*
* There was an error on the server.
*
*
* SERVER_ERROR = 8;
*/
SERVER_ERROR(8),
/**
*
* Image cannot be in CMYK color format.
*
*
* CMYK_JPEG_NOT_ALLOWED = 9;
*/
CMYK_JPEG_NOT_ALLOWED(9),
/**
*
* Flash images are not permitted.
*
*
* FLASH_NOT_ALLOWED = 10;
*/
FLASH_NOT_ALLOWED(10),
/**
*
* Flash images must support clickTag.
*
*
* FLASH_WITHOUT_CLICKTAG = 11;
*/
FLASH_WITHOUT_CLICKTAG(11),
/**
*
* A flash error has occurred after fixing the click tag.
*
*
* FLASH_ERROR_AFTER_FIXING_CLICK_TAG = 12;
*/
FLASH_ERROR_AFTER_FIXING_CLICK_TAG(12),
/**
*
* Unacceptable visual effects.
*
*
* ANIMATED_VISUAL_EFFECT = 13;
*/
ANIMATED_VISUAL_EFFECT(13),
/**
*
* There was a problem with the flash image.
*
*
* FLASH_ERROR = 14;
*/
FLASH_ERROR(14),
/**
*
* Incorrect image layout.
*
*
* LAYOUT_PROBLEM = 15;
*/
LAYOUT_PROBLEM(15),
/**
*
* There was a problem reading the image file.
*
*
* PROBLEM_READING_IMAGE_FILE = 16;
*/
PROBLEM_READING_IMAGE_FILE(16),
/**
*
* There was an error storing the image.
*
*
* ERROR_STORING_IMAGE = 17;
*/
ERROR_STORING_IMAGE(17),
/**
*
* The aspect ratio of the image is not allowed.
*
*
* ASPECT_RATIO_NOT_ALLOWED = 18;
*/
ASPECT_RATIO_NOT_ALLOWED(18),
/**
*
* Flash cannot have network objects.
*
*
* FLASH_HAS_NETWORK_OBJECTS = 19;
*/
FLASH_HAS_NETWORK_OBJECTS(19),
/**
*
* Flash cannot have network methods.
*
*
* FLASH_HAS_NETWORK_METHODS = 20;
*/
FLASH_HAS_NETWORK_METHODS(20),
/**
*
* Flash cannot have a Url.
*
*
* FLASH_HAS_URL = 21;
*/
FLASH_HAS_URL(21),
/**
*
* Flash cannot use mouse tracking.
*
*
* FLASH_HAS_MOUSE_TRACKING = 22;
*/
FLASH_HAS_MOUSE_TRACKING(22),
/**
*
* Flash cannot have a random number.
*
*
* FLASH_HAS_RANDOM_NUM = 23;
*/
FLASH_HAS_RANDOM_NUM(23),
/**
*
* Ad click target cannot be '_self'.
*
*
* FLASH_SELF_TARGETS = 24;
*/
FLASH_SELF_TARGETS(24),
/**
*
* GetUrl method should only use '_blank'.
*
*
* FLASH_BAD_GETURL_TARGET = 25;
*/
FLASH_BAD_GETURL_TARGET(25),
/**
*
* Flash version is not supported.
*
*
* FLASH_VERSION_NOT_SUPPORTED = 26;
*/
FLASH_VERSION_NOT_SUPPORTED(26),
/**
*
* Flash movies need to have hard coded click URL or clickTAG
*
*
* FLASH_WITHOUT_HARD_CODED_CLICK_URL = 27;
*/
FLASH_WITHOUT_HARD_CODED_CLICK_URL(27),
/**
*
* Uploaded flash file is corrupted.
*
*
* INVALID_FLASH_FILE = 28;
*/
INVALID_FLASH_FILE(28),
/**
*
* Uploaded flash file can be parsed, but the click tag can not be fixed
* properly.
*
*
* FAILED_TO_FIX_CLICK_TAG_IN_FLASH = 29;
*/
FAILED_TO_FIX_CLICK_TAG_IN_FLASH(29),
/**
*
* Flash movie accesses network resources
*
*
* FLASH_ACCESSES_NETWORK_RESOURCES = 30;
*/
FLASH_ACCESSES_NETWORK_RESOURCES(30),
/**
*
* Flash movie attempts to call external javascript code
*
*
* FLASH_EXTERNAL_JS_CALL = 31;
*/
FLASH_EXTERNAL_JS_CALL(31),
/**
*
* Flash movie attempts to call flash system commands
*
*
* FLASH_EXTERNAL_FS_CALL = 32;
*/
FLASH_EXTERNAL_FS_CALL(32),
/**
*
* Image file is too large.
*
*
* FILE_TOO_LARGE = 33;
*/
FILE_TOO_LARGE(33),
/**
*
* Image data is too large.
*
*
* IMAGE_DATA_TOO_LARGE = 34;
*/
IMAGE_DATA_TOO_LARGE(34),
/**
*
* Error while processing the image.
*
*
* IMAGE_PROCESSING_ERROR = 35;
*/
IMAGE_PROCESSING_ERROR(35),
/**
*
* Image is too small.
*
*
* IMAGE_TOO_SMALL = 36;
*/
IMAGE_TOO_SMALL(36),
/**
*
* Input was invalid.
*
*
* INVALID_INPUT = 37;
*/
INVALID_INPUT(37),
/**
*
* There was a problem reading the image file.
*
*
* PROBLEM_READING_FILE = 38;
*/
PROBLEM_READING_FILE(38),
/**
*
* Image constraints are violated, but details like ASPECT_RATIO_NOT_ALLOWED
* can't be provided. This happens when asset spec contains more than one
* constraint and different criteria of different constraints are violated.
*
*
* IMAGE_CONSTRAINTS_VIOLATED = 39;
*/
IMAGE_CONSTRAINTS_VIOLATED(39),
/**
*
* Image format is not allowed.
*
*
* FORMAT_NOT_ALLOWED = 40;
*/
FORMAT_NOT_ALLOWED(40),
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 image is not valid.
*
*
* INVALID_IMAGE = 2;
*/
public static final int INVALID_IMAGE_VALUE = 2;
/**
*
* The image could not be stored.
*
*
* STORAGE_ERROR = 3;
*/
public static final int STORAGE_ERROR_VALUE = 3;
/**
*
* There was a problem with the request.
*
*
* BAD_REQUEST = 4;
*/
public static final int BAD_REQUEST_VALUE = 4;
/**
*
* The image is not of legal dimensions.
*
*
* UNEXPECTED_SIZE = 5;
*/
public static final int UNEXPECTED_SIZE_VALUE = 5;
/**
*
* Animated image are not permitted.
*
*
* ANIMATED_NOT_ALLOWED = 6;
*/
public static final int ANIMATED_NOT_ALLOWED_VALUE = 6;
/**
*
* Animation is too long.
*
*
* ANIMATION_TOO_LONG = 7;
*/
public static final int ANIMATION_TOO_LONG_VALUE = 7;
/**
*
* There was an error on the server.
*
*
* SERVER_ERROR = 8;
*/
public static final int SERVER_ERROR_VALUE = 8;
/**
*
* Image cannot be in CMYK color format.
*
*
* CMYK_JPEG_NOT_ALLOWED = 9;
*/
public static final int CMYK_JPEG_NOT_ALLOWED_VALUE = 9;
/**
*
* Flash images are not permitted.
*
*
* FLASH_NOT_ALLOWED = 10;
*/
public static final int FLASH_NOT_ALLOWED_VALUE = 10;
/**
*
* Flash images must support clickTag.
*
*
* FLASH_WITHOUT_CLICKTAG = 11;
*/
public static final int FLASH_WITHOUT_CLICKTAG_VALUE = 11;
/**
*
* A flash error has occurred after fixing the click tag.
*
*
* FLASH_ERROR_AFTER_FIXING_CLICK_TAG = 12;
*/
public static final int FLASH_ERROR_AFTER_FIXING_CLICK_TAG_VALUE = 12;
/**
*
* Unacceptable visual effects.
*
*
* ANIMATED_VISUAL_EFFECT = 13;
*/
public static final int ANIMATED_VISUAL_EFFECT_VALUE = 13;
/**
*
* There was a problem with the flash image.
*
*
* FLASH_ERROR = 14;
*/
public static final int FLASH_ERROR_VALUE = 14;
/**
*
* Incorrect image layout.
*
*
* LAYOUT_PROBLEM = 15;
*/
public static final int LAYOUT_PROBLEM_VALUE = 15;
/**
*
* There was a problem reading the image file.
*
*
* PROBLEM_READING_IMAGE_FILE = 16;
*/
public static final int PROBLEM_READING_IMAGE_FILE_VALUE = 16;
/**
*
* There was an error storing the image.
*
*
* ERROR_STORING_IMAGE = 17;
*/
public static final int ERROR_STORING_IMAGE_VALUE = 17;
/**
*
* The aspect ratio of the image is not allowed.
*
*
* ASPECT_RATIO_NOT_ALLOWED = 18;
*/
public static final int ASPECT_RATIO_NOT_ALLOWED_VALUE = 18;
/**
*
* Flash cannot have network objects.
*
*
* FLASH_HAS_NETWORK_OBJECTS = 19;
*/
public static final int FLASH_HAS_NETWORK_OBJECTS_VALUE = 19;
/**
*
* Flash cannot have network methods.
*
*
* FLASH_HAS_NETWORK_METHODS = 20;
*/
public static final int FLASH_HAS_NETWORK_METHODS_VALUE = 20;
/**
*
* Flash cannot have a Url.
*
*
* FLASH_HAS_URL = 21;
*/
public static final int FLASH_HAS_URL_VALUE = 21;
/**
*
* Flash cannot use mouse tracking.
*
*
* FLASH_HAS_MOUSE_TRACKING = 22;
*/
public static final int FLASH_HAS_MOUSE_TRACKING_VALUE = 22;
/**
*
* Flash cannot have a random number.
*
*
* FLASH_HAS_RANDOM_NUM = 23;
*/
public static final int FLASH_HAS_RANDOM_NUM_VALUE = 23;
/**
*
* Ad click target cannot be '_self'.
*
*
* FLASH_SELF_TARGETS = 24;
*/
public static final int FLASH_SELF_TARGETS_VALUE = 24;
/**
*
* GetUrl method should only use '_blank'.
*
*
* FLASH_BAD_GETURL_TARGET = 25;
*/
public static final int FLASH_BAD_GETURL_TARGET_VALUE = 25;
/**
*
* Flash version is not supported.
*
*
* FLASH_VERSION_NOT_SUPPORTED = 26;
*/
public static final int FLASH_VERSION_NOT_SUPPORTED_VALUE = 26;
/**
*
* Flash movies need to have hard coded click URL or clickTAG
*
*
* FLASH_WITHOUT_HARD_CODED_CLICK_URL = 27;
*/
public static final int FLASH_WITHOUT_HARD_CODED_CLICK_URL_VALUE = 27;
/**
*
* Uploaded flash file is corrupted.
*
*
* INVALID_FLASH_FILE = 28;
*/
public static final int INVALID_FLASH_FILE_VALUE = 28;
/**
*
* Uploaded flash file can be parsed, but the click tag can not be fixed
* properly.
*
*
* FAILED_TO_FIX_CLICK_TAG_IN_FLASH = 29;
*/
public static final int FAILED_TO_FIX_CLICK_TAG_IN_FLASH_VALUE = 29;
/**
*
* Flash movie accesses network resources
*
*
* FLASH_ACCESSES_NETWORK_RESOURCES = 30;
*/
public static final int FLASH_ACCESSES_NETWORK_RESOURCES_VALUE = 30;
/**
*
* Flash movie attempts to call external javascript code
*
*
* FLASH_EXTERNAL_JS_CALL = 31;
*/
public static final int FLASH_EXTERNAL_JS_CALL_VALUE = 31;
/**
*
* Flash movie attempts to call flash system commands
*
*
* FLASH_EXTERNAL_FS_CALL = 32;
*/
public static final int FLASH_EXTERNAL_FS_CALL_VALUE = 32;
/**
*
* Image file is too large.
*
*
* FILE_TOO_LARGE = 33;
*/
public static final int FILE_TOO_LARGE_VALUE = 33;
/**
*
* Image data is too large.
*
*
* IMAGE_DATA_TOO_LARGE = 34;
*/
public static final int IMAGE_DATA_TOO_LARGE_VALUE = 34;
/**
*
* Error while processing the image.
*
*
* IMAGE_PROCESSING_ERROR = 35;
*/
public static final int IMAGE_PROCESSING_ERROR_VALUE = 35;
/**
*
* Image is too small.
*
*
* IMAGE_TOO_SMALL = 36;
*/
public static final int IMAGE_TOO_SMALL_VALUE = 36;
/**
*
* Input was invalid.
*
*
* INVALID_INPUT = 37;
*/
public static final int INVALID_INPUT_VALUE = 37;
/**
*
* There was a problem reading the image file.
*
*
* PROBLEM_READING_FILE = 38;
*/
public static final int PROBLEM_READING_FILE_VALUE = 38;
/**
*
* Image constraints are violated, but details like ASPECT_RATIO_NOT_ALLOWED
* can't be provided. This happens when asset spec contains more than one
* constraint and different criteria of different constraints are violated.
*
*
* IMAGE_CONSTRAINTS_VIOLATED = 39;
*/
public static final int IMAGE_CONSTRAINTS_VIOLATED_VALUE = 39;
/**
*
* Image format is not allowed.
*
*
* FORMAT_NOT_ALLOWED = 40;
*/
public static final int FORMAT_NOT_ALLOWED_VALUE = 40;
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 ImageError 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 ImageError forNumber(int value) {
switch (value) {
case 0: return UNSPECIFIED;
case 1: return UNKNOWN;
case 2: return INVALID_IMAGE;
case 3: return STORAGE_ERROR;
case 4: return BAD_REQUEST;
case 5: return UNEXPECTED_SIZE;
case 6: return ANIMATED_NOT_ALLOWED;
case 7: return ANIMATION_TOO_LONG;
case 8: return SERVER_ERROR;
case 9: return CMYK_JPEG_NOT_ALLOWED;
case 10: return FLASH_NOT_ALLOWED;
case 11: return FLASH_WITHOUT_CLICKTAG;
case 12: return FLASH_ERROR_AFTER_FIXING_CLICK_TAG;
case 13: return ANIMATED_VISUAL_EFFECT;
case 14: return FLASH_ERROR;
case 15: return LAYOUT_PROBLEM;
case 16: return PROBLEM_READING_IMAGE_FILE;
case 17: return ERROR_STORING_IMAGE;
case 18: return ASPECT_RATIO_NOT_ALLOWED;
case 19: return FLASH_HAS_NETWORK_OBJECTS;
case 20: return FLASH_HAS_NETWORK_METHODS;
case 21: return FLASH_HAS_URL;
case 22: return FLASH_HAS_MOUSE_TRACKING;
case 23: return FLASH_HAS_RANDOM_NUM;
case 24: return FLASH_SELF_TARGETS;
case 25: return FLASH_BAD_GETURL_TARGET;
case 26: return FLASH_VERSION_NOT_SUPPORTED;
case 27: return FLASH_WITHOUT_HARD_CODED_CLICK_URL;
case 28: return INVALID_FLASH_FILE;
case 29: return FAILED_TO_FIX_CLICK_TAG_IN_FLASH;
case 30: return FLASH_ACCESSES_NETWORK_RESOURCES;
case 31: return FLASH_EXTERNAL_JS_CALL;
case 32: return FLASH_EXTERNAL_FS_CALL;
case 33: return FILE_TOO_LARGE;
case 34: return IMAGE_DATA_TOO_LARGE;
case 35: return IMAGE_PROCESSING_ERROR;
case 36: return IMAGE_TOO_SMALL;
case 37: return INVALID_INPUT;
case 38: return PROBLEM_READING_FILE;
case 39: return IMAGE_CONSTRAINTS_VIOLATED;
case 40: return FORMAT_NOT_ALLOWED;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ImageError> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public ImageError findValueByNumber(int number) {
return ImageError.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.google.ads.googleads.v10.errors.ImageErrorEnum.getDescriptor().getEnumTypes().get(0);
}
private static final ImageError[] VALUES = values();
public static ImageError 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 ImageError(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:google.ads.googleads.v10.errors.ImageErrorEnum.ImageError)
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.ads.googleads.v10.errors.ImageErrorEnum)) {
return super.equals(obj);
}
com.google.ads.googleads.v10.errors.ImageErrorEnum other = (com.google.ads.googleads.v10.errors.ImageErrorEnum) obj;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.ads.googleads.v10.errors.ImageErrorEnum parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v10.errors.ImageErrorEnum parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.ads.googleads.v10.errors.ImageErrorEnum parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v10.errors.ImageErrorEnum parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.ads.googleads.v10.errors.ImageErrorEnum parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v10.errors.ImageErrorEnum parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.ads.googleads.v10.errors.ImageErrorEnum parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.ads.googleads.v10.errors.ImageErrorEnum parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.ads.googleads.v10.errors.ImageErrorEnum parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.ads.googleads.v10.errors.ImageErrorEnum parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.ads.googleads.v10.errors.ImageErrorEnum parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.ads.googleads.v10.errors.ImageErrorEnum parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.google.ads.googleads.v10.errors.ImageErrorEnum 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 image errors.
*
*
* Protobuf type {@code google.ads.googleads.v10.errors.ImageErrorEnum}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:google.ads.googleads.v10.errors.ImageErrorEnum)
com.google.ads.googleads.v10.errors.ImageErrorEnumOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v10.errors.ImageErrorProto.internal_static_google_ads_googleads_v10_errors_ImageErrorEnum_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v10.errors.ImageErrorProto.internal_static_google_ads_googleads_v10_errors_ImageErrorEnum_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v10.errors.ImageErrorEnum.class, com.google.ads.googleads.v10.errors.ImageErrorEnum.Builder.class);
}
// Construct using com.google.ads.googleads.v10.errors.ImageErrorEnum.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.ads.googleads.v10.errors.ImageErrorProto.internal_static_google_ads_googleads_v10_errors_ImageErrorEnum_descriptor;
}
@java.lang.Override
public com.google.ads.googleads.v10.errors.ImageErrorEnum getDefaultInstanceForType() {
return com.google.ads.googleads.v10.errors.ImageErrorEnum.getDefaultInstance();
}
@java.lang.Override
public com.google.ads.googleads.v10.errors.ImageErrorEnum build() {
com.google.ads.googleads.v10.errors.ImageErrorEnum result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.ads.googleads.v10.errors.ImageErrorEnum buildPartial() {
com.google.ads.googleads.v10.errors.ImageErrorEnum result = new com.google.ads.googleads.v10.errors.ImageErrorEnum(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.ads.googleads.v10.errors.ImageErrorEnum) {
return mergeFrom((com.google.ads.googleads.v10.errors.ImageErrorEnum)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.ads.googleads.v10.errors.ImageErrorEnum other) {
if (other == com.google.ads.googleads.v10.errors.ImageErrorEnum.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:google.ads.googleads.v10.errors.ImageErrorEnum)
}
// @@protoc_insertion_point(class_scope:google.ads.googleads.v10.errors.ImageErrorEnum)
private static final com.google.ads.googleads.v10.errors.ImageErrorEnum DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.ads.googleads.v10.errors.ImageErrorEnum();
}
public static com.google.ads.googleads.v10.errors.ImageErrorEnum getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ImageErrorEnum parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.ads.googleads.v10.errors.ImageErrorEnum getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy