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
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
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
public ImportTestCasesMetadata.Builder addErrors(TestCaseError value)
Errors for failed test cases.
repeated .google.cloud.dialogflow.cx.v3.TestCaseError errors = 1;
Parameter
Returns
public ImportTestCasesMetadata.Builder addErrors(TestCaseError.Builder builderForValue)
Errors for failed test cases.
repeated .google.cloud.dialogflow.cx.v3.TestCaseError errors = 1;
Parameter
Returns
public ImportTestCasesMetadata.Builder addErrors(int index, TestCaseError value)
Errors for failed test cases.
repeated .google.cloud.dialogflow.cx.v3.TestCaseError errors = 1;
Parameters
Returns
public ImportTestCasesMetadata.Builder addErrors(int index, TestCaseError.Builder builderForValue)
Errors for failed test cases.
repeated .google.cloud.dialogflow.cx.v3.TestCaseError errors = 1;
Parameters
Returns
public TestCaseError.Builder addErrorsBuilder()
Errors for failed test cases.
repeated .google.cloud.dialogflow.cx.v3.TestCaseError errors = 1;
Returns
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
public ImportTestCasesMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ImportTestCasesMetadata build()
Returns
public ImportTestCasesMetadata buildPartial()
Returns
public ImportTestCasesMetadata.Builder clear()
Returns
Overrides
public ImportTestCasesMetadata.Builder clearErrors()
Errors for failed test cases.
repeated .google.cloud.dialogflow.cx.v3.TestCaseError errors = 1;
Returns
public ImportTestCasesMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ImportTestCasesMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ImportTestCasesMetadata.Builder clone()
Returns
Overrides
public ImportTestCasesMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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
public List<TestCaseError.Builder> getErrorsBuilderList()
Errors for failed test cases.
repeated .google.cloud.dialogflow.cx.v3.TestCaseError errors = 1;
Returns
public int getErrorsCount()
Errors for failed test cases.
repeated .google.cloud.dialogflow.cx.v3.TestCaseError errors = 1;
Returns
public List<TestCaseError> getErrorsList()
Errors for failed test cases.
repeated .google.cloud.dialogflow.cx.v3.TestCaseError errors = 1;
Returns
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
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> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ImportTestCasesMetadata.Builder mergeFrom(ImportTestCasesMetadata other)
Parameter
Returns
public ImportTestCasesMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ImportTestCasesMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ImportTestCasesMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
public ImportTestCasesMetadata.Builder setErrors(int index, TestCaseError value)
Errors for failed test cases.
repeated .google.cloud.dialogflow.cx.v3.TestCaseError errors = 1;
Parameters
Returns
public ImportTestCasesMetadata.Builder setErrors(int index, TestCaseError.Builder builderForValue)
Errors for failed test cases.
repeated .google.cloud.dialogflow.cx.v3.TestCaseError errors = 1;
Parameters
Returns
public ImportTestCasesMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ImportTestCasesMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ImportTestCasesMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides