Class TestCaseError (0.65.0)

public final class TestCaseError extends GeneratedMessageV3 implements TestCaseErrorOrBuilder

Error info for importing a test.

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

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

Static Methods

getDefaultInstance()

public static TestCaseError getDefaultInstance()
Returns
Type Description
TestCaseError

getDescriptor()

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

newBuilder()

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

newBuilder(TestCaseError prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public TestCaseError getDefaultInstanceForType()
Returns
Type Description
TestCaseError

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStatus()

public Status getStatus()

The status associated with the test case.

.google.rpc.Status status = 2;

Returns
Type Description
com.google.rpc.Status

The status.

getStatusOrBuilder()

public StatusOrBuilder getStatusOrBuilder()

The status associated with the test case.

.google.rpc.Status status = 2;

Returns
Type Description
com.google.rpc.StatusOrBuilder

getTestCase()

public TestCase getTestCase()

The test case.

.google.cloud.dialogflow.cx.v3beta1.TestCase test_case = 1;

Returns
Type Description
TestCase

The testCase.

getTestCaseOrBuilder()

public TestCaseOrBuilder getTestCaseOrBuilder()

The test case.

.google.cloud.dialogflow.cx.v3beta1.TestCase test_case = 1;

Returns
Type Description
TestCaseOrBuilder

hasStatus()

public boolean hasStatus()

The status associated with the test case.

.google.rpc.Status status = 2;

Returns
Type Description
boolean

Whether the status field is set.

hasTestCase()

public boolean hasTestCase()

The test case.

.google.cloud.dialogflow.cx.v3beta1.TestCase test_case = 1;

Returns
Type Description
boolean

Whether the testCase 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 TestCaseError.Builder newBuilderForType()
Returns
Type Description
TestCaseError.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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