Class Experiment.Result.VersionMetrics.Builder (0.56.0)

public static final class Experiment.Result.VersionMetrics.Builder extends GeneratedMessageV3.Builder<Experiment.Result.VersionMetrics.Builder> implements Experiment.Result.VersionMetricsOrBuilder

Version variant and associated metrics.

Protobuf type google.cloud.dialogflow.cx.v3beta1.Experiment.Result.VersionMetrics

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllMetrics(Iterable<? extends Experiment.Result.Metric> values)

public Experiment.Result.VersionMetrics.Builder addAllMetrics(Iterable<? extends Experiment.Result.Metric> values)

The metrics and corresponding confidence intervals in the inference result.

repeated .google.cloud.dialogflow.cx.v3beta1.Experiment.Result.Metric metrics = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.Experiment.Result.Metric>
Returns
Type Description
Experiment.Result.VersionMetrics.Builder

addMetrics(Experiment.Result.Metric value)

public Experiment.Result.VersionMetrics.Builder addMetrics(Experiment.Result.Metric value)

The metrics and corresponding confidence intervals in the inference result.

repeated .google.cloud.dialogflow.cx.v3beta1.Experiment.Result.Metric metrics = 2;

Parameter
Name Description
value Experiment.Result.Metric
Returns
Type Description
Experiment.Result.VersionMetrics.Builder

addMetrics(Experiment.Result.Metric.Builder builderForValue)

public Experiment.Result.VersionMetrics.Builder addMetrics(Experiment.Result.Metric.Builder builderForValue)

The metrics and corresponding confidence intervals in the inference result.

repeated .google.cloud.dialogflow.cx.v3beta1.Experiment.Result.Metric metrics = 2;

Parameter
Name Description
builderForValue Experiment.Result.Metric.Builder
Returns
Type Description
Experiment.Result.VersionMetrics.Builder

addMetrics(int index, Experiment.Result.Metric value)

public Experiment.Result.VersionMetrics.Builder addMetrics(int index, Experiment.Result.Metric value)

The metrics and corresponding confidence intervals in the inference result.

repeated .google.cloud.dialogflow.cx.v3beta1.Experiment.Result.Metric metrics = 2;

Parameters
Name Description
index int
value Experiment.Result.Metric
Returns
Type Description
Experiment.Result.VersionMetrics.Builder

addMetrics(int index, Experiment.Result.Metric.Builder builderForValue)

public Experiment.Result.VersionMetrics.Builder addMetrics(int index, Experiment.Result.Metric.Builder builderForValue)

The metrics and corresponding confidence intervals in the inference result.

repeated .google.cloud.dialogflow.cx.v3beta1.Experiment.Result.Metric metrics = 2;

Parameters
Name Description
index int
builderForValue Experiment.Result.Metric.Builder
Returns
Type Description
Experiment.Result.VersionMetrics.Builder

addMetricsBuilder()

public Experiment.Result.Metric.Builder addMetricsBuilder()

The metrics and corresponding confidence intervals in the inference result.

repeated .google.cloud.dialogflow.cx.v3beta1.Experiment.Result.Metric metrics = 2;

Returns
Type Description
Experiment.Result.Metric.Builder

addMetricsBuilder(int index)

public Experiment.Result.Metric.Builder addMetricsBuilder(int index)

The metrics and corresponding confidence intervals in the inference result.

repeated .google.cloud.dialogflow.cx.v3beta1.Experiment.Result.Metric metrics = 2;

Parameter
Name Description
index int
Returns
Type Description
Experiment.Result.Metric.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Experiment.Result.VersionMetrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Experiment.Result.VersionMetrics.Builder
Overrides

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

public Experiment.Result.VersionMetrics.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Experiment.Result.VersionMetrics.Builder
Overrides

clearMetrics()

public Experiment.Result.VersionMetrics.Builder clearMetrics()

The metrics and corresponding confidence intervals in the inference result.

repeated .google.cloud.dialogflow.cx.v3beta1.Experiment.Result.Metric metrics = 2;

Returns
Type Description
Experiment.Result.VersionMetrics.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Experiment.Result.VersionMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Experiment.Result.VersionMetrics.Builder
Overrides

clearSessionCount()

public Experiment.Result.VersionMetrics.Builder clearSessionCount()

Number of sessions that were allocated to this version.

int32 session_count = 3;

Returns
Type Description
Experiment.Result.VersionMetrics.Builder

This builder for chaining.

clearVersion()

public Experiment.Result.VersionMetrics.Builder clearVersion()

The name of the flow Version. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>.

string version = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
Experiment.Result.VersionMetrics.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMetrics(int index)

public Experiment.Result.Metric getMetrics(int index)

The metrics and corresponding confidence intervals in the inference result.

repeated .google.cloud.dialogflow.cx.v3beta1.Experiment.Result.Metric metrics = 2;

