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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TestRunDifference.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public TestRunDifference build()
Returns
buildPartial()
public TestRunDifference buildPartial()
Returns
clear()
public TestRunDifference.Builder clear()
Returns
Overrides
clearDescription()
public TestRunDifference.Builder clearDescription()
A description of the diff, showing the actual output vs expected output.
string description = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public TestRunDifference.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TestRunDifference.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearType()
public TestRunDifference.Builder clearType()
The type of diff.
.google.cloud.dialogflow.cx.v3.TestRunDifference.DiffType type = 1;
Returns
clone()
public TestRunDifference.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public TestRunDifference getDefaultInstanceForType()
Returns
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
Overrides
getType()
public TestRunDifference.DiffType getType()
The type of diff.
.google.cloud.dialogflow.cx.v3.TestRunDifference.DiffType type = 1;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(TestRunDifference other)
public TestRunDifference.Builder mergeFrom(TestRunDifference other)
Parameter
Returns
public TestRunDifference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TestRunDifference.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TestRunDifference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
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
setField(Descriptors.FieldDescriptor field, Object value)
public TestRunDifference.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TestRunDifference.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
setUnknownFields(UnknownFieldSet unknownFields)
public final TestRunDifference.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides