Enum Class DataLinkErrorEnum.DataLinkError
java.lang.Object
java.lang.Enum<DataLinkErrorEnum.DataLinkError>
com.google.ads.googleads.v21.errors.DataLinkErrorEnum.DataLinkError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<DataLinkErrorEnum.DataLinkError>,Constable
- Enclosing class:
- DataLinkErrorEnum
public static enum DataLinkErrorEnum.DataLinkError
extends Enum<DataLinkErrorEnum.DataLinkError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible DataLink errors.Protobuf enum
google.ads.googleads.v21.errors.DataLinkErrorEnum.DataLinkError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe input resource name is invalid.A link can not be removed or updated because the status is invalid.The input status in the update request is invalid.A link cannot be created because the customer doesn't have the permission.The received error code is not known in this version.Enum unspecified.The requested YouTube Channel ID is invalid.The requested YouTube Video ID doesn't belong to the requested YouTube Channel ID.The requested YouTube Video ID is invalid. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe input resource name is invalid.static final intA link can not be removed or updated because the status is invalid.static final intThe input status in the update request is invalid.static final intA link cannot be created because the customer doesn't have the permission.static final intThe received error code is not known in this version.static final intEnum unspecified.static final intThe requested YouTube Channel ID is invalid.static final intThe requested YouTube Video ID doesn't belong to the requested YouTube Channel ID.static final intThe requested YouTube Video ID is invalid. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(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<DataLinkErrorEnum.DataLinkError>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.static DataLinkErrorEnum.DataLinkError[]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; -
YOUTUBE_CHANNEL_ID_INVALID
The requested YouTube Channel ID is invalid.
YOUTUBE_CHANNEL_ID_INVALID = 2; -
YOUTUBE_VIDEO_ID_INVALID
The requested YouTube Video ID is invalid.
YOUTUBE_VIDEO_ID_INVALID = 3; -
YOUTUBE_VIDEO_FROM_DIFFERENT_CHANNEL
The requested YouTube Video ID doesn't belong to the requested YouTube Channel ID.
YOUTUBE_VIDEO_FROM_DIFFERENT_CHANNEL = 4; -
PERMISSION_DENIED
A link cannot be created because the customer doesn't have the permission.
PERMISSION_DENIED = 5; -
INVALID_STATUS
A link can not be removed or updated because the status is invalid.
INVALID_STATUS = 6; -
INVALID_UPDATE_STATUS
The input status in the update request is invalid.
INVALID_UPDATE_STATUS = 7; -
INVALID_RESOURCE_NAME
The input resource name is invalid.
INVALID_RESOURCE_NAME = 8; -
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:
-
YOUTUBE_CHANNEL_ID_INVALID_VALUE
public static final int YOUTUBE_CHANNEL_ID_INVALID_VALUEThe requested YouTube Channel ID is invalid.
YOUTUBE_CHANNEL_ID_INVALID = 2;- See Also:
-
YOUTUBE_VIDEO_ID_INVALID_VALUE
public static final int YOUTUBE_VIDEO_ID_INVALID_VALUEThe requested YouTube Video ID is invalid.
YOUTUBE_VIDEO_ID_INVALID = 3;- See Also:
-
YOUTUBE_VIDEO_FROM_DIFFERENT_CHANNEL_VALUE
public static final int YOUTUBE_VIDEO_FROM_DIFFERENT_CHANNEL_VALUEThe requested YouTube Video ID doesn't belong to the requested YouTube Channel ID.
YOUTUBE_VIDEO_FROM_DIFFERENT_CHANNEL = 4;- See Also:
-
PERMISSION_DENIED_VALUE
public static final int PERMISSION_DENIED_VALUEA link cannot be created because the customer doesn't have the permission.
PERMISSION_DENIED = 5;- See Also:
-
INVALID_STATUS_VALUE
public static final int INVALID_STATUS_VALUEA link can not be removed or updated because the status is invalid.
INVALID_STATUS = 6;- See Also:
-
INVALID_UPDATE_STATUS_VALUE
public static final int INVALID_UPDATE_STATUS_VALUEThe input status in the update request is invalid.
INVALID_UPDATE_STATUS = 7;- See Also:
-
INVALID_RESOURCE_NAME_VALUE
public static final int INVALID_RESOURCE_NAME_VALUEThe input resource name is invalid.
INVALID_RESOURCE_NAME = 8;- 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<DataLinkErrorEnum.DataLinkError> 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 DataLinkErrorEnum.DataLinkError 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
-