Parameter
Name Description
index int
Returns
Type Description
Experiment.Result.Metric

getMetricsBuilder(int index)

public Experiment.Result.Metric.Builder getMetricsBuilder(int index)

The metrics and corresponding confidence intervals in the inference result.

repeated .google.cloud.dialogflow.cx.v3beta1.Experiment.Result.Metric metrics = 2;

Parameter
Name Description
index int
Returns
Type Description
Experiment.Result.Metric.Builder

getMetricsBuilderList()

public List<Experiment.Result.Metric.Builder> getMetricsBuilderList()

The metrics and corresponding confidence intervals in the inference result.

repeated .google.cloud.dialogflow.cx.v3beta1.Experiment.Result.Metric metrics = 2;

Returns
Type Description
List<Builder>

getMetricsCount()

public int getMetricsCount()

The metrics and corresponding confidence intervals in the inference result.

repeated .google.cloud.dialogflow.cx.v3beta1.Experiment.Result.Metric metrics = 2;

Returns
Type Description
int

getMetricsList()

public List<Experiment.Result.Metric> getMetricsList()

The metrics and corresponding confidence intervals in the inference result.

repeated .google.cloud.dialogflow.cx.v3beta1.Experiment.Result.Metric metrics = 2;

Returns
Type Description
List<Metric>

getMetricsOrBuilder(int index)

public Experiment.Result.MetricOrBuilder getMetricsOrBuilder(int index)

The metrics and corresponding confidence intervals in the inference result.

repeated .google.cloud.dialogflow.cx.v3beta1.Experiment.Result.Metric metrics = 2;

Parameter
Name Description
index int
Returns
Type Description
Experiment.Result.MetricOrBuilder

getMetricsOrBuilderList()

public List<? extends Experiment.Result.MetricOrBuilder> getMetricsOrBuilderList()

The metrics and corresponding confidence intervals in the inference result.

repeated .google.cloud.dialogflow.cx.v3beta1.Experiment.Result.Metric metrics = 2;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.Experiment.Result.MetricOrBuilder>

getSessionCount()

public int getSessionCount()

Number of sessions that were allocated to this version.

int32 session_count = 3;

Returns
Type Description
int

The sessionCount.

getVersion()

public String getVersion()

The name of the flow Version. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>.

string version = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

The name of the flow Version. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>.

string version = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for version.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Experiment.Result.VersionMetrics other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Experiment.Result.VersionMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Experiment.Result.VersionMetrics.Builder
Overrides

removeMetrics(int index)

public Experiment.Result.VersionMetrics.Builder removeMetrics(int index)

The metrics and corresponding confidence intervals in the inference result.

repeated .google.cloud.dialogflow.cx.v3beta1.Experiment.Result.Metric metrics = 2;

Parameter
Name Description
index int
Returns
Type Description
Experiment.Result.VersionMetrics.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Experiment.Result.VersionMetrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Experiment.Result.VersionMetrics.Builder
Overrides

setMetrics(int index, Experiment.Result.Metric value)

public Experiment.Result.VersionMetrics.Builder setMetrics(int index, Experiment.Result.Metric value)

The metrics and corresponding confidence intervals in the inference result.

repeated .google.cloud.dialogflow.cx.v3beta1.Experiment.Result.Metric metrics = 2;

Parameters
Name Description
index int
value Experiment.Result.Metric
Returns
Type Description
Experiment.Result.VersionMetrics.Builder

setMetrics(int index, Experiment.Result.Metric.Builder builderForValue)

public Experiment.Result.VersionMetrics.Builder setMetrics(int index, Experiment.Result.Metric.Builder builderForValue)

The metrics and corresponding confidence intervals in the inference result.

repeated .google.cloud.dialogflow.cx.v3beta1.Experiment.Result.Metric metrics = 2;

Parameters
Name Description
index int
builderForValue Experiment.Result.Metric.Builder
Returns
Type Description
Experiment.Result.VersionMetrics.Builder

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

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

setSessionCount(int value)

public Experiment.Result.VersionMetrics.Builder setSessionCount(int value)

Number of sessions that were allocated to this version.

int32 session_count = 3;

Parameter
Name Description
value int

The sessionCount to set.

Returns
Type Description
Experiment.Result.VersionMetrics.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Experiment.Result.VersionMetrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Experiment.Result.VersionMetrics.Builder
Overrides

setVersion(String value)

public Experiment.Result.VersionMetrics.Builder setVersion(String value)

The name of the flow Version. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>.

string version = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The version to set.

Returns
Type Description
Experiment.Result.VersionMetrics.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public Experiment.Result.VersionMetrics.Builder setVersionBytes(ByteString value)

The name of the flow Version. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>.

string version = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for version to set.

Returns
Type Description
Experiment.Result.VersionMetrics.Builder

This builder for chaining.