Class TestCaseError (0.14.1)

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

TEST_CASE_FIELD_NUMBER

public static final int TEST_CASE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TestCaseError getDefaultInstance()
Returns
TypeDescription
TestCaseError

getDescriptor()

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

newBuilder()

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

newBuilder(TestCaseError prototype)

public static TestCaseError.Builder newBuilder(TestCaseError prototype)
Parameter
NameDescription
prototypeTestCaseError
Returns
TypeDescription
TestCaseError.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public TestCaseError getDefaultInstanceForType()
Returns
TypeDescription
TestCaseError

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStatus()

public Status getStatus()

The status associated with the test case.

.google.rpc.Status status = 2;

Returns
TypeDescription
com.google.rpc.Status

The status.

getStatusOrBuilder()

public StatusOrBuilder getStatusOrBuilder()

The status associated with the test case.

.google.rpc.Status status = 2;

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getTestCase()

public TestCase getTestCase()

The test case.

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

Returns
TypeDescription
TestCase

The testCase.

getTestCaseOrBuilder()

public TestCaseOrBuilder getTestCaseOrBuilder()

The test case.

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

Returns
TypeDescription
TestCaseOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasStatus()

public boolean hasStatus()

The status associated with the test case.

.google.rpc.Status status = 2;

Returns
TypeDescription
boolean

Whether the status field is set.

hasTestCase()

public boolean hasTestCase()

The test case.

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

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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