Class ImportTestCasesMetadata (0.20.0)

public final class ImportTestCasesMetadata extends GeneratedMessageV3 implements ImportTestCasesMetadataOrBuilder

Metadata returned for the TestCases.ImportTestCases long running operation.

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

Static Fields

ERRORS_FIELD_NUMBER

public static final int ERRORS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImportTestCasesMetadata getDefaultInstance()
Returns
Type Description
ImportTestCasesMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(ImportTestCasesMetadata prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ImportTestCasesMetadata getDefaultInstanceForType()
Returns
Type Description
ImportTestCasesMetadata

getErrors(int index)

public TestCaseError getErrors(int index)

Errors for failed test cases.

repeated .google.cloud.dialogflow.cx.v3.TestCaseError errors = 1;

Parameter
Name Description
index int
Returns
Type Description
TestCaseError

getErrorsCount()

public int getErrorsCount()

Errors for failed test cases.

repeated .google.cloud.dialogflow.cx.v3.TestCaseError errors = 1;

Returns
Type Description
int

getErrorsList()

public List<TestCaseError> getErrorsList()

Errors for failed test cases.

repeated .google.cloud.dialogflow.cx.v3.TestCaseError errors = 1;

Returns
Type Description
List<TestCaseError>

getErrorsOrBuilder(int index)

public TestCaseErrorOrBuilder getErrorsOrBuilder(int index)

Errors for failed test cases.

repeated .google.cloud.dialogflow.cx.v3.TestCaseError errors = 1;

Parameter
Name Description
index int
Returns
Type Description
TestCaseErrorOrBuilder

getErrorsOrBuilderList()

public List<? extends TestCaseErrorOrBuilder> getErrorsOrBuilderList()

Errors for failed test cases.

repeated .google.cloud.dialogflow.cx.v3.TestCaseError errors = 1;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3.TestCaseErrorOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

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 ImportTestCasesMetadata.Builder newBuilderForType()
Returns
Type Description
ImportTestCasesMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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