Class ImportTestCasesMetadata.Builder (0.14.0)

public static final class ImportTestCasesMetadata.Builder extends GeneratedMessageV3.Builder<ImportTestCasesMetadata.Builder> implements ImportTestCasesMetadataOrBuilder

Metadata returned for the TestCases.ImportTestCases long running operation.

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

Static Methods

getDescriptor()

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

Methods

addAllErrors(Iterable<? extends TestCaseError> values)

public ImportTestCasesMetadata.Builder addAllErrors(Iterable<? extends TestCaseError> values)

Errors for failed test cases.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.cx.v3beta1.TestCaseError>
Returns
TypeDescription
ImportTestCasesMetadata.Builder

addErrors(TestCaseError value)

public ImportTestCasesMetadata.Builder addErrors(TestCaseError value)

Errors for failed test cases.

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

Parameter
NameDescription
valueTestCaseError
Returns
TypeDescription
ImportTestCasesMetadata.Builder

addErrors(TestCaseError.Builder builderForValue)

public ImportTestCasesMetadata.Builder addErrors(TestCaseError.Builder builderForValue)

Errors for failed test cases.

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

Parameter
NameDescription
builderForValueTestCaseError.Builder
Returns
TypeDescription
ImportTestCasesMetadata.Builder

addErrors(int index, TestCaseError value)

public ImportTestCasesMetadata.Builder addErrors(int index, TestCaseError value)

Errors for failed test cases.

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

Parameters
NameDescription
indexint
valueTestCaseError
Returns
TypeDescription
ImportTestCasesMetadata.Builder

addErrors(int index, TestCaseError.Builder builderForValue)

public ImportTestCasesMetadata.Builder addErrors(int index, TestCaseError.Builder builderForValue)

Errors for failed test cases.

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

Parameters
NameDescription
indexint
builderForValueTestCaseError.Builder
Returns
TypeDescription
ImportTestCasesMetadata.Builder

addErrorsBuilder()

public TestCaseError.Builder addErrorsBuilder()

Errors for failed test cases.

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

Returns
TypeDescription
TestCaseError.Builder

addErrorsBuilder(int index)

public TestCaseError.Builder addErrorsBuilder(int index)

Errors for failed test cases.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TestCaseError.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportTestCasesMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImportTestCasesMetadata.Builder
Overrides

build()

public ImportTestCasesMetadata build()
Returns
TypeDescription
ImportTestCasesMetadata

buildPartial()

public ImportTestCasesMetadata buildPartial()
Returns
TypeDescription
ImportTestCasesMetadata

clear()

public ImportTestCasesMetadata.Builder clear()
Returns
TypeDescription
ImportTestCasesMetadata.Builder
Overrides

clearErrors()

public ImportTestCasesMetadata.Builder clearErrors()

Errors for failed test cases.

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

Returns
TypeDescription
ImportTestCasesMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public ImportTestCasesMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ImportTestCasesMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportTestCasesMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ImportTestCasesMetadata.Builder
Overrides

clone()

public ImportTestCasesMetadata.Builder clone()
Returns
TypeDescription
ImportTestCasesMetadata.Builder
Overrides

getDefaultInstanceForType()

public ImportTestCasesMetadata getDefaultInstanceForType()
Returns
TypeDescription
ImportTestCasesMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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

getErrorsBuilder(int index)

public TestCaseError.Builder getErrorsBuilder(int index)

Errors for failed test cases.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TestCaseError.Builder

getErrorsBuilderList()

public List<TestCaseError.Builder> getErrorsBuilderList()

Errors for failed test cases.

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

Returns
TypeDescription
List<Builder>

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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ImportTestCasesMetadata other)

public ImportTestCasesMetadata.Builder mergeFrom(ImportTestCasesMetadata other)
Parameter
NameDescription
otherImportTestCasesMetadata
Returns
TypeDescription
ImportTestCasesMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportTestCasesMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportTestCasesMetadata.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ImportTestCasesMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ImportTestCasesMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportTestCasesMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportTestCasesMetadata.Builder
Overrides

removeErrors(int index)

public ImportTestCasesMetadata.Builder removeErrors(int index)

Errors for failed test cases.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ImportTestCasesMetadata.Builder

setErrors(int index, TestCaseError value)

public ImportTestCasesMetadata.Builder setErrors(int index, TestCaseError value)

Errors for failed test cases.

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

Parameters
NameDescription
indexint
valueTestCaseError
Returns
TypeDescription
ImportTestCasesMetadata.Builder

setErrors(int index, TestCaseError.Builder builderForValue)

public ImportTestCasesMetadata.Builder setErrors(int index, TestCaseError.Builder builderForValue)

Errors for failed test cases.

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

Parameters
NameDescription
indexint
builderForValueTestCaseError.Builder
Returns
TypeDescription
ImportTestCasesMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ImportTestCasesMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImportTestCasesMetadata.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ImportTestCasesMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ImportTestCasesMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportTestCasesMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportTestCasesMetadata.Builder
Overrides