Interface ExperimentOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Experiment
,Experiment.Builder
public interface ExperimentOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Timestamp
getCreateTime()
Creation time of this experiment.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Creation time of this experiment.Experiment.Definition
getDefinition()
The definition of the experiment.Experiment.DefinitionOrBuilder
getDefinitionOrBuilder()
The definition of the experiment.String
getDescription()
The human-readable description of the experiment.com.google.protobuf.ByteString
getDescriptionBytes()
The human-readable description of the experiment.String
getDisplayName()
Required.com.google.protobuf.ByteString
getDisplayNameBytes()
Required.com.google.protobuf.Timestamp
getEndTime()
End time of this experiment.com.google.protobuf.TimestampOrBuilder
getEndTimeOrBuilder()
End time of this experiment.com.google.protobuf.Duration
getExperimentLength()
Maximum number of days to run the experiment/rollout.com.google.protobuf.DurationOrBuilder
getExperimentLengthOrBuilder()
Maximum number of days to run the experiment/rollout.com.google.protobuf.Timestamp
getLastUpdateTime()
Last update time of this experiment.com.google.protobuf.TimestampOrBuilder
getLastUpdateTimeOrBuilder()
Last update time of this experiment.String
getName()
The name of the experiment.com.google.protobuf.ByteString
getNameBytes()
The name of the experiment.Experiment.Result
getResult()
Inference result of the experiment.Experiment.ResultOrBuilder
getResultOrBuilder()
Inference result of the experiment.RolloutConfig
getRolloutConfig()
The configuration for auto rollout.RolloutConfigOrBuilder
getRolloutConfigOrBuilder()
The configuration for auto rollout.String
getRolloutFailureReason()
The reason why rollout has failed.com.google.protobuf.ByteString
getRolloutFailureReasonBytes()
The reason why rollout has failed.RolloutState
getRolloutState()
State of the auto rollout process.RolloutStateOrBuilder
getRolloutStateOrBuilder()
State of the auto rollout process.com.google.protobuf.Timestamp
getStartTime()
Start time of this experiment.com.google.protobuf.TimestampOrBuilder
getStartTimeOrBuilder()
Start time of this experiment.Experiment.State
getState()
The current state of the experiment.int
getStateValue()
The current state of the experiment.VariantsHistory
getVariantsHistory(int index)
The history of updates to the experiment variants.int
getVariantsHistoryCount()
The history of updates to the experiment variants.List<VariantsHistory>
getVariantsHistoryList()
The history of updates to the experiment variants.VariantsHistoryOrBuilder
getVariantsHistoryOrBuilder(int index)
The history of updates to the experiment variants.List<? extends VariantsHistoryOrBuilder>
getVariantsHistoryOrBuilderList()
The history of updates to the experiment variants.boolean
hasCreateTime()
Creation time of this experiment.boolean
hasDefinition()
The definition of the experiment.boolean
hasEndTime()
End time of this experiment.boolean
hasExperimentLength()
Maximum number of days to run the experiment/rollout.boolean
hasLastUpdateTime()
Last update time of this experiment.boolean
hasResult()
Inference result of the experiment.boolean
hasRolloutConfig()
The configuration for auto rollout.boolean
hasRolloutState()
State of the auto rollout process.boolean
hasStartTime()
Start time of this experiment.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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;
- Returns:
- The name.
-
getNameBytes
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;
- Returns:
- The bytes for name.
-
getDisplayName
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];
- Returns:
- The displayName.
-
getDisplayNameBytes
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];
- Returns:
- The bytes for displayName.
-
getDescription
String getDescription()
The human-readable description of the experiment.
string description = 3;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
The human-readable description of the experiment.
string description = 3;
- Returns:
- The bytes for description.
-
getStateValue
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;
- Returns:
- The enum numeric value on the wire for state.
-
getState
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;
- Returns:
- The state.
-
hasDefinition
boolean hasDefinition()
The definition of the experiment.
.google.cloud.dialogflow.cx.v3.Experiment.Definition definition = 5;
- Returns:
- Whether the definition field is set.
-
getDefinition
Experiment.Definition getDefinition()
The definition of the experiment.
.google.cloud.dialogflow.cx.v3.Experiment.Definition definition = 5;
- Returns:
- The definition.
-
getDefinitionOrBuilder
Experiment.DefinitionOrBuilder getDefinitionOrBuilder()
The definition of the experiment.
.google.cloud.dialogflow.cx.v3.Experiment.Definition definition = 5;
-
hasRolloutConfig
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;
- Returns:
- Whether the rolloutConfig field is set.
-
getRolloutConfig
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;
- Returns:
- The rolloutConfig.
-
getRolloutConfigOrBuilder
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;
-
hasRolloutState
boolean hasRolloutState()
State of the auto rollout process.
.google.cloud.dialogflow.cx.v3.RolloutState rollout_state = 15;
- Returns:
- Whether the rolloutState field is set.
-
getRolloutState
RolloutState getRolloutState()
State of the auto rollout process.
.google.cloud.dialogflow.cx.v3.RolloutState rollout_state = 15;
- Returns:
- The rolloutState.
-
getRolloutStateOrBuilder
RolloutStateOrBuilder getRolloutStateOrBuilder()
State of the auto rollout process.
.google.cloud.dialogflow.cx.v3.RolloutState rollout_state = 15;
-
getRolloutFailureReason
String getRolloutFailureReason()
The reason why rollout has failed. Should only be set when state is ROLLOUT_FAILED.
string rollout_failure_reason = 16;
- Returns:
- The rolloutFailureReason.
-
getRolloutFailureReasonBytes
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;
- Returns:
- The bytes for rolloutFailureReason.
-
hasResult
boolean hasResult()
Inference result of the experiment.
.google.cloud.dialogflow.cx.v3.Experiment.Result result = 6;
- Returns:
- Whether the result field is set.
-
getResult
Experiment.Result getResult()
Inference result of the experiment.
.google.cloud.dialogflow.cx.v3.Experiment.Result result = 6;
- Returns:
- The result.
-
getResultOrBuilder
Experiment.ResultOrBuilder getResultOrBuilder()
Inference result of the experiment.
.google.cloud.dialogflow.cx.v3.Experiment.Result result = 6;
-
hasCreateTime
boolean hasCreateTime()
Creation time of this experiment.
.google.protobuf.Timestamp create_time = 7;
- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
Creation time of this experiment.
.google.protobuf.Timestamp create_time = 7;
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Creation time of this experiment.
.google.protobuf.Timestamp create_time = 7;
-
hasStartTime
boolean hasStartTime()
Start time of this experiment.
.google.protobuf.Timestamp start_time = 8;
- Returns:
- Whether the startTime field is set.
-
getStartTime
com.google.protobuf.Timestamp getStartTime()
Start time of this experiment.
.google.protobuf.Timestamp start_time = 8;
- Returns:
- The startTime.
-
getStartTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Start time of this experiment.
.google.protobuf.Timestamp start_time = 8;
-
hasEndTime
boolean hasEndTime()
End time of this experiment.
.google.protobuf.Timestamp end_time = 9;
- Returns:
- Whether the endTime field is set.
-
getEndTime
com.google.protobuf.Timestamp getEndTime()
End time of this experiment.
.google.protobuf.Timestamp end_time = 9;
- Returns:
- The endTime.
-
getEndTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
End time of this experiment.
.google.protobuf.Timestamp end_time = 9;
-
hasLastUpdateTime
boolean hasLastUpdateTime()
Last update time of this experiment.
.google.protobuf.Timestamp last_update_time = 10;
- Returns:
- Whether the lastUpdateTime field is set.
-
getLastUpdateTime
com.google.protobuf.Timestamp getLastUpdateTime()
Last update time of this experiment.
.google.protobuf.Timestamp last_update_time = 10;
- Returns:
- The lastUpdateTime.
-
getLastUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder()
Last update time of this experiment.
.google.protobuf.Timestamp last_update_time = 10;
-
hasExperimentLength
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;
- Returns:
- Whether the experimentLength field is set.
-
getExperimentLength
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;
- Returns:
- The experimentLength.
-
getExperimentLengthOrBuilder
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;
-
getVariantsHistoryList
List<VariantsHistory> getVariantsHistoryList()
The history of updates to the experiment variants.
repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
-
getVariantsHistory
VariantsHistory getVariantsHistory(int index)
The history of updates to the experiment variants.
repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
-
getVariantsHistoryCount
int getVariantsHistoryCount()
The history of updates to the experiment variants.
repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
-
getVariantsHistoryOrBuilderList
List<? extends VariantsHistoryOrBuilder> getVariantsHistoryOrBuilderList()
The history of updates to the experiment variants.
repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
-
getVariantsHistoryOrBuilder
VariantsHistoryOrBuilder getVariantsHistoryOrBuilder(int index)
The history of updates to the experiment variants.
repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
-
-