Class RunTestCaseResponse.Builder (0.14.2)

public static final class RunTestCaseResponse.Builder extends GeneratedMessageV3.Builder<RunTestCaseResponse.Builder> implements RunTestCaseResponseOrBuilder

The response message for TestCases.RunTestCase.

Protobuf type google.cloud.dialogflow.cx.v3.RunTestCaseResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RunTestCaseResponse build()
Returns
TypeDescription
RunTestCaseResponse

buildPartial()

public RunTestCaseResponse buildPartial()
Returns
TypeDescription
RunTestCaseResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResult()

public RunTestCaseResponse.Builder clearResult()

The result.

.google.cloud.dialogflow.cx.v3.TestCaseResult result = 2;

Returns
TypeDescription
RunTestCaseResponse.Builder

clone()

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

getDefaultInstanceForType()

public RunTestCaseResponse getDefaultInstanceForType()
Returns
TypeDescription
RunTestCaseResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getResult()

public TestCaseResult getResult()

The result.

.google.cloud.dialogflow.cx.v3.TestCaseResult result = 2;

Returns
TypeDescription
TestCaseResult

The result.

getResultBuilder()

public TestCaseResult.Builder getResultBuilder()

The result.

.google.cloud.dialogflow.cx.v3.TestCaseResult result = 2;

Returns
TypeDescription
TestCaseResult.Builder

getResultOrBuilder()

public TestCaseResultOrBuilder getResultOrBuilder()

The result.

.google.cloud.dialogflow.cx.v3.TestCaseResult result = 2;

Returns
TypeDescription
TestCaseResultOrBuilder

hasResult()

public boolean hasResult()

The result.

.google.cloud.dialogflow.cx.v3.TestCaseResult result = 2;

Returns
TypeDescription
boolean

Whether the result field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RunTestCaseResponse other)

public RunTestCaseResponse.Builder mergeFrom(RunTestCaseResponse other)
Parameter
NameDescription
otherRunTestCaseResponse
Returns
TypeDescription
RunTestCaseResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public RunTestCaseResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RunTestCaseResponse.Builder
Overrides

mergeResult(TestCaseResult value)

public RunTestCaseResponse.Builder mergeResult(TestCaseResult value)

The result.

.google.cloud.dialogflow.cx.v3.TestCaseResult result = 2;

Parameter
NameDescription
valueTestCaseResult
Returns
TypeDescription
RunTestCaseResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public RunTestCaseResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RunTestCaseResponse.Builder
Overrides

setResult(TestCaseResult value)

public RunTestCaseResponse.Builder setResult(TestCaseResult value)

The result.

.google.cloud.dialogflow.cx.v3.TestCaseResult result = 2;

Parameter
NameDescription
valueTestCaseResult
Returns
TypeDescription
RunTestCaseResponse.Builder

setResult(TestCaseResult.Builder builderForValue)

public RunTestCaseResponse.Builder setResult(TestCaseResult.Builder builderForValue)

The result.

.google.cloud.dialogflow.cx.v3.TestCaseResult result = 2;

Parameter
NameDescription
builderForValueTestCaseResult.Builder
Returns
TypeDescription
RunTestCaseResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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