Class TestCaseError.Builder (0.32.0)

public static final class TestCaseError.Builder extends GeneratedMessageV3.Builder<TestCaseError.Builder> implements TestCaseErrorOrBuilder

Error info for importing a test.

Protobuf type google.cloud.dialogflow.cx.v3beta1.TestCaseError

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TestCaseError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TestCaseError.Builder
Overrides

build()

public TestCaseError build()
Returns
Type Description
TestCaseError

buildPartial()

public TestCaseError buildPartial()
Returns
Type Description
TestCaseError

clear()

public TestCaseError.Builder clear()
Returns
Type Description
TestCaseError.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TestCaseError.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TestCaseError.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TestCaseError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TestCaseError.Builder
Overrides

clearStatus()

public TestCaseError.Builder clearStatus()

The status associated with the test case.

.google.rpc.Status status = 2;

Returns
Type Description
TestCaseError.Builder

clearTestCase()

public TestCaseError.Builder clearTestCase()

The test case.

.google.cloud.dialogflow.cx.v3beta1.TestCase test_case = 1;

Returns
Type Description
TestCaseError.Builder

clone()

public TestCaseError.Builder clone()
Returns
Type Description
TestCaseError.Builder
Overrides

getDefaultInstanceForType()

public TestCaseError getDefaultInstanceForType()
Returns
Type Description
TestCaseError

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getStatus()

public Status getStatus()

The status associated with the test case.

.google.rpc.Status status = 2;

Returns
Type Description
com.google.rpc.Status

The status.

getStatusBuilder()

public Status.Builder getStatusBuilder()

The status associated with the test case.

.google.rpc.Status status = 2;

Returns
Type Description
com.google.rpc.Status.Builder

getStatusOrBuilder()

public StatusOrBuilder getStatusOrBuilder()

The status associated with the test case.

.google.rpc.Status status = 2;

Returns
Type Description
com.google.rpc.StatusOrBuilder

getTestCase()

public TestCase getTestCase()

The test case.

.google.cloud.dialogflow.cx.v3beta1.TestCase test_case = 1;

Returns
Type Description
TestCase

The testCase.

getTestCaseBuilder()

public TestCase.Builder getTestCaseBuilder()

The test case.

.google.cloud.dialogflow.cx.v3beta1.TestCase test_case = 1;

Returns
Type Description
TestCase.Builder

getTestCaseOrBuilder()

public TestCaseOrBuilder getTestCaseOrBuilder()

The test case.

.google.cloud.dialogflow.cx.v3beta1.TestCase test_case = 1;

Returns
Type Description
TestCaseOrBuilder

hasStatus()

public boolean hasStatus()

The status associated with the test case.

.google.rpc.Status status = 2;

Returns
Type Description
boolean

Whether the status field is set.

hasTestCase()

public boolean hasTestCase()

The test case.

.google.cloud.dialogflow.cx.v3beta1.TestCase test_case = 1;

Returns
Type Description
boolean

Whether the testCase field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TestCaseError other)

public TestCaseError.Builder mergeFrom(TestCaseError other)
Parameter
Name Description
other TestCaseError
Returns
Type Description
TestCaseError.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TestCaseError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TestCaseError.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TestCaseError.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TestCaseError.Builder
Overrides

mergeStatus(Status value)

public TestCaseError.Builder mergeStatus(Status value)

The status associated with the test case.

.google.rpc.Status status = 2;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
TestCaseError.Builder

mergeTestCase(TestCase value)

public TestCaseError.Builder mergeTestCase(TestCase value)

The test case.

.google.cloud.dialogflow.cx.v3beta1.TestCase test_case = 1;

Parameter
Name Description
value TestCase
Returns
Type Description
TestCaseError.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TestCaseError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TestCaseError.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public TestCaseError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TestCaseError.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TestCaseError.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TestCaseError.Builder
Overrides

setStatus(Status value)

public TestCaseError.Builder setStatus(Status value)

The status associated with the test case.

.google.rpc.Status status = 2;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
TestCaseError.Builder

setStatus(Status.Builder builderForValue)

public TestCaseError.Builder setStatus(Status.Builder builderForValue)

The status associated with the test case.

.google.rpc.Status status = 2;

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
TestCaseError.Builder

setTestCase(TestCase value)

public TestCaseError.Builder setTestCase(TestCase value)

The test case.

.google.cloud.dialogflow.cx.v3beta1.TestCase test_case = 1;

Parameter
Name Description
value TestCase
Returns
Type Description
TestCaseError.Builder

setTestCase(TestCase.Builder builderForValue)

public TestCaseError.Builder setTestCase(TestCase.Builder builderForValue)

The test case.

.google.cloud.dialogflow.cx.v3beta1.TestCase test_case = 1;

Parameter
Name Description
builderForValue TestCase.Builder
Returns
Type Description
TestCaseError.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final TestCaseError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TestCaseError.Builder
Overrides