Class TestRunDifference (0.52.0)

public final class TestRunDifference extends GeneratedMessageV3 implements TestRunDifferenceOrBuilder

The description of differences between original and replayed agent output.

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

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TestRunDifference getDefaultInstance()
Returns
TypeDescription
TestRunDifference

getDescriptor()

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

newBuilder()

public static TestRunDifference.Builder newBuilder()
Returns
TypeDescription
TestRunDifference.Builder

newBuilder(TestRunDifference prototype)

public static TestRunDifference.Builder newBuilder(TestRunDifference prototype)
Parameter
NameDescription
prototypeTestRunDifference
Returns
TypeDescription
TestRunDifference.Builder

parseDelimitedFrom(InputStream input)

public static TestRunDifference parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TestRunDifference
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TestRunDifference parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestRunDifference
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TestRunDifference parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TestRunDifference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TestRunDifference parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestRunDifference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TestRunDifference parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TestRunDifference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TestRunDifference parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestRunDifference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TestRunDifference parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TestRunDifference
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TestRunDifference parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestRunDifference
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TestRunDifference parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TestRunDifference
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TestRunDifference parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestRunDifference
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TestRunDifference parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TestRunDifference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TestRunDifference parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestRunDifference
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<TestRunDifference> parser()
Returns
TypeDescription
Parser<TestRunDifference>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public TestRunDifference getDefaultInstanceForType()
Returns
TypeDescription
TestRunDifference

getDescription()

public String getDescription()

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

string description = 2;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

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

string description = 2;

Returns
TypeDescription
ByteString

The bytes for description.

getParserForType()

public Parser<TestRunDifference> getParserForType()
Returns
TypeDescription
Parser<TestRunDifference>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getType()

public TestRunDifference.DiffType getType()

The type of diff.

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

Returns
TypeDescription
TestRunDifference.DiffType

The type.

getTypeValue()

public int getTypeValue()

The type of diff.

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

Returns
TypeDescription
int

The enum numeric value on the wire for type.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public TestRunDifference.Builder newBuilderForType()
Returns
TypeDescription
TestRunDifference.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TestRunDifference.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TestRunDifference.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public TestRunDifference.Builder toBuilder()
Returns
TypeDescription
TestRunDifference.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException