Class TestError (0.52.0)

public final class TestError extends GeneratedMessageV3 implements TestErrorOrBuilder

Error info for running a test.

Protobuf type google.cloud.dialogflow.cx.v3.TestError

Implements

TestErrorOrBuilder

Static Fields

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

TEST_CASE_FIELD_NUMBER

public static final int TEST_CASE_FIELD_NUMBER
Field Value
TypeDescription
int

TEST_TIME_FIELD_NUMBER

public static final int TEST_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TestError getDefaultInstance()
Returns
TypeDescription
TestError

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TestError.Builder newBuilder()
Returns
TypeDescription
TestError.Builder

newBuilder(TestError prototype)

public static TestError.Builder newBuilder(TestError prototype)
Parameter
NameDescription
prototypeTestError
Returns
TypeDescription
TestError.Builder

parseDelimitedFrom(InputStream input)

public static TestError parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TestError
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TestError parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestError
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TestError parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TestError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TestError parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TestError parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TestError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TestError parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TestError parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TestError
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TestError parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestError
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TestError parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TestError
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TestError parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestError
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TestError parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TestError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TestError parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestError
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<TestError> parser()
Returns
TypeDescription
Parser<TestError>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public TestError getDefaultInstanceForType()
Returns
TypeDescription
TestError

getParserForType()

public Parser<TestError> getParserForType()
Returns
TypeDescription
Parser<TestError>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStatus()

public Status getStatus()

The status associated with the test.

.google.rpc.Status status = 2;

Returns
TypeDescription
com.google.rpc.Status

The status.

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.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public TestError.Builder newBuilderForType()
Returns
TypeDescription
TestError.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TestError.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TestError.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public TestError.Builder toBuilder()
Returns
TypeDescription
TestError.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException