Class Experiment.Result.Builder (0.14.0)

See more code actions.
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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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 Overrides

clearField(Descriptors.FieldDescriptor field)

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

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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 Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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