Class Experiment.Result.VersionMetrics

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dialogflow.cx.v3beta1.Experiment.Result.VersionMetrics
All Implemented Interfaces:
Experiment.Result.VersionMetricsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
Experiment.Result

public static final class Experiment.Result.VersionMetrics extends com.google.protobuf.GeneratedMessage implements Experiment.Result.VersionMetricsOrBuilder
 Version variant and associated metrics.
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.Experiment.Result.VersionMetrics
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getVersion

      public String getVersion()
       The name of the flow
       [Version][google.cloud.dialogflow.cx.v3beta1.Version]. Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`.
       
      string version = 1 [(.google.api.resource_reference) = { ... }
      Specified by:
      getVersion in interface Experiment.Result.VersionMetricsOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       The name of the flow
       [Version][google.cloud.dialogflow.cx.v3beta1.Version]. Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`.
       
      string version = 1 [(.google.api.resource_reference) = { ... }
      Specified by:
      getVersionBytes in interface Experiment.Result.VersionMetricsOrBuilder
      Returns:
      The bytes for version.
    • 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;
      Specified by:
      getMetricsList in interface Experiment.Result.VersionMetricsOrBuilder
    • 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;
      Specified by:
      getMetricsOrBuilderList in interface Experiment.Result.VersionMetricsOrBuilder
    • 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;
      Specified by:
      getMetricsCount in interface Experiment.Result.VersionMetricsOrBuilder
    • getMetrics

      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;
      Specified by:
      getMetrics in interface Experiment.Result.VersionMetricsOrBuilder
    • getMetricsOrBuilder

      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;
      Specified by:
      getMetricsOrBuilder in interface Experiment.Result.VersionMetricsOrBuilder
    • getSessionCount

      public int getSessionCount()
       Number of sessions that were allocated to this version.
       
      int32 session_count = 3;
      Specified by:
      getSessionCount in interface Experiment.Result.VersionMetricsOrBuilder
      Returns:
      The sessionCount.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Experiment.Result.VersionMetrics parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Experiment.Result.VersionMetrics parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Experiment.Result.VersionMetrics parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Experiment.Result.VersionMetrics parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Experiment.Result.VersionMetrics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Experiment.Result.VersionMetrics parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Experiment.Result.VersionMetrics parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Experiment.Result.VersionMetrics parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Experiment.Result.VersionMetrics parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Experiment.Result.VersionMetrics parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Experiment.Result.VersionMetrics parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Experiment.Result.VersionMetrics parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Experiment.Result.VersionMetrics.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Experiment.Result.VersionMetrics.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Experiment.Result.VersionMetrics.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Experiment.Result.VersionMetrics getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Experiment.Result.VersionMetrics> parser()
    • getParserForType

      public com.google.protobuf.Parser<Experiment.Result.VersionMetrics> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Experiment.Result.VersionMetrics getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder