Class TestError (0.65.0)

public final class TestError extends GeneratedMessageV3 implements TestErrorOrBuilder

Error info for running a test.

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

Implements

TestErrorOrBuilder

Static Fields

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
Type Description
int

TEST_CASE_FIELD_NUMBER

public static final int TEST_CASE_FIELD_NUMBER
Field Value
Type Description
int

TEST_TIME_FIELD_NUMBER

public static final int TEST_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TestError getDefaultInstance()
Returns
Type Description
TestError

getDescriptor()

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

newBuilder()

public static TestError.Builder newBuilder()
Returns
Type Description
TestError.Builder

newBuilder(TestError prototype)

public static TestError.Builder newBuilder(TestError prototype)
Parameter
Name Description
prototype TestError
Returns
Type Description
TestError.Builder

parseDelimitedFrom(InputStream input)

public static TestError parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TestError
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TestError parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TestError
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TestError parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TestError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TestError parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TestError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TestError parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TestError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TestError parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TestError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TestError parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TestError
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TestError parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TestError
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TestError parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TestError
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TestError parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TestError
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TestError parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TestError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TestError parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TestError
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TestError> parser()
Returns
Type Description
Parser<TestError>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public TestError getDefaultInstanceForType()
Returns
Type Description
TestError

getParserForType()

public Parser<TestError> getParserForType()
Returns
Type Description
Parser<TestError>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TestError.Builder newBuilderForType()
Returns
Type Description
TestError.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TestError.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TestError.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TestError.Builder toBuilder()
Returns
Type Description
TestError.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException