Class GeneratorEvaluationConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dialogflow.v2.GeneratorEvaluationConfig
All Implemented Interfaces:
GeneratorEvaluationConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class GeneratorEvaluationConfig extends com.google.protobuf.GeneratedMessage implements GeneratorEvaluationConfigOrBuilder
 Generator evaluation input config.
 
Protobuf type google.cloud.dialogflow.v2.GeneratorEvaluationConfig
See Also:
  • Field Details

    • INPUT_DATA_CONFIG_FIELD_NUMBER

      public static final int INPUT_DATA_CONFIG_FIELD_NUMBER
      See Also:
    • OUTPUT_GCS_BUCKET_PATH_FIELD_NUMBER

      public static final int OUTPUT_GCS_BUCKET_PATH_FIELD_NUMBER
      See Also:
    • SUMMARIZATION_CONFIG_FIELD_NUMBER

      public static final int SUMMARIZATION_CONFIG_FIELD_NUMBER
      See Also:
  • 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
    • getEvaluationFeatureConfigCase

      public GeneratorEvaluationConfig.EvaluationFeatureConfigCase getEvaluationFeatureConfigCase()
      Specified by:
      getEvaluationFeatureConfigCase in interface GeneratorEvaluationConfigOrBuilder
    • hasInputDataConfig

      public boolean hasInputDataConfig()
       Required. The config/source of input data.
       
      .google.cloud.dialogflow.v2.GeneratorEvaluationConfig.InputDataConfig input_data_config = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasInputDataConfig in interface GeneratorEvaluationConfigOrBuilder
      Returns:
      Whether the inputDataConfig field is set.
    • getInputDataConfig

      public GeneratorEvaluationConfig.InputDataConfig getInputDataConfig()
       Required. The config/source of input data.
       
      .google.cloud.dialogflow.v2.GeneratorEvaluationConfig.InputDataConfig input_data_config = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInputDataConfig in interface GeneratorEvaluationConfigOrBuilder
      Returns:
      The inputDataConfig.
    • getInputDataConfigOrBuilder

      public GeneratorEvaluationConfig.InputDataConfigOrBuilder getInputDataConfigOrBuilder()
       Required. The config/source of input data.
       
      .google.cloud.dialogflow.v2.GeneratorEvaluationConfig.InputDataConfig input_data_config = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInputDataConfigOrBuilder in interface GeneratorEvaluationConfigOrBuilder
    • getOutputGcsBucketPath

      public String getOutputGcsBucketPath()
       Required. The output Cloud Storage bucket path to store eval files, e.g.
       per_summary_accuracy_score report. This path is provided by customer and
       files stored in it are visible to customer, no internal data should be
       stored in this path.
       
      string output_gcs_bucket_path = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOutputGcsBucketPath in interface GeneratorEvaluationConfigOrBuilder
      Returns:
      The outputGcsBucketPath.
    • getOutputGcsBucketPathBytes

      public com.google.protobuf.ByteString getOutputGcsBucketPathBytes()
       Required. The output Cloud Storage bucket path to store eval files, e.g.
       per_summary_accuracy_score report. This path is provided by customer and
       files stored in it are visible to customer, no internal data should be
       stored in this path.
       
      string output_gcs_bucket_path = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOutputGcsBucketPathBytes in interface GeneratorEvaluationConfigOrBuilder
      Returns:
      The bytes for outputGcsBucketPath.
    • hasSummarizationConfig

      public boolean hasSummarizationConfig()
       Evaluation configs for summarization generator.
       
      .google.cloud.dialogflow.v2.GeneratorEvaluationConfig.SummarizationConfig summarization_config = 3;
      Specified by:
      hasSummarizationConfig in interface GeneratorEvaluationConfigOrBuilder
      Returns:
      Whether the summarizationConfig field is set.
    • getSummarizationConfig

      public GeneratorEvaluationConfig.SummarizationConfig getSummarizationConfig()
       Evaluation configs for summarization generator.
       
      .google.cloud.dialogflow.v2.GeneratorEvaluationConfig.SummarizationConfig summarization_config = 3;
      Specified by:
      getSummarizationConfig in interface GeneratorEvaluationConfigOrBuilder
      Returns:
      The summarizationConfig.
    • getSummarizationConfigOrBuilder

      public GeneratorEvaluationConfig.SummarizationConfigOrBuilder getSummarizationConfigOrBuilder()
       Evaluation configs for summarization generator.
       
      .google.cloud.dialogflow.v2.GeneratorEvaluationConfig.SummarizationConfig summarization_config = 3;
      Specified by:
      getSummarizationConfigOrBuilder in interface GeneratorEvaluationConfigOrBuilder
    • 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 GeneratorEvaluationConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static GeneratorEvaluationConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static GeneratorEvaluationConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static GeneratorEvaluationConfig.Builder newBuilder()
    • newBuilder

      public static GeneratorEvaluationConfig.Builder newBuilder(GeneratorEvaluationConfig prototype)
    • toBuilder

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

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

      public static GeneratorEvaluationConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<GeneratorEvaluationConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<GeneratorEvaluationConfig> 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 GeneratorEvaluationConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder