Interface Environment.TestCasesConfigOrBuilder (0.51.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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
List<String>

A list containing the testCases.