Class TestRunDifference.Builder (0.23.0)

public static final class TestRunDifference.Builder extends GeneratedMessageV3.Builder<TestRunDifference.Builder> implements TestRunDifferenceOrBuilder

The description of differences between original and replayed agent output.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TestRunDifference build()
Returns
Type Description
TestRunDifference

buildPartial()

public TestRunDifference buildPartial()
Returns
Type Description
TestRunDifference

clear()

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

clearDescription()

public TestRunDifference.Builder clearDescription()

A description of the diff, showing the actual output vs expected output.

string description = 2;

Returns
Type Description
TestRunDifference.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearType()

public TestRunDifference.Builder clearType()

The type of diff.

.google.cloud.dialogflow.cx.v3.TestRunDifference.DiffType type = 1;

Returns
Type Description
TestRunDifference.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public TestRunDifference getDefaultInstanceForType()
Returns
Type Description
TestRunDifference

getDescription()

public String getDescription()

A description of the diff, showing the actual output vs expected output.

string description = 2;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A description of the diff, showing the actual output vs expected output.

string description = 2;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getType()

public TestRunDifference.DiffType getType()

The type of diff.

.google.cloud.dialogflow.cx.v3.TestRunDifference.DiffType type = 1;

Returns
Type Description
TestRunDifference.DiffType

The type.

getTypeValue()

public int getTypeValue()

The type of diff.

.google.cloud.dialogflow.cx.v3.TestRunDifference.DiffType type = 1;

Returns
Type Description
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TestRunDifference other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDescription(String value)

public TestRunDifference.Builder setDescription(String value)

A description of the diff, showing the actual output vs expected output.

string description = 2;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
TestRunDifference.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public TestRunDifference.Builder setDescriptionBytes(ByteString value)

A description of the diff, showing the actual output vs expected output.

string description = 2;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
TestRunDifference.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setType(TestRunDifference.DiffType value)

public TestRunDifference.Builder setType(TestRunDifference.DiffType value)

The type of diff.

.google.cloud.dialogflow.cx.v3.TestRunDifference.DiffType type = 1;

Parameter
Name Description
value TestRunDifference.DiffType

The type to set.

Returns
Type Description
TestRunDifference.Builder

This builder for chaining.

setTypeValue(int value)

public TestRunDifference.Builder setTypeValue(int value)

The type of diff.

.google.cloud.dialogflow.cx.v3.TestRunDifference.DiffType type = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
TestRunDifference.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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