Class Experiment.Result (0.14.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
TypeDescription
int

VERSION_METRICS_FIELD_NUMBER

public static final int VERSION_METRICS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Experiment.Result getDefaultInstance()
Returns
TypeDescription
Experiment.Result

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Experiment.Result.Builder newBuilder()
Returns
TypeDescription
Experiment.Result.Builder

newBuilder(Experiment.Result prototype)

public static Experiment.Result.Builder newBuilder(Experiment.Result prototype)
Parameter
NameDescription
prototypeExperiment.Result
Returns
TypeDescription
Experiment.Result.Builder

parseDelimitedFrom(InputStream input)

public static Experiment.Result parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Experiment.Result
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Experiment.Result parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Experiment.Result
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Experiment.Result parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Experiment.Result
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Experiment.Result parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Experiment.Result
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Experiment.Result parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Experiment.Result
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Experiment.Result parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Experiment.Result
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Experiment.Result parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Experiment.Result
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Experiment.Result parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Experiment.Result
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Experiment.Result parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Experiment.Result
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Experiment.Result parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Experiment.Result
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Experiment.Result parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Experiment.Result
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Experiment.Result parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Experiment.Result
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Experiment.Result getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
NameDescription
indexint
Returns
TypeDescription
Experiment.Result.VersionMetrics

getVersionMetricsCount()

public int getVersionMetricsCount()

Version variants and metrics.

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

Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the lastUpdateTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Experiment.Result.Builder newBuilderForType()
Returns
TypeDescription
Experiment.Result.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Experiment.Result.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Experiment.Result.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Experiment.Result.Builder toBuilder()
Returns
TypeDescription
Experiment.Result.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException