Class ImportTestCasesMetadata.Builder (0.34.0)

See more code actions.
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.v3.ImportTestCasesMetadata

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
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.v3.TestCaseError errors = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.cx.v3.TestCaseError>
Returns
Type Description
ImportTestCasesMetadata.Builder

addErrors(TestCaseError value)

public ImportTestCasesMetadata.Builder addErrors(TestCaseError value)

Errors for failed test cases.

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

Parameter
Name Description
value TestCaseError
Returns
Type Description
ImportTestCasesMetadata.Builder

addErrors(TestCaseError.Builder builderForValue)

public ImportTestCasesMetadata.Builder addErrors(TestCaseError.Builder builderForValue)

Errors for failed test cases.

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

Parameter
Name Description
builderForValue TestCaseError.Builder
Returns
Type Description
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.v3.TestCaseError errors = 1;

Parameters
Name Description
index int
value TestCaseError
Returns
Type Description
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.v3.TestCaseError errors = 1;

Parameters
Name Description
index int
builderForValue TestCaseError.Builder
Returns
Type Description
ImportTestCasesMetadata.Builder

addErrorsBuilder()

public TestCaseError.Builder addErrorsBuilder()

Errors for failed test cases.

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

Returns
Type Description
TestCaseError.Builder

addErrorsBuilder(int index)

public TestCaseError.Builder addErrorsBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportTestCasesMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportTestCasesMetadata.Builder
Overrides

build()

public ImportTestCasesMetadata build()
Returns
Type Description
ImportTestCasesMetadata

buildPartial()

public ImportTestCasesMetadata buildPartial()
Returns
Type Description
ImportTestCasesMetadata

clear()

public ImportTestCasesMetadata.Builder clear()
Returns
Type Description
ImportTestCasesMetadata.Builder
Overrides

clearErrors()

public ImportTestCasesMetadata.Builder clearErrors()

Errors for failed test cases.

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

Returns
Type Description
ImportTestCasesMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public ImportTestCasesMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ImportTestCasesMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportTestCasesMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImportTestCasesMetadata.Builder
Overrides

clone()

public ImportTestCasesMetadata.Builder clone()
Returns
Type Description
ImportTestCasesMetadata.Builder
Overrides

getDefaultInstanceForType()

public ImportTestCasesMetadata getDefaultInstanceForType()
Returns
Type Description
ImportTestCasesMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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

getErrorsBuilder(int index)

public TestCaseError.Builder getErrorsBuilder(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.Builder

getErrorsBuilderList()

public List<TestCaseError.Builder> getErrorsBuilderList()

Errors for failed test cases.

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

Returns
Type Description
List<Builder>

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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportTestCasesMetadata other)

public ImportTestCasesMetadata.Builder mergeFrom(ImportTestCasesMetadata other)
Parameter
Name Description
other ImportTestCasesMetadata
Returns
Type Description
ImportTestCasesMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportTestCasesMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportTestCasesMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ImportTestCasesMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ImportTestCasesMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportTestCasesMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportTestCasesMetadata.Builder
Overrides

removeErrors(int index)

public ImportTestCasesMetadata.Builder removeErrors(int index)

Errors for failed test cases.

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

Parameter
Name Description
index int
Returns
Type Description
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.v3.TestCaseError errors = 1;

Parameters
Name Description
index int
value TestCaseError
Returns
Type Description
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.v3.TestCaseError errors = 1;

Parameters
Name Description
index int
builderForValue TestCaseError.Builder
Returns
Type Description
ImportTestCasesMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ImportTestCasesMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportTestCasesMetadata.Builder
Overrides

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

public ImportTestCasesMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ImportTestCasesMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportTestCasesMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportTestCasesMetadata.Builder
Overrides