Class Experiment.Result.VersionMetrics.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Experiment.Result.VersionMetrics.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Experiment.Result.VersionMetrics.Builder>
      • getDefaultInstanceForType

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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Experiment.Result.VersionMetrics.Builder>
      • getVersion

        public String getVersion()
         The name of the flow
         [Version][google.cloud.dialogflow.cx.v3beta1.Version]. Format:
         `projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/flows/<Flow ID>/versions/<Version ID>`.
         
        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/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/flows/<Flow ID>/versions/<Version ID>`.
         
        string version = 1 [(.google.api.resource_reference) = { ... }
        Specified by:
        getVersionBytes in interface Experiment.Result.VersionMetricsOrBuilder
        Returns:
        The bytes for version.
      • setVersion

        public Experiment.Result.VersionMetrics.Builder setVersion​(String value)
         The name of the flow
         [Version][google.cloud.dialogflow.cx.v3beta1.Version]. Format:
         `projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/flows/<Flow ID>/versions/<Version ID>`.
         
        string version = 1 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The version to set.
        Returns:
        This builder for chaining.
      • clearVersion

        public Experiment.Result.VersionMetrics.Builder clearVersion()
         The name of the flow
         [Version][google.cloud.dialogflow.cx.v3beta1.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:
        This builder for chaining.
      • setVersionBytes

        public Experiment.Result.VersionMetrics.Builder setVersionBytes​(com.google.protobuf.ByteString value)
         The name of the flow
         [Version][google.cloud.dialogflow.cx.v3beta1.Version]. Format:
         `projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/flows/<Flow ID>/versions/<Version ID>`.
         
        string version = 1 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for version to set.
        Returns:
        This builder for chaining.
      • 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
      • 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;
      • removeMetrics

        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;
      • getMetricsBuilder

        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;
      • 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

        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;
      • 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;
      • setSessionCount

        public Experiment.Result.VersionMetrics.Builder setSessionCount​(int value)
         Number of sessions that were allocated to this version.
         
        int32 session_count = 3;
        Parameters:
        value - The sessionCount to set.
        Returns:
        This builder for chaining.
      • clearSessionCount

        public Experiment.Result.VersionMetrics.Builder clearSessionCount()
         Number of sessions that were allocated to this version.
         
        int32 session_count = 3;
        Returns:
        This builder for chaining.