Class Experiment.Result.Builder (0.14.2)

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
TypeDescription
Descriptor

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
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.cx.v3.Experiment.Result.VersionMetrics>
Returns
TypeDescription
Experiment.Result.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Experiment.Result.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Experiment.Result.Builder
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
NameDescription
valueExperiment.Result.VersionMetrics
Returns
TypeDescription
Experiment.Result.Builder

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
NameDescription
builderForValueExperiment.Result.VersionMetrics.Builder
Returns
TypeDescription
Experiment.Result.Builder

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
NameDescription
indexint
valueExperiment.Result.VersionMetrics
Returns
TypeDescription
Experiment.Result.Builder

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
NameDescription
indexint
builderForValueExperiment.Result.VersionMetrics.Builder
Returns
TypeDescription
Experiment.Result.Builder

addVersionMetricsBuilder()

public Experiment.Result.VersionMetrics.Builder addVersionMetricsBuilder()

Version variants and metrics.

repeated .google.cloud.dialogflow.cx.v3.Experiment.Result.VersionMetrics version_metrics = 1;

Returns
TypeDescription
Experiment.Result.VersionMetrics.Builder

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
NameDescription
indexint
Returns
TypeDescription
Experiment.Result.VersionMetrics.Builder

build()

public Experiment.Result build()
Returns
TypeDescription
Experiment.Result

buildPartial()

public Experiment.Result buildPartial()
Returns
TypeDescription
Experiment.Result

clear()

public Experiment.Result.Builder clear()
Returns
TypeDescription
Experiment.Result.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Experiment.Result.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Experiment.Result.Builder
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
TypeDescription
Experiment.Result.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Experiment.Result.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Experiment.Result.Builder
Overrides

clearVersionMetrics()

public Experiment.Result.Builder clearVersionMetrics()

Version variants and metrics.

repeated .google.cloud.dialogflow.cx.v3.Experiment.Result.VersionMetrics version_metrics = 1;

Returns
TypeDescription
Experiment.Result.Builder

clone()

public Experiment.Result.Builder clone()
Returns
TypeDescription
Experiment.Result.Builder
Overrides

getDefaultInstanceForType()

public Experiment.Result getDefaultInstanceForType()
Returns
TypeDescription
Experiment.Result

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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
TypeDescription
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
TypeDescription
Builder

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
TypeDescription
TimestampOrBuilder

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
NameDescription
indexint
Returns
TypeDescription
Experiment.Result.VersionMetrics

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
NameDescription
indexint
Returns
TypeDescription
Experiment.Result.VersionMetrics.Builder

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
TypeDescription
List<Builder>

getVersionMetricsCount()

public int getVersionMetricsCount()

Version variants and metrics.

repeated .google.cloud.dialogflow.cx.v3.Experiment.Result.VersionMetrics version_metrics = 1;

Returns
TypeDescription
int

getVersionMetricsList()

public List<Experiment.Result.VersionMetrics> getVersionMetricsList()

Version variants and metrics.

repeated .google.cloud.dialogflow.cx.v3.Experiment.Result.VersionMetrics version_metrics = 1;

Returns
TypeDescription
List<VersionMetrics>

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
NameDescription
indexint
Returns
TypeDescription
Experiment.Result.VersionMetricsOrBuilder

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
TypeDescription
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
TypeDescription
boolean

Whether the lastUpdateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Experiment.Result other)

public Experiment.Result.Builder mergeFrom(Experiment.Result other)
Parameter
NameDescription
otherExperiment.Result
Returns
TypeDescription
Experiment.Result.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Experiment.Result.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Experiment.Result.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Experiment.Result.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Experiment.Result.Builder
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
NameDescription
valueTimestamp
Returns
TypeDescription
Experiment.Result.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Experiment.Result.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Experiment.Result.Builder
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
NameDescription
indexint
Returns
TypeDescription
Experiment.Result.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Experiment.Result.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Experiment.Result.Builder
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
NameDescription
valueTimestamp
Returns
TypeDescription
Experiment.Result.Builder

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
NameDescription
builderForValueBuilder
Returns
TypeDescription
Experiment.Result.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Experiment.Result.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Experiment.Result.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Experiment.Result.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Experiment.Result.Builder
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
NameDescription
indexint
valueExperiment.Result.VersionMetrics
Returns
TypeDescription
Experiment.Result.Builder

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
NameDescription
indexint
builderForValueExperiment.Result.VersionMetrics.Builder
Returns
TypeDescription
Experiment.Result.Builder