Class Experiment.Result.Builder (0.44.0)

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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.dialogflow.cx.v3.Experiment.Result.VersionMetrics>
Returns
Type Description
Experiment.Result.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Experiment.Result.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value Experiment.Result.VersionMetrics
Returns
Type Description
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
Name Description
builderForValue Experiment.Result.VersionMetrics.Builder
Returns
Type Description
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
Name Description
index int
value Experiment.Result.VersionMetrics
Returns
Type Description
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
Name Description
index int
builderForValue Experiment.Result.VersionMetrics.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
Experiment.Result.VersionMetrics.Builder

build()

public Experiment.Result build()
Returns
Type Description
Experiment.Result

buildPartial()

public Experiment.Result buildPartial()
Returns
Type Description
Experiment.Result

clear()

public Experiment.Result.Builder clear()
Returns
Type Description
Experiment.Result.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Experiment.Result.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
Experiment.Result.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Experiment.Result.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
Experiment.Result.Builder

clone()

public Experiment.Result.Builder clone()
Returns
Type Description
Experiment.Result.Builder
Overrides

getDefaultInstanceForType()

public Experiment.Result getDefaultInstanceForType()
Returns
Type Description
Experiment.Result

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<Builder>

getVersionMetricsCount()

public int getVersionMetricsCount()

Version variants and metrics.

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

Returns
Type Description
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
Type Description
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
Name Description
index int

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Experiment.Result other)

public Experiment.Result.Builder mergeFrom(Experiment.Result other)
Parameter
Name Description
other Experiment.Result
Returns
Type Description
Experiment.Result.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Experiment.Result.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Experiment.Result.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Experiment.Result.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
Experiment.Result.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Experiment.Result.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
Experiment.Result.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Experiment.Result.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
Experiment.Result.Builder

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

public Experiment.Result.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Experiment.Result.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Experiment.Result.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
value Experiment.Result.VersionMetrics
Returns
Type Description
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
Name Description
index int
builderForValue Experiment.Result.VersionMetrics.Builder
Returns
Type Description
Experiment.Result.Builder