Enum LinkedProductTypeEnum.LinkedProductType
- java.lang.Object
-
- java.lang.Enum<LinkedProductTypeEnum.LinkedProductType>
-
- com.google.ads.googleads.v15.enums.LinkedProductTypeEnum.LinkedProductType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<LinkedProductTypeEnum.LinkedProductType>
- Enclosing class:
- LinkedProductTypeEnum
public static enum LinkedProductTypeEnum.LinkedProductType extends java.lang.Enum<LinkedProductTypeEnum.LinkedProductType> implements com.google.protobuf.ProtocolMessageEnum
Describes the possible link types for a link between a Google Ads customer and another product.
Protobuf enumgoogle.ads.googleads.v15.enums.LinkedProductTypeEnum.LinkedProductType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATA_PARTNERA link to Data partner.GOOGLE_ADSA link to Google Ads.HOTEL_CENTERA link to Hotel Center.MERCHANT_CENTERA link to Google Merchant Center.UNKNOWNUsed for return value only.UNRECOGNIZEDUNSPECIFIEDNot specified.
-
Field Summary
Fields Modifier and Type Field Description static intDATA_PARTNER_VALUEA link to Data partner.static intGOOGLE_ADS_VALUEA link to Google Ads.static intHOTEL_CENTER_VALUEA link to Hotel Center.static intMERCHANT_CENTER_VALUEA link to Google Merchant Center.static intUNKNOWN_VALUEUsed for return value only.static intUNSPECIFIED_VALUENot specified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static LinkedProductTypeEnum.LinkedProductTypeforNumber(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<LinkedProductTypeEnum.LinkedProductType>internalGetValueMap()static LinkedProductTypeEnum.LinkedProductTypevalueOf(int value)Deprecated.static LinkedProductTypeEnum.LinkedProductTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static LinkedProductTypeEnum.LinkedProductTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static LinkedProductTypeEnum.LinkedProductType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final LinkedProductTypeEnum.LinkedProductType UNSPECIFIED
Not specified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final LinkedProductTypeEnum.LinkedProductType UNKNOWN
Used for return value only. Represents value unknown in this version.
UNKNOWN = 1;
-
DATA_PARTNER
public static final LinkedProductTypeEnum.LinkedProductType DATA_PARTNER
A link to Data partner.
DATA_PARTNER = 2;
-
GOOGLE_ADS
public static final LinkedProductTypeEnum.LinkedProductType GOOGLE_ADS
A link to Google Ads.
GOOGLE_ADS = 3;
-
HOTEL_CENTER
public static final LinkedProductTypeEnum.LinkedProductType HOTEL_CENTER
A link to Hotel Center.
HOTEL_CENTER = 7;
-
MERCHANT_CENTER
public static final LinkedProductTypeEnum.LinkedProductType MERCHANT_CENTER
A link to Google Merchant Center.
MERCHANT_CENTER = 8;
-
UNRECOGNIZED
public static final LinkedProductTypeEnum.LinkedProductType 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
Used for return value only. Represents value unknown in this version.
UNKNOWN = 1;- See Also:
- Constant Field Values
-
DATA_PARTNER_VALUE
public static final int DATA_PARTNER_VALUE
A link to Data partner.
DATA_PARTNER = 2;- See Also:
- Constant Field Values
-
GOOGLE_ADS_VALUE
public static final int GOOGLE_ADS_VALUE
A link to Google Ads.
GOOGLE_ADS = 3;- See Also:
- Constant Field Values
-
HOTEL_CENTER_VALUE
public static final int HOTEL_CENTER_VALUE
A link to Hotel Center.
HOTEL_CENTER = 7;- See Also:
- Constant Field Values
-
MERCHANT_CENTER_VALUE
public static final int MERCHANT_CENTER_VALUE
A link to Google Merchant Center.
MERCHANT_CENTER = 8;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static LinkedProductTypeEnum.LinkedProductType[] 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 (LinkedProductTypeEnum.LinkedProductType c : LinkedProductTypeEnum.LinkedProductType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LinkedProductTypeEnum.LinkedProductType 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 LinkedProductTypeEnum.LinkedProductType 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 LinkedProductTypeEnum.LinkedProductType 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<LinkedProductTypeEnum.LinkedProductType> 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 LinkedProductTypeEnum.LinkedProductType 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
-
-