Class ContinuousTestResult (0.28.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.v3beta1.ContinuousTestResult

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

RESULT_FIELD_NUMBER

public static final int RESULT_FIELD_NUMBER
Field Value
Type Description
int

RUN_TIME_FIELD_NUMBER

public static final int RUN_TIME_FIELD_NUMBER
Field Value
Type Description
int

TEST_CASE_RESULTS_FIELD_NUMBER

public static final int TEST_CASE_RESULTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ContinuousTestResult getDefaultInstance()
Returns
Type Description
ContinuousTestResult

getDescriptor()

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

newBuilder()

public static ContinuousTestResult.Builder newBuilder()
Returns
Type Description
ContinuousTestResult.Builder

newBuilder(ContinuousTestResult prototype)

public static ContinuousTestResult.Builder newBuilder(ContinuousTestResult prototype)
Parameter
Name Description
prototype ContinuousTestResult
Returns
Type Description
ContinuousTestResult.Builder

parseDelimitedFrom(InputStream input)

public static ContinuousTestResult parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ContinuousTestResult
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ContinuousTestResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ContinuousTestResult
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ContinuousTestResult parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ContinuousTestResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ContinuousTestResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ContinuousTestResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ContinuousTestResult parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ContinuousTestResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ContinuousTestResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ContinuousTestResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ContinuousTestResult parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ContinuousTestResult
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ContinuousTestResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ContinuousTestResult
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ContinuousTestResult parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ContinuousTestResult
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ContinuousTestResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ContinuousTestResult
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ContinuousTestResult parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ContinuousTestResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ContinuousTestResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ContinuousTestResult
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ContinuousTestResult> parser()
Returns
Type Description
Parser<ContinuousTestResult>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ContinuousTestResult getDefaultInstanceForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<ContinuousTestResult> getParserForType()
Returns
Type Description
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.v3beta1.ContinuousTestResult.AggregatedTestResult result = 2;

Returns
Type Description
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.v3beta1.ContinuousTestResult.AggregatedTestResult result = 2;

Returns
Type Description
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
Type Description
Timestamp

The runTime.

getRunTimeOrBuilder()

public TimestampOrBuilder getRunTimeOrBuilder()

Time when the continuous testing run starts.

.google.protobuf.Timestamp run_time = 4;

Returns
Type Description
TimestampOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
ProtocolStringList

A list containing the testCaseResults.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hasRunTime()

public boolean hasRunTime()

Time when the continuous testing run starts.

.google.protobuf.Timestamp run_time = 4;

Returns
Type Description
boolean

Whether the runTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ContinuousTestResult.Builder newBuilderForType()
Returns
Type Description
ContinuousTestResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ContinuousTestResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ContinuousTestResult.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ContinuousTestResult.Builder toBuilder()
Returns
Type Description
ContinuousTestResult.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException