Interface CreateTestCaseRequestOrBuilder (0.52.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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

getTestCase()

public abstract TestCase getTestCase()

Required. The test case to create.

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

Returns
TypeDescription
TestCase

The testCase.

getTestCaseOrBuilder()

public abstract TestCaseOrBuilder getTestCaseOrBuilder()

Required. The test case to create.

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

Returns
TypeDescription
TestCaseOrBuilder

hasTestCase()

public abstract boolean hasTestCase()

Required. The test case to create.

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

Returns
TypeDescription
boolean

Whether the testCase field is set.