public enum YouTubeAdVideoRegistrationErrorReason extends Enum<YouTubeAdVideoRegistrationErrorReason>
Java class for YouTubeAdVideoRegistrationError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="YouTubeAdVideoRegistrationError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="UNKNOWN"/>
<enumeration value="VIDEO_NOT_FOUND"/>
<enumeration value="VIDEO_NOT_ACCESSIBLE"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
UNKNOWN |
VIDEO_NOT_ACCESSIBLE
Video not accessible (e.g.
|
VIDEO_NOT_FOUND
Video to be registered was not found.
|
| Modifier and Type | Method and Description |
|---|---|
static YouTubeAdVideoRegistrationErrorReason |
fromValue(String v) |
String |
value() |
static YouTubeAdVideoRegistrationErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YouTubeAdVideoRegistrationErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YouTubeAdVideoRegistrationErrorReason UNKNOWN
public static final YouTubeAdVideoRegistrationErrorReason VIDEO_NOT_FOUND
public static final YouTubeAdVideoRegistrationErrorReason VIDEO_NOT_ACCESSIBLE
public static YouTubeAdVideoRegistrationErrorReason[] values()
for (YouTubeAdVideoRegistrationErrorReason c : YouTubeAdVideoRegistrationErrorReason.values()) System.out.println(c);
public static YouTubeAdVideoRegistrationErrorReason valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static YouTubeAdVideoRegistrationErrorReason fromValue(String v)
Copyright © 2023. All rights reserved.