Class BatchRunTestCasesMetadata.Builder (0.59.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.v3beta1.BatchRunTestCasesMetadata

Static Methods

getDescriptor()

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

Methods

addAllErrors(Iterable<? extends TestError> values)

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

The test errors.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.TestError>
Returns
Type Description
BatchRunTestCasesMetadata.Builder

addErrors(TestError value)

public BatchRunTestCasesMetadata.Builder addErrors(TestError value)

The test errors.

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

Parameter
Name Description
value TestError
Returns
Type Description
BatchRunTestCasesMetadata.Builder

addErrors(TestError.Builder builderForValue)

public BatchRunTestCasesMetadata.Builder addErrors(TestError.Builder builderForValue)

The test errors.

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

Parameter
Name Description
builderForValue TestError.Builder
Returns
Type Description
BatchRunTestCasesMetadata.Builder

addErrors(int index, TestError value)

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

The test errors.

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

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

Parameters
Name Description
index int
builderForValue TestError.Builder
Returns
Type Description
BatchRunTestCasesMetadata.Builder

addErrorsBuilder()

public TestError.Builder addErrorsBuilder()

The test errors.

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

Returns
Type Description
TestError.Builder

addErrorsBuilder(int index)

public TestError.Builder addErrorsBuilder(int index)

The test errors.

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

Parameter
Name Description
index int
Returns
Type Description
TestError.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchRunTestCasesMetadata build()
Returns
Type Description
BatchRunTestCasesMetadata

buildPartial()

public BatchRunTestCasesMetadata buildPartial()
Returns
Type Description
BatchRunTestCasesMetadata

clear()

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

clearErrors()

public BatchRunTestCasesMetadata.Builder clearErrors()

The test errors.

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

Returns
Type Description
BatchRunTestCasesMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public BatchRunTestCasesMetadata getDefaultInstanceForType()
Returns
Type Description
BatchRunTestCasesMetadata

getDescriptorForType()

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

getErrors(int index)

public TestError getErrors(int index)

The test errors.

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

Parameter
Name Description
index int
Returns
Type Description
TestError

getErrorsBuilder(int index)

public TestError.Builder getErrorsBuilder(int index)

The test errors.

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

Parameter
Name Description
index int
Returns
Type Description
TestError.Builder

getErrorsBuilderList()

public List<TestError.Builder> getErrorsBuilderList()

The test errors.

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

Returns
Type Description
List<Builder>

getErrorsCount()

public int getErrorsCount()

The test errors.

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

Returns
Type Description
int

getErrorsList()

public List<TestError> getErrorsList()

The test errors.

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

Returns
Type Description
List<TestError>

getErrorsOrBuilder(int index)

public TestErrorOrBuilder getErrorsOrBuilder(int index)

The test errors.

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

Parameter
Name Description
index int
Returns
Type Description
TestErrorOrBuilder

getErrorsOrBuilderList()

public List<? extends TestErrorOrBuilder> getErrorsOrBuilderList()

The test errors.

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

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.TestErrorOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchRunTestCasesMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeErrors(int index)

public BatchRunTestCasesMetadata.Builder removeErrors(int index)

The test errors.

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

Parameter
Name Description
index int
Returns
Type Description
BatchRunTestCasesMetadata.Builder

setErrors(int index, TestError value)

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

The test errors.

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

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

Parameters
Name Description
index int
builderForValue TestError.Builder
Returns
Type Description
BatchRunTestCasesMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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