public static final class TestError.Builder extends GeneratedMessageV3.Builder<TestError.Builder> implements TestErrorOrBuilder
Error info for running a test.
Protobuf type google.cloud.dialogflow.cx.v3beta1.TestError
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TestError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public TestError buildPartial()
Returns
clear()
public TestError.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public TestError.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TestError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearStatus()
public TestError.Builder clearStatus()
The status associated with the test.
.google.rpc.Status status = 2;
Returns
clearTestCase()
public TestError.Builder clearTestCase()
The test case resource name.
string test_case = 1 [(.google.api.resource_reference) = { ... }
Returns
clearTestTime()
public TestError.Builder clearTestTime()
The timestamp when the test was completed.
.google.protobuf.Timestamp test_time = 3;
Returns
clone()
public TestError.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public TestError getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getStatus()
public Status getStatus()
The status associated with the test.
.google.rpc.Status status = 2;
Returns
Type |
Description |
com.google.rpc.Status |
The status.
|
getStatusBuilder()
public Status.Builder getStatusBuilder()
The status associated with the test.
.google.rpc.Status status = 2;
Returns
Type |
Description |
com.google.rpc.Status.Builder |
|
getStatusOrBuilder()
public StatusOrBuilder getStatusOrBuilder()
The status associated with the test.
.google.rpc.Status status = 2;
Returns
Type |
Description |
com.google.rpc.StatusOrBuilder |
|
getTestCase()
public String getTestCase()
The test case resource name.
string test_case = 1 [(.google.api.resource_reference) = { ... }
Returns
Type |
Description |
String |
The testCase.
|
getTestCaseBytes()
public ByteString getTestCaseBytes()
The test case resource name.
string test_case = 1 [(.google.api.resource_reference) = { ... }
Returns
Type |
Description |
ByteString |
The bytes for testCase.
|
getTestTime()
public Timestamp getTestTime()
The timestamp when the test was completed.
.google.protobuf.Timestamp test_time = 3;
Returns
getTestTimeBuilder()
public Timestamp.Builder getTestTimeBuilder()
The timestamp when the test was completed.
.google.protobuf.Timestamp test_time = 3;
Returns
getTestTimeOrBuilder()
public TimestampOrBuilder getTestTimeOrBuilder()
The timestamp when the test was completed.
.google.protobuf.Timestamp test_time = 3;
Returns
hasStatus()
public boolean hasStatus()
The status associated with the test.
.google.rpc.Status status = 2;
Returns
Type |
Description |
boolean |
Whether the status field is set.
|
hasTestTime()
public boolean hasTestTime()
The timestamp when the test was completed.
.google.protobuf.Timestamp test_time = 3;
Returns
Type |
Description |
boolean |
Whether the testTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(TestError other)
public TestError.Builder mergeFrom(TestError other)
Parameter
Returns
public TestError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TestError.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeStatus(Status value)
public TestError.Builder mergeStatus(Status value)
The status associated with the test.
.google.rpc.Status status = 2;
Parameter
Name |
Description |
value |
com.google.rpc.Status
|
Returns
mergeTestTime(Timestamp value)
public TestError.Builder mergeTestTime(Timestamp value)
The timestamp when the test was completed.
.google.protobuf.Timestamp test_time = 3;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TestError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public TestError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TestError.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setStatus(Status value)
public TestError.Builder setStatus(Status value)
The status associated with the test.
.google.rpc.Status status = 2;
Parameter
Name |
Description |
value |
com.google.rpc.Status
|
Returns
setStatus(Status.Builder builderForValue)
public TestError.Builder setStatus(Status.Builder builderForValue)
The status associated with the test.
.google.rpc.Status status = 2;
Parameter
Name |
Description |
builderForValue |
com.google.rpc.Status.Builder
|
Returns
setTestCase(String value)
public TestError.Builder setTestCase(String value)
The test case resource name.
string test_case = 1 [(.google.api.resource_reference) = { ... }
Parameter
Name |
Description |
value |
String
The testCase to set.
|
Returns
setTestCaseBytes(ByteString value)
public TestError.Builder setTestCaseBytes(ByteString value)
The test case resource name.
string test_case = 1 [(.google.api.resource_reference) = { ... }
Parameter
Name |
Description |
value |
ByteString
The bytes for testCase to set.
|
Returns
setTestTime(Timestamp value)
public TestError.Builder setTestTime(Timestamp value)
The timestamp when the test was completed.
.google.protobuf.Timestamp test_time = 3;
Parameter
Returns
setTestTime(Timestamp.Builder builderForValue)
public TestError.Builder setTestTime(Timestamp.Builder builderForValue)
The timestamp when the test was completed.
.google.protobuf.Timestamp test_time = 3;
Parameter
Name |
Description |
builderForValue |
Builder
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final TestError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides