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
  • Enum Constant Details

    • UNSPECIFIED

      public static final DataLinkErrorEnum.DataLinkError UNSPECIFIED
       Enum unspecified.
       
      UNSPECIFIED = 0;
    • UNKNOWN

      public static final DataLinkErrorEnum.DataLinkError UNKNOWN
       The received error code is not known in this version.
       
      UNKNOWN = 1;
    • YOUTUBE_CHANNEL_ID_INVALID

      public static final DataLinkErrorEnum.DataLinkError YOUTUBE_CHANNEL_ID_INVALID
       The requested YouTube Channel ID is invalid.
       
      YOUTUBE_CHANNEL_ID_INVALID = 2;
    • YOUTUBE_VIDEO_ID_INVALID

      public static final DataLinkErrorEnum.DataLinkError YOUTUBE_VIDEO_ID_INVALID
       The requested YouTube Video ID is invalid.
       
      YOUTUBE_VIDEO_ID_INVALID = 3;
    • YOUTUBE_VIDEO_FROM_DIFFERENT_CHANNEL

      public static final DataLinkErrorEnum.DataLinkError 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

      public static final DataLinkErrorEnum.DataLinkError PERMISSION_DENIED
       A link cannot be created because the customer doesn't have the
       permission.
       
      PERMISSION_DENIED = 5;
    • INVALID_STATUS

      public static final DataLinkErrorEnum.DataLinkError INVALID_STATUS
       A link can not be removed or updated because the status is invalid.
       
      INVALID_STATUS = 6;
    • INVALID_UPDATE_STATUS

      public static final DataLinkErrorEnum.DataLinkError INVALID_UPDATE_STATUS
       The input status in the update request is invalid.
       
      INVALID_UPDATE_STATUS = 7;
    • INVALID_RESOURCE_NAME

      public static final DataLinkErrorEnum.DataLinkError INVALID_RESOURCE_NAME
       The input resource name is invalid.
       
      INVALID_RESOURCE_NAME = 8;
    • UNRECOGNIZED

      public static final DataLinkErrorEnum.DataLinkError UNRECOGNIZED
  • Field Details

    • UNSPECIFIED_VALUE

      public static final int UNSPECIFIED_VALUE
       Enum unspecified.
       
      UNSPECIFIED = 0;
      See Also:
    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
       The 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_VALUE
       The 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_VALUE
       The 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_VALUE
       The 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_VALUE
       A 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_VALUE
       A 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_VALUE
       The 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_VALUE
       The input resource name is invalid.
       
      INVALID_RESOURCE_NAME = 8;
      See Also:
  • Method Details

    • values

      public static DataLinkErrorEnum.DataLinkError[] 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

      public static DataLinkErrorEnum.DataLinkError valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static DataLinkErrorEnum.DataLinkError valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static DataLinkErrorEnum.DataLinkError forNumber(int value)
      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:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null