Class BatchDatasetDocuments.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<BatchDatasetDocuments.Builder>
      • clear

        public BatchDatasetDocuments.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDatasetDocuments.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<BatchDatasetDocuments.Builder>
      • getDefaultInstanceForType

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

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

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

        public BatchDatasetDocuments.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDatasetDocuments.Builder>
      • clearField

        public BatchDatasetDocuments.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDatasetDocuments.Builder>
      • clearOneof

        public BatchDatasetDocuments.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDatasetDocuments.Builder>
      • setRepeatedField

        public BatchDatasetDocuments.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              int index,
                                                              Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDatasetDocuments.Builder>
      • addRepeatedField

        public BatchDatasetDocuments.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDatasetDocuments.Builder>
      • isInitialized

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

        public BatchDatasetDocuments.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<BatchDatasetDocuments.Builder>
        Throws:
        IOException
      • hasIndividualDocumentIds

        public boolean hasIndividualDocumentIds()
         Document identifiers.
         
        .google.cloud.documentai.v1beta3.BatchDatasetDocuments.IndividualDocumentIds individual_document_ids = 1;
        Specified by:
        hasIndividualDocumentIds in interface BatchDatasetDocumentsOrBuilder
        Returns:
        Whether the individualDocumentIds field is set.
      • clearIndividualDocumentIds

        public BatchDatasetDocuments.Builder clearIndividualDocumentIds()
         Document identifiers.
         
        .google.cloud.documentai.v1beta3.BatchDatasetDocuments.IndividualDocumentIds individual_document_ids = 1;
      • getIndividualDocumentIdsBuilder

        public BatchDatasetDocuments.IndividualDocumentIds.Builder getIndividualDocumentIdsBuilder()
         Document identifiers.
         
        .google.cloud.documentai.v1beta3.BatchDatasetDocuments.IndividualDocumentIds individual_document_ids = 1;
      • hasFilter

        public boolean hasFilter()
         A filter matching the documents.
         Follows the same format and restriction as
         [google.cloud.documentai.master.ListDocumentsRequest.filter].
         
        string filter = 2;
        Specified by:
        hasFilter in interface BatchDatasetDocumentsOrBuilder
        Returns:
        Whether the filter field is set.
      • getFilter

        public String getFilter()
         A filter matching the documents.
         Follows the same format and restriction as
         [google.cloud.documentai.master.ListDocumentsRequest.filter].
         
        string filter = 2;
        Specified by:
        getFilter in interface BatchDatasetDocumentsOrBuilder
        Returns:
        The filter.
      • getFilterBytes

        public com.google.protobuf.ByteString getFilterBytes()
         A filter matching the documents.
         Follows the same format and restriction as
         [google.cloud.documentai.master.ListDocumentsRequest.filter].
         
        string filter = 2;
        Specified by:
        getFilterBytes in interface BatchDatasetDocumentsOrBuilder
        Returns:
        The bytes for filter.
      • setFilter

        public BatchDatasetDocuments.Builder setFilter​(String value)
         A filter matching the documents.
         Follows the same format and restriction as
         [google.cloud.documentai.master.ListDocumentsRequest.filter].
         
        string filter = 2;
        Parameters:
        value - The filter to set.
        Returns:
        This builder for chaining.
      • clearFilter

        public BatchDatasetDocuments.Builder clearFilter()
         A filter matching the documents.
         Follows the same format and restriction as
         [google.cloud.documentai.master.ListDocumentsRequest.filter].
         
        string filter = 2;
        Returns:
        This builder for chaining.
      • setFilterBytes

        public BatchDatasetDocuments.Builder setFilterBytes​(com.google.protobuf.ByteString value)
         A filter matching the documents.
         Follows the same format and restriction as
         [google.cloud.documentai.master.ListDocumentsRequest.filter].
         
        string filter = 2;
        Parameters:
        value - The bytes for filter to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

        public final BatchDatasetDocuments.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<BatchDatasetDocuments.Builder>