Enum AdNetworkTypeEnum.AdNetworkType
- java.lang.Object
-
- java.lang.Enum<AdNetworkTypeEnum.AdNetworkType>
-
- com.google.ads.googleads.v10.enums.AdNetworkTypeEnum.AdNetworkType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<AdNetworkTypeEnum.AdNetworkType>
- Enclosing class:
- AdNetworkTypeEnum
public static enum AdNetworkTypeEnum.AdNetworkType extends java.lang.Enum<AdNetworkTypeEnum.AdNetworkType> implements com.google.protobuf.ProtocolMessageEnum
Enumerates Google Ads network types.
Protobuf enumgoogle.ads.googleads.v10.enums.AdNetworkTypeEnum.AdNetworkType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTENTDisplay Network.MIXEDCross-network.SEARCHGoogle search.SEARCH_PARTNERSSearch partners.UNKNOWNThe value is unknown in this version.UNRECOGNIZEDUNSPECIFIEDNot specified.YOUTUBE_SEARCHYouTube Search.YOUTUBE_WATCHYouTube Videos
-
Field Summary
Fields Modifier and Type Field Description static intCONTENT_VALUEDisplay Network.static intMIXED_VALUECross-network.static intSEARCH_PARTNERS_VALUESearch partners.static intSEARCH_VALUEGoogle search.static intUNKNOWN_VALUEThe value is unknown in this version.static intUNSPECIFIED_VALUENot specified.static intYOUTUBE_SEARCH_VALUEYouTube Search.static intYOUTUBE_WATCH_VALUEYouTube Videos
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AdNetworkTypeEnum.AdNetworkTypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<AdNetworkTypeEnum.AdNetworkType>internalGetValueMap()static AdNetworkTypeEnum.AdNetworkTypevalueOf(int value)Deprecated.static AdNetworkTypeEnum.AdNetworkTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static AdNetworkTypeEnum.AdNetworkTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AdNetworkTypeEnum.AdNetworkType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final AdNetworkTypeEnum.AdNetworkType UNSPECIFIED
Not specified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final AdNetworkTypeEnum.AdNetworkType UNKNOWN
The value is unknown in this version.
UNKNOWN = 1;
-
SEARCH
public static final AdNetworkTypeEnum.AdNetworkType SEARCH
Google search.
SEARCH = 2;
-
SEARCH_PARTNERS
public static final AdNetworkTypeEnum.AdNetworkType SEARCH_PARTNERS
Search partners.
SEARCH_PARTNERS = 3;
-
CONTENT
public static final AdNetworkTypeEnum.AdNetworkType CONTENT
Display Network.
CONTENT = 4;
-
YOUTUBE_SEARCH
public static final AdNetworkTypeEnum.AdNetworkType YOUTUBE_SEARCH
YouTube Search.
YOUTUBE_SEARCH = 5;
-
YOUTUBE_WATCH
public static final AdNetworkTypeEnum.AdNetworkType YOUTUBE_WATCH
YouTube Videos
YOUTUBE_WATCH = 6;
-
MIXED
public static final AdNetworkTypeEnum.AdNetworkType MIXED
Cross-network.
MIXED = 7;
-
UNRECOGNIZED
public static final AdNetworkTypeEnum.AdNetworkType UNRECOGNIZED
-
-
Field Detail
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUE
Not specified.
UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
The value is unknown in this version.
UNKNOWN = 1;- See Also:
- Constant Field Values
-
SEARCH_VALUE
public static final int SEARCH_VALUE
Google search.
SEARCH = 2;- See Also:
- Constant Field Values
-
SEARCH_PARTNERS_VALUE
public static final int SEARCH_PARTNERS_VALUE
Search partners.
SEARCH_PARTNERS = 3;- See Also:
- Constant Field Values
-
CONTENT_VALUE
public static final int CONTENT_VALUE
Display Network.
CONTENT = 4;- See Also:
- Constant Field Values
-
YOUTUBE_SEARCH_VALUE
public static final int YOUTUBE_SEARCH_VALUE
YouTube Search.
YOUTUBE_SEARCH = 5;- See Also:
- Constant Field Values
-
YOUTUBE_WATCH_VALUE
public static final int YOUTUBE_WATCH_VALUE
YouTube Videos
YOUTUBE_WATCH = 6;- See Also:
- Constant Field Values
-
MIXED_VALUE
public static final int MIXED_VALUE
Cross-network.
MIXED = 7;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static AdNetworkTypeEnum.AdNetworkType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AdNetworkTypeEnum.AdNetworkType c : AdNetworkTypeEnum.AdNetworkType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AdNetworkTypeEnum.AdNetworkType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- 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 public static AdNetworkTypeEnum.AdNetworkType valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static AdNetworkTypeEnum.AdNetworkType 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<AdNetworkTypeEnum.AdNetworkType> 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 AdNetworkTypeEnum.AdNetworkType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-