Class Experiment.Result (0.48.0)

public static final class Experiment.Result extends GeneratedMessageV3 implements Experiment.ResultOrBuilder

The inference result which includes an objective metric to optimize and the confidence interval.

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

Static Fields

LAST_UPDATE_TIME_FIELD_NUMBER

public static final int LAST_UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

VERSION_METRICS_FIELD_NUMBER

public static final int VERSION_METRICS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Experiment.Result getDefaultInstance()
Returns
Type Description
Experiment.Result

getDescriptor()

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

newBuilder()

public static Experiment.Result.Builder newBuilder()
Returns
Type Description
Experiment.Result.Builder

newBuilder(Experiment.Result prototype)

public static Experiment.Result.Builder newBuilder(Experiment.Result prototype)
Parameter
Name Description
prototype Experiment.Result
Returns
Type Description
Experiment.Result.Builder

parseDelimitedFrom(InputStream input)

public static Experiment.Result parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Experiment.Result
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Experiment.Result parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Experiment.Result
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Experiment.Result parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Experiment.Result
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Experiment.Result parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Experiment.Result
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Experiment.Result parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Experiment.Result
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Experiment.Result parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Experiment.Result
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Experiment.Result parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Experiment.Result
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Experiment.Result parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Experiment.Result
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Experiment.Result parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Experiment.Result
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Experiment.Result parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Experiment.Result
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Experiment.Result parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Experiment.Result
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Experiment.Result parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Experiment.Result
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Experiment.Result> parser()
Returns
Type Description
Parser<Result>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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.

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

getParserForType()

public Parser<Experiment.Result> getParserForType()
Returns
Type Description
Parser<Result>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getVersionMetrics(int index)

public Experiment.Result.VersionMetrics getVersionMetrics(int index)

Version variants and metrics.

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

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

getVersionMetricsCount()

public int getVersionMetricsCount()

Version variants and metrics.

repeated .google.cloud.dialogflow.cx.v3beta1.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.v3beta1.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.v3beta1.Experiment.Result.VersionMetrics version_metrics = 1;

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

getVersionMetricsOrBuilderList()

public List<? extends Experiment.Result.VersionMetricsOrBuilder> getVersionMetricsOrBuilderList()

Version variants and metrics.

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

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Experiment.Result.Builder newBuilderForType()
Returns
Type Description
Experiment.Result.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Experiment.Result.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Experiment.Result.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Experiment.Result.Builder toBuilder()
Returns
Type Description
Experiment.Result.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException