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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
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
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
Returns
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
Returns
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
Returns
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
Returns
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
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Experiment.Result.VersionMetrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Experiment.Result.VersionMetrics build()
Returns
buildPartial()
public Experiment.Result.VersionMetrics buildPartial()
Returns
clear()
public Experiment.Result.VersionMetrics.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Experiment.Result.VersionMetrics.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public Experiment.Result.VersionMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSessionCount()
public Experiment.Result.VersionMetrics.Builder clearSessionCount()
Number of sessions that were allocated to this version.
int32 session_count = 3;
Returns
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
clone()
public Experiment.Result.VersionMetrics.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Experiment.Result.VersionMetrics getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Experiment.Result.VersionMetrics other)
public Experiment.Result.VersionMetrics.Builder mergeFrom(Experiment.Result.VersionMetrics other)
Parameter
Returns
public Experiment.Result.VersionMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Experiment.Result.VersionMetrics.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Experiment.Result.VersionMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public Experiment.Result.VersionMetrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Experiment.Result.VersionMetrics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
setUnknownFields(UnknownFieldSet unknownFields)
public final Experiment.Result.VersionMetrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
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