Class ContinuousTestResult.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ContinuousTestResult.Builder> implements ContinuousTestResultOrBuilder
Represents a result from running a test case in an agent environment.
Protobuf typegoogle.cloud.dialogflow.cx.v3beta1.ContinuousTestResult
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ContinuousTestResult.BuilderaddAllTestCaseResults(Iterable<String> values)A list of individual test case results names in this continuous test run.ContinuousTestResult.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ContinuousTestResult.BuilderaddTestCaseResults(String value)A list of individual test case results names in this continuous test run.ContinuousTestResult.BuilderaddTestCaseResultsBytes(com.google.protobuf.ByteString value)A list of individual test case results names in this continuous test run.ContinuousTestResultbuild()ContinuousTestResultbuildPartial()ContinuousTestResult.Builderclear()ContinuousTestResult.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ContinuousTestResult.BuilderclearName()The resource name for the continuous test result.ContinuousTestResult.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ContinuousTestResult.BuilderclearResult()The result of this continuous test run, i.e.ContinuousTestResult.BuilderclearRunTime()Time when the continuous testing run starts.ContinuousTestResult.BuilderclearTestCaseResults()A list of individual test case results names in this continuous test run.ContinuousTestResult.Builderclone()ContinuousTestResultgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetName()The resource name for the continuous test result.com.google.protobuf.ByteStringgetNameBytes()The resource name for the continuous test result.ContinuousTestResult.AggregatedTestResultgetResult()The result of this continuous test run, i.e.intgetResultValue()The result of this continuous test run, i.e.com.google.protobuf.TimestampgetRunTime()Time when the continuous testing run starts.com.google.protobuf.Timestamp.BuildergetRunTimeBuilder()Time when the continuous testing run starts.com.google.protobuf.TimestampOrBuildergetRunTimeOrBuilder()Time when the continuous testing run starts.StringgetTestCaseResults(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.intgetTestCaseResultsCount()A list of individual test case results names in this continuous test run.com.google.protobuf.ProtocolStringListgetTestCaseResultsList()A list of individual test case results names in this continuous test run.booleanhasRunTime()Time when the continuous testing run starts.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ContinuousTestResult.BuildermergeFrom(ContinuousTestResult other)ContinuousTestResult.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ContinuousTestResult.BuildermergeFrom(com.google.protobuf.Message other)ContinuousTestResult.BuildermergeRunTime(com.google.protobuf.Timestamp value)Time when the continuous testing run starts.ContinuousTestResult.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ContinuousTestResult.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ContinuousTestResult.BuildersetName(String value)The resource name for the continuous test result.ContinuousTestResult.BuildersetNameBytes(com.google.protobuf.ByteString value)The resource name for the continuous test result.ContinuousTestResult.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ContinuousTestResult.BuildersetResult(ContinuousTestResult.AggregatedTestResult value)The result of this continuous test run, i.e.ContinuousTestResult.BuildersetResultValue(int value)The result of this continuous test run, i.e.ContinuousTestResult.BuildersetRunTime(com.google.protobuf.Timestamp value)Time when the continuous testing run starts.ContinuousTestResult.BuildersetRunTime(com.google.protobuf.Timestamp.Builder builderForValue)Time when the continuous testing run starts.ContinuousTestResult.BuildersetTestCaseResults(int index, String value)A list of individual test case results names in this continuous test run.ContinuousTestResult.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ContinuousTestResult.Builder>
-
clear
public ContinuousTestResult.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ContinuousTestResult.Builder>
-
getDefaultInstanceForType
public ContinuousTestResult getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ContinuousTestResult build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ContinuousTestResult buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ContinuousTestResult.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ContinuousTestResult.Builder>
-
setField
public ContinuousTestResult.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ContinuousTestResult.Builder>
-
clearField
public ContinuousTestResult.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ContinuousTestResult.Builder>
-
clearOneof
public ContinuousTestResult.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ContinuousTestResult.Builder>
-
setRepeatedField
public ContinuousTestResult.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ContinuousTestResult.Builder>
-
addRepeatedField
public ContinuousTestResult.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ContinuousTestResult.Builder>
-
mergeFrom
public ContinuousTestResult.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ContinuousTestResult.Builder>
-
mergeFrom
public ContinuousTestResult.Builder mergeFrom(ContinuousTestResult other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
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;- Specified by:
getNamein interfaceContinuousTestResultOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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;- Specified by:
getNameBytesin interfaceContinuousTestResultOrBuilder- Returns:
- The bytes for name.
-
setName
public ContinuousTestResult.Builder setName(String value)
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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public ContinuousTestResult.Builder clearName()
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:
- This builder for chaining.
-
setNameBytes
public ContinuousTestResult.Builder setNameBytes(com.google.protobuf.ByteString value)
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;- 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
public ContinuousTestResult.Builder setResultValue(int value)
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
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;- Specified by:
getResultin interfaceContinuousTestResultOrBuilder- Returns:
- The result.
-
setResult
public ContinuousTestResult.Builder setResult(ContinuousTestResult.AggregatedTestResult value)
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
public ContinuousTestResult.Builder 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
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) = { ... }- 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
public ContinuousTestResult.Builder setTestCaseResults(int index, String value)
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
public ContinuousTestResult.Builder addTestCaseResults(String value)
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
public ContinuousTestResult.Builder addAllTestCaseResults(Iterable<String> values)
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
public ContinuousTestResult.Builder 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
public ContinuousTestResult.Builder addTestCaseResultsBytes(com.google.protobuf.ByteString value)
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
public ContinuousTestResult.Builder setRunTime(com.google.protobuf.Timestamp value)
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
public ContinuousTestResult.Builder mergeRunTime(com.google.protobuf.Timestamp value)
Time when the continuous testing run starts.
.google.protobuf.Timestamp run_time = 4;
-
clearRunTime
public ContinuousTestResult.Builder 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
-
setUnknownFields
public final ContinuousTestResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ContinuousTestResult.Builder>
-
mergeUnknownFields
public final ContinuousTestResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ContinuousTestResult.Builder>
-
-