Class BatchDeleteDocumentsRequest.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<BatchDeleteDocumentsRequest.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<BatchDeleteDocumentsRequest.Builder>
      • getDefaultInstanceForType

        public BatchDeleteDocumentsRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public BatchDeleteDocumentsRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public BatchDeleteDocumentsRequest 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<BatchDeleteDocumentsRequest.Builder>
      • mergeFrom

        public BatchDeleteDocumentsRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchDeleteDocumentsRequest.Builder>
        Throws:
        IOException
      • getDataset

        public String getDataset()
         Required. The dataset resource name.
         Format:
         projects/{project}/locations/{location}/processors/{processor}/dataset
         
        string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDataset in interface BatchDeleteDocumentsRequestOrBuilder
        Returns:
        The dataset.
      • getDatasetBytes

        public com.google.protobuf.ByteString getDatasetBytes()
         Required. The dataset resource name.
         Format:
         projects/{project}/locations/{location}/processors/{processor}/dataset
         
        string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDatasetBytes in interface BatchDeleteDocumentsRequestOrBuilder
        Returns:
        The bytes for dataset.
      • setDataset

        public BatchDeleteDocumentsRequest.Builder setDataset​(String value)
         Required. The dataset resource name.
         Format:
         projects/{project}/locations/{location}/processors/{processor}/dataset
         
        string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The dataset to set.
        Returns:
        This builder for chaining.
      • clearDataset

        public BatchDeleteDocumentsRequest.Builder clearDataset()
         Required. The dataset resource name.
         Format:
         projects/{project}/locations/{location}/processors/{processor}/dataset
         
        string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setDatasetBytes

        public BatchDeleteDocumentsRequest.Builder setDatasetBytes​(com.google.protobuf.ByteString value)
         Required. The dataset resource name.
         Format:
         projects/{project}/locations/{location}/processors/{processor}/dataset
         
        string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for dataset to set.
        Returns:
        This builder for chaining.
      • hasDatasetDocuments

        public boolean hasDatasetDocuments()
         Required. Dataset documents input. If given `filter`, all documents
         satisfying the filter will be deleted. If given documentIds, a maximum of
         50 documents can be deleted in a batch. The request will be rejected if
         more than 50 document_ids are provided.
         
        .google.cloud.documentai.v1beta3.BatchDatasetDocuments dataset_documents = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasDatasetDocuments in interface BatchDeleteDocumentsRequestOrBuilder
        Returns:
        Whether the datasetDocuments field is set.
      • getDatasetDocuments

        public BatchDatasetDocuments getDatasetDocuments()
         Required. Dataset documents input. If given `filter`, all documents
         satisfying the filter will be deleted. If given documentIds, a maximum of
         50 documents can be deleted in a batch. The request will be rejected if
         more than 50 document_ids are provided.
         
        .google.cloud.documentai.v1beta3.BatchDatasetDocuments dataset_documents = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDatasetDocuments in interface BatchDeleteDocumentsRequestOrBuilder
        Returns:
        The datasetDocuments.
      • setDatasetDocuments

        public BatchDeleteDocumentsRequest.Builder setDatasetDocuments​(BatchDatasetDocuments value)
         Required. Dataset documents input. If given `filter`, all documents
         satisfying the filter will be deleted. If given documentIds, a maximum of
         50 documents can be deleted in a batch. The request will be rejected if
         more than 50 document_ids are provided.
         
        .google.cloud.documentai.v1beta3.BatchDatasetDocuments dataset_documents = 3 [(.google.api.field_behavior) = REQUIRED];
      • setDatasetDocuments

        public BatchDeleteDocumentsRequest.Builder setDatasetDocuments​(BatchDatasetDocuments.Builder builderForValue)
         Required. Dataset documents input. If given `filter`, all documents
         satisfying the filter will be deleted. If given documentIds, a maximum of
         50 documents can be deleted in a batch. The request will be rejected if
         more than 50 document_ids are provided.
         
        .google.cloud.documentai.v1beta3.BatchDatasetDocuments dataset_documents = 3 [(.google.api.field_behavior) = REQUIRED];
      • mergeDatasetDocuments

        public BatchDeleteDocumentsRequest.Builder mergeDatasetDocuments​(BatchDatasetDocuments value)
         Required. Dataset documents input. If given `filter`, all documents
         satisfying the filter will be deleted. If given documentIds, a maximum of
         50 documents can be deleted in a batch. The request will be rejected if
         more than 50 document_ids are provided.
         
        .google.cloud.documentai.v1beta3.BatchDatasetDocuments dataset_documents = 3 [(.google.api.field_behavior) = REQUIRED];
      • clearDatasetDocuments

        public BatchDeleteDocumentsRequest.Builder clearDatasetDocuments()
         Required. Dataset documents input. If given `filter`, all documents
         satisfying the filter will be deleted. If given documentIds, a maximum of
         50 documents can be deleted in a batch. The request will be rejected if
         more than 50 document_ids are provided.
         
        .google.cloud.documentai.v1beta3.BatchDatasetDocuments dataset_documents = 3 [(.google.api.field_behavior) = REQUIRED];
      • getDatasetDocumentsBuilder

        public BatchDatasetDocuments.Builder getDatasetDocumentsBuilder()
         Required. Dataset documents input. If given `filter`, all documents
         satisfying the filter will be deleted. If given documentIds, a maximum of
         50 documents can be deleted in a batch. The request will be rejected if
         more than 50 document_ids are provided.
         
        .google.cloud.documentai.v1beta3.BatchDatasetDocuments dataset_documents = 3 [(.google.api.field_behavior) = REQUIRED];
      • getDatasetDocumentsOrBuilder

        public BatchDatasetDocumentsOrBuilder getDatasetDocumentsOrBuilder()
         Required. Dataset documents input. If given `filter`, all documents
         satisfying the filter will be deleted. If given documentIds, a maximum of
         50 documents can be deleted in a batch. The request will be rejected if
         more than 50 document_ids are provided.
         
        .google.cloud.documentai.v1beta3.BatchDatasetDocuments dataset_documents = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDatasetDocumentsOrBuilder in interface BatchDeleteDocumentsRequestOrBuilder
      • mergeUnknownFields

        public final BatchDeleteDocumentsRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteDocumentsRequest.Builder>