Class BatchDatasetDocuments.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BatchDatasetDocuments.Builder>
com.google.cloud.documentai.v1beta3.BatchDatasetDocuments.Builder
All Implemented Interfaces:
BatchDatasetDocumentsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
BatchDatasetDocuments

public static final class BatchDatasetDocuments.Builder extends com.google.protobuf.GeneratedMessage.Builder<BatchDatasetDocuments.Builder> implements BatchDatasetDocumentsOrBuilder
 Dataset documents that the batch operation will be applied to.
 
Protobuf type google.cloud.documentai.v1beta3.BatchDatasetDocuments
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<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.GeneratedMessage.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.GeneratedMessage.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
    • mergeFrom

      public BatchDatasetDocuments.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchDatasetDocuments.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.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
    • getCriteriaCase

      public BatchDatasetDocuments.CriteriaCase getCriteriaCase()
      Specified by:
      getCriteriaCase in interface BatchDatasetDocumentsOrBuilder
    • clearCriteria

      public BatchDatasetDocuments.Builder clearCriteria()
    • 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.
    • getIndividualDocumentIds

      public BatchDatasetDocuments.IndividualDocumentIds getIndividualDocumentIds()
       Document identifiers.
       
      .google.cloud.documentai.v1beta3.BatchDatasetDocuments.IndividualDocumentIds individual_document_ids = 1;
      Specified by:
      getIndividualDocumentIds in interface BatchDatasetDocumentsOrBuilder
      Returns:
      The individualDocumentIds.
    • setIndividualDocumentIds

       Document identifiers.
       
      .google.cloud.documentai.v1beta3.BatchDatasetDocuments.IndividualDocumentIds individual_document_ids = 1;
    • setIndividualDocumentIds

       Document identifiers.
       
      .google.cloud.documentai.v1beta3.BatchDatasetDocuments.IndividualDocumentIds individual_document_ids = 1;
    • mergeIndividualDocumentIds

       Document identifiers.
       
      .google.cloud.documentai.v1beta3.BatchDatasetDocuments.IndividualDocumentIds individual_document_ids = 1;
    • 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;
    • getIndividualDocumentIdsOrBuilder

      public BatchDatasetDocuments.IndividualDocumentIdsOrBuilder getIndividualDocumentIdsOrBuilder()
       Document identifiers.
       
      .google.cloud.documentai.v1beta3.BatchDatasetDocuments.IndividualDocumentIds individual_document_ids = 1;
      Specified by:
      getIndividualDocumentIdsOrBuilder in interface BatchDatasetDocumentsOrBuilder
    • 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.