Enum CampaignExperimentStatusEnum.CampaignExperimentStatus

    • Field Detail

      • UNSPECIFIED_VALUE

        public static final int UNSPECIFIED_VALUE
         The status has not been 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
      • INITIALIZING_VALUE

        public static final int INITIALIZING_VALUE
         The experiment campaign is being initialized.
         
        INITIALIZING = 2;
        See Also:
        Constant Field Values
      • INITIALIZATION_FAILED_VALUE

        public static final int INITIALIZATION_FAILED_VALUE
         Initialization of the experiment campaign failed.
         
        INITIALIZATION_FAILED = 8;
        See Also:
        Constant Field Values
      • ENABLED_VALUE

        public static final int ENABLED_VALUE
         The experiment campaign is fully initialized. The experiment is currently
         running, scheduled to run in the future or has ended based on its
         end date. An experiment with the status INITIALIZING will be updated to
         ENABLED when it is fully created.
         
        ENABLED = 3;
        See Also:
        Constant Field Values
      • GRADUATED_VALUE

        public static final int GRADUATED_VALUE
         The experiment campaign was graduated to a stand-alone
         campaign, existing independently of the experiment.
         
        GRADUATED = 4;
        See Also:
        Constant Field Values
      • REMOVED_VALUE

        public static final int REMOVED_VALUE
         The experiment is removed.
         
        REMOVED = 5;
        See Also:
        Constant Field Values
      • PROMOTING_VALUE

        public static final int PROMOTING_VALUE
         The experiment's changes are being applied to the original campaign.
         The long running operation returned by the promote method can be polled
         to see the status of the promotion.
         
        PROMOTING = 6;
        See Also:
        Constant Field Values
      • PROMOTION_FAILED_VALUE

        public static final int PROMOTION_FAILED_VALUE
         Promote of the experiment campaign failed.
         
        PROMOTION_FAILED = 9;
        See Also:
        Constant Field Values
      • PROMOTED_VALUE

        public static final int PROMOTED_VALUE
         The changes of the experiment are promoted to their original campaign.
         
        PROMOTED = 7;
        See Also:
        Constant Field Values
      • ENDED_MANUALLY_VALUE

        public static final int ENDED_MANUALLY_VALUE
         The experiment was ended manually. It did not end based on its end date.
         
        ENDED_MANUALLY = 10;
        See Also:
        Constant Field Values
    • Method Detail

      • values

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

        public static CampaignExperimentStatusEnum.CampaignExperimentStatus 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 CampaignExperimentStatusEnum.CampaignExperimentStatus 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
      • 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 CampaignExperimentStatusEnum.CampaignExperimentStatus 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