Interface Environment.TestCasesConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Environment.TestCasesConfig,Environment.TestCasesConfig.Builder
- Enclosing class:
- Environment
public static interface Environment.TestCasesConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether to run test cases in [TestCasesConfig.test_cases][google.cloud.dialogflow.cx.v3beta1.Environment.TestCasesConfig.test_cases] periodically.booleanWhether to run test cases in [TestCasesConfig.test_cases][google.cloud.dialogflow.cx.v3beta1.Environment.TestCasesConfig.test_cases] before deploying a flow version to the environment.getTestCases(int index) A list of test case names to run.com.google.protobuf.ByteStringgetTestCasesBytes(int index) A list of test case names to run.intA list of test case names to run.A list of test case names to run.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTestCasesList
A list of test case names to run. They should be under the same agent. Format of each test case name: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>`
repeated string test_cases = 1 [(.google.api.resource_reference) = { ... }- Returns:
- A list containing the testCases.
-
getTestCasesCount
int getTestCasesCount()A list of test case names to run. They should be under the same agent. Format of each test case name: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>`
repeated string test_cases = 1 [(.google.api.resource_reference) = { ... }- Returns:
- The count of testCases.
-
getTestCases
A list of test case names to run. They should be under the same agent. Format of each test case name: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>`
repeated string test_cases = 1 [(.google.api.resource_reference) = { ... }- Parameters:
index- The index of the element to return.- Returns:
- The testCases at the given index.
-
getTestCasesBytes
com.google.protobuf.ByteString getTestCasesBytes(int index) A list of test case names to run. They should be under the same agent. Format of each test case name: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>`
repeated string test_cases = 1 [(.google.api.resource_reference) = { ... }- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the testCases at the given index.
-
getEnableContinuousRun
boolean getEnableContinuousRun()Whether to run test cases in [TestCasesConfig.test_cases][google.cloud.dialogflow.cx.v3beta1.Environment.TestCasesConfig.test_cases] periodically. Default false. If set to true, run once a day.
bool enable_continuous_run = 2;- Returns:
- The enableContinuousRun.
-
getEnablePredeploymentRun
boolean getEnablePredeploymentRun()Whether to run test cases in [TestCasesConfig.test_cases][google.cloud.dialogflow.cx.v3beta1.Environment.TestCasesConfig.test_cases] before deploying a flow version to the environment. Default false.
bool enable_predeployment_run = 3;- Returns:
- The enablePredeploymentRun.
-