Class Experiment.Result.VersionMetrics.Builder (0.13.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.cx.v3beta1.Experiment.Result.Metric>
Returns
TypeDescription
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
NameDescription
valueExperiment.Result.Metric
Returns
TypeDescription
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
NameDescription
builderForValueExperiment.Result.Metric.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueExperiment.Result.Metric
Returns
TypeDescription
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
NameDescription
indexint
builderForValueExperiment.Result.Metric.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Experiment.Result.Metric.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Experiment.Result.VersionMetrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Experiment.Result.VersionMetrics.Builder
Overrides

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Experiment.Result.VersionMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Experiment.Result.VersionMetrics.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

The bytes for version.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Experiment.Result.VersionMetrics other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Experiment.Result.VersionMetrics.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Experiment.Result.VersionMetrics.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The sessionCount to set.

Returns
TypeDescription
Experiment.Result.VersionMetrics.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

The version to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for version to set.

Returns
TypeDescription
Experiment.Result.VersionMetrics.Builder

This builder for chaining.