Class TestError.Builder (0.17.0)

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.v3.TestError

Implements

TestErrorOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TestError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TestError.Builder
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public TestError.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TestError.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TestError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TestError.Builder
Overrides

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

clone()

public TestError.Builder clone()
Returns
Type Description
TestError.Builder
Overrides

getDefaultInstanceForType()

public TestError getDefaultInstanceForType()
Returns
Type Description
TestError

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public TestError.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TestError.Builder
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
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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TestError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TestError.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public TestError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TestError.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TestError.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TestError.Builder
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
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 String

The 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 ByteString

The 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

setUnknownFields(UnknownFieldSet unknownFields)

public final TestError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TestError.Builder
Overrides