Class TestRunDifference.Builder (0.14.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.v3beta1.TestRunDifference

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TestRunDifference build()
Returns
TypeDescription
TestRunDifference

buildPartial()

public TestRunDifference buildPartial()
Returns
TypeDescription
TestRunDifference

clear()

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

clearDescription()

public TestRunDifference.Builder clearDescription()

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

string description = 2;

Returns
TypeDescription
TestRunDifference.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearType()

public TestRunDifference.Builder clearType()

The type of diff.

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

Returns
TypeDescription
TestRunDifference.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public TestRunDifference getDefaultInstanceForType()
Returns
TypeDescription
TestRunDifference

getDescription()

public String getDescription()

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

string description = 2;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

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

string description = 2;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getType()

public TestRunDifference.DiffType getType()

The type of diff.

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

Returns
TypeDescription
TestRunDifference.DiffType

The type.

getTypeValue()

public int getTypeValue()

The type of diff.

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

Returns
TypeDescription
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TestRunDifference other)

public TestRunDifference.Builder mergeFrom(TestRunDifference other)
Parameter
NameDescription
otherTestRunDifference
Returns
TypeDescription
TestRunDifference.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TestRunDifference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The description to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
TestRunDifference.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setType(TestRunDifference.DiffType value)

public TestRunDifference.Builder setType(TestRunDifference.DiffType value)

The type of diff.

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

Parameter
NameDescription
valueTestRunDifference.DiffType

The type to set.

Returns
TypeDescription
TestRunDifference.Builder

This builder for chaining.

setTypeValue(int value)

public TestRunDifference.Builder setTypeValue(int value)

The type of diff.

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

Parameter
NameDescription
valueint

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

Returns
TypeDescription
TestRunDifference.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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