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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getEnableContinuousRun()
Whether to run test cases in [TestCasesConfig.test_cases][google.cloud.dialogflow.cx.v3beta1.Environment.TestCasesConfig.test_cases] periodically.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.String
getTestCases(int index)
A list of test case names to run.com.google.protobuf.ByteString
getTestCasesBytes(int index)
A list of test case names to run.int
getTestCasesCount()
A list of test case names to run.List<String>
getTestCasesList()
A list of test case names to run.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTestCasesList
List<String> getTestCasesList()
A list of test case names to run. They should be under the same agent. Format of each test case name: `projects/<Project ID>/locations/ <Location ID>/agents/<AgentID>/testCases/<TestCase ID>`
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/<Project ID>/locations/ <Location ID>/agents/<AgentID>/testCases/<TestCase ID>`
repeated string test_cases = 1 [(.google.api.resource_reference) = { ... }
- Returns:
- The count of testCases.
-
getTestCases
String getTestCases(int index)
A list of test case names to run. They should be under the same agent. Format of each test case name: `projects/<Project ID>/locations/ <Location ID>/agents/<AgentID>/testCases/<TestCase ID>`
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/<Project ID>/locations/ <Location ID>/agents/<AgentID>/testCases/<TestCase ID>`
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.
-
-