Class TestCaseError.Builder (0.14.2)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TestCaseError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TestCaseError.Builder
Overrides

build()

public TestCaseError build()
Returns
TypeDescription
TestCaseError

buildPartial()

public TestCaseError buildPartial()
Returns
TypeDescription
TestCaseError

clear()

public TestCaseError.Builder clear()
Returns
TypeDescription
TestCaseError.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TestCaseError.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TestCaseError.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TestCaseError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
TestCaseError.Builder
Overrides

clearStatus()

public TestCaseError.Builder clearStatus()

The status associated with the test case.

.google.rpc.Status status = 2;

Returns
TypeDescription
TestCaseError.Builder

clearTestCase()

public TestCaseError.Builder clearTestCase()

The test case.

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

Returns
TypeDescription
TestCaseError.Builder

clone()

public TestCaseError.Builder clone()
Returns
TypeDescription
TestCaseError.Builder
Overrides

getDefaultInstanceForType()

public TestCaseError getDefaultInstanceForType()
Returns
TypeDescription
TestCaseError

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getStatus()

public Status getStatus()

The status associated with the test case.

.google.rpc.Status status = 2;

Returns
TypeDescription
com.google.rpc.Status

The status.

getStatusBuilder()

public Status.Builder getStatusBuilder()

The status associated with the test case.

.google.rpc.Status status = 2;

Returns
TypeDescription
com.google.rpc.Status.Builder

getStatusOrBuilder()

public StatusOrBuilder getStatusOrBuilder()

The status associated with the test case.

.google.rpc.Status status = 2;

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getTestCase()

public TestCase getTestCase()

The test case.

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

Returns
TypeDescription
TestCase

The testCase.

getTestCaseBuilder()

public TestCase.Builder getTestCaseBuilder()

The test case.

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

Returns
TypeDescription
TestCase.Builder

getTestCaseOrBuilder()

public TestCaseOrBuilder getTestCaseOrBuilder()

The test case.

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

Returns
TypeDescription
TestCaseOrBuilder

hasStatus()

public boolean hasStatus()

The status associated with the test case.

.google.rpc.Status status = 2;

Returns
TypeDescription
boolean

Whether the status field is set.

hasTestCase()

public boolean hasTestCase()

The test case.

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

Returns
TypeDescription
boolean

Whether the testCase field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TestCaseError other)

public TestCaseError.Builder mergeFrom(TestCaseError other)
Parameter
NameDescription
otherTestCaseError
Returns
TypeDescription
TestCaseError.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TestCaseError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestCaseError.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TestCaseError.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
TestCaseError.Builder

mergeTestCase(TestCase value)

public TestCaseError.Builder mergeTestCase(TestCase value)

The test case.

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

Parameter
NameDescription
valueTestCase
Returns
TypeDescription
TestCaseError.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TestCaseError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TestCaseError.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public TestCaseError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TestCaseError.Builder
Overrides

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

public TestCaseError.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
TestCaseError.Builder

setTestCase(TestCase value)

public TestCaseError.Builder setTestCase(TestCase value)

The test case.

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

Parameter
NameDescription
valueTestCase
Returns
TypeDescription
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
NameDescription
builderForValueTestCase.Builder
Returns
TypeDescription
TestCaseError.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final TestCaseError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TestCaseError.Builder
Overrides