/*
 * Copyright 2020 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/v2beta1/conversation.proto

package com.google.cloud.dialogflow.v2beta1;

public interface CreateConversationRequestOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2beta1.CreateConversationRequest)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Required. Resource identifier of the project creating the conversation.
   * Format: `projects/&lt;Project ID&gt;/locations/&lt;Location ID&gt;`.
   * </pre>
   *
   * <code>
   * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
   * </code>
   *
   * @return The parent.
   */
  java.lang.String getParent();
  /**
   *
   *
   * <pre>
   * Required. Resource identifier of the project creating the conversation.
   * Format: `projects/&lt;Project ID&gt;/locations/&lt;Location ID&gt;`.
   * </pre>
   *
   * <code>
   * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
   * </code>
   *
   * @return The bytes for parent.
   */
  com.google.protobuf.ByteString getParentBytes();

  /**
   *
   *
   * <pre>
   * Required. The conversation to create.
   * </pre>
   *
   * <code>
   * .google.cloud.dialogflow.v2beta1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   *
   * @return Whether the conversation field is set.
   */
  boolean hasConversation();
  /**
   *
   *
   * <pre>
   * Required. The conversation to create.
   * </pre>
   *
   * <code>
   * .google.cloud.dialogflow.v2beta1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   *
   * @return The conversation.
   */
  com.google.cloud.dialogflow.v2beta1.Conversation getConversation();
  /**
   *
   *
   * <pre>
   * Required. The conversation to create.
   * </pre>
   *
   * <code>
   * .google.cloud.dialogflow.v2beta1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   */
  com.google.cloud.dialogflow.v2beta1.ConversationOrBuilder getConversationOrBuilder();

  /**
   *
   *
   * <pre>
   * Optional. Identifier of the conversation. Generally it's auto generated by
   * Google. Only set it if you cannot wait for the response to return a
   * auto-generated one to you.
   * The conversation ID must be compliant with the regression fomula
   * "[a-zA-Z][a-zA-Z0-9_-]*" with the characters length in range of [3,64].
   * If the field is provided, the caller is resposible for
   * 1. the uniqueness of the ID, otherwise the request will be rejected.
   * 2. the consistency for whether to use custom ID or not under a project to
   * better ensure uniqueness.
   * </pre>
   *
   * <code>string conversation_id = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
   *
   * @return The conversationId.
   */
  java.lang.String getConversationId();
  /**
   *
   *
   * <pre>
   * Optional. Identifier of the conversation. Generally it's auto generated by
   * Google. Only set it if you cannot wait for the response to return a
   * auto-generated one to you.
   * The conversation ID must be compliant with the regression fomula
   * "[a-zA-Z][a-zA-Z0-9_-]*" with the characters length in range of [3,64].
   * If the field is provided, the caller is resposible for
   * 1. the uniqueness of the ID, otherwise the request will be rejected.
   * 2. the consistency for whether to use custom ID or not under a project to
   * better ensure uniqueness.
   * </pre>
   *
   * <code>string conversation_id = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
   *
   * @return The bytes for conversationId.
   */
  com.google.protobuf.ByteString getConversationIdBytes();
}
