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