Class ContinuousTestResult (0.13.0)

public final class ContinuousTestResult extends GeneratedMessageV3 implements ContinuousTestResultOrBuilder

Represents a result from running a test case in an agent environment.

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

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

RESULT_FIELD_NUMBER

public static final int RESULT_FIELD_NUMBER
Field Value
TypeDescription
int

RUN_TIME_FIELD_NUMBER

public static final int RUN_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

TEST_CASE_RESULTS_FIELD_NUMBER

public static final int TEST_CASE_RESULTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ContinuousTestResult getDefaultInstance()
Returns
TypeDescription
ContinuousTestResult

getDescriptor()

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

newBuilder()

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

newBuilder(ContinuousTestResult prototype)

public static ContinuousTestResult.Builder newBuilder(ContinuousTestResult prototype)
Parameter
NameDescription
prototypeContinuousTestResult
Returns
TypeDescription
ContinuousTestResult.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ContinuousTestResult getDefaultInstanceForType()
Returns
TypeDescription
ContinuousTestResult

getName()

public String getName()

The resource name for the continuous test result. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/continuousTestResults/<ContinuousTestResult ID>.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name for the continuous test result. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/continuousTestResults/<ContinuousTestResult ID>.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

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

getResult()

public ContinuousTestResult.AggregatedTestResult getResult()

The result of this continuous test run, i.e. whether all the tests in this continuous test run pass or not.

.google.cloud.dialogflow.cx.v3.ContinuousTestResult.AggregatedTestResult result = 2;

Returns
TypeDescription
ContinuousTestResult.AggregatedTestResult

The result.

getResultValue()

public int getResultValue()

The result of this continuous test run, i.e. whether all the tests in this continuous test run pass or not.

.google.cloud.dialogflow.cx.v3.ContinuousTestResult.AggregatedTestResult result = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for result.

getRunTime()

public Timestamp getRunTime()

Time when the continuous testing run starts.

.google.protobuf.Timestamp run_time = 4;

Returns
TypeDescription
Timestamp

The runTime.

getRunTimeOrBuilder()

public TimestampOrBuilder getRunTimeOrBuilder()

Time when the continuous testing run starts.

.google.protobuf.Timestamp run_time = 4;

Returns
TypeDescription
TimestampOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTestCaseResults(int index)

public String getTestCaseResults(int index)

A list of individual test case results names in this continuous test run.

repeated string test_case_results = 3 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The testCaseResults at the given index.

getTestCaseResultsBytes(int index)

public ByteString getTestCaseResultsBytes(int index)

A list of individual test case results names in this continuous test run.

repeated string test_case_results = 3 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the testCaseResults at the given index.

getTestCaseResultsCount()

public int getTestCaseResultsCount()

A list of individual test case results names in this continuous test run.

repeated string test_case_results = 3 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
int

The count of testCaseResults.

getTestCaseResultsList()

public ProtocolStringList getTestCaseResultsList()

A list of individual test case results names in this continuous test run.

repeated string test_case_results = 3 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ProtocolStringList

A list containing the testCaseResults.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasRunTime()

public boolean hasRunTime()

Time when the continuous testing run starts.

.google.protobuf.Timestamp run_time = 4;

Returns
TypeDescription
boolean

Whether the runTime field is set.

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 ContinuousTestResult.Builder newBuilderForType()
Returns
TypeDescription
ContinuousTestResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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