Class BatchRunTestCasesMetadata.Builder (0.11.5)

See more code actions.
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
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.v3.TestError errors = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.cx.v3.TestError>
Returns

addErrors(TestError value)

public BatchRunTestCasesMetadata.Builder addErrors(TestError value)

The test errors.

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

Parameter
Name Description
value TestError
Returns

addErrors(TestError.Builder builderForValue)

public BatchRunTestCasesMetadata.Builder addErrors(TestError.Builder builderForValue)

The test errors.

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

Parameter
Name Description
builderForValue TestError.Builder
Returns

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
Name Description
index int
value TestError
Returns

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
Name Description
index int
builderForValue TestError.Builder
Returns

addErrorsBuilder()

public TestError.Builder addErrorsBuilder()

The test errors.

repeated .google.cloud.dialogflow.cx.v3.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.v3.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 Overrides

build()

public BatchRunTestCasesMetadata build()
Returns
Type Description
BatchRunTestCasesMetadata

buildPartial()

public BatchRunTestCasesMetadata buildPartial()
Returns
Type Description
BatchRunTestCasesMetadata

clear()

public BatchRunTestCasesMetadata.Builder clear()
Returns Overrides

clearErrors()

public BatchRunTestCasesMetadata.Builder clearErrors()

The test errors.

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

Returns

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public BatchRunTestCasesMetadata.Builder clone()
Returns 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.v3.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.v3.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.v3.TestError errors = 1;

Returns
Type Description
List<Builder>

getErrorsCount()

public int getErrorsCount()

The test errors.

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

Returns
Type Description
int

getErrorsList()

public List<TestError> getErrorsList()

The test errors.

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

Returns
Type Description
List<TestError>

getErrorsOrBuilder(int index)

public TestErrorOrBuilder getErrorsOrBuilder(int index)

The test errors.

repeated .google.cloud.dialogflow.cx.v3.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.v3.TestError errors = 1;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3.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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeErrors(int index)

public BatchRunTestCasesMetadata.Builder removeErrors(int index)

The test errors.

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

Parameter
Name Description
index int
Returns

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
Name Description
index int
value TestError
Returns

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
Name Description
index int
builderForValue TestError.Builder
Returns

setField(Descriptors.FieldDescriptor field, Object value)

public BatchRunTestCasesMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns 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 Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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