Interface CreateTestCaseRequestOrBuilder (0.16.0)

public interface CreateTestCaseRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The agent to create the test case for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The agent to create the test case for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getTestCase()

public abstract TestCase getTestCase()

Required. The test case to create.

.google.cloud.dialogflow.cx.v3.TestCase test_case = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TestCase

The testCase.

getTestCaseOrBuilder()

public abstract TestCaseOrBuilder getTestCaseOrBuilder()

Required. The test case to create.

.google.cloud.dialogflow.cx.v3.TestCase test_case = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TestCaseOrBuilder

hasTestCase()

public abstract boolean hasTestCase()

Required. The test case to create.

.google.cloud.dialogflow.cx.v3.TestCase test_case = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the testCase field is set.