com.google.cloud.dialogflow.v2.CreateConversationRequestOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-dialogflow-v2 Show documentation
Show all versions of proto-google-cloud-dialogflow-v2 Show documentation
PROTO library for proto-google-cloud-dialogflow-v2
/*
* 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 CreateConversationRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.CreateConversationRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Required. Resource identifier of the project creating the conversation.
* 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. Resource identifier of the project creating the conversation.
* 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();
/**
*
*
*
* Required. The conversation to create.
*
*
*
* .google.cloud.dialogflow.v2.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return Whether the conversation field is set.
*/
boolean hasConversation();
/**
*
*
*
* Required. The conversation to create.
*
*
*
* .google.cloud.dialogflow.v2.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The conversation.
*/
com.google.cloud.dialogflow.v2.Conversation getConversation();
/**
*
*
*
* Required. The conversation to create.
*
*
*
* .google.cloud.dialogflow.v2.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED];
*
*/
com.google.cloud.dialogflow.v2.ConversationOrBuilder getConversationOrBuilder();
/**
*
*
*
* 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.
*
*
* string conversation_id = 3 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The conversationId.
*/
java.lang.String getConversationId();
/**
*
*
*
* 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.
*
*
* string conversation_id = 3 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for conversationId.
*/
com.google.protobuf.ByteString getConversationIdBytes();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy