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
RESULT_FIELD_NUMBER
public static final int RESULT_FIELD_NUMBER
Field Value
RUN_TIME_FIELD_NUMBER
public static final int RUN_TIME_FIELD_NUMBER
Field Value
TEST_CASE_RESULTS_FIELD_NUMBER
public static final int TEST_CASE_RESULTS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ContinuousTestResult getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ContinuousTestResult.Builder newBuilder()
Returns
newBuilder(ContinuousTestResult prototype)
public static ContinuousTestResult.Builder newBuilder(ContinuousTestResult prototype)
Parameter
Returns
public static ContinuousTestResult parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ContinuousTestResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ContinuousTestResult parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ContinuousTestResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ContinuousTestResult parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ContinuousTestResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ContinuousTestResult parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ContinuousTestResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ContinuousTestResult parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ContinuousTestResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ContinuousTestResult parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ContinuousTestResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ContinuousTestResult> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ContinuousTestResult getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<ContinuousTestResult> getParserForType()
Returns
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
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
getRunTimeOrBuilder()
public TimestampOrBuilder getRunTimeOrBuilder()
Time when the continuous testing run starts.
.google.protobuf.Timestamp run_time = 4;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ContinuousTestResult.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ContinuousTestResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ContinuousTestResult.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions