public static final class TestError.Builder extends GeneratedMessage.Builder<TestError.Builder> implements TestErrorOrBuilderError info for running a test.
Protobuf type google.cloud.dialogflow.cx.v3beta1.TestError
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > TestError.BuilderImplements
TestErrorOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public TestError build()| Returns | |
|---|---|
| Type | Description |
TestError |
|
buildPartial()
public TestError buildPartial()| Returns | |
|---|---|
| Type | Description |
TestError |
|
clear()
public TestError.Builder clear()| Returns | |
|---|---|
| Type | Description |
TestError.Builder |
|
clearStatus()
public TestError.Builder clearStatus()The status associated with the test.
.google.rpc.Status status = 2;
| Returns | |
|---|---|
| Type | Description |
TestError.Builder |
|
clearTestCase()
public TestError.Builder clearTestCase()The test case resource name.
string test_case = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
TestError.Builder |
This builder for chaining. |
clearTestTime()
public TestError.Builder clearTestTime()The timestamp when the test was completed.
.google.protobuf.Timestamp test_time = 3;
| Returns | |
|---|---|
| Type | Description |
TestError.Builder |
|
getDefaultInstanceForType()
public TestError getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
TestError |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 | |
|---|---|
| Type | Description |
Timestamp |
The testTime. |
getTestTimeBuilder()
public Timestamp.Builder getTestTimeBuilder()The timestamp when the test was completed.
.google.protobuf.Timestamp test_time = 3;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getTestTimeOrBuilder()
public TimestampOrBuilder getTestTimeOrBuilder()The timestamp when the test was completed.
.google.protobuf.Timestamp test_time = 3;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(TestError other)
public TestError.Builder mergeFrom(TestError other)| Parameter | |
|---|---|
| Name | Description |
other |
TestError |
| Returns | |
|---|---|
| Type | Description |
TestError.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TestError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TestError.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public TestError.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TestError.Builder |
|
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 | |
|---|---|
| Type | Description |
TestError.Builder |
|
mergeTestTime(Timestamp value)
public TestError.Builder mergeTestTime(Timestamp value)The timestamp when the test was completed.
.google.protobuf.Timestamp test_time = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
TestError.Builder |
|
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 | |
|---|---|
| Type | Description |
TestError.Builder |
|
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 | |
|---|---|
| Type | Description |
TestError.Builder |
|
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 |
StringThe testCase to set. |
| Returns | |
|---|---|
| Type | Description |
TestError.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for testCase to set. |
| Returns | |
|---|---|
| Type | Description |
TestError.Builder |
This builder for chaining. |
setTestTime(Timestamp value)
public TestError.Builder setTestTime(Timestamp value)The timestamp when the test was completed.
.google.protobuf.Timestamp test_time = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
TestError.Builder |
|
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 | |
|---|---|
| Type | Description |
TestError.Builder |
|