- 0.63.0 (latest)
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class Experiment.Builder extends GeneratedMessageV3.Builder<Experiment.Builder> implements ExperimentOrBuilder
Represents an experiment in an environment.
Protobuf type google.cloud.dialogflow.cx.v3.Experiment
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Experiment.BuilderImplements
ExperimentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllVariantsHistory(Iterable<? extends VariantsHistory> values)
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;
Name | Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3.VariantsHistory> |
Type | Description |
Experiment.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Experiment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
Experiment.Builder |
addVariantsHistory(VariantsHistory value)
public Experiment.Builder addVariantsHistory(VariantsHistory value)
The history of updates to the experiment variants.
repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
Name | Description |
value |
VariantsHistory |
Type | Description |
Experiment.Builder |
addVariantsHistory(VariantsHistory.Builder builderForValue)
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;
Name | Description |
builderForValue |
VariantsHistory.Builder |
Type | Description |
Experiment.Builder |
addVariantsHistory(int index, VariantsHistory value)
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;
Name | Description |
index |
int |
value |
VariantsHistory |
Type | Description |
Experiment.Builder |
addVariantsHistory(int index, VariantsHistory.Builder builderForValue)
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;
Name | Description |
index |
int |
builderForValue |
VariantsHistory.Builder |
Type | Description |
Experiment.Builder |
addVariantsHistoryBuilder()
public VariantsHistory.Builder addVariantsHistoryBuilder()
The history of updates to the experiment variants.
repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
Type | Description |
VariantsHistory.Builder |
addVariantsHistoryBuilder(int index)
public VariantsHistory.Builder addVariantsHistoryBuilder(int index)
The history of updates to the experiment variants.
repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
Name | Description |
index |
int |
Type | Description |
VariantsHistory.Builder |
build()
public Experiment build()
Type | Description |
Experiment |
buildPartial()
public Experiment buildPartial()
Type | Description |
Experiment |
clear()
public Experiment.Builder clear()
Type | Description |
Experiment.Builder |
clearCreateTime()
public Experiment.Builder clearCreateTime()
Creation time of this experiment.
.google.protobuf.Timestamp create_time = 7;
Type | Description |
Experiment.Builder |
clearDefinition()
public Experiment.Builder clearDefinition()
The definition of the experiment.
.google.cloud.dialogflow.cx.v3.Experiment.Definition definition = 5;
Type | Description |
Experiment.Builder |
clearDescription()
public Experiment.Builder clearDescription()
The human-readable description of the experiment.
string description = 3;
Type | Description |
Experiment.Builder |
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];
Type | Description |
Experiment.Builder |
This builder for chaining. |
clearEndTime()
public Experiment.Builder clearEndTime()
End time of this experiment.
.google.protobuf.Timestamp end_time = 9;
Type | Description |
Experiment.Builder |
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;
Type | Description |
Experiment.Builder |
clearField(Descriptors.FieldDescriptor field)
public Experiment.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field |
FieldDescriptor |
Type | Description |
Experiment.Builder |
clearLastUpdateTime()
public Experiment.Builder clearLastUpdateTime()
Last update time of this experiment.
.google.protobuf.Timestamp last_update_time = 10;
Type | Description |
Experiment.Builder |
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;
Type | Description |
Experiment.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Experiment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof |
OneofDescriptor |
Type | Description |
Experiment.Builder |
clearResult()
public Experiment.Builder clearResult()
Inference result of the experiment.
.google.cloud.dialogflow.cx.v3.Experiment.Result result = 6;
Type | Description |
Experiment.Builder |
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;
Type | Description |
Experiment.Builder |
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;
Type | Description |
Experiment.Builder |
This builder for chaining. |
clearRolloutState()
public Experiment.Builder clearRolloutState()
State of the auto rollout process.
.google.cloud.dialogflow.cx.v3.RolloutState rollout_state = 15;
Type | Description |
Experiment.Builder |
clearStartTime()
public Experiment.Builder clearStartTime()
Start time of this experiment.
.google.protobuf.Timestamp start_time = 8;
Type | Description |
Experiment.Builder |
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;
Type | Description |
Experiment.Builder |
This builder for chaining. |
clearVariantsHistory()
public Experiment.Builder clearVariantsHistory()
The history of updates to the experiment variants.
repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
Type | Description |
Experiment.Builder |
clone()
public Experiment.Builder clone()
Type | Description |
Experiment.Builder |
getCreateTime()
public Timestamp getCreateTime()
Creation time of this experiment.
.google.protobuf.Timestamp create_time = 7;
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Creation time of this experiment.
.google.protobuf.Timestamp create_time = 7;
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Creation time of this experiment.
.google.protobuf.Timestamp create_time = 7;
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Experiment getDefaultInstanceForType()
Type | Description |
Experiment |
getDefinition()
public Experiment.Definition getDefinition()
The definition of the experiment.
.google.cloud.dialogflow.cx.v3.Experiment.Definition definition = 5;
Type | Description |
Experiment.Definition |
The definition. |
getDefinitionBuilder()
public Experiment.Definition.Builder getDefinitionBuilder()
The definition of the experiment.
.google.cloud.dialogflow.cx.v3.Experiment.Definition definition = 5;
Type | Description |
Experiment.Definition.Builder |
getDefinitionOrBuilder()
public Experiment.DefinitionOrBuilder getDefinitionOrBuilder()
The definition of the experiment.
.google.cloud.dialogflow.cx.v3.Experiment.Definition definition = 5;
Type | Description |
Experiment.DefinitionOrBuilder |
getDescription()
public String getDescription()
The human-readable description of the experiment.
string description = 3;
Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
The human-readable description of the experiment.
string description = 3;
Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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];
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public 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];
Type | Description |
ByteString |
The bytes for displayName. |
getEndTime()
public Timestamp getEndTime()
End time of this experiment.
.google.protobuf.Timestamp end_time = 9;
Type | Description |
Timestamp |
The endTime. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
End time of this experiment.
.google.protobuf.Timestamp end_time = 9;
Type | Description |
Builder |
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
End time of this experiment.
.google.protobuf.Timestamp end_time = 9;
Type | Description |
TimestampOrBuilder |
getExperimentLength()
public 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;
Type | Description |
Duration |
The experimentLength. |
getExperimentLengthBuilder()
public 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;
Type | Description |
Builder |
getExperimentLengthOrBuilder()
public 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;
Type | Description |
DurationOrBuilder |
getLastUpdateTime()
public Timestamp getLastUpdateTime()
Last update time of this experiment.
.google.protobuf.Timestamp last_update_time = 10;
Type | Description |
Timestamp |
The lastUpdateTime. |
getLastUpdateTimeBuilder()
public Timestamp.Builder getLastUpdateTimeBuilder()
Last update time of this experiment.
.google.protobuf.Timestamp last_update_time = 10;
Type | Description |
Builder |
getLastUpdateTimeOrBuilder()
public TimestampOrBuilder getLastUpdateTimeOrBuilder()
Last update time of this experiment.
.google.protobuf.Timestamp last_update_time = 10;
Type | Description |
TimestampOrBuilder |
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;
Type | Description |
String |
The name. |
getNameBytes()
public 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;
Type | Description |
ByteString |
The bytes for name. |
getResult()
public Experiment.Result getResult()
Inference result of the experiment.
.google.cloud.dialogflow.cx.v3.Experiment.Result result = 6;
Type | Description |
Experiment.Result |
The result. |
getResultBuilder()
public Experiment.Result.Builder getResultBuilder()
Inference result of the experiment.
.google.cloud.dialogflow.cx.v3.Experiment.Result result = 6;
Type | Description |
Experiment.Result.Builder |
getResultOrBuilder()
public Experiment.ResultOrBuilder getResultOrBuilder()
Inference result of the experiment.
.google.cloud.dialogflow.cx.v3.Experiment.Result result = 6;
Type | Description |
Experiment.ResultOrBuilder |
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;
Type | Description |
RolloutConfig |
The rolloutConfig. |
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;
Type | Description |
RolloutConfig.Builder |
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;
Type | Description |
RolloutConfigOrBuilder |
getRolloutFailureReason()
public String getRolloutFailureReason()
The reason why rollout has failed. Should only be set when state is ROLLOUT_FAILED.
string rollout_failure_reason = 16;
Type | Description |
String |
The rolloutFailureReason. |
getRolloutFailureReasonBytes()
public ByteString getRolloutFailureReasonBytes()
The reason why rollout has failed. Should only be set when state is ROLLOUT_FAILED.
string rollout_failure_reason = 16;
Type | Description |
ByteString |
The bytes for rolloutFailureReason. |
getRolloutState()
public RolloutState getRolloutState()
State of the auto rollout process.
.google.cloud.dialogflow.cx.v3.RolloutState rollout_state = 15;
Type | Description |
RolloutState |
The rolloutState. |
getRolloutStateBuilder()
public RolloutState.Builder getRolloutStateBuilder()
State of the auto rollout process.
.google.cloud.dialogflow.cx.v3.RolloutState rollout_state = 15;
Type | Description |
RolloutState.Builder |
getRolloutStateOrBuilder()
public RolloutStateOrBuilder getRolloutStateOrBuilder()
State of the auto rollout process.
.google.cloud.dialogflow.cx.v3.RolloutState rollout_state = 15;
Type | Description |
RolloutStateOrBuilder |
getStartTime()
public Timestamp getStartTime()
Start time of this experiment.
.google.protobuf.Timestamp start_time = 8;
Type | Description |
Timestamp |
The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
Start time of this experiment.
.google.protobuf.Timestamp start_time = 8;
Type | Description |
Builder |
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Start time of this experiment.
.google.protobuf.Timestamp start_time = 8;
Type | Description |
TimestampOrBuilder |
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;
Type | Description |
Experiment.State |
The state. |
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;
Type | Description |
int |
The enum numeric value on the wire for state. |
getVariantsHistory(int index)
public VariantsHistory getVariantsHistory(int index)
The history of updates to the experiment variants.
repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
Name | Description |
index |
int |
Type | Description |
VariantsHistory |
getVariantsHistoryBuilder(int index)
public VariantsHistory.Builder getVariantsHistoryBuilder(int index)
The history of updates to the experiment variants.
repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
Name | Description |
index |
int |
Type | Description |
VariantsHistory.Builder |
getVariantsHistoryBuilderList()
public List<VariantsHistory.Builder> getVariantsHistoryBuilderList()
The history of updates to the experiment variants.
repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
Type | Description |
List<Builder> |
getVariantsHistoryCount()
public int getVariantsHistoryCount()
The history of updates to the experiment variants.
repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
Type | Description |
int |
getVariantsHistoryList()
public List<VariantsHistory> getVariantsHistoryList()
The history of updates to the experiment variants.
repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
Type | Description |
List<VariantsHistory> |
getVariantsHistoryOrBuilder(int index)
public VariantsHistoryOrBuilder getVariantsHistoryOrBuilder(int index)
The history of updates to the experiment variants.
repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
Name | Description |
index |
int |
Type | Description |
VariantsHistoryOrBuilder |
getVariantsHistoryOrBuilderList()
public List<? extends VariantsHistoryOrBuilder> getVariantsHistoryOrBuilderList()
The history of updates to the experiment variants.
repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
Type | Description |
List<? extends com.google.cloud.dialogflow.cx.v3.VariantsHistoryOrBuilder> |
hasCreateTime()
public boolean hasCreateTime()
Creation time of this experiment.
.google.protobuf.Timestamp create_time = 7;
Type | Description |
boolean |
Whether the createTime field is set. |
hasDefinition()
public boolean hasDefinition()
The definition of the experiment.
.google.cloud.dialogflow.cx.v3.Experiment.Definition definition = 5;
Type | Description |
boolean |
Whether the definition field is set. |
hasEndTime()
public boolean hasEndTime()
End time of this experiment.
.google.protobuf.Timestamp end_time = 9;
Type | Description |
boolean |
Whether the endTime field is set. |
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;
Type | Description |
boolean |
Whether the experimentLength field is set. |
hasLastUpdateTime()
public boolean hasLastUpdateTime()
Last update time of this experiment.
.google.protobuf.Timestamp last_update_time = 10;
Type | Description |
boolean |
Whether the lastUpdateTime field is set. |
hasResult()
public boolean hasResult()
Inference result of the experiment.
.google.cloud.dialogflow.cx.v3.Experiment.Result result = 6;
Type | Description |
boolean |
Whether the result field is set. |
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;
Type | Description |
boolean |
Whether the rolloutConfig field is set. |
hasRolloutState()
public boolean hasRolloutState()
State of the auto rollout process.
.google.cloud.dialogflow.cx.v3.RolloutState rollout_state = 15;
Type | Description |
boolean |
Whether the rolloutState field is set. |
hasStartTime()
public boolean hasStartTime()
Start time of this experiment.
.google.protobuf.Timestamp start_time = 8;
Type | Description |
boolean |
Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Experiment.Builder mergeCreateTime(Timestamp value)
Creation time of this experiment.
.google.protobuf.Timestamp create_time = 7;
Name | Description |
value |
Timestamp |
Type | Description |
Experiment.Builder |
mergeDefinition(Experiment.Definition value)
public Experiment.Builder mergeDefinition(Experiment.Definition value)
The definition of the experiment.
.google.cloud.dialogflow.cx.v3.Experiment.Definition definition = 5;
Name | Description |
value |
Experiment.Definition |
Type | Description |
Experiment.Builder |
mergeEndTime(Timestamp value)
public Experiment.Builder mergeEndTime(Timestamp value)
End time of this experiment.
.google.protobuf.Timestamp end_time = 9;
Name | Description |
value |
Timestamp |
Type | Description |
Experiment.Builder |
mergeExperimentLength(Duration value)
public Experiment.Builder mergeExperimentLength(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;
Name | Description |
value |
Duration |
Type | Description |
Experiment.Builder |
mergeFrom(Experiment other)
public Experiment.Builder mergeFrom(Experiment other)
Name | Description |
other |
Experiment |
Type | Description |
Experiment.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Experiment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Experiment.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Experiment.Builder mergeFrom(Message other)
Name | Description |
other |
Message |
Type | Description |
Experiment.Builder |
mergeLastUpdateTime(Timestamp value)
public Experiment.Builder mergeLastUpdateTime(Timestamp value)
Last update time of this experiment.
.google.protobuf.Timestamp last_update_time = 10;
Name | Description |
value |
Timestamp |
Type | Description |
Experiment.Builder |
mergeResult(Experiment.Result value)
public Experiment.Builder mergeResult(Experiment.Result value)
Inference result of the experiment.
.google.cloud.dialogflow.cx.v3.Experiment.Result result = 6;
Name | Description |
value |
Experiment.Result |
Type | Description |
Experiment.Builder |
mergeRolloutConfig(RolloutConfig value)
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;
Name | Description |
value |
RolloutConfig |
Type | Description |
Experiment.Builder |
mergeRolloutState(RolloutState value)
public Experiment.Builder mergeRolloutState(RolloutState value)
State of the auto rollout process.
.google.cloud.dialogflow.cx.v3.RolloutState rollout_state = 15;
Name | Description |
value |
RolloutState |
Type | Description |
Experiment.Builder |
mergeStartTime(Timestamp value)
public Experiment.Builder mergeStartTime(Timestamp value)
Start time of this experiment.
.google.protobuf.Timestamp start_time = 8;
Name | Description |
value |
Timestamp |
Type | Description |
Experiment.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Experiment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
Experiment.Builder |
removeVariantsHistory(int index)
public Experiment.Builder removeVariantsHistory(int index)
The history of updates to the experiment variants.
repeated .google.cloud.dialogflow.cx.v3.VariantsHistory variants_history = 12;
Name | Description |
index |
int |
Type | Description |
Experiment.Builder |
setCreateTime(Timestamp value)
public Experiment.Builder setCreateTime(Timestamp value)
Creation time of this experiment.
.google.protobuf.Timestamp create_time = 7;
Name | Description |
value |
Timestamp |
Type | Description |
Experiment.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Experiment.Builder setCreateTime(Timestamp.Builder builderForValue)
Creation time of this experiment.
.google.protobuf.Timestamp create_time = 7;
Name | Description |
builderForValue |
Builder |
Type | Description |
Experiment.Builder |
setDefinition(Experiment.Definition value)
public Experiment.Builder setDefinition(Experiment.Definition value)
The definition of the experiment.
.google.cloud.dialogflow.cx.v3.Experiment.Definition definition = 5;
Name | Description |
value |
Experiment.Definition |
Type | Description |
Experiment.Builder |
setDefinition(Experiment.Definition.Builder builderForValue)
public Experiment.Builder setDefinition(Experiment.Definition.Builder builderForValue)
The definition of the experiment.
.google.cloud.dialogflow.cx.v3.Experiment.Definition definition = 5;
Name | Description |
builderForValue |
Experiment.Definition.Builder |
Type | Description |
Experiment.Builder |
setDescription(String value)
public Experiment.Builder setDescription(String value)
The human-readable description of the experiment.
string description = 3;
Name | Description |
value |
String The description to set. |
Type | Description |
Experiment.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public Experiment.Builder setDescriptionBytes(ByteString value)
The human-readable description of the experiment.
string description = 3;
Name | Description |
value |
ByteString The bytes for description to set. |
Type | Description |
Experiment.Builder |
This builder for chaining. |
setDisplayName(String value)
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];
Name | Description |
value |
String The displayName to set. |
Type | Description |
Experiment.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Experiment.Builder setDisplayNameBytes(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];
Name | Description |
value |
ByteString The bytes for displayName to set. |
Type | Description |
Experiment.Builder |
This builder for chaining. |
setEndTime(Timestamp value)
public Experiment.Builder setEndTime(Timestamp value)
End time of this experiment.
.google.protobuf.Timestamp end_time = 9;
Name | Description |
value |
Timestamp |
Type | Description |
Experiment.Builder |
setEndTime(Timestamp.Builder builderForValue)
public Experiment.Builder setEndTime(Timestamp.Builder builderForValue)
End time of this experiment.
.google.protobuf.Timestamp end_time = 9;
Name | Description |
builderForValue |
Builder |
Type | Description |
Experiment.Builder |
setExperimentLength(Duration value)
public Experiment.Builder setExperimentLength(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;
Name | Description |
value |
Duration |
Type | Description |
Experiment.Builder |
setExperimentLength(Duration.Builder builderForValue)
public Experiment.Builder setExperimentLength(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;
Name | Description |
builderForValue |
Builder |
Type | Description |
Experiment.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Experiment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
Experiment.Builder |
setLastUpdateTime(Timestamp value)
public Experiment.Builder setLastUpdateTime(Timestamp value)
Last update time of this experiment.
.google.protobuf.Timestamp last_update_time = 10;
Name | Description |
value |
Timestamp |
Type | Description |
Experiment.Builder |
setLastUpdateTime(Timestamp.Builder builderForValue)
public Experiment.Builder setLastUpdateTime(Timestamp.Builder builderForValue)
Last update time of this experiment.
.google.protobuf.Timestamp last_update_time = 10;
Name | Description |
builderForValue |
Builder |
Type | Description |
Experiment.Builder |
setName(String value)
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;
Name | Description |
value |
String The name to set. |
Type | Description |
Experiment.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Experiment.Builder setNameBytes(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;
Name | Description |
value |
ByteString The bytes for name to set. |
Type | Description |
Experiment.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Experiment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Type | Description |
Experiment.Builder |
setResult(Experiment.Result value)
public Experiment.Builder setResult(Experiment.Result value)
Inference result of the experiment.
.google.cloud.dialogflow.cx.v3.Experiment.Result result = 6;
Name | Description |
value |
Experiment.Result |
Type | Description |
Experiment.Builder |
setResult(Experiment.Result.Builder builderForValue)
public Experiment.Builder setResult(Experiment.Result.Builder builderForValue)
Inference result of the experiment.
.google.cloud.dialogflow.cx.v3.Experiment.Result result = 6;
Name | Description |
builderForValue |
Experiment.Result.Builder |
Type | Description |
Experiment.Builder |
setRolloutConfig(RolloutConfig value)
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;
Name | Description |
value |
RolloutConfig |
Type | Description |
Experiment.Builder |
setRolloutConfig(RolloutConfig.Builder builderForValue)
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;
Name | Description |
builderForValue |
RolloutConfig.Builder |
Type | Description |
Experiment.Builder |
setRolloutFailureReason(String value)
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;
Name | Description |
value |
String The rolloutFailureReason to set. |
Type | Description |
Experiment.Builder |
This builder for chaining. |
setRolloutFailureReasonBytes(ByteString value)
public Experiment.Builder setRolloutFailureReasonBytes(ByteString value)
The reason why rollout has failed. Should only be set when state is ROLLOUT_FAILED.
string rollout_failure_reason = 16;
Name | Description |
value |
ByteString The bytes for rolloutFailureReason to set. |
Type | Description |
Experiment.Builder |
This builder for chaining. |
setRolloutState(RolloutState value)
public Experiment.Builder setRolloutState(RolloutState value)
State of the auto rollout process.
.google.cloud.dialogflow.cx.v3.RolloutState rollout_state = 15;
Name | Description |
value |
RolloutState |
Type | Description |
Experiment.Builder |
setRolloutState(RolloutState.Builder builderForValue)
public Experiment.Builder setRolloutState(RolloutState.Builder builderForValue)
State of the auto rollout process.
.google.cloud.dialogflow.cx.v3.RolloutState rollout_state = 15;
Name | Description |
builderForValue |
RolloutState.Builder |
Type | Description |
Experiment.Builder |
setStartTime(Timestamp value)
public Experiment.Builder setStartTime(Timestamp value)
Start time of this experiment.
.google.protobuf.Timestamp start_time = 8;
Name | Description |
value |
Timestamp |
Type | Description |
Experiment.Builder |
setStartTime(Timestamp.Builder builderForValue)
public Experiment.Builder setStartTime(Timestamp.Builder builderForValue)
Start time of this experiment.
.google.protobuf.Timestamp start_time = 8;
Name | Description |
builderForValue |
Builder |
Type | Description |
Experiment.Builder |
setState(Experiment.State value)
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;
Name | Description |
value |
Experiment.State The state to set. |
Type | Description |
Experiment.Builder |
This builder for chaining. |
setStateValue(int value)
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;
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Type | Description |
Experiment.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Experiment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
Experiment.Builder |
setVariantsHistory(int index, VariantsHistory value)
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;
Name | Description |
index |
int |
value |
VariantsHistory |
Type | Description |
Experiment.Builder |
setVariantsHistory(int index, VariantsHistory.Builder builderForValue)
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;
Name | Description |
index |
int |
builderForValue |
VariantsHistory.Builder |
Type | Description |
Experiment.Builder |