Send feedback
Class ImportTestCasesMetadata.Builder (0.14.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.14.1 keyboard_arrow_down
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.v3beta1.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.v3beta1.TestCaseError errors = 1;
Parameter
Name Description values Iterable <? extends com.google.cloud.dialogflow.cx.v3beta1.TestCaseError >
Returns
public ImportTestCasesMetadata . Builder addErrors ( TestCaseError value )
Errors for failed test cases.
repeated .google.cloud.dialogflow.cx.v3beta1.TestCaseError errors = 1;
Parameter
Returns
public ImportTestCasesMetadata . Builder addErrors ( TestCaseError . Builder builderForValue )
Errors for failed test cases.
repeated .google.cloud.dialogflow.cx.v3beta1.TestCaseError errors = 1;
Parameter
Returns
public ImportTestCasesMetadata . Builder addErrors ( int index , TestCaseError value )
Errors for failed test cases.
repeated .google.cloud.dialogflow.cx.v3beta1.TestCaseError errors = 1;
Parameters
Returns
public ImportTestCasesMetadata . Builder addErrors ( int index , TestCaseError . Builder builderForValue )
Errors for failed test cases.
repeated .google.cloud.dialogflow.cx.v3beta1.TestCaseError errors = 1;
Parameters
Returns
public TestCaseError . Builder addErrorsBuilder ()
Errors for failed test cases.
repeated .google.cloud.dialogflow.cx.v3beta1.TestCaseError errors = 1;
Returns
public TestCaseError . Builder addErrorsBuilder ( int index )
Errors for failed test cases.
repeated .google.cloud.dialogflow.cx.v3beta1.TestCaseError errors = 1;
Parameter
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.v3beta1.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.v3beta1.TestCaseError errors = 1;
Parameter
Returns
public TestCaseError . Builder getErrorsBuilder ( int index )
Errors for failed test cases.
repeated .google.cloud.dialogflow.cx.v3beta1.TestCaseError errors = 1;
Parameter
Returns
public List<TestCaseError . Builder > getErrorsBuilderList ()
Errors for failed test cases.
repeated .google.cloud.dialogflow.cx.v3beta1.TestCaseError errors = 1;
Returns
public int getErrorsCount ()
Errors for failed test cases.
repeated .google.cloud.dialogflow.cx.v3beta1.TestCaseError errors = 1;
Returns
public List<TestCaseError> getErrorsList ()
Errors for failed test cases.
repeated .google.cloud.dialogflow.cx.v3beta1.TestCaseError errors = 1;
Returns
public TestCaseErrorOrBuilder getErrorsOrBuilder ( int index )
Errors for failed test cases.
repeated .google.cloud.dialogflow.cx.v3beta1.TestCaseError errors = 1;
Parameter
Returns
public List <? extends TestCaseErrorOrBuilder > getErrorsOrBuilderList ()
Errors for failed test cases.
repeated .google.cloud.dialogflow.cx.v3beta1.TestCaseError errors = 1;
Returns
Type Description List <? extends com.google.cloud.dialogflow.cx.v3beta1.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.v3beta1.TestCaseError errors = 1;
Parameter
Returns
public ImportTestCasesMetadata . Builder setErrors ( int index , TestCaseError value )
Errors for failed test cases.
repeated .google.cloud.dialogflow.cx.v3beta1.TestCaseError errors = 1;
Parameters
Returns
public ImportTestCasesMetadata . Builder setErrors ( int index , TestCaseError . Builder builderForValue )
Errors for failed test cases.
repeated .google.cloud.dialogflow.cx.v3beta1.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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]