Class Experiment.Builder

  • All Implemented Interfaces:
    ExperimentOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Experiment

    public static final class Experiment.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Experiment.Builder>
    implements ExperimentOrBuilder
     Represents an experiment in an environment.
     
    Protobuf type google.cloud.dialogflow.cx.v3.Experiment
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Experiment.Builder>
      • clear

        public Experiment.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Experiment.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Experiment.Builder>
      • getDefaultInstanceForType

        public Experiment getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Experiment build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Experiment buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Experiment.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Experiment.Builder>
      • setField

        public Experiment.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                           Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Experiment.Builder>
      • clearField

        public Experiment.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Experiment.Builder>
      • clearOneof

        public Experiment.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Experiment.Builder>
      • setRepeatedField

        public Experiment.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   int index,
                                                   Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Experiment.Builder>
      • addRepeatedField

        public Experiment.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Experiment.Builder>
      • mergeFrom

        public Experiment.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Experiment.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Experiment.Builder>
      • mergeFrom

        public Experiment.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                     throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Experiment.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         The name of the experiment.
         Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/environments/<Environment ID>/experiments/<Experiment ID>..
         
        string name = 1;
        Specified by:
        getName in interface ExperimentOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The name of the experiment.
         Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/environments/<Environment ID>/experiments/<Experiment ID>..
         
        string name = 1;
        Specified by:
        getNameBytes in interface ExperimentOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Experiment.Builder setName​(String value)
         The name of the experiment.
         Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/environments/<Environment ID>/experiments/<Experiment ID>..
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Experiment.Builder clearName()
         The name of the experiment.
         Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/environments/<Environment ID>/experiments/<Experiment ID>..
         
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public Experiment.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The name of the experiment.
         Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/environments/<Environment ID>/experiments/<Experiment ID>..
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getDisplayName

        public String getDisplayName()
         Required. The human-readable name of the experiment (unique in an
         environment). Limit of 64 characters.
         
        string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDisplayName in interface ExperimentOrBuilder
        Returns:
        The displayName.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         Required. The human-readable name of the experiment (unique in an
         environment). Limit of 64 characters.
         
        string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDisplayNameBytes in interface ExperimentOrBuilder
        Returns:
        The bytes for displayName.
      • setDisplayName

        public Experiment.Builder setDisplayName​(String value)
         Required. The human-readable name of the experiment (unique in an
         environment). Limit of 64 characters.
         
        string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The displayName to set.
        Returns:
        This builder for chaining.
      • clearDisplayName

        public Experiment.Builder clearDisplayName()
         Required. The human-readable name of the experiment (unique in an
         environment). Limit of 64 characters.
         
        string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setDisplayNameBytes

        public Experiment.Builder setDisplayNameBytes​(com.google.protobuf.ByteString value)
         Required. The human-readable name of the experiment (unique in an
         environment). Limit of 64 characters.
         
        string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for displayName to set.
        Returns:
        This builder for chaining.
      • getDescription

        public String getDescription()
         The human-readable description of the experiment.
         
        string description = 3;
        Specified by:
        getDescription in interface ExperimentOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         The human-readable description of the experiment.
         
        string description = 3;
        Specified by:
        getDescriptionBytes in interface ExperimentOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public Experiment.Builder setDescription​(String value)
         The human-readable description of the experiment.
         
        string description = 3;
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public Experiment.Builder clearDescription()
         The human-readable description of the experiment.
         
        string description = 3;
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public Experiment.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         The human-readable description of the experiment.
         
        string description = 3;
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • getStateValue

        public int getStateValue()
         The current state of the experiment.
         Transition triggered by Experiments.StartExperiment: DRAFT->RUNNING.
         Transition triggered by Experiments.CancelExperiment: DRAFT->DONE or
         RUNNING->DONE.
         
        .google.cloud.dialogflow.cx.v3.Experiment.State state = 4;
        Specified by:
        getStateValue in interface ExperimentOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • setStateValue

        public Experiment.Builder setStateValue​(int value)
         The current state of the experiment.
         Transition triggered by Experiments.StartExperiment: DRAFT->RUNNING.
         Transition triggered by Experiments.CancelExperiment: DRAFT->DONE or
         RUNNING->DONE.
         
        .google.cloud.dialogflow.cx.v3.Experiment.State state = 4;
        Parameters:
        value - The enum numeric value on the wire for state to set.
        Returns:
        This builder for chaining.
      • getState

        public Experiment.State getState()
         The current state of the experiment.
         Transition triggered by Experiments.StartExperiment: DRAFT->RUNNING.
         Transition triggered by Experiments.CancelExperiment: DRAFT->DONE or
         RUNNING->DONE.
         
        .google.cloud.dialogflow.cx.v3.Experiment.State state = 4;
        Specified by:
        getState in interface ExperimentOrBuilder
        Returns:
        The state.
      • setState

        public Experiment.Builder setState​(Experiment.State value)
         The current state of the experiment.
         Transition triggered by Experiments.StartExperiment: DRAFT->RUNNING.
         Transition triggered by Experiments.CancelExperiment: DRAFT->DONE or
         RUNNING->DONE.
         
        .google.cloud.dialogflow.cx.v3.Experiment.State state = 4;
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public Experiment.Builder clearState()
         The current state of the experiment.
         Transition triggered by Experiments.StartExperiment: DRAFT->RUNNING.
         Transition triggered by Experiments.CancelExperiment: DRAFT->DONE or
         RUNNING->DONE.
         
        .google.cloud.dialogflow.cx.v3.Experiment.State state = 4;
        Returns:
        This builder for chaining.
      • hasDefinition

        public boolean hasDefinition()
         The definition of the experiment.
         
        .google.cloud.dialogflow.cx.v3.Experiment.Definition definition = 5;
        Specified by:
        hasDefinition in interface ExperimentOrBuilder
        Returns:
        Whether the definition field is set.
      • mergeDefinition

        public Experiment.Builder mergeDefinition​(Experiment.Definition value)
         The definition of the experiment.
         
        .google.cloud.dialogflow.cx.v3.Experiment.Definition definition = 5;
      • clearDefinition

        public Experiment.Builder clearDefinition()
         The definition of the experiment.
         
        .google.cloud.dialogflow.cx.v3.Experiment.Definition definition = 5;
      • getDefinitionBuilder

        public Experiment.Definition.Builder getDefinitionBuilder()
         The definition of the experiment.
         
        .google.cloud.dialogflow.cx.v3.Experiment.Definition definition = 5;
      • hasRolloutConfig

        public boolean hasRolloutConfig()
         The configuration for auto rollout. If set, there should be exactly two
         variants in the experiment (control variant being the default version of
         the flow), the traffic allocation for the non-control variant will
         gradually increase to 100% when conditions are met, and eventually
         replace the control variant to become the default version of the flow.
         
        .google.cloud.dialogflow.cx.v3.RolloutConfig rollout_config = 14;
        Specified by:
        hasRolloutConfig in interface ExperimentOrBuilder
        Returns:
        Whether the rolloutConfig field is set.
      • getRolloutConfig

        public RolloutConfig getRolloutConfig()
         The configuration for auto rollout. If set, there should be exactly two
         variants in the experiment (control variant being the default version of
         the flow), the traffic allocation for the non-control variant will
         gradually increase to 100% when conditions are met, and eventually
         replace the control variant to become the default version of the flow.
         
        .google.cloud.dialogflow.cx.v3.RolloutConfig rollout_config = 14;
        Specified by:
        getRolloutConfig in interface ExperimentOrBuilder
        Returns:
        The rolloutConfig.
      • setRolloutConfig

        public Experiment.Builder setRolloutConfig​(RolloutConfig value)
         The configuration for auto rollout. If set, there should be exactly two
         variants in the experiment (control variant being the default version of
         the flow), the traffic allocation for the non-control variant will
         gradually increase to 100% when conditions are met, and eventually
         replace the control variant to become the default version of the flow.
         
        .google.cloud.dialogflow.cx.v3.RolloutConfig rollout_config = 14;
      • setRolloutConfig

        public Experiment.Builder setRolloutConfig​(RolloutConfig.Builder builderForValue)
         The configuration for auto rollout. If set, there should be exactly two
         variants in the experiment (control variant being the default version of
         the flow), the traffic allocation for the non-control variant will
         gradually increase to 100% when conditions are met, and eventually
         replace the control variant to become the default version of the flow.
         
        .google.cloud.dialogflow.cx.v3.RolloutConfig rollout_config = 14;
      • mergeRolloutConfig

        public Experiment.Builder mergeRolloutConfig​(RolloutConfig value)
         The configuration for auto rollout. If set, there should be exactly two
         variants in the experiment (control variant being the default version of
         the flow), the traffic allocation for the non-control variant will
         gradually increase to 100% when conditions are met, and eventually
         replace the control variant to become the default version of the flow.
         
        .google.cloud.dialogflow.cx.v3.RolloutConfig rollout_config = 14;
      • clearRolloutConfig

        public Experiment.Builder clearRolloutConfig()
         The configuration for auto rollout. If set, there should be exactly two
         variants in the experiment (control variant being the default version of
         the flow), the traffic allocation for the non-control variant will
         gradually increase to 100% when conditions are met, and eventually
         replace the control variant to become the default version of the flow.
         
        .google.cloud.dialogflow.cx.v3.RolloutConfig rollout_config = 14;
      • getRolloutConfigBuilder

        public RolloutConfig.Builder getRolloutConfigBuilder()
         The configuration for auto rollout. If set, there should be exactly two
         variants in the experiment (control variant being the default version of
         the flow), the traffic allocation for the non-control variant will
         gradually increase to 100% when conditions are met, and eventually
         replace the control variant to become the default version of the flow.
         
        .google.cloud.dialogflow.cx.v3.RolloutConfig rollout_config = 14;
      • getRolloutConfigOrBuilder

        public RolloutConfigOrBuilder getRolloutConfigOrBuilder()
         The configuration for auto rollout. If set, there should be exactly two
         variants in the experiment (control variant being the default version of
         the flow), the traffic allocation for the non-control variant will
         gradually increase to 100% when conditions are met, and eventually
         replace the control variant to become the default version of the flow.
         
        .google.cloud.dialogflow.cx.v3.RolloutConfig rollout_config = 14;
        Specified by:
        getRolloutConfigOrBuilder in interface ExperimentOrBuilder
      • hasRolloutState

        public boolean hasRolloutState()
         State of the auto rollout process.
         
        .google.cloud.dialogflow.cx.v3.RolloutState rollout_state = 15;
        Specified by:
        hasRolloutState in interface ExperimentOrBuilder
        Returns:
        Whether the rolloutState field is set.
      • getRolloutState

        public RolloutState getRolloutState()
         State of the auto rollout process.
         
        .google.cloud.dialogflow.cx.v3.RolloutState rollout_state = 15;
        Specified by:
        getRolloutState in interface ExperimentOrBuilder
        Returns:
        The rolloutState.
      • setRolloutState

        public Experiment.Builder setRolloutState​(RolloutState value)
         State of the auto rollout process.
         
        .google.cloud.dialogflow.cx.v3.RolloutState rollout_state = 15;
      • setRolloutState

        public Experiment.Builder setRolloutState​(RolloutState.Builder builderForValue)
         State of the auto rollout process.
         
        .google.cloud.dialogflow.cx.v3.RolloutState rollout_state = 15;
      • mergeRolloutState

        public Experiment.Builder mergeRolloutState​(RolloutState value)
         State of the auto rollout process.
         
        .google.cloud.dialogflow.cx.v3.RolloutState rollout_state = 15;
      • clearRolloutState

        public Experiment.Builder clearRolloutState()
         State of the auto rollout process.
         
        .google.cloud.dialogflow.cx.v3.RolloutState rollout_state = 15;
      • getRolloutStateBuilder

        public RolloutState.Builder getRolloutStateBuilder()
         State of the auto rollout process.
         
        .google.cloud.dialogflow.cx.v3.RolloutState rollout_state = 15;
      • getRolloutFailureReason

        public String getRolloutFailureReason()
         The reason why rollout has failed. Should only be set when state is
         ROLLOUT_FAILED.
         
        string rollout_failure_reason = 16;
        Specified by:
        getRolloutFailureReason in interface ExperimentOrBuilder
        Returns:
        The rolloutFailureReason.
      • getRolloutFailureReasonBytes

        public com.google.protobuf.ByteString getRolloutFailureReasonBytes()
         The reason why rollout has failed. Should only be set when state is
         ROLLOUT_FAILED.
         
        string rollout_failure_reason = 16;
        Specified by:
        getRolloutFailureReasonBytes in interface ExperimentOrBuilder
        Returns:
        The bytes for rolloutFailureReason.
      • setRolloutFailureReason

        public Experiment.Builder setRolloutFailureReason​(String value)
         The reason why rollout has failed. Should only be set when state is
         ROLLOUT_FAILED.
         
        string rollout_failure_reason = 16;
        Parameters:
        value - The rolloutFailureReason to set.
        Returns:
        This builder for chaining.
      • clearRolloutFailureReason

        public Experiment.Builder clearRolloutFailureReason()
         The reason why rollout has failed. Should only be set when state is
         ROLLOUT_FAILED.
         
        string rollout_failure_reason = 16;
        Returns:
        This builder for chaining.
      • setRolloutFailureReasonBytes

        public Experiment.Builder setRolloutFailureReasonBytes​(com.google.protobuf.ByteString value)
         The reason why rollout has failed. Should only be set when state is
         ROLLOUT_FAILED.
         
        string rollout_failure_reason = 16;
        Parameters:
        value - The bytes for rolloutFailureReason to set.
        Returns:
        This builder for chaining.
      • hasResult

        public boolean hasResult()
         Inference result of the experiment.
         
        .google.cloud.dialogflow.cx.v3.Experiment.Result result = 6;
        Specified by:
        hasResult in interface ExperimentOrBuilder
        Returns:
        Whether the result field is set.
      • getResult

        public Experiment.Result getResult()
         Inference result of the experiment.
         
        .google.cloud.dialogflow.cx.v3.Experiment.Result result = 6;
        Specified by:
        getResult in interface ExperimentOrBuilder
        Returns:
        The result.
      • setResult

        public Experiment.Builder setResult​(Experiment.Result value)
         Inference result of the experiment.
         
        .google.cloud.dialogflow.cx.v3.Experiment.Result result = 6;
      • mergeResult

        public Experiment.Builder mergeResult​(Experiment.Result value)
         Inference result of the experiment.
         
        .google.cloud.dialogflow.cx.v3.Experiment.Result result = 6;
      • clearResult

        public Experiment.Builder clearResult()
         Inference result of the experiment.
         
        .google.cloud.dialogflow.cx.v3.Experiment.Result result = 6;
      • getResultBuilder

        public Experiment.Result.Builder getResultBuilder()
         Inference result of the experiment.
         
        .google.cloud.dialogflow.cx.v3.Experiment.Result result = 6;
      • hasCreateTime

        public boolean hasCreateTime()
         Creation time of this experiment.
         
        .google.protobuf.Timestamp create_time = 7;
        Specified by:
        hasCreateTime in interface ExperimentOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         Creation time of this experiment.
         
        .google.protobuf.Timestamp create_time = 7;
        Specified by:
        getCreateTime in interface ExperimentOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public Experiment.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         Creation time of this experiment.
         
        .google.protobuf.Timestamp create_time = 7;
      • setCreateTime

        public Experiment.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Creation time of this experiment.
         
        .google.protobuf.Timestamp create_time = 7;
      • mergeCreateTime

        public Experiment.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         Creation time of this experiment.
         
        .google.protobuf.Timestamp create_time = 7;
      • clearCreateTime

        public Experiment.Builder clearCreateTime()
         Creation time of this experiment.
         
        .google.protobuf.Timestamp create_time = 7;
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
         Creation time of this experiment.
         
        .google.protobuf.Timestamp create_time = 7;
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Creation time of this experiment.
         
        .google.protobuf.Timestamp create_time = 7;
        Specified by:
        getCreateTimeOrBuilder in interface ExperimentOrBuilder
      • hasStartTime

        public boolean hasStartTime()
         Start time of this experiment.
         
        .google.protobuf.Timestamp start_time = 8;
        Specified by:
        hasStartTime in interface ExperimentOrBuilder
        Returns:
        Whether the startTime field is set.
      • getStartTime

        public com.google.protobuf.Timestamp getStartTime()
         Start time of this experiment.
         
        .google.protobuf.Timestamp start_time = 8;
        Specified by:
        getStartTime in interface ExperimentOrBuilder
        Returns:
        The startTime.
      • setStartTime

        public Experiment.Builder setStartTime​(com.google.protobuf.Timestamp value)
         Start time of this experiment.
         
        .google.protobuf.Timestamp start_time = 8;
      • setStartTime

        public Experiment.Builder setStartTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Start time of this experiment.
         
        .google.protobuf.Timestamp start_time = 8;
      • mergeStartTime

        public Experiment.Builder mergeStartTime​(com.google.protobuf.Timestamp value)
         Start time of this experiment.
         
        .google.protobuf.Timestamp start_time = 8;
      • clearStartTime

        public Experiment.Builder clearStartTime()
         Start time of this experiment.
         
        .google.protobuf.Timestamp start_time = 8;
      • getStartTimeBuilder

        public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
         Start time of this experiment.
         
        .google.protobuf.Timestamp start_time = 8;
      • getStartTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
         Start time of this experiment.
         
        .google.protobuf.Timestamp start_time = 8;
        Specified by:
        getStartTimeOrBuilder in interface ExperimentOrBuilder
      • hasEndTime

        public boolean hasEndTime()
         End time of this experiment.
         
        .google.protobuf.Timestamp end_time = 9;
        Specified by:
        hasEndTime in interface ExperimentOrBuilder
        Returns:
        Whether the endTime field is set.
      • getEndTime

        public com.google.protobuf.Timestamp getEndTime()
         End time of this experiment.
         
        .google.protobuf.Timestamp end_time = 9;
        Specified by:
        getEndTime in interface ExperimentOrBuilder
        Returns:
        The endTime.
      • setEndTime

        public Experiment.Builder setEndTime​(com.google.protobuf.Timestamp value)
         End time of this experiment.
         
        .google.protobuf.Timestamp end_time = 9;
      • setEndTime

        public Experiment.Builder setEndTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         End time of this experiment.
         
        .google.protobuf.Timestamp end_time = 9;
      • mergeEndTime

        public Experiment.Builder mergeEndTime​(com.google.protobuf.Timestamp value)
         End time of this experiment.
         
        .google.protobuf.Timestamp end_time = 9;
      • clearEndTime

        public Experiment.Builder clearEndTime()
         End time of this experiment.
         
        .google.protobuf.Timestamp end_time = 9;
      • getEndTimeBuilder

        public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
         End time of this experiment.
         
        .google.protobuf.Timestamp end_time = 9;
      • getEndTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
         End time of this experiment.
         
        .google.protobuf.Timestamp end_time = 9;
        Specified by:
        getEndTimeOrBuilder in interface ExperimentOrBuilder
      • hasLastUpdateTime

        public boolean hasLastUpdateTime()
         Last update time of this experiment.
         
        .google.protobuf.Timestamp last_update_time = 10;
        Specified by:
        hasLastUpdateTime in interface ExperimentOrBuilder
        Returns:
        Whether the lastUpdateTime field is set.
      • getLastUpdateTime

        public com.google.protobuf.Timestamp getLastUpdateTime()
         Last update time of this experiment.
         
        .google.protobuf.Timestamp last_update_time = 10;
        Specified by:
        getLastUpdateTime in interface ExperimentOrBuilder
        Returns:
        The lastUpdateTime.
      • setLastUpdateTime

        public Experiment.Builder setLastUpdateTime​(com.google.protobuf.Timestamp value)
         Last update time of this experiment.
         
        .google.protobuf.Timestamp last_update_time = 10;
      • setLastUpdateTime

        public Experiment.Builder setLastUpdateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Last update time of this experiment.
         
        .google.protobuf.Timestamp last_update_time = 10;
      • mergeLastUpdateTime

        public Experiment.Builder mergeLastUpdateTime​(com.google.protobuf.Timestamp value)
         Last update time of this experiment.
         
        .google.protobuf.Timestamp last_update_time = 10;
      • clearLastUpdateTime

        public Experiment.Builder clearLastUpdateTime()
         Last update time of this experiment.
         
        .google.protobuf.Timestamp last_update_time = 10;
      • getLastUpdateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getLastUpdateTimeBuilder()
         Last update time of this experiment.
         
        .google.protobuf.Timestamp last_update_time = 10;
      • getLastUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder()
         Last update time of this experiment.
         
        .google.protobuf.Timestamp last_update_time = 10;
        Specified by:
        getLastUpdateTimeOrBuilder in interface ExperimentOrBuilder
      • hasExperimentLength

        public boolean hasExperimentLength()
         Maximum number of days to run the experiment/rollout. If auto-rollout is
         not enabled, default value and maximum will be 30 days. If auto-rollout is
         enabled, default value and maximum will be 6 days.
         
        .google.protobuf.Duration experiment_length = 11;
        Specified by:
        hasExperimentLength in interface ExperimentOrBuilder
        Returns:
        Whether the experimentLength field is set.
      • getExperimentLength

        public com.google.protobuf.Duration getExperimentLength()
         Maximum number of days to run the experiment/rollout. If auto-rollout is
         not enabled, default value and maximum will be 30 days. If auto-rollout is
         enabled, default value and maximum will be 6 days.
         
        .google.protobuf.Duration experiment_length = 11;
        Specified by:
        getExperimentLength in interface ExperimentOrBuilder
        Returns:
        The experimentLength.
      • setExperimentLength

        public Experiment.Builder setExperimentLength​(com.google.protobuf.Duration value)
         Maximum number of days to run the experiment/rollout. If auto-rollout is
         not enabled, default value and maximum will be 30 days. If auto-rollout is
         enabled, default value and maximum will be 6 days.
         
        .google.protobuf.Duration experiment_length = 11;
      • setExperimentLength

        public Experiment.Builder setExperimentLength​(com.google.protobuf.Duration.Builder builderForValue)
         Maximum number of days to run the experiment/rollout. If auto-rollout is
         not enabled, default value and maximum will be 30 days. If auto-rollout is
         enabled, default value and maximum will be 6 days.
         
        .google.protobuf.Duration experiment_length = 11;
      • mergeExperimentLength

        public Experiment.Builder mergeExperimentLength​(com.google.protobuf.Duration value)
         Maximum number of days to run the experiment/rollout. If auto-rollout is
         not enabled, default value and maximum will be 30 days. If auto-rollout is
         enabled, default value and maximum will be 6 days.
         
        .google.protobuf.Duration experiment_length = 11;
      • clearExperimentLength

        public Experiment.Builder clearExperimentLength()
         Maximum number of days to run the experiment/rollout. If auto-rollout is
         not enabled, default value and maximum will be 30 days. If auto-rollout is
         enabled, default value and maximum will be 6 days.
         
        .google.protobuf.Duration experiment_length = 11;
      • getExperimentLengthBuilder

        public com.google.protobuf.Duration.Builder getExperimentLengthBuilder()
         Maximum number of days to run the experiment/rollout. If auto-rollout is
         not enabled, default value and maximum will be 30 days. If auto-rollout is
         enabled, default value and maximum will be 6 days.
         
        .google.protobuf.Duration experiment_length = 11;
      • getExperimentLengthOrBuilder

        public com.google.protobuf.DurationOrBuilder getExperimentLengthOrBuilder()
         Maximum number of days to run the experiment/rollout. If auto-rollout is
         not enabled, default value and maximum will be 30 days. If auto-rollout is
         enabled, default value and maximum will be 6 days.
         
        .google.protobuf.Duration experiment_length = 11;
        Specified by:
        getExperimentLengthOrBuilder in interface ExperimentOrBuilder
      • getVariantsHistoryCount

        public int getVariantsHistoryCount()
         The history of updates to the experiment variants.
         
        repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
        Specified by:
        getVariantsHistoryCount in interface ExperimentOrBuilder
      • getVariantsHistory

        public VariantsHistory getVariantsHistory​(int index)
         The history of updates to the experiment variants.
         
        repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
        Specified by:
        getVariantsHistory in interface ExperimentOrBuilder
      • setVariantsHistory

        public Experiment.Builder setVariantsHistory​(int index,
                                                     VariantsHistory value)
         The history of updates to the experiment variants.
         
        repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
      • setVariantsHistory

        public Experiment.Builder setVariantsHistory​(int index,
                                                     VariantsHistory.Builder builderForValue)
         The history of updates to the experiment variants.
         
        repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
      • addVariantsHistory

        public Experiment.Builder addVariantsHistory​(VariantsHistory value)
         The history of updates to the experiment variants.
         
        repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
      • addVariantsHistory

        public Experiment.Builder addVariantsHistory​(int index,
                                                     VariantsHistory value)
         The history of updates to the experiment variants.
         
        repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
      • addVariantsHistory

        public Experiment.Builder addVariantsHistory​(VariantsHistory.Builder builderForValue)
         The history of updates to the experiment variants.
         
        repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
      • addVariantsHistory

        public Experiment.Builder addVariantsHistory​(int index,
                                                     VariantsHistory.Builder builderForValue)
         The history of updates to the experiment variants.
         
        repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
      • addAllVariantsHistory

        public Experiment.Builder addAllVariantsHistory​(Iterable<? extends VariantsHistory> values)
         The history of updates to the experiment variants.
         
        repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
      • clearVariantsHistory

        public Experiment.Builder clearVariantsHistory()
         The history of updates to the experiment variants.
         
        repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
      • removeVariantsHistory

        public Experiment.Builder removeVariantsHistory​(int index)
         The history of updates to the experiment variants.
         
        repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
      • getVariantsHistoryBuilder

        public VariantsHistory.Builder getVariantsHistoryBuilder​(int index)
         The history of updates to the experiment variants.
         
        repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
      • addVariantsHistoryBuilder

        public VariantsHistory.Builder addVariantsHistoryBuilder()
         The history of updates to the experiment variants.
         
        repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
      • addVariantsHistoryBuilder

        public VariantsHistory.Builder addVariantsHistoryBuilder​(int index)
         The history of updates to the experiment variants.
         
        repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
      • getVariantsHistoryBuilderList

        public List<VariantsHistory.Builder> getVariantsHistoryBuilderList()
         The history of updates to the experiment variants.
         
        repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
      • setUnknownFields

        public final Experiment.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Experiment.Builder>
      • mergeUnknownFields

        public final Experiment.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Experiment.Builder>