Class ImportTestCasesMetadata (0.14.0)

public final class ImportTestCasesMetadata extends GeneratedMessageV3 implements ImportTestCasesMetadataOrBuilder

Metadata returned for the TestCases.ImportTestCases long running operation.

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

Static Fields

ERRORS_FIELD_NUMBER

public static final int ERRORS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImportTestCasesMetadata getDefaultInstance()
Returns
TypeDescription
ImportTestCasesMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(ImportTestCasesMetadata prototype)

public static ImportTestCasesMetadata.Builder newBuilder(ImportTestCasesMetadata prototype)
Parameter
NameDescription
prototypeImportTestCasesMetadata
Returns
TypeDescription
ImportTestCasesMetadata.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ImportTestCasesMetadata getDefaultInstanceForType()
Returns
TypeDescription
ImportTestCasesMetadata

getErrors(int index)

public TestCaseError getErrors(int index)

Errors for failed test cases.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TestCaseError

getErrorsCount()

public int getErrorsCount()

Errors for failed test cases.

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

Returns
TypeDescription
int

getErrorsList()

public List<TestCaseError> getErrorsList()

Errors for failed test cases.

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

Returns
TypeDescription
List<TestCaseError>

getErrorsOrBuilder(int index)

public TestCaseErrorOrBuilder getErrorsOrBuilder(int index)

Errors for failed test cases.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TestCaseErrorOrBuilder

getErrorsOrBuilderList()

public List<? extends TestCaseErrorOrBuilder> getErrorsOrBuilderList()

Errors for failed test cases.

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

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.cx.v3beta1.TestCaseErrorOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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