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

com.google.cloud.dialogflow.v2.GenerateStatelessSuggestionRequestOrBuilder 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/conversation.proto

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

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

  /**
   *
   *
   * 
   * Required. The parent resource to charge for the Suggestion's generation.
   * Format: `projects/<Project ID>/locations/<Location ID>`.
   * 
* * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The parent. */ java.lang.String getParent(); /** * * *
   * Required. The parent resource to charge for the Suggestion's generation.
   * Format: `projects/<Project ID>/locations/<Location ID>`.
   * 
* * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); /** * * *
   * Uncreated generator. It should be a complete generator that includes all
   * information about the generator.
   * 
* * .google.cloud.dialogflow.v2.Generator generator = 2; * * @return Whether the generator field is set. */ boolean hasGenerator(); /** * * *
   * Uncreated generator. It should be a complete generator that includes all
   * information about the generator.
   * 
* * .google.cloud.dialogflow.v2.Generator generator = 2; * * @return The generator. */ com.google.cloud.dialogflow.v2.Generator getGenerator(); /** * * *
   * Uncreated generator. It should be a complete generator that includes all
   * information about the generator.
   * 
* * .google.cloud.dialogflow.v2.Generator generator = 2; */ com.google.cloud.dialogflow.v2.GeneratorOrBuilder getGeneratorOrBuilder(); /** * * *
   * The resource name of the existing created generator. Format:
   * `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>`
   * 
* * string generator_name = 3; * * @return Whether the generatorName field is set. */ boolean hasGeneratorName(); /** * * *
   * The resource name of the existing created generator. Format:
   * `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>`
   * 
* * string generator_name = 3; * * @return The generatorName. */ java.lang.String getGeneratorName(); /** * * *
   * The resource name of the existing created generator. Format:
   * `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>`
   * 
* * string generator_name = 3; * * @return The bytes for generatorName. */ com.google.protobuf.ByteString getGeneratorNameBytes(); /** * * *
   * Optional. Context of the conversation, including transcripts.
   * 
* * * .google.cloud.dialogflow.v2.ConversationContext conversation_context = 5 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the conversationContext field is set. */ boolean hasConversationContext(); /** * * *
   * Optional. Context of the conversation, including transcripts.
   * 
* * * .google.cloud.dialogflow.v2.ConversationContext conversation_context = 5 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The conversationContext. */ com.google.cloud.dialogflow.v2.ConversationContext getConversationContext(); /** * * *
   * Optional. Context of the conversation, including transcripts.
   * 
* * * .google.cloud.dialogflow.v2.ConversationContext conversation_context = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.cloud.dialogflow.v2.ConversationContextOrBuilder getConversationContextOrBuilder(); /** * * *
   * Optional. A list of trigger events. Generator will be triggered only if
   * it's trigger event is included here.
   * 
* * * repeated .google.cloud.dialogflow.v2.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL]; * * * @return A list containing the triggerEvents. */ java.util.List getTriggerEventsList(); /** * * *
   * Optional. A list of trigger events. Generator will be triggered only if
   * it's trigger event is included here.
   * 
* * * repeated .google.cloud.dialogflow.v2.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The count of triggerEvents. */ int getTriggerEventsCount(); /** * * *
   * Optional. A list of trigger events. Generator will be triggered only if
   * it's trigger event is included here.
   * 
* * * repeated .google.cloud.dialogflow.v2.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL]; * * * @param index The index of the element to return. * @return The triggerEvents at the given index. */ com.google.cloud.dialogflow.v2.TriggerEvent getTriggerEvents(int index); /** * * *
   * Optional. A list of trigger events. Generator will be triggered only if
   * it's trigger event is included here.
   * 
* * * repeated .google.cloud.dialogflow.v2.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL]; * * * @return A list containing the enum numeric values on the wire for triggerEvents. */ java.util.List getTriggerEventsValueList(); /** * * *
   * Optional. A list of trigger events. Generator will be triggered only if
   * it's trigger event is included here.
   * 
* * * repeated .google.cloud.dialogflow.v2.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL]; * * * @param index The index of the value to return. * @return The enum numeric value on the wire of triggerEvents at the given index. */ int getTriggerEventsValue(int index); com.google.cloud.dialogflow.v2.GenerateStatelessSuggestionRequest.GeneratorResourceCase getGeneratorResourceCase(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy