- 0.65.0 (latest)
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class Environment.TestCasesConfig.Builder extends GeneratedMessageV3.Builder<Environment.TestCasesConfig.Builder> implements Environment.TestCasesConfigOrBuilder
The configuration for continuous tests.
Protobuf type google.cloud.dialogflow.cx.v3beta1.Environment.TestCasesConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Environment.TestCasesConfig.BuilderImplements
Environment.TestCasesConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllTestCases(Iterable<String> values)
public Environment.TestCasesConfig.Builder addAllTestCases(Iterable<String> values)
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) = { ... }
Name | Description |
values | Iterable<String> The testCases to add. |
Type | Description |
Environment.TestCasesConfig.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Environment.TestCasesConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Environment.TestCasesConfig.Builder |
addTestCases(String value)
public Environment.TestCasesConfig.Builder addTestCases(String value)
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) = { ... }
Name | Description |
value | String The testCases to add. |
Type | Description |
Environment.TestCasesConfig.Builder | This builder for chaining. |
addTestCasesBytes(ByteString value)
public Environment.TestCasesConfig.Builder addTestCasesBytes(ByteString value)
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) = { ... }
Name | Description |
value | ByteString The bytes of the testCases to add. |
Type | Description |
Environment.TestCasesConfig.Builder | This builder for chaining. |
build()
public Environment.TestCasesConfig build()
Type | Description |
Environment.TestCasesConfig |
buildPartial()
public Environment.TestCasesConfig buildPartial()
Type | Description |
Environment.TestCasesConfig |
clear()
public Environment.TestCasesConfig.Builder clear()
Type | Description |
Environment.TestCasesConfig.Builder |
clearEnableContinuousRun()
public Environment.TestCasesConfig.Builder clearEnableContinuousRun()
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;
Type | Description |
Environment.TestCasesConfig.Builder | This builder for chaining. |
clearEnablePredeploymentRun()
public Environment.TestCasesConfig.Builder clearEnablePredeploymentRun()
Whether to run test cases in TestCasesConfig.test_cases before deploying a flow version to the environment. Default false.
bool enable_predeployment_run = 3;
Type | Description |
Environment.TestCasesConfig.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Environment.TestCasesConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Environment.TestCasesConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Environment.TestCasesConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Environment.TestCasesConfig.Builder |
clearTestCases()
public Environment.TestCasesConfig.Builder clearTestCases()
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) = { ... }
Type | Description |
Environment.TestCasesConfig.Builder | This builder for chaining. |
clone()
public Environment.TestCasesConfig.Builder clone()
Type | Description |
Environment.TestCasesConfig.Builder |
getDefaultInstanceForType()
public Environment.TestCasesConfig getDefaultInstanceForType()
Type | Description |
Environment.TestCasesConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEnableContinuousRun()
public 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;
Type | Description |
boolean | The enableContinuousRun. |
getEnablePredeploymentRun()
public 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;
Type | Description |
boolean | The enablePredeploymentRun. |
getTestCases(int index)
public 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) = { ... }
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The testCases at the given index. |
getTestCasesBytes(int index)
public 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) = { ... }
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the testCases at the given index. |
getTestCasesCount()
public 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) = { ... }
Type | Description |
int | The count of testCases. |
getTestCasesList()
public ProtocolStringList 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) = { ... }
Type | Description |
ProtocolStringList | A list containing the testCases. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Environment.TestCasesConfig other)
public Environment.TestCasesConfig.Builder mergeFrom(Environment.TestCasesConfig other)
Name | Description |
other | Environment.TestCasesConfig |
Type | Description |
Environment.TestCasesConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Environment.TestCasesConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Environment.TestCasesConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Environment.TestCasesConfig.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Environment.TestCasesConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Environment.TestCasesConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Environment.TestCasesConfig.Builder |
setEnableContinuousRun(boolean value)
public Environment.TestCasesConfig.Builder setEnableContinuousRun(boolean value)
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;
Name | Description |
value | boolean The enableContinuousRun to set. |
Type | Description |
Environment.TestCasesConfig.Builder | This builder for chaining. |
setEnablePredeploymentRun(boolean value)
public Environment.TestCasesConfig.Builder setEnablePredeploymentRun(boolean value)
Whether to run test cases in TestCasesConfig.test_cases before deploying a flow version to the environment. Default false.
bool enable_predeployment_run = 3;
Name | Description |
value | boolean The enablePredeploymentRun to set. |
Type | Description |
Environment.TestCasesConfig.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Environment.TestCasesConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Environment.TestCasesConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Environment.TestCasesConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Environment.TestCasesConfig.Builder |
setTestCases(int index, String value)
public Environment.TestCasesConfig.Builder setTestCases(int index, String value)
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) = { ... }
Name | Description |
index | int The index to set the value at. |
value | String The testCases to set. |
Type | Description |
Environment.TestCasesConfig.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Environment.TestCasesConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Environment.TestCasesConfig.Builder |