Class TestError.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TestError.Builder>
com.google.cloud.dialogflow.cx.v3beta1.TestError.Builder
- All Implemented Interfaces:
TestErrorOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- TestError
public static final class TestError.Builder
extends com.google.protobuf.GeneratedMessage.Builder<TestError.Builder>
implements TestErrorOrBuilder
Error info for running a test.Protobuf type
google.cloud.dialogflow.cx.v3beta1.TestError-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The status associated with the test.The test case resource name.The timestamp when the test was completed.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe status associated with the test.The status associated with the test.The status associated with the test.The test case resource name.com.google.protobuf.ByteStringThe test case resource name.com.google.protobuf.TimestampThe timestamp when the test was completed.com.google.protobuf.Timestamp.BuilderThe timestamp when the test was completed.com.google.protobuf.TimestampOrBuilderThe timestamp when the test was completed.booleanThe status associated with the test.booleanThe timestamp when the test was completed.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStatus(Status value) The status associated with the test.mergeTestTime(com.google.protobuf.Timestamp value) The timestamp when the test was completed.The status associated with the test.setStatus(Status.Builder builderForValue) The status associated with the test.setTestCase(String value) The test case resource name.setTestCaseBytes(com.google.protobuf.ByteString value) The test case resource name.setTestTime(com.google.protobuf.Timestamp value) The timestamp when the test was completed.setTestTime(com.google.protobuf.Timestamp.Builder builderForValue) The timestamp when the test was completed.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<TestError.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<TestError.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<TestError.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<TestError.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TestError.Builder>
-
mergeFrom
public TestError.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<TestError.Builder>- Throws:
IOException
-
getTestCase
The test case resource name.
string test_case = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getTestCasein interfaceTestErrorOrBuilder- Returns:
- The testCase.
-
getTestCaseBytes
public com.google.protobuf.ByteString getTestCaseBytes()The test case resource name.
string test_case = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getTestCaseBytesin interfaceTestErrorOrBuilder- Returns:
- The bytes for testCase.
-
setTestCase
The test case resource name.
string test_case = 1 [(.google.api.resource_reference) = { ... }- Parameters:
value- The testCase to set.- Returns:
- This builder for chaining.
-
clearTestCase
The test case resource name.
string test_case = 1 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setTestCaseBytes
The test case resource name.
string test_case = 1 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for testCase to set.- Returns:
- This builder for chaining.
-
hasStatus
public boolean hasStatus()The status associated with the test.
.google.rpc.Status status = 2;- Specified by:
hasStatusin interfaceTestErrorOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
The status associated with the test.
.google.rpc.Status status = 2;- Specified by:
getStatusin interfaceTestErrorOrBuilder- Returns:
- The status.
-
setStatus
The status associated with the test.
.google.rpc.Status status = 2; -
setStatus
The status associated with the test.
.google.rpc.Status status = 2; -
mergeStatus
The status associated with the test.
.google.rpc.Status status = 2; -
clearStatus
The status associated with the test.
.google.rpc.Status status = 2; -
getStatusBuilder
The status associated with the test.
.google.rpc.Status status = 2; -
getStatusOrBuilder
The status associated with the test.
.google.rpc.Status status = 2;- Specified by:
getStatusOrBuilderin interfaceTestErrorOrBuilder
-
hasTestTime
public boolean hasTestTime()The timestamp when the test was completed.
.google.protobuf.Timestamp test_time = 3;- Specified by:
hasTestTimein interfaceTestErrorOrBuilder- Returns:
- Whether the testTime field is set.
-
getTestTime
public com.google.protobuf.Timestamp getTestTime()The timestamp when the test was completed.
.google.protobuf.Timestamp test_time = 3;- Specified by:
getTestTimein interfaceTestErrorOrBuilder- Returns:
- The testTime.
-
setTestTime
The timestamp when the test was completed.
.google.protobuf.Timestamp test_time = 3; -
setTestTime
The timestamp when the test was completed.
.google.protobuf.Timestamp test_time = 3; -
mergeTestTime
The timestamp when the test was completed.
.google.protobuf.Timestamp test_time = 3; -
clearTestTime
The timestamp when the test was completed.
.google.protobuf.Timestamp test_time = 3; -
getTestTimeBuilder
public com.google.protobuf.Timestamp.Builder getTestTimeBuilder()The timestamp when the test was completed.
.google.protobuf.Timestamp test_time = 3; -
getTestTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getTestTimeOrBuilder()The timestamp when the test was completed.
.google.protobuf.Timestamp test_time = 3;- Specified by:
getTestTimeOrBuilderin interfaceTestErrorOrBuilder
-