Class BatchRunTestCasesMetadata.Builder (0.13.0)

public static final class BatchRunTestCasesMetadata.Builder extends GeneratedMessageV3.Builder<BatchRunTestCasesMetadata.Builder> implements BatchRunTestCasesMetadataOrBuilder

Metadata returned for the TestCases.BatchRunTestCases long running operation.

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

Static Methods

getDescriptor()

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

Methods

addAllErrors(Iterable<? extends TestError> values)

public BatchRunTestCasesMetadata.Builder addAllErrors(Iterable<? extends TestError> values)

The test errors.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.cx.v3.TestError>
Returns
TypeDescription
BatchRunTestCasesMetadata.Builder

addErrors(TestError value)

public BatchRunTestCasesMetadata.Builder addErrors(TestError value)

The test errors.

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

Parameter
NameDescription
valueTestError
Returns
TypeDescription
BatchRunTestCasesMetadata.Builder

addErrors(TestError.Builder builderForValue)

public BatchRunTestCasesMetadata.Builder addErrors(TestError.Builder builderForValue)

The test errors.

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

Parameter
NameDescription
builderForValueTestError.Builder
Returns
TypeDescription
BatchRunTestCasesMetadata.Builder

addErrors(int index, TestError value)

public BatchRunTestCasesMetadata.Builder addErrors(int index, TestError value)

The test errors.

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

Parameters
NameDescription
indexint
valueTestError
Returns
TypeDescription
BatchRunTestCasesMetadata.Builder

addErrors(int index, TestError.Builder builderForValue)

public BatchRunTestCasesMetadata.Builder addErrors(int index, TestError.Builder builderForValue)

The test errors.

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

Parameters
NameDescription
indexint
builderForValueTestError.Builder
Returns
TypeDescription
BatchRunTestCasesMetadata.Builder

addErrorsBuilder()

public TestError.Builder addErrorsBuilder()

The test errors.

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

Returns
TypeDescription
TestError.Builder

addErrorsBuilder(int index)

public TestError.Builder addErrorsBuilder(int index)

The test errors.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TestError.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchRunTestCasesMetadata build()
Returns
TypeDescription
BatchRunTestCasesMetadata

buildPartial()

public BatchRunTestCasesMetadata buildPartial()
Returns
TypeDescription
BatchRunTestCasesMetadata

clear()

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

clearErrors()

public BatchRunTestCasesMetadata.Builder clearErrors()

The test errors.

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

Returns
TypeDescription
BatchRunTestCasesMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public BatchRunTestCasesMetadata getDefaultInstanceForType()
Returns
TypeDescription
BatchRunTestCasesMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getErrors(int index)

public TestError getErrors(int index)

The test errors.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TestError

getErrorsBuilder(int index)

public TestError.Builder getErrorsBuilder(int index)

The test errors.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TestError.Builder

getErrorsBuilderList()

public List<TestError.Builder> getErrorsBuilderList()

The test errors.

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

Returns
TypeDescription
List<Builder>

getErrorsCount()

public int getErrorsCount()

The test errors.

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

Returns
TypeDescription
int

getErrorsList()

public List<TestError> getErrorsList()

The test errors.

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

Returns
TypeDescription
List<TestError>

getErrorsOrBuilder(int index)

public TestErrorOrBuilder getErrorsOrBuilder(int index)

The test errors.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TestErrorOrBuilder

getErrorsOrBuilderList()

public List<? extends TestErrorOrBuilder> getErrorsOrBuilderList()

The test errors.

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

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.cx.v3.TestErrorOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchRunTestCasesMetadata other)

public BatchRunTestCasesMetadata.Builder mergeFrom(BatchRunTestCasesMetadata other)
Parameter
NameDescription
otherBatchRunTestCasesMetadata
Returns
TypeDescription
BatchRunTestCasesMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeErrors(int index)

public BatchRunTestCasesMetadata.Builder removeErrors(int index)

The test errors.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchRunTestCasesMetadata.Builder

setErrors(int index, TestError value)

public BatchRunTestCasesMetadata.Builder setErrors(int index, TestError value)

The test errors.

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

Parameters
NameDescription
indexint
valueTestError
Returns
TypeDescription
BatchRunTestCasesMetadata.Builder

setErrors(int index, TestError.Builder builderForValue)

public BatchRunTestCasesMetadata.Builder setErrors(int index, TestError.Builder builderForValue)

The test errors.

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

Parameters
NameDescription
indexint
builderForValueTestError.Builder
Returns
TypeDescription
BatchRunTestCasesMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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