com.google.cloud.dialogflow.cx.v3beta1.TestCaseOrBuilder 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-cx-v3beta1 Show documentation
Show all versions of proto-google-cloud-dialogflow-cx-v3beta1 Show documentation
PROTO library for proto-google-cloud-dialogflow-cx-v3beta1
The 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/cx/v3beta1/test_case.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.dialogflow.cx.v3beta1;
public interface TestCaseOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.TestCase)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* The unique identifier of the test case.
* [TestCases.CreateTestCase][google.cloud.dialogflow.cx.v3beta1.TestCases.CreateTestCase]
* will populate the name automatically. Otherwise use format:
* `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>`.
*
*
* string name = 1;
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* The unique identifier of the test case.
* [TestCases.CreateTestCase][google.cloud.dialogflow.cx.v3beta1.TestCases.CreateTestCase]
* will populate the name automatically. Otherwise use format:
* `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>`.
*
*
* string name = 1;
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* Tags are short descriptions that users may apply to test cases for
* organizational and filtering purposes. Each tag should start with "#" and
* has a limit of 30 characters.
*
*
* repeated string tags = 2;
*
* @return A list containing the tags.
*/
java.util.List getTagsList();
/**
*
*
*
* Tags are short descriptions that users may apply to test cases for
* organizational and filtering purposes. Each tag should start with "#" and
* has a limit of 30 characters.
*
*
* repeated string tags = 2;
*
* @return The count of tags.
*/
int getTagsCount();
/**
*
*
*
* Tags are short descriptions that users may apply to test cases for
* organizational and filtering purposes. Each tag should start with "#" and
* has a limit of 30 characters.
*
*
* repeated string tags = 2;
*
* @param index The index of the element to return.
* @return The tags at the given index.
*/
java.lang.String getTags(int index);
/**
*
*
*
* Tags are short descriptions that users may apply to test cases for
* organizational and filtering purposes. Each tag should start with "#" and
* has a limit of 30 characters.
*
*
* repeated string tags = 2;
*
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
com.google.protobuf.ByteString getTagsBytes(int index);
/**
*
*
*
* Required. The human-readable name of the test case, unique within the
* agent. Limit of 200 characters.
*
*
* string display_name = 3 [(.google.api.field_behavior) = REQUIRED];
*
* @return The displayName.
*/
java.lang.String getDisplayName();
/**
*
*
*
* Required. The human-readable name of the test case, unique within the
* agent. Limit of 200 characters.
*
*
* string display_name = 3 [(.google.api.field_behavior) = REQUIRED];
*
* @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
/**
*
*
*
* Additional freeform notes about the test case. Limit of 400 characters.
*
*
* string notes = 4;
*
* @return The notes.
*/
java.lang.String getNotes();
/**
*
*
*
* Additional freeform notes about the test case. Limit of 400 characters.
*
*
* string notes = 4;
*
* @return The bytes for notes.
*/
com.google.protobuf.ByteString getNotesBytes();
/**
*
*
*
* Config for the test case.
*
*
* .google.cloud.dialogflow.cx.v3beta1.TestConfig test_config = 13;
*
* @return Whether the testConfig field is set.
*/
boolean hasTestConfig();
/**
*
*
*
* Config for the test case.
*
*
* .google.cloud.dialogflow.cx.v3beta1.TestConfig test_config = 13;
*
* @return The testConfig.
*/
com.google.cloud.dialogflow.cx.v3beta1.TestConfig getTestConfig();
/**
*
*
*
* Config for the test case.
*
*
* .google.cloud.dialogflow.cx.v3beta1.TestConfig test_config = 13;
*/
com.google.cloud.dialogflow.cx.v3beta1.TestConfigOrBuilder getTestConfigOrBuilder();
/**
*
*
*
* The conversation turns uttered when the test case was created, in
* chronological order. These include the canonical set of agent utterances
* that should occur when the agent is working properly.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.ConversationTurn test_case_conversation_turns = 5;
*
*/
java.util.List
getTestCaseConversationTurnsList();
/**
*
*
*
* The conversation turns uttered when the test case was created, in
* chronological order. These include the canonical set of agent utterances
* that should occur when the agent is working properly.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.ConversationTurn test_case_conversation_turns = 5;
*
*/
com.google.cloud.dialogflow.cx.v3beta1.ConversationTurn getTestCaseConversationTurns(int index);
/**
*
*
*
* The conversation turns uttered when the test case was created, in
* chronological order. These include the canonical set of agent utterances
* that should occur when the agent is working properly.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.ConversationTurn test_case_conversation_turns = 5;
*
*/
int getTestCaseConversationTurnsCount();
/**
*
*
*
* The conversation turns uttered when the test case was created, in
* chronological order. These include the canonical set of agent utterances
* that should occur when the agent is working properly.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.ConversationTurn test_case_conversation_turns = 5;
*
*/
java.util.List extends com.google.cloud.dialogflow.cx.v3beta1.ConversationTurnOrBuilder>
getTestCaseConversationTurnsOrBuilderList();
/**
*
*
*
* The conversation turns uttered when the test case was created, in
* chronological order. These include the canonical set of agent utterances
* that should occur when the agent is working properly.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3beta1.ConversationTurn test_case_conversation_turns = 5;
*
*/
com.google.cloud.dialogflow.cx.v3beta1.ConversationTurnOrBuilder
getTestCaseConversationTurnsOrBuilder(int index);
/**
*
*
*
* Output only. When the test was created.
*
*
*
* .google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the creationTime field is set.
*/
boolean hasCreationTime();
/**
*
*
*
* Output only. When the test was created.
*
*
*
* .google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The creationTime.
*/
com.google.protobuf.Timestamp getCreationTime();
/**
*
*
*
* Output only. When the test was created.
*
*
*
* .google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder();
/**
*
*
*
* The latest test result.
*
*
* .google.cloud.dialogflow.cx.v3beta1.TestCaseResult last_test_result = 12;
*
* @return Whether the lastTestResult field is set.
*/
boolean hasLastTestResult();
/**
*
*
*
* The latest test result.
*
*
* .google.cloud.dialogflow.cx.v3beta1.TestCaseResult last_test_result = 12;
*
* @return The lastTestResult.
*/
com.google.cloud.dialogflow.cx.v3beta1.TestCaseResult getLastTestResult();
/**
*
*
*
* The latest test result.
*
*
* .google.cloud.dialogflow.cx.v3beta1.TestCaseResult last_test_result = 12;
*/
com.google.cloud.dialogflow.cx.v3beta1.TestCaseResultOrBuilder getLastTestResultOrBuilder();
}