Class GeneratorEvaluationConfig.SummarizationConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GeneratorEvaluationConfig.SummarizationConfig.Builder>
com.google.cloud.dialogflow.v2.GeneratorEvaluationConfig.SummarizationConfig.Builder
All Implemented Interfaces:
GeneratorEvaluationConfig.SummarizationConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
GeneratorEvaluationConfig.SummarizationConfig

public static final class GeneratorEvaluationConfig.SummarizationConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<GeneratorEvaluationConfig.SummarizationConfig.Builder> implements GeneratorEvaluationConfig.SummarizationConfigOrBuilder
 Evaluation configs for summarization generator.
 
Protobuf type google.cloud.dialogflow.v2.GeneratorEvaluationConfig.SummarizationConfig
  • 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.Builder<GeneratorEvaluationConfig.SummarizationConfig.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<GeneratorEvaluationConfig.SummarizationConfig.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.GeneratedMessage.Builder<GeneratorEvaluationConfig.SummarizationConfig.Builder>
    • getDefaultInstanceForType

      public GeneratorEvaluationConfig.SummarizationConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public GeneratorEvaluationConfig.SummarizationConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GeneratorEvaluationConfig.SummarizationConfig.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<GeneratorEvaluationConfig.SummarizationConfig.Builder>
    • mergeFrom

      public GeneratorEvaluationConfig.SummarizationConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GeneratorEvaluationConfig.SummarizationConfig.Builder>
      Throws:
      IOException
    • getEnableAccuracyEvaluation

      @Deprecated public boolean getEnableAccuracyEvaluation()
      Deprecated.
      google.cloud.dialogflow.v2.GeneratorEvaluationConfig.SummarizationConfig.enable_accuracy_evaluation is deprecated. See google/cloud/dialogflow/v2/generator_evaluation.proto;l=528
       Optional. Enable accuracy evaluation.
       
      bool enable_accuracy_evaluation = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEnableAccuracyEvaluation in interface GeneratorEvaluationConfig.SummarizationConfigOrBuilder
      Returns:
      The enableAccuracyEvaluation.
    • setEnableAccuracyEvaluation

      @Deprecated public GeneratorEvaluationConfig.SummarizationConfig.Builder setEnableAccuracyEvaluation(boolean value)
      Deprecated.
      google.cloud.dialogflow.v2.GeneratorEvaluationConfig.SummarizationConfig.enable_accuracy_evaluation is deprecated. See google/cloud/dialogflow/v2/generator_evaluation.proto;l=528
       Optional. Enable accuracy evaluation.
       
      bool enable_accuracy_evaluation = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enableAccuracyEvaluation to set.
      Returns:
      This builder for chaining.
    • clearEnableAccuracyEvaluation

      Deprecated.
      google.cloud.dialogflow.v2.GeneratorEvaluationConfig.SummarizationConfig.enable_accuracy_evaluation is deprecated. See google/cloud/dialogflow/v2/generator_evaluation.proto;l=528
       Optional. Enable accuracy evaluation.
       
      bool enable_accuracy_evaluation = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getAccuracyEvaluationVersion

      @Deprecated public String getAccuracyEvaluationVersion()
      Deprecated.
      google.cloud.dialogflow.v2.GeneratorEvaluationConfig.SummarizationConfig.accuracy_evaluation_version is deprecated. See google/cloud/dialogflow/v2/generator_evaluation.proto;l=533
       Optional. Version for summarization accuracy. This will determine the
       prompt and model used at backend.
       
      string accuracy_evaluation_version = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAccuracyEvaluationVersion in interface GeneratorEvaluationConfig.SummarizationConfigOrBuilder
      Returns:
      The accuracyEvaluationVersion.
    • getAccuracyEvaluationVersionBytes

      @Deprecated public com.google.protobuf.ByteString getAccuracyEvaluationVersionBytes()
      Deprecated.
      google.cloud.dialogflow.v2.GeneratorEvaluationConfig.SummarizationConfig.accuracy_evaluation_version is deprecated. See google/cloud/dialogflow/v2/generator_evaluation.proto;l=533
       Optional. Version for summarization accuracy. This will determine the
       prompt and model used at backend.
       
      string accuracy_evaluation_version = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAccuracyEvaluationVersionBytes in interface GeneratorEvaluationConfig.SummarizationConfigOrBuilder
      Returns:
      The bytes for accuracyEvaluationVersion.
    • setAccuracyEvaluationVersion

      @Deprecated public GeneratorEvaluationConfig.SummarizationConfig.Builder setAccuracyEvaluationVersion(String value)
      Deprecated.
      google.cloud.dialogflow.v2.GeneratorEvaluationConfig.SummarizationConfig.accuracy_evaluation_version is deprecated. See google/cloud/dialogflow/v2/generator_evaluation.proto;l=533
       Optional. Version for summarization accuracy. This will determine the
       prompt and model used at backend.
       
      string accuracy_evaluation_version = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The accuracyEvaluationVersion to set.
      Returns:
      This builder for chaining.
    • clearAccuracyEvaluationVersion

      @Deprecated public GeneratorEvaluationConfig.SummarizationConfig.Builder clearAccuracyEvaluationVersion()
      Deprecated.
      google.cloud.dialogflow.v2.GeneratorEvaluationConfig.SummarizationConfig.accuracy_evaluation_version is deprecated. See google/cloud/dialogflow/v2/generator_evaluation.proto;l=533
       Optional. Version for summarization accuracy. This will determine the
       prompt and model used at backend.
       
      string accuracy_evaluation_version = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setAccuracyEvaluationVersionBytes

      @Deprecated public GeneratorEvaluationConfig.SummarizationConfig.Builder setAccuracyEvaluationVersionBytes(com.google.protobuf.ByteString value)
      Deprecated.
      google.cloud.dialogflow.v2.GeneratorEvaluationConfig.SummarizationConfig.accuracy_evaluation_version is deprecated. See google/cloud/dialogflow/v2/generator_evaluation.proto;l=533
       Optional. Version for summarization accuracy. This will determine the
       prompt and model used at backend.
       
      string accuracy_evaluation_version = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for accuracyEvaluationVersion to set.
      Returns:
      This builder for chaining.
    • getEnableCompletenessEvaluation

      @Deprecated public boolean getEnableCompletenessEvaluation()
      Deprecated.
      google.cloud.dialogflow.v2.GeneratorEvaluationConfig.SummarizationConfig.enable_completeness_evaluation is deprecated. See google/cloud/dialogflow/v2/generator_evaluation.proto;l=537
       Optional. Enable completeness evaluation.
       
      bool enable_completeness_evaluation = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEnableCompletenessEvaluation in interface GeneratorEvaluationConfig.SummarizationConfigOrBuilder
      Returns:
      The enableCompletenessEvaluation.
    • setEnableCompletenessEvaluation

      @Deprecated public GeneratorEvaluationConfig.SummarizationConfig.Builder setEnableCompletenessEvaluation(boolean value)
      Deprecated.
      google.cloud.dialogflow.v2.GeneratorEvaluationConfig.SummarizationConfig.enable_completeness_evaluation is deprecated. See google/cloud/dialogflow/v2/generator_evaluation.proto;l=537
       Optional. Enable completeness evaluation.
       
      bool enable_completeness_evaluation = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enableCompletenessEvaluation to set.
      Returns:
      This builder for chaining.
    • clearEnableCompletenessEvaluation

      @Deprecated public GeneratorEvaluationConfig.SummarizationConfig.Builder clearEnableCompletenessEvaluation()
      Deprecated.
      google.cloud.dialogflow.v2.GeneratorEvaluationConfig.SummarizationConfig.enable_completeness_evaluation is deprecated. See google/cloud/dialogflow/v2/generator_evaluation.proto;l=537
       Optional. Enable completeness evaluation.
       
      bool enable_completeness_evaluation = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getCompletenessEvaluationVersion

      @Deprecated public String getCompletenessEvaluationVersion()
      Deprecated.
      google.cloud.dialogflow.v2.GeneratorEvaluationConfig.SummarizationConfig.completeness_evaluation_version is deprecated. See google/cloud/dialogflow/v2/generator_evaluation.proto;l=542
       Optional. Version for summarization completeness. This will determine the
       prompt and model used at backend.
       
      string completeness_evaluation_version = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCompletenessEvaluationVersion in interface GeneratorEvaluationConfig.SummarizationConfigOrBuilder
      Returns:
      The completenessEvaluationVersion.
    • getCompletenessEvaluationVersionBytes

      @Deprecated public com.google.protobuf.ByteString getCompletenessEvaluationVersionBytes()
      Deprecated.
      google.cloud.dialogflow.v2.GeneratorEvaluationConfig.SummarizationConfig.completeness_evaluation_version is deprecated. See google/cloud/dialogflow/v2/generator_evaluation.proto;l=542
       Optional. Version for summarization completeness. This will determine the
       prompt and model used at backend.
       
      string completeness_evaluation_version = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCompletenessEvaluationVersionBytes in interface GeneratorEvaluationConfig.SummarizationConfigOrBuilder
      Returns:
      The bytes for completenessEvaluationVersion.
    • setCompletenessEvaluationVersion

      @Deprecated public GeneratorEvaluationConfig.SummarizationConfig.Builder setCompletenessEvaluationVersion(String value)
      Deprecated.
      google.cloud.dialogflow.v2.GeneratorEvaluationConfig.SummarizationConfig.completeness_evaluation_version is deprecated. See google/cloud/dialogflow/v2/generator_evaluation.proto;l=542
       Optional. Version for summarization completeness. This will determine the
       prompt and model used at backend.
       
      string completeness_evaluation_version = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The completenessEvaluationVersion to set.
      Returns:
      This builder for chaining.
    • clearCompletenessEvaluationVersion

      @Deprecated public GeneratorEvaluationConfig.SummarizationConfig.Builder clearCompletenessEvaluationVersion()
      Deprecated.
      google.cloud.dialogflow.v2.GeneratorEvaluationConfig.SummarizationConfig.completeness_evaluation_version is deprecated. See google/cloud/dialogflow/v2/generator_evaluation.proto;l=542
       Optional. Version for summarization completeness. This will determine the
       prompt and model used at backend.
       
      string completeness_evaluation_version = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setCompletenessEvaluationVersionBytes

      @Deprecated public GeneratorEvaluationConfig.SummarizationConfig.Builder setCompletenessEvaluationVersionBytes(com.google.protobuf.ByteString value)
      Deprecated.
      google.cloud.dialogflow.v2.GeneratorEvaluationConfig.SummarizationConfig.completeness_evaluation_version is deprecated. See google/cloud/dialogflow/v2/generator_evaluation.proto;l=542
       Optional. Version for summarization completeness. This will determine the
       prompt and model used at backend.
       
      string completeness_evaluation_version = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for completenessEvaluationVersion to set.
      Returns:
      This builder for chaining.
    • hasEvaluatorVersion

      public boolean hasEvaluatorVersion()
       Optional. Version for summarization evaluation.
       
      optional string evaluator_version = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasEvaluatorVersion in interface GeneratorEvaluationConfig.SummarizationConfigOrBuilder
      Returns:
      Whether the evaluatorVersion field is set.
    • getEvaluatorVersion

      public String getEvaluatorVersion()
       Optional. Version for summarization evaluation.
       
      optional string evaluator_version = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEvaluatorVersion in interface GeneratorEvaluationConfig.SummarizationConfigOrBuilder
      Returns:
      The evaluatorVersion.
    • getEvaluatorVersionBytes

      public com.google.protobuf.ByteString getEvaluatorVersionBytes()
       Optional. Version for summarization evaluation.
       
      optional string evaluator_version = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEvaluatorVersionBytes in interface GeneratorEvaluationConfig.SummarizationConfigOrBuilder
      Returns:
      The bytes for evaluatorVersion.
    • setEvaluatorVersion

       Optional. Version for summarization evaluation.
       
      optional string evaluator_version = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The evaluatorVersion to set.
      Returns:
      This builder for chaining.
    • clearEvaluatorVersion

       Optional. Version for summarization evaluation.
       
      optional string evaluator_version = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setEvaluatorVersionBytes

      public GeneratorEvaluationConfig.SummarizationConfig.Builder setEvaluatorVersionBytes(com.google.protobuf.ByteString value)
       Optional. Version for summarization evaluation.
       
      optional string evaluator_version = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for evaluatorVersion to set.
      Returns:
      This builder for chaining.