Enum Class FeedErrorEnum.FeedError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<FeedErrorEnum.FeedError>,Constable
- Enclosing class:
- FeedErrorEnum
public static enum FeedErrorEnum.FeedError
extends Enum<FeedErrorEnum.FeedError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible feed errors.Protobuf enum
google.ads.googleads.v18.errors.FeedErrorEnum.FeedError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe names of the FeedAttributes must be unique.The attribute list must be an exact copy of the existing list if the attribute ID's are present.Business account cannot access Business Profile.A customer cannot have both LOCATION and AFFILIATE_LOCATION feeds.Cannot specify feed attributes for system feed.Cannot specify GOOGLE origin for a non-system generated feed.Cannot specify USER origin for a system generated feed.Cannot update FeedAttributes on feed with origin GOOGLE.Feed name matches that of another active Feed.There is already a feed with the given system feed generation data.A user can only create and modify feeds with USER origin.The given ID refers to a removed Feed.An error occurred accessing Business Profile.Invalid chain ID provided for affiliate location feed.Invalid auth token for the given email.The business account is not valid.Invalid email specified.Name of feed is not allowed.The origin of the feed is not valid for the client.Feed-based extension is read-only for this extension type.Missing OAuthInfo.New FeedAttributes must not affect the unique key.Too many FeedAttributes for a Feed.The received error code is not known in this version.Enum unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe names of the FeedAttributes must be unique.static final intThe attribute list must be an exact copy of the existing list if the attribute ID's are present.static final intBusiness account cannot access Business Profile.static final intA customer cannot have both LOCATION and AFFILIATE_LOCATION feeds.static final intCannot specify feed attributes for system feed.static final intCannot specify GOOGLE origin for a non-system generated feed.static final intCannot specify USER origin for a system generated feed.static final intCannot update FeedAttributes on feed with origin GOOGLE.static final intFeed name matches that of another active Feed.static final intThere is already a feed with the given system feed generation data.static final intA user can only create and modify feeds with USER origin.static final intThe given ID refers to a removed Feed.static final intAn error occurred accessing Business Profile.static final intInvalid chain ID provided for affiliate location feed.static final intInvalid auth token for the given email.static final intThe business account is not valid.static final intInvalid email specified.static final intName of feed is not allowed.static final intThe origin of the feed is not valid for the client.static final intFeed-based extension is read-only for this extension type.static final intMissing OAuthInfo.static final intNew FeedAttributes must not affect the unique key.static final intToo many FeedAttributes for a Feed.static final intThe received error code is not known in this version.static final intEnum unspecified. -
Method Summary
Modifier and TypeMethodDescriptionstatic FeedErrorEnum.FeedErrorforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<FeedErrorEnum.FeedError>static FeedErrorEnum.FeedErrorvalueOf(int value) Deprecated.static FeedErrorEnum.FeedErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static FeedErrorEnum.FeedErrorReturns the enum constant of this class with the specified name.static FeedErrorEnum.FeedError[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0; -
UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1; -
ATTRIBUTE_NAMES_NOT_UNIQUE
The names of the FeedAttributes must be unique.
ATTRIBUTE_NAMES_NOT_UNIQUE = 2; -
ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES
The attribute list must be an exact copy of the existing list if the attribute ID's are present.
ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES = 3; -
CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED
Cannot specify USER origin for a system generated feed.
CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED = 4; -
CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED
Cannot specify GOOGLE origin for a non-system generated feed.
CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED = 5; -
CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED
Cannot specify feed attributes for system feed.
CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED = 6; -
CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE
Cannot update FeedAttributes on feed with origin GOOGLE.
CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE = 7; -
FEED_REMOVED
The given ID refers to a removed Feed. Removed Feeds are immutable.
FEED_REMOVED = 8; -
INVALID_ORIGIN_VALUE
The origin of the feed is not valid for the client.
INVALID_ORIGIN_VALUE = 9; -
FEED_ORIGIN_IS_NOT_USER
A user can only create and modify feeds with USER origin.
FEED_ORIGIN_IS_NOT_USER = 10; -
INVALID_AUTH_TOKEN_FOR_EMAIL
Invalid auth token for the given email.
INVALID_AUTH_TOKEN_FOR_EMAIL = 11; -
INVALID_EMAIL
Invalid email specified.
INVALID_EMAIL = 12; -
DUPLICATE_FEED_NAME
Feed name matches that of another active Feed.
DUPLICATE_FEED_NAME = 13; -
INVALID_FEED_NAME
Name of feed is not allowed.
INVALID_FEED_NAME = 14; -
MISSING_OAUTH_INFO
Missing OAuthInfo.
MISSING_OAUTH_INFO = 15; -
NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY
New FeedAttributes must not affect the unique key.
NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY = 16; -
TOO_MANY_ATTRIBUTES
Too many FeedAttributes for a Feed.
TOO_MANY_ATTRIBUTES = 17; -
INVALID_BUSINESS_ACCOUNT
The business account is not valid.
INVALID_BUSINESS_ACCOUNT = 18; -
BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT
Business account cannot access Business Profile.
BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT = 19; -
INVALID_AFFILIATE_CHAIN_ID
Invalid chain ID provided for affiliate location feed.
INVALID_AFFILIATE_CHAIN_ID = 20; -
DUPLICATE_SYSTEM_FEED
There is already a feed with the given system feed generation data.
DUPLICATE_SYSTEM_FEED = 21; -
GMB_ACCESS_ERROR
An error occurred accessing Business Profile.
GMB_ACCESS_ERROR = 22; -
CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS
A customer cannot have both LOCATION and AFFILIATE_LOCATION feeds.
CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS = 23; -
LEGACY_EXTENSION_TYPE_READ_ONLY
Feed-based extension is read-only for this extension type.
LEGACY_EXTENSION_TYPE_READ_ONLY = 24; -
UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUEEnum unspecified.
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEThe received error code is not known in this version.
UNKNOWN = 1;- See Also:
-
ATTRIBUTE_NAMES_NOT_UNIQUE_VALUE
public static final int ATTRIBUTE_NAMES_NOT_UNIQUE_VALUEThe names of the FeedAttributes must be unique.
ATTRIBUTE_NAMES_NOT_UNIQUE = 2;- See Also:
-
ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES_VALUE
public static final int ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES_VALUEThe attribute list must be an exact copy of the existing list if the attribute ID's are present.
ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES = 3;- See Also:
-
CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED_VALUE
public static final int CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED_VALUECannot specify USER origin for a system generated feed.
CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED = 4;- See Also:
-
CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED_VALUE
public static final int CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED_VALUECannot specify GOOGLE origin for a non-system generated feed.
CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED = 5;- See Also:
-
CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED_VALUE
public static final int CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED_VALUECannot specify feed attributes for system feed.
CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED = 6;- See Also:
-
CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE_VALUE
public static final int CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE_VALUECannot update FeedAttributes on feed with origin GOOGLE.
CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE = 7;- See Also:
-
FEED_REMOVED_VALUE
public static final int FEED_REMOVED_VALUEThe given ID refers to a removed Feed. Removed Feeds are immutable.
FEED_REMOVED = 8;- See Also:
-
INVALID_ORIGIN_VALUE_VALUE
public static final int INVALID_ORIGIN_VALUE_VALUEThe origin of the feed is not valid for the client.
INVALID_ORIGIN_VALUE = 9;- See Also:
-
FEED_ORIGIN_IS_NOT_USER_VALUE
public static final int FEED_ORIGIN_IS_NOT_USER_VALUEA user can only create and modify feeds with USER origin.
FEED_ORIGIN_IS_NOT_USER = 10;- See Also:
-
INVALID_AUTH_TOKEN_FOR_EMAIL_VALUE
public static final int INVALID_AUTH_TOKEN_FOR_EMAIL_VALUEInvalid auth token for the given email.
INVALID_AUTH_TOKEN_FOR_EMAIL = 11;- See Also:
-
INVALID_EMAIL_VALUE
public static final int INVALID_EMAIL_VALUEInvalid email specified.
INVALID_EMAIL = 12;- See Also:
-
DUPLICATE_FEED_NAME_VALUE
public static final int DUPLICATE_FEED_NAME_VALUEFeed name matches that of another active Feed.
DUPLICATE_FEED_NAME = 13;- See Also:
-
INVALID_FEED_NAME_VALUE
public static final int INVALID_FEED_NAME_VALUEName of feed is not allowed.
INVALID_FEED_NAME = 14;- See Also:
-
MISSING_OAUTH_INFO_VALUE
public static final int MISSING_OAUTH_INFO_VALUEMissing OAuthInfo.
MISSING_OAUTH_INFO = 15;- See Also:
-
NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY_VALUE
public static final int NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY_VALUENew FeedAttributes must not affect the unique key.
NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY = 16;- See Also:
-
TOO_MANY_ATTRIBUTES_VALUE
public static final int TOO_MANY_ATTRIBUTES_VALUEToo many FeedAttributes for a Feed.
TOO_MANY_ATTRIBUTES = 17;- See Also:
-
INVALID_BUSINESS_ACCOUNT_VALUE
public static final int INVALID_BUSINESS_ACCOUNT_VALUEThe business account is not valid.
INVALID_BUSINESS_ACCOUNT = 18;- See Also:
-
BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT_VALUE
public static final int BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT_VALUEBusiness account cannot access Business Profile.
BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT = 19;- See Also:
-
INVALID_AFFILIATE_CHAIN_ID_VALUE
public static final int INVALID_AFFILIATE_CHAIN_ID_VALUEInvalid chain ID provided for affiliate location feed.
INVALID_AFFILIATE_CHAIN_ID = 20;- See Also:
-
DUPLICATE_SYSTEM_FEED_VALUE
public static final int DUPLICATE_SYSTEM_FEED_VALUEThere is already a feed with the given system feed generation data.
DUPLICATE_SYSTEM_FEED = 21;- See Also:
-
GMB_ACCESS_ERROR_VALUE
public static final int GMB_ACCESS_ERROR_VALUEAn error occurred accessing Business Profile.
GMB_ACCESS_ERROR = 22;- See Also:
-
CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS_VALUE
public static final int CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS_VALUEA customer cannot have both LOCATION and AFFILIATE_LOCATION feeds.
CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS = 23;- See Also:
-
LEGACY_EXTENSION_TYPE_READ_ONLY_VALUE
public static final int LEGACY_EXTENSION_TYPE_READ_ONLY_VALUEFeed-based extension is read-only for this extension type.
LEGACY_EXTENSION_TYPE_READ_ONLY = 24;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<FeedErrorEnum.FeedError> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static FeedErrorEnum.FeedError valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-