com.google.cloud.dialogflow.v2.ConversationModelOrBuilder 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_model.proto
// Protobuf Java Version: 3.25.4
package com.google.cloud.dialogflow.v2;
public interface ConversationModelOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.ConversationModel)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* ConversationModel resource name. Format:
* `projects/<Project ID>/conversationModels/<Conversation Model ID>`
*
*
* string name = 1;
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* ConversationModel resource name. Format:
* `projects/<Project ID>/conversationModels/<Conversation Model ID>`
*
*
* string name = 1;
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* Required. The display name of the model. At most 64 bytes long.
*
*
* string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
*
* @return The displayName.
*/
java.lang.String getDisplayName();
/**
*
*
*
* Required. The display name of the model. At most 64 bytes long.
*
*
* string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
*
* @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
/**
*
*
*
* Output only. Creation time of this model.
*
*
* .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
*
*
*
* Output only. Creation time of this model.
*
*
* .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
*
*
*
* Output only. Creation time of this model.
*
*
* .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
/**
*
*
*
* Required. Datasets used to create model.
*
*
*
* repeated .google.cloud.dialogflow.v2.InputDataset datasets = 4 [(.google.api.field_behavior) = REQUIRED];
*
*/
java.util.List getDatasetsList();
/**
*
*
*
* Required. Datasets used to create model.
*
*
*
* repeated .google.cloud.dialogflow.v2.InputDataset datasets = 4 [(.google.api.field_behavior) = REQUIRED];
*
*/
com.google.cloud.dialogflow.v2.InputDataset getDatasets(int index);
/**
*
*
*
* Required. Datasets used to create model.
*
*
*
* repeated .google.cloud.dialogflow.v2.InputDataset datasets = 4 [(.google.api.field_behavior) = REQUIRED];
*
*/
int getDatasetsCount();
/**
*
*
*
* Required. Datasets used to create model.
*
*
*
* repeated .google.cloud.dialogflow.v2.InputDataset datasets = 4 [(.google.api.field_behavior) = REQUIRED];
*
*/
java.util.List extends com.google.cloud.dialogflow.v2.InputDatasetOrBuilder>
getDatasetsOrBuilderList();
/**
*
*
*
* Required. Datasets used to create model.
*
*
*
* repeated .google.cloud.dialogflow.v2.InputDataset datasets = 4 [(.google.api.field_behavior) = REQUIRED];
*
*/
com.google.cloud.dialogflow.v2.InputDatasetOrBuilder getDatasetsOrBuilder(int index);
/**
*
*
*
* Output only. State of the model. A model can only serve prediction requests
* after it gets deployed.
*
*
*
* .google.cloud.dialogflow.v2.ConversationModel.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The enum numeric value on the wire for state.
*/
int getStateValue();
/**
*
*
*
* Output only. State of the model. A model can only serve prediction requests
* after it gets deployed.
*
*
*
* .google.cloud.dialogflow.v2.ConversationModel.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The state.
*/
com.google.cloud.dialogflow.v2.ConversationModel.State getState();
/**
*
*
*
* Language code for the conversation model. If not specified, the language
* is en-US. Language at ConversationModel should be set for all non en-us
* languages.
* This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
* language tag. Example: "en-US".
*
*
* string language_code = 19;
*
* @return The languageCode.
*/
java.lang.String getLanguageCode();
/**
*
*
*
* Language code for the conversation model. If not specified, the language
* is en-US. Language at ConversationModel should be set for all non en-us
* languages.
* This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
* language tag. Example: "en-US".
*
*
* string language_code = 19;
*
* @return The bytes for languageCode.
*/
com.google.protobuf.ByteString getLanguageCodeBytes();
/**
*
*
*
* Metadata for article suggestion models.
*
*
*
* .google.cloud.dialogflow.v2.ArticleSuggestionModelMetadata article_suggestion_model_metadata = 8;
*
*
* @return Whether the articleSuggestionModelMetadata field is set.
*/
boolean hasArticleSuggestionModelMetadata();
/**
*
*
*
* Metadata for article suggestion models.
*
*
*
* .google.cloud.dialogflow.v2.ArticleSuggestionModelMetadata article_suggestion_model_metadata = 8;
*
*
* @return The articleSuggestionModelMetadata.
*/
com.google.cloud.dialogflow.v2.ArticleSuggestionModelMetadata getArticleSuggestionModelMetadata();
/**
*
*
*
* Metadata for article suggestion models.
*
*
*
* .google.cloud.dialogflow.v2.ArticleSuggestionModelMetadata article_suggestion_model_metadata = 8;
*
*/
com.google.cloud.dialogflow.v2.ArticleSuggestionModelMetadataOrBuilder
getArticleSuggestionModelMetadataOrBuilder();
/**
*
*
*
* Metadata for smart reply models.
*
*
* .google.cloud.dialogflow.v2.SmartReplyModelMetadata smart_reply_model_metadata = 9;
*
*
* @return Whether the smartReplyModelMetadata field is set.
*/
boolean hasSmartReplyModelMetadata();
/**
*
*
*
* Metadata for smart reply models.
*
*
* .google.cloud.dialogflow.v2.SmartReplyModelMetadata smart_reply_model_metadata = 9;
*
*
* @return The smartReplyModelMetadata.
*/
com.google.cloud.dialogflow.v2.SmartReplyModelMetadata getSmartReplyModelMetadata();
/**
*
*
*
* Metadata for smart reply models.
*
*
* .google.cloud.dialogflow.v2.SmartReplyModelMetadata smart_reply_model_metadata = 9;
*
*/
com.google.cloud.dialogflow.v2.SmartReplyModelMetadataOrBuilder
getSmartReplyModelMetadataOrBuilder();
com.google.cloud.dialogflow.v2.ConversationModel.ModelMetadataCase getModelMetadataCase();
}