Class RunTestCaseResponse.Builder (0.57.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RunTestCaseResponse build()
Returns
Type Description
RunTestCaseResponse

buildPartial()

public RunTestCaseResponse buildPartial()
Returns
Type Description
RunTestCaseResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResult()

public RunTestCaseResponse.Builder clearResult()

The result.

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

Returns
Type Description
RunTestCaseResponse.Builder

clone()

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

getDefaultInstanceForType()

public RunTestCaseResponse getDefaultInstanceForType()
Returns
Type Description
RunTestCaseResponse

getDescriptorForType()

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

getResult()

public TestCaseResult getResult()

The result.

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

Returns
Type Description
TestCaseResult

The result.

getResultBuilder()

public TestCaseResult.Builder getResultBuilder()

The result.

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

Returns
Type Description
TestCaseResult.Builder

getResultOrBuilder()

public TestCaseResultOrBuilder getResultOrBuilder()

The result.

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

Returns
Type Description
TestCaseResultOrBuilder

hasResult()

public boolean hasResult()

The result.

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

Returns
Type Description
boolean

Whether the result field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RunTestCaseResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeResult(TestCaseResult value)

public RunTestCaseResponse.Builder mergeResult(TestCaseResult value)

The result.

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

Parameter
Name Description
value TestCaseResult
Returns
Type Description
RunTestCaseResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setResult(TestCaseResult value)

public RunTestCaseResponse.Builder setResult(TestCaseResult value)

The result.

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

Parameter
Name Description
value TestCaseResult
Returns
Type Description
RunTestCaseResponse.Builder

setResult(TestCaseResult.Builder builderForValue)

public RunTestCaseResponse.Builder setResult(TestCaseResult.Builder builderForValue)

The result.

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

Parameter
Name Description
builderForValue TestCaseResult.Builder
Returns
Type Description
RunTestCaseResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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