Class ContinuousTestResult.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ContinuousTestResult.Builder>
com.google.cloud.dialogflow.cx.v3beta1.ContinuousTestResult.Builder
- All Implemented Interfaces:
ContinuousTestResultOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ContinuousTestResult
public static final class ContinuousTestResult.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ContinuousTestResult.Builder>
implements ContinuousTestResultOrBuilder
Represents a result from running a test case in an agent environment.Protobuf type
google.cloud.dialogflow.cx.v3beta1.ContinuousTestResult-
Method Summary
Modifier and TypeMethodDescriptionaddAllTestCaseResults(Iterable<String> values) A list of individual test case results names in this continuous test run.addTestCaseResults(String value) A list of individual test case results names in this continuous test run.addTestCaseResultsBytes(com.google.protobuf.ByteString value) A list of individual test case results names in this continuous test run.build()clear()The resource name for the continuous test result.The result of this continuous test run, i.e. whether all the tests in this continuous test run pass or not.Time when the continuous testing run starts.A list of individual test case results names in this continuous test run.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()The resource name for the continuous test result.com.google.protobuf.ByteStringThe resource name for the continuous test result.The result of this continuous test run, i.e. whether all the tests in this continuous test run pass or not.intThe result of this continuous test run, i.e. whether all the tests in this continuous test run pass or not.com.google.protobuf.TimestampTime when the continuous testing run starts.com.google.protobuf.Timestamp.BuilderTime when the continuous testing run starts.com.google.protobuf.TimestampOrBuilderTime when the continuous testing run starts.getTestCaseResults(int index) A list of individual test case results names in this continuous test run.com.google.protobuf.ByteStringgetTestCaseResultsBytes(int index) A list of individual test case results names in this continuous test run.intA list of individual test case results names in this continuous test run.com.google.protobuf.ProtocolStringListA list of individual test case results names in this continuous test run.booleanTime when the continuous testing run starts.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ContinuousTestResult other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeRunTime(com.google.protobuf.Timestamp value) Time when the continuous testing run starts.The resource name for the continuous test result.setNameBytes(com.google.protobuf.ByteString value) The resource name for the continuous test result.The result of this continuous test run, i.e. whether all the tests in this continuous test run pass or not.setResultValue(int value) The result of this continuous test run, i.e. whether all the tests in this continuous test run pass or not.setRunTime(com.google.protobuf.Timestamp value) Time when the continuous testing run starts.setRunTime(com.google.protobuf.Timestamp.Builder builderForValue) Time when the continuous testing run starts.setTestCaseResults(int index, String value) A list of individual test case results names in this continuous test run.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ContinuousTestResult.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ContinuousTestResult.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ContinuousTestResult.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ContinuousTestResult.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ContinuousTestResult.Builder>
-
mergeFrom
public ContinuousTestResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ContinuousTestResult.Builder>- Throws:
IOException
-
getName
The resource name for the continuous test result. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/continuousTestResults/<ContinuousTestResultID>`.
string name = 1;- Specified by:
getNamein interfaceContinuousTestResultOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The resource name for the continuous test result. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/continuousTestResults/<ContinuousTestResultID>`.
string name = 1;- Specified by:
getNameBytesin interfaceContinuousTestResultOrBuilder- Returns:
- The bytes for name.
-
setName
The resource name for the continuous test result. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/continuousTestResults/<ContinuousTestResultID>`.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The resource name for the continuous test result. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/continuousTestResults/<ContinuousTestResultID>`.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
The resource name for the continuous test result. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/continuousTestResults/<ContinuousTestResultID>`.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getResultValuein interfaceContinuousTestResultOrBuilder- Returns:
- The enum numeric value on the wire for result.
-
setResultValue
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;- Parameters:
value- The enum numeric value on the wire for result to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getResultin interfaceContinuousTestResultOrBuilder- Returns:
- The result.
-
setResult
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;- Parameters:
value- The result to set.- Returns:
- This builder for chaining.
-
clearResult
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:
- This builder for chaining.
-
getTestCaseResultsList
public com.google.protobuf.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) = { ... }- Specified by:
getTestCaseResultsListin interfaceContinuousTestResultOrBuilder- Returns:
- A list containing the testCaseResults.
-
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) = { ... }- Specified by:
getTestCaseResultsCountin interfaceContinuousTestResultOrBuilder- Returns:
- The count of testCaseResults.
-
getTestCaseResults
A list of individual test case results names in this continuous test run.
repeated string test_case_results = 3 [(.google.api.resource_reference) = { ... }- Specified by:
getTestCaseResultsin interfaceContinuousTestResultOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The testCaseResults at the given index.
-
getTestCaseResultsBytes
public com.google.protobuf.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) = { ... }- Specified by:
getTestCaseResultsBytesin interfaceContinuousTestResultOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the testCaseResults at the given index.
-
setTestCaseResults
A list of individual test case results names in this continuous test run.
repeated string test_case_results = 3 [(.google.api.resource_reference) = { ... }- Parameters:
index- The index to set the value at.value- The testCaseResults to set.- Returns:
- This builder for chaining.
-
addTestCaseResults
A list of individual test case results names in this continuous test run.
repeated string test_case_results = 3 [(.google.api.resource_reference) = { ... }- Parameters:
value- The testCaseResults to add.- Returns:
- This builder for chaining.
-
addAllTestCaseResults
A list of individual test case results names in this continuous test run.
repeated string test_case_results = 3 [(.google.api.resource_reference) = { ... }- Parameters:
values- The testCaseResults to add.- Returns:
- This builder for chaining.
-
clearTestCaseResults
A list of individual test case results names in this continuous test run.
repeated string test_case_results = 3 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
addTestCaseResultsBytes
A list of individual test case results names in this continuous test run.
repeated string test_case_results = 3 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes of the testCaseResults to add.- Returns:
- This builder for chaining.
-
hasRunTime
public boolean hasRunTime()Time when the continuous testing run starts.
.google.protobuf.Timestamp run_time = 4;- Specified by:
hasRunTimein interfaceContinuousTestResultOrBuilder- Returns:
- Whether the runTime field is set.
-
getRunTime
public com.google.protobuf.Timestamp getRunTime()Time when the continuous testing run starts.
.google.protobuf.Timestamp run_time = 4;- Specified by:
getRunTimein interfaceContinuousTestResultOrBuilder- Returns:
- The runTime.
-
setRunTime
Time when the continuous testing run starts.
.google.protobuf.Timestamp run_time = 4; -
setRunTime
public ContinuousTestResult.Builder setRunTime(com.google.protobuf.Timestamp.Builder builderForValue) Time when the continuous testing run starts.
.google.protobuf.Timestamp run_time = 4; -
mergeRunTime
Time when the continuous testing run starts.
.google.protobuf.Timestamp run_time = 4; -
clearRunTime
Time when the continuous testing run starts.
.google.protobuf.Timestamp run_time = 4; -
getRunTimeBuilder
public com.google.protobuf.Timestamp.Builder getRunTimeBuilder()Time when the continuous testing run starts.
.google.protobuf.Timestamp run_time = 4; -
getRunTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getRunTimeOrBuilder()Time when the continuous testing run starts.
.google.protobuf.Timestamp run_time = 4;- Specified by:
getRunTimeOrBuilderin interfaceContinuousTestResultOrBuilder
-