Class TestError.Builder (0.14.2)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TestError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TestError.Builder
Overrides

build()

public TestError build()
Returns
TypeDescription
TestError

buildPartial()

public TestError buildPartial()
Returns
TypeDescription
TestError

clear()

public TestError.Builder clear()
Returns
TypeDescription
TestError.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TestError.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TestError.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TestError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
TestError.Builder
Overrides

clearStatus()

public TestError.Builder clearStatus()

The status associated with the test.

.google.rpc.Status status = 2;

Returns
TypeDescription
TestError.Builder

clearTestCase()

public TestError.Builder clearTestCase()

The test case resource name.

string test_case = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
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
TypeDescription
TestError.Builder

clone()

public TestError.Builder clone()
Returns
TypeDescription
TestError.Builder
Overrides

getDefaultInstanceForType()

public TestError getDefaultInstanceForType()
Returns
TypeDescription
TestError

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getStatus()

public Status getStatus()

The status associated with the test.

.google.rpc.Status status = 2;

Returns
TypeDescription
com.google.rpc.Status

The status.

getStatusBuilder()

public Status.Builder getStatusBuilder()

The status associated with the test.

.google.rpc.Status status = 2;

Returns
TypeDescription
com.google.rpc.Status.Builder

getStatusOrBuilder()

public StatusOrBuilder getStatusOrBuilder()

The status associated with the test.

.google.rpc.Status status = 2;

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getTestCase()

public String getTestCase()

The test case resource name.

string test_case = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The testCase.

getTestCaseBytes()

public ByteString getTestCaseBytes()

The test case resource name.

string test_case = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for testCase.

getTestTime()

public Timestamp getTestTime()

The timestamp when the test was completed.

.google.protobuf.Timestamp test_time = 3;

Returns
TypeDescription
Timestamp

The testTime.

getTestTimeBuilder()

public Timestamp.Builder getTestTimeBuilder()

The timestamp when the test was completed.

.google.protobuf.Timestamp test_time = 3;

Returns
TypeDescription
Builder

getTestTimeOrBuilder()

public TimestampOrBuilder getTestTimeOrBuilder()

The timestamp when the test was completed.

.google.protobuf.Timestamp test_time = 3;

Returns
TypeDescription
TimestampOrBuilder

hasStatus()

public boolean hasStatus()

The status associated with the test.

.google.rpc.Status status = 2;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the testTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TestError other)

public TestError.Builder mergeFrom(TestError other)
Parameter
NameDescription
otherTestError
Returns
TypeDescription
TestError.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TestError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestError.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TestError.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TestError.Builder
Overrides

mergeStatus(Status value)

public TestError.Builder mergeStatus(Status value)

The status associated with the test.

.google.rpc.Status status = 2;

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
TestError.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TestError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TestError.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public TestError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TestError.Builder
Overrides

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

public TestError.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TestError.Builder
Overrides

setStatus(Status value)

public TestError.Builder setStatus(Status value)

The status associated with the test.

.google.rpc.Status status = 2;

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
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
NameDescription
valueString

The testCase to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for testCase to set.

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
TestError.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final TestError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TestError.Builder
Overrides