Interface Environment.TestCasesConfigOrBuilder (0.52.0)

public static interface Environment.TestCasesConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnableContinuousRun()

public abstract boolean getEnableContinuousRun()

Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day.

bool enable_continuous_run = 2;

Returns
TypeDescription
boolean

The enableContinuousRun.

getEnablePredeploymentRun()

public abstract boolean getEnablePredeploymentRun()

Whether to run test cases in TestCasesConfig.test_cases before deploying a flow version to the environment. Default false.

bool enable_predeployment_run = 3;

Returns
TypeDescription
boolean

The enablePredeploymentRun.

getTestCases(int index)

public abstract 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) = { ... }

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The testCases at the given index.

getTestCasesBytes(int index)

public abstract 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) = { ... }

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the testCases at the given index.

getTestCasesCount()

public abstract 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
TypeDescription
int

The count of testCases.

getTestCasesList()

public abstract 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
TypeDescription
List<String>

A list containing the testCases.