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 |
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ContinuousTestResult.Builder newBuilder()
newBuilder(ContinuousTestResult prototype)
public static ContinuousTestResult.Builder newBuilder(ContinuousTestResult prototype)
public static ContinuousTestResult parseDelimitedFrom(InputStream input)
public static ContinuousTestResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ContinuousTestResult parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ContinuousTestResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ContinuousTestResult parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ContinuousTestResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ContinuousTestResult parseFrom(CodedInputStream input)
public static ContinuousTestResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ContinuousTestResult parseFrom(InputStream input)
public static ContinuousTestResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ContinuousTestResult parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ContinuousTestResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ContinuousTestResult> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ContinuousTestResult getDefaultInstanceForType()
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()
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;
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 |
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;
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) = { ... }
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ContinuousTestResult.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ContinuousTestResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ContinuousTestResult.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides