Class TrainProcessorVersionMetadata.DatasetValidation.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TrainProcessorVersionMetadata.DatasetValidation.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TrainProcessorVersionMetadata.DatasetValidation.Builder>
      • getDefaultInstanceForType

        public TrainProcessorVersionMetadata.DatasetValidation getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • buildPartial

        public TrainProcessorVersionMetadata.DatasetValidation buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TrainProcessorVersionMetadata.DatasetValidation.Builder>
      • setDocumentErrorCount

        public TrainProcessorVersionMetadata.DatasetValidation.Builder setDocumentErrorCount​(int value)
         The total number of document errors.
         
        int32 document_error_count = 3;
        Parameters:
        value - The documentErrorCount to set.
        Returns:
        This builder for chaining.
      • setDatasetErrorCount

        public TrainProcessorVersionMetadata.DatasetValidation.Builder setDatasetErrorCount​(int value)
         The total number of dataset errors.
         
        int32 dataset_error_count = 4;
        Parameters:
        value - The datasetErrorCount to set.
        Returns:
        This builder for chaining.
      • getDocumentErrorsList

        public List<com.google.rpc.Status> getDocumentErrorsList()
         Error information pertaining to specific documents. A maximum of 10
         document errors will be returned.
         Any document with errors will not be used throughout training.
         
        repeated .google.rpc.Status document_errors = 1;
        Specified by:
        getDocumentErrorsList in interface TrainProcessorVersionMetadata.DatasetValidationOrBuilder
      • getDocumentErrors

        public com.google.rpc.Status getDocumentErrors​(int index)
         Error information pertaining to specific documents. A maximum of 10
         document errors will be returned.
         Any document with errors will not be used throughout training.
         
        repeated .google.rpc.Status document_errors = 1;
        Specified by:
        getDocumentErrors in interface TrainProcessorVersionMetadata.DatasetValidationOrBuilder
      • setDocumentErrors

        public TrainProcessorVersionMetadata.DatasetValidation.Builder setDocumentErrors​(int index,
                                                                                         com.google.rpc.Status value)
         Error information pertaining to specific documents. A maximum of 10
         document errors will be returned.
         Any document with errors will not be used throughout training.
         
        repeated .google.rpc.Status document_errors = 1;
      • setDocumentErrors

        public TrainProcessorVersionMetadata.DatasetValidation.Builder setDocumentErrors​(int index,
                                                                                         com.google.rpc.Status.Builder builderForValue)
         Error information pertaining to specific documents. A maximum of 10
         document errors will be returned.
         Any document with errors will not be used throughout training.
         
        repeated .google.rpc.Status document_errors = 1;
      • addDocumentErrors

        public TrainProcessorVersionMetadata.DatasetValidation.Builder addDocumentErrors​(com.google.rpc.Status value)
         Error information pertaining to specific documents. A maximum of 10
         document errors will be returned.
         Any document with errors will not be used throughout training.
         
        repeated .google.rpc.Status document_errors = 1;
      • addDocumentErrors

        public TrainProcessorVersionMetadata.DatasetValidation.Builder addDocumentErrors​(int index,
                                                                                         com.google.rpc.Status value)
         Error information pertaining to specific documents. A maximum of 10
         document errors will be returned.
         Any document with errors will not be used throughout training.
         
        repeated .google.rpc.Status document_errors = 1;
      • addDocumentErrors

        public TrainProcessorVersionMetadata.DatasetValidation.Builder addDocumentErrors​(com.google.rpc.Status.Builder builderForValue)
         Error information pertaining to specific documents. A maximum of 10
         document errors will be returned.
         Any document with errors will not be used throughout training.
         
        repeated .google.rpc.Status document_errors = 1;
      • addDocumentErrors

        public TrainProcessorVersionMetadata.DatasetValidation.Builder addDocumentErrors​(int index,
                                                                                         com.google.rpc.Status.Builder builderForValue)
         Error information pertaining to specific documents. A maximum of 10
         document errors will be returned.
         Any document with errors will not be used throughout training.
         
        repeated .google.rpc.Status document_errors = 1;
      • addAllDocumentErrors

        public TrainProcessorVersionMetadata.DatasetValidation.Builder addAllDocumentErrors​(Iterable<? extends com.google.rpc.Status> values)
         Error information pertaining to specific documents. A maximum of 10
         document errors will be returned.
         Any document with errors will not be used throughout training.
         
        repeated .google.rpc.Status document_errors = 1;
      • clearDocumentErrors

        public TrainProcessorVersionMetadata.DatasetValidation.Builder clearDocumentErrors()
         Error information pertaining to specific documents. A maximum of 10
         document errors will be returned.
         Any document with errors will not be used throughout training.
         
        repeated .google.rpc.Status document_errors = 1;
      • removeDocumentErrors

        public TrainProcessorVersionMetadata.DatasetValidation.Builder removeDocumentErrors​(int index)
         Error information pertaining to specific documents. A maximum of 10
         document errors will be returned.
         Any document with errors will not be used throughout training.
         
        repeated .google.rpc.Status document_errors = 1;
      • getDocumentErrorsBuilder

        public com.google.rpc.Status.Builder getDocumentErrorsBuilder​(int index)
         Error information pertaining to specific documents. A maximum of 10
         document errors will be returned.
         Any document with errors will not be used throughout training.
         
        repeated .google.rpc.Status document_errors = 1;
      • getDocumentErrorsOrBuilder

        public com.google.rpc.StatusOrBuilder getDocumentErrorsOrBuilder​(int index)
         Error information pertaining to specific documents. A maximum of 10
         document errors will be returned.
         Any document with errors will not be used throughout training.
         
        repeated .google.rpc.Status document_errors = 1;
        Specified by:
        getDocumentErrorsOrBuilder in interface TrainProcessorVersionMetadata.DatasetValidationOrBuilder
      • getDocumentErrorsOrBuilderList

        public List<? extends com.google.rpc.StatusOrBuilder> getDocumentErrorsOrBuilderList()
         Error information pertaining to specific documents. A maximum of 10
         document errors will be returned.
         Any document with errors will not be used throughout training.
         
        repeated .google.rpc.Status document_errors = 1;
        Specified by:
        getDocumentErrorsOrBuilderList in interface TrainProcessorVersionMetadata.DatasetValidationOrBuilder
      • addDocumentErrorsBuilder

        public com.google.rpc.Status.Builder addDocumentErrorsBuilder()
         Error information pertaining to specific documents. A maximum of 10
         document errors will be returned.
         Any document with errors will not be used throughout training.
         
        repeated .google.rpc.Status document_errors = 1;
      • addDocumentErrorsBuilder

        public com.google.rpc.Status.Builder addDocumentErrorsBuilder​(int index)
         Error information pertaining to specific documents. A maximum of 10
         document errors will be returned.
         Any document with errors will not be used throughout training.
         
        repeated .google.rpc.Status document_errors = 1;
      • getDocumentErrorsBuilderList

        public List<com.google.rpc.Status.Builder> getDocumentErrorsBuilderList()
         Error information pertaining to specific documents. A maximum of 10
         document errors will be returned.
         Any document with errors will not be used throughout training.
         
        repeated .google.rpc.Status document_errors = 1;
      • getDatasetErrors

        public com.google.rpc.Status getDatasetErrors​(int index)
         Error information for the dataset as a whole. A maximum of 10 dataset
         errors will be returned.
         A single dataset error is terminal for training.
         
        repeated .google.rpc.Status dataset_errors = 2;
        Specified by:
        getDatasetErrors in interface TrainProcessorVersionMetadata.DatasetValidationOrBuilder
      • setDatasetErrors

        public TrainProcessorVersionMetadata.DatasetValidation.Builder setDatasetErrors​(int index,
                                                                                        com.google.rpc.Status value)
         Error information for the dataset as a whole. A maximum of 10 dataset
         errors will be returned.
         A single dataset error is terminal for training.
         
        repeated .google.rpc.Status dataset_errors = 2;
      • setDatasetErrors

        public TrainProcessorVersionMetadata.DatasetValidation.Builder setDatasetErrors​(int index,
                                                                                        com.google.rpc.Status.Builder builderForValue)
         Error information for the dataset as a whole. A maximum of 10 dataset
         errors will be returned.
         A single dataset error is terminal for training.
         
        repeated .google.rpc.Status dataset_errors = 2;
      • addDatasetErrors

        public TrainProcessorVersionMetadata.DatasetValidation.Builder addDatasetErrors​(com.google.rpc.Status value)
         Error information for the dataset as a whole. A maximum of 10 dataset
         errors will be returned.
         A single dataset error is terminal for training.
         
        repeated .google.rpc.Status dataset_errors = 2;
      • addDatasetErrors

        public TrainProcessorVersionMetadata.DatasetValidation.Builder addDatasetErrors​(int index,
                                                                                        com.google.rpc.Status value)
         Error information for the dataset as a whole. A maximum of 10 dataset
         errors will be returned.
         A single dataset error is terminal for training.
         
        repeated .google.rpc.Status dataset_errors = 2;
      • addDatasetErrors

        public TrainProcessorVersionMetadata.DatasetValidation.Builder addDatasetErrors​(com.google.rpc.Status.Builder builderForValue)
         Error information for the dataset as a whole. A maximum of 10 dataset
         errors will be returned.
         A single dataset error is terminal for training.
         
        repeated .google.rpc.Status dataset_errors = 2;
      • addDatasetErrors

        public TrainProcessorVersionMetadata.DatasetValidation.Builder addDatasetErrors​(int index,
                                                                                        com.google.rpc.Status.Builder builderForValue)
         Error information for the dataset as a whole. A maximum of 10 dataset
         errors will be returned.
         A single dataset error is terminal for training.
         
        repeated .google.rpc.Status dataset_errors = 2;
      • addAllDatasetErrors

        public TrainProcessorVersionMetadata.DatasetValidation.Builder addAllDatasetErrors​(Iterable<? extends com.google.rpc.Status> values)
         Error information for the dataset as a whole. A maximum of 10 dataset
         errors will be returned.
         A single dataset error is terminal for training.
         
        repeated .google.rpc.Status dataset_errors = 2;
      • clearDatasetErrors

        public TrainProcessorVersionMetadata.DatasetValidation.Builder clearDatasetErrors()
         Error information for the dataset as a whole. A maximum of 10 dataset
         errors will be returned.
         A single dataset error is terminal for training.
         
        repeated .google.rpc.Status dataset_errors = 2;
      • removeDatasetErrors

        public TrainProcessorVersionMetadata.DatasetValidation.Builder removeDatasetErrors​(int index)
         Error information for the dataset as a whole. A maximum of 10 dataset
         errors will be returned.
         A single dataset error is terminal for training.
         
        repeated .google.rpc.Status dataset_errors = 2;
      • getDatasetErrorsBuilder

        public com.google.rpc.Status.Builder getDatasetErrorsBuilder​(int index)
         Error information for the dataset as a whole. A maximum of 10 dataset
         errors will be returned.
         A single dataset error is terminal for training.
         
        repeated .google.rpc.Status dataset_errors = 2;
      • getDatasetErrorsOrBuilder

        public com.google.rpc.StatusOrBuilder getDatasetErrorsOrBuilder​(int index)
         Error information for the dataset as a whole. A maximum of 10 dataset
         errors will be returned.
         A single dataset error is terminal for training.
         
        repeated .google.rpc.Status dataset_errors = 2;
        Specified by:
        getDatasetErrorsOrBuilder in interface TrainProcessorVersionMetadata.DatasetValidationOrBuilder
      • addDatasetErrorsBuilder

        public com.google.rpc.Status.Builder addDatasetErrorsBuilder()
         Error information for the dataset as a whole. A maximum of 10 dataset
         errors will be returned.
         A single dataset error is terminal for training.
         
        repeated .google.rpc.Status dataset_errors = 2;
      • addDatasetErrorsBuilder

        public com.google.rpc.Status.Builder addDatasetErrorsBuilder​(int index)
         Error information for the dataset as a whole. A maximum of 10 dataset
         errors will be returned.
         A single dataset error is terminal for training.
         
        repeated .google.rpc.Status dataset_errors = 2;
      • getDatasetErrorsBuilderList

        public List<com.google.rpc.Status.Builder> getDatasetErrorsBuilderList()
         Error information for the dataset as a whole. A maximum of 10 dataset
         errors will be returned.
         A single dataset error is terminal for training.
         
        repeated .google.rpc.Status dataset_errors = 2;