All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.dialogflow.v2.FewShotExampleOrBuilder Maven / Gradle / Ivy

There is a newer version: 4.59.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/dialogflow/v2/generator.proto

// Protobuf Java Version: 3.25.5
package com.google.cloud.dialogflow.v2;

public interface FewShotExampleOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.FewShotExample)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Optional. Conversation transcripts.
   * 
* * * .google.cloud.dialogflow.v2.ConversationContext conversation_context = 3 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the conversationContext field is set. */ boolean hasConversationContext(); /** * * *
   * Optional. Conversation transcripts.
   * 
* * * .google.cloud.dialogflow.v2.ConversationContext conversation_context = 3 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The conversationContext. */ com.google.cloud.dialogflow.v2.ConversationContext getConversationContext(); /** * * *
   * Optional. Conversation transcripts.
   * 
* * * .google.cloud.dialogflow.v2.ConversationContext conversation_context = 3 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.cloud.dialogflow.v2.ConversationContextOrBuilder getConversationContextOrBuilder(); /** * * *
   * Optional. Key is the placeholder field name in input, value is the value of
   * the placeholder. E.g. instruction contains "@price", and ingested data has
   * <"price", "10">
   * 
* * map<string, string> extra_info = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ int getExtraInfoCount(); /** * * *
   * Optional. Key is the placeholder field name in input, value is the value of
   * the placeholder. E.g. instruction contains "@price", and ingested data has
   * <"price", "10">
   * 
* * map<string, string> extra_info = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ boolean containsExtraInfo(java.lang.String key); /** Use {@link #getExtraInfoMap()} instead. */ @java.lang.Deprecated java.util.Map getExtraInfo(); /** * * *
   * Optional. Key is the placeholder field name in input, value is the value of
   * the placeholder. E.g. instruction contains "@price", and ingested data has
   * <"price", "10">
   * 
* * map<string, string> extra_info = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ java.util.Map getExtraInfoMap(); /** * * *
   * Optional. Key is the placeholder field name in input, value is the value of
   * the placeholder. E.g. instruction contains "@price", and ingested data has
   * <"price", "10">
   * 
* * map<string, string> extra_info = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ /* nullable */ java.lang.String getExtraInfoOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** * * *
   * Optional. Key is the placeholder field name in input, value is the value of
   * the placeholder. E.g. instruction contains "@price", and ingested data has
   * <"price", "10">
   * 
* * map<string, string> extra_info = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ java.lang.String getExtraInfoOrThrow(java.lang.String key); /** * * *
   * Summarization sections.
   * 
* * .google.cloud.dialogflow.v2.SummarizationSectionList summarization_section_list = 6; * * * @return Whether the summarizationSectionList field is set. */ boolean hasSummarizationSectionList(); /** * * *
   * Summarization sections.
   * 
* * .google.cloud.dialogflow.v2.SummarizationSectionList summarization_section_list = 6; * * * @return The summarizationSectionList. */ com.google.cloud.dialogflow.v2.SummarizationSectionList getSummarizationSectionList(); /** * * *
   * Summarization sections.
   * 
* * .google.cloud.dialogflow.v2.SummarizationSectionList summarization_section_list = 6; * */ com.google.cloud.dialogflow.v2.SummarizationSectionListOrBuilder getSummarizationSectionListOrBuilder(); /** * * *
   * Required. Example output of the model.
   * 
* * * .google.cloud.dialogflow.v2.GeneratorSuggestion output = 7 [(.google.api.field_behavior) = REQUIRED]; * * * @return Whether the output field is set. */ boolean hasOutput(); /** * * *
   * Required. Example output of the model.
   * 
* * * .google.cloud.dialogflow.v2.GeneratorSuggestion output = 7 [(.google.api.field_behavior) = REQUIRED]; * * * @return The output. */ com.google.cloud.dialogflow.v2.GeneratorSuggestion getOutput(); /** * * *
   * Required. Example output of the model.
   * 
* * * .google.cloud.dialogflow.v2.GeneratorSuggestion output = 7 [(.google.api.field_behavior) = REQUIRED]; * */ com.google.cloud.dialogflow.v2.GeneratorSuggestionOrBuilder getOutputOrBuilder(); com.google.cloud.dialogflow.v2.FewShotExample.InstructionListCase getInstructionListCase(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy