Enum ExperimentMetricEnum.ExperimentMetric

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, java.io.Serializable, java.lang.Comparable<ExperimentMetricEnum.ExperimentMetric>
    Enclosing class:
    ExperimentMetricEnum

    public static enum ExperimentMetricEnum.ExperimentMetric
    extends java.lang.Enum<ExperimentMetricEnum.ExperimentMetric>
    implements com.google.protobuf.ProtocolMessageEnum
     The type of experiment metric.
     
    Protobuf enum google.ads.googleads.v10.enums.ExperimentMetricEnum.ExperimentMetric
    • 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
      • CLICKS_VALUE

        public static final int CLICKS_VALUE
         The goal of the experiment is clicks.
         
        CLICKS = 2;
        See Also:
        Constant Field Values
      • IMPRESSIONS_VALUE

        public static final int IMPRESSIONS_VALUE
         The goal of the experiment is impressions.
         
        IMPRESSIONS = 3;
        See Also:
        Constant Field Values
      • COST_VALUE

        public static final int COST_VALUE
         The goal of the experiment is cost.
         
        COST = 4;
        See Also:
        Constant Field Values
      • CONVERSIONS_PER_INTERACTION_RATE_VALUE

        public static final int CONVERSIONS_PER_INTERACTION_RATE_VALUE
         The goal of the experiment is conversion rate.
         
        CONVERSIONS_PER_INTERACTION_RATE = 5;
        See Also:
        Constant Field Values
      • COST_PER_CONVERSION_VALUE

        public static final int COST_PER_CONVERSION_VALUE
         The goal of the experiment is cost per conversion.
         
        COST_PER_CONVERSION = 6;
        See Also:
        Constant Field Values
      • CONVERSIONS_VALUE_PER_COST_VALUE

        public static final int CONVERSIONS_VALUE_PER_COST_VALUE
         The goal of the experiment is conversion value per cost.
         
        CONVERSIONS_VALUE_PER_COST = 7;
        See Also:
        Constant Field Values
      • AVERAGE_CPC_VALUE

        public static final int AVERAGE_CPC_VALUE
         The goal of the experiment is avg cpc.
         
        AVERAGE_CPC = 8;
        See Also:
        Constant Field Values
      • CTR_VALUE

        public static final int CTR_VALUE
         The goal of the experiment is ctr.
         
        CTR = 9;
        See Also:
        Constant Field Values
      • INCREMENTAL_CONVERSIONS_VALUE

        public static final int INCREMENTAL_CONVERSIONS_VALUE
         The goal of the experiment is incremental conversions.
         
        INCREMENTAL_CONVERSIONS = 10;
        See Also:
        Constant Field Values
      • COMPLETED_VIDEO_VIEWS_VALUE

        public static final int COMPLETED_VIDEO_VIEWS_VALUE
         The goal of the experiment is completed video views.
         
        COMPLETED_VIDEO_VIEWS = 11;
        See Also:
        Constant Field Values
      • CUSTOM_ALGORITHMS_VALUE

        public static final int CUSTOM_ALGORITHMS_VALUE
         The goal of the experiment is custom algorithms.
         
        CUSTOM_ALGORITHMS = 12;
        See Also:
        Constant Field Values
      • CONVERSIONS_VALUE

        public static final int CONVERSIONS_VALUE
         The goal of the experiment is conversions.
         
        CONVERSIONS = 13;
        See Also:
        Constant Field Values
      • CONVERSION_VALUE_VALUE

        public static final int CONVERSION_VALUE_VALUE
         The goal of the experiment is conversion value.
         
        CONVERSION_VALUE = 14;
        See Also:
        Constant Field Values
    • Method Detail

      • values

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

        public static ExperimentMetricEnum.ExperimentMetric 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 ExperimentMetricEnum.ExperimentMetric 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 ExperimentMetricEnum.ExperimentMetric 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 ExperimentMetricEnum.ExperimentMetric 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