Enum CallPlaceholderFieldEnum.CallPlaceholderField

    • 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
      • PHONE_NUMBER_VALUE

        public static final int PHONE_NUMBER_VALUE
         Data Type: STRING. The advertiser's phone number to append to the ad.
         
        PHONE_NUMBER = 2;
        See Also:
        Constant Field Values
      • COUNTRY_CODE_VALUE

        public static final int COUNTRY_CODE_VALUE
         Data Type: STRING. Uppercase two-letter country code of the advertiser's
         phone number.
         
        COUNTRY_CODE = 3;
        See Also:
        Constant Field Values
      • TRACKED_VALUE

        public static final int TRACKED_VALUE
         Data Type: BOOLEAN. Indicates whether call tracking is enabled. Default:
         true.
         
        TRACKED = 4;
        See Also:
        Constant Field Values
      • CONVERSION_TYPE_ID_VALUE

        public static final int CONVERSION_TYPE_ID_VALUE
         Data Type: INT64. The ID of an AdCallMetricsConversion object. This
         object contains the phoneCallDurationfield which is the minimum duration
         (in seconds) of a call to be considered a conversion.
         
        CONVERSION_TYPE_ID = 5;
        See Also:
        Constant Field Values
      • CONVERSION_REPORTING_STATE_VALUE

        public static final int CONVERSION_REPORTING_STATE_VALUE
         Data Type: STRING. Indicates whether this call extension uses its own
         call conversion setting or follows the account level setting.
         Valid values are: USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION and
         USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION.
         
        CONVERSION_REPORTING_STATE = 6;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static CallPlaceholderFieldEnum.CallPlaceholderField[] 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 (CallPlaceholderFieldEnum.CallPlaceholderField c : CallPlaceholderFieldEnum.CallPlaceholderField.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CallPlaceholderFieldEnum.CallPlaceholderField 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 name
        java.lang.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 CallPlaceholderFieldEnum.CallPlaceholderField 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 name
        java.lang.NullPointerException - if the argument is null
      • forNumber

        public static CallPlaceholderFieldEnum.CallPlaceholderField forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • 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 CallPlaceholderFieldEnum.CallPlaceholderField 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 name
        java.lang.NullPointerException - if the argument is null