public static final class Experiment.Result.Builder extends GeneratedMessageV3.Builder<Experiment.Result.Builder> implements Experiment.ResultOrBuilder
The inference result which includes an objective metric to optimize and the
confidence interval.
Protobuf type google.cloud.dialogflow.cx.v3.Experiment.Result
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllVersionMetrics(Iterable<? extends Experiment.Result.VersionMetrics> values)
public Experiment.Result.Builder addAllVersionMetrics(Iterable<? extends Experiment.Result.VersionMetrics> values)
Version variants and metrics.
repeated .google.cloud.dialogflow.cx.v3.Experiment.Result.VersionMetrics version_metrics = 1;
Parameter
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3.Experiment.Result.VersionMetrics>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Experiment.Result.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addVersionMetrics(Experiment.Result.VersionMetrics value)
public Experiment.Result.Builder addVersionMetrics(Experiment.Result.VersionMetrics value)
Version variants and metrics.
repeated .google.cloud.dialogflow.cx.v3.Experiment.Result.VersionMetrics version_metrics = 1;
Parameter
Returns
addVersionMetrics(Experiment.Result.VersionMetrics.Builder builderForValue)
public Experiment.Result.Builder addVersionMetrics(Experiment.Result.VersionMetrics.Builder builderForValue)
Version variants and metrics.
repeated .google.cloud.dialogflow.cx.v3.Experiment.Result.VersionMetrics version_metrics = 1;
Parameter
Returns
addVersionMetrics(int index, Experiment.Result.VersionMetrics value)
public Experiment.Result.Builder addVersionMetrics(int index, Experiment.Result.VersionMetrics value)
Version variants and metrics.
repeated .google.cloud.dialogflow.cx.v3.Experiment.Result.VersionMetrics version_metrics = 1;
Parameters
Returns
addVersionMetrics(int index, Experiment.Result.VersionMetrics.Builder builderForValue)
public Experiment.Result.Builder addVersionMetrics(int index, Experiment.Result.VersionMetrics.Builder builderForValue)
Version variants and metrics.
repeated .google.cloud.dialogflow.cx.v3.Experiment.Result.VersionMetrics version_metrics = 1;
Parameters
Returns
addVersionMetricsBuilder()
public Experiment.Result.VersionMetrics.Builder addVersionMetricsBuilder()
Version variants and metrics.
repeated .google.cloud.dialogflow.cx.v3.Experiment.Result.VersionMetrics version_metrics = 1;
Returns
addVersionMetricsBuilder(int index)
public Experiment.Result.VersionMetrics.Builder addVersionMetricsBuilder(int index)
Version variants and metrics.
repeated .google.cloud.dialogflow.cx.v3.Experiment.Result.VersionMetrics version_metrics = 1;
Parameter
Name |
Description |
index |
int
|
Returns
build()
public Experiment.Result build()
Returns
buildPartial()
public Experiment.Result buildPartial()
Returns
clear()
public Experiment.Result.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Experiment.Result.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearLastUpdateTime()
public Experiment.Result.Builder clearLastUpdateTime()
The last time the experiment's stats data was updated. Will have default
value if stats have never been computed for this experiment.
.google.protobuf.Timestamp last_update_time = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Experiment.Result.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearVersionMetrics()
public Experiment.Result.Builder clearVersionMetrics()
Version variants and metrics.
repeated .google.cloud.dialogflow.cx.v3.Experiment.Result.VersionMetrics version_metrics = 1;
Returns
clone()
public Experiment.Result.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Experiment.Result getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getLastUpdateTime()
public Timestamp getLastUpdateTime()
The last time the experiment's stats data was updated. Will have default
value if stats have never been computed for this experiment.
.google.protobuf.Timestamp last_update_time = 2;
Returns
Type |
Description |
Timestamp |
The lastUpdateTime.
|
getLastUpdateTimeBuilder()
public Timestamp.Builder getLastUpdateTimeBuilder()
The last time the experiment's stats data was updated. Will have default
value if stats have never been computed for this experiment.
.google.protobuf.Timestamp last_update_time = 2;
Returns
getLastUpdateTimeOrBuilder()
public TimestampOrBuilder getLastUpdateTimeOrBuilder()
The last time the experiment's stats data was updated. Will have default
value if stats have never been computed for this experiment.
.google.protobuf.Timestamp last_update_time = 2;
Returns
getVersionMetrics(int index)
public Experiment.Result.VersionMetrics getVersionMetrics(int index)
Version variants and metrics.
repeated .google.cloud.dialogflow.cx.v3.Experiment.Result.VersionMetrics version_metrics = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getVersionMetricsBuilder(int index)
public Experiment.Result.VersionMetrics.Builder getVersionMetricsBuilder(int index)
Version variants and metrics.
repeated .google.cloud.dialogflow.cx.v3.Experiment.Result.VersionMetrics version_metrics = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getVersionMetricsBuilderList()
public List<Experiment.Result.VersionMetrics.Builder> getVersionMetricsBuilderList()
Version variants and metrics.
repeated .google.cloud.dialogflow.cx.v3.Experiment.Result.VersionMetrics version_metrics = 1;
Returns
getVersionMetricsCount()
public int getVersionMetricsCount()
Version variants and metrics.
repeated .google.cloud.dialogflow.cx.v3.Experiment.Result.VersionMetrics version_metrics = 1;
Returns
getVersionMetricsList()
public List<Experiment.Result.VersionMetrics> getVersionMetricsList()
Version variants and metrics.
repeated .google.cloud.dialogflow.cx.v3.Experiment.Result.VersionMetrics version_metrics = 1;
Returns
getVersionMetricsOrBuilder(int index)
public Experiment.Result.VersionMetricsOrBuilder getVersionMetricsOrBuilder(int index)
Version variants and metrics.
repeated .google.cloud.dialogflow.cx.v3.Experiment.Result.VersionMetrics version_metrics = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getVersionMetricsOrBuilderList()
public List<? extends Experiment.Result.VersionMetricsOrBuilder> getVersionMetricsOrBuilderList()
Version variants and metrics.
repeated .google.cloud.dialogflow.cx.v3.Experiment.Result.VersionMetrics version_metrics = 1;
Returns
Type |
Description |
List<? extends com.google.cloud.dialogflow.cx.v3.Experiment.Result.VersionMetricsOrBuilder> |
|
hasLastUpdateTime()
public boolean hasLastUpdateTime()
The last time the experiment's stats data was updated. Will have default
value if stats have never been computed for this experiment.
.google.protobuf.Timestamp last_update_time = 2;
Returns
Type |
Description |
boolean |
Whether the lastUpdateTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Experiment.Result other)
public Experiment.Result.Builder mergeFrom(Experiment.Result other)
Parameter
Returns
public Experiment.Result.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Experiment.Result.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeLastUpdateTime(Timestamp value)
public Experiment.Result.Builder mergeLastUpdateTime(Timestamp value)
The last time the experiment's stats data was updated. Will have default
value if stats have never been computed for this experiment.
.google.protobuf.Timestamp last_update_time = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Experiment.Result.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeVersionMetrics(int index)
public Experiment.Result.Builder removeVersionMetrics(int index)
Version variants and metrics.
repeated .google.cloud.dialogflow.cx.v3.Experiment.Result.VersionMetrics version_metrics = 1;
Parameter
Name |
Description |
index |
int
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Experiment.Result.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setLastUpdateTime(Timestamp value)
public Experiment.Result.Builder setLastUpdateTime(Timestamp value)
The last time the experiment's stats data was updated. Will have default
value if stats have never been computed for this experiment.
.google.protobuf.Timestamp last_update_time = 2;
Parameter
Returns
setLastUpdateTime(Timestamp.Builder builderForValue)
public Experiment.Result.Builder setLastUpdateTime(Timestamp.Builder builderForValue)
The last time the experiment's stats data was updated. Will have default
value if stats have never been computed for this experiment.
.google.protobuf.Timestamp last_update_time = 2;
Parameter
Name |
Description |
builderForValue |
Builder
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Experiment.Result.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Experiment.Result.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setVersionMetrics(int index, Experiment.Result.VersionMetrics value)
public Experiment.Result.Builder setVersionMetrics(int index, Experiment.Result.VersionMetrics value)
Version variants and metrics.
repeated .google.cloud.dialogflow.cx.v3.Experiment.Result.VersionMetrics version_metrics = 1;
Parameters
Returns
setVersionMetrics(int index, Experiment.Result.VersionMetrics.Builder builderForValue)
public Experiment.Result.Builder setVersionMetrics(int index, Experiment.Result.VersionMetrics.Builder builderForValue)
Version variants and metrics.
repeated .google.cloud.dialogflow.cx.v3.Experiment.Result.VersionMetrics version_metrics = 1;
Parameters
Returns