Class BatchDatasetDocuments.IndividualDocumentIds.Builder

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

public static final class BatchDatasetDocuments.IndividualDocumentIds.Builder extends com.google.protobuf.GeneratedMessage.Builder<BatchDatasetDocuments.IndividualDocumentIds.Builder> implements BatchDatasetDocuments.IndividualDocumentIdsOrBuilder
 List of individual DocumentIds.
 
Protobuf type google.cloud.documentai.v1beta3.BatchDatasetDocuments.IndividualDocumentIds
  • 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.IndividualDocumentIds.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.IndividualDocumentIds.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.IndividualDocumentIds.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

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

      public List<DocumentId> getDocumentIdsList()
       Required. List of Document IDs indicating where the actual documents are
       stored.
       
      repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDocumentIdsList in interface BatchDatasetDocuments.IndividualDocumentIdsOrBuilder
    • getDocumentIdsCount

      public int getDocumentIdsCount()
       Required. List of Document IDs indicating where the actual documents are
       stored.
       
      repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDocumentIdsCount in interface BatchDatasetDocuments.IndividualDocumentIdsOrBuilder
    • getDocumentIds

      public DocumentId getDocumentIds(int index)
       Required. List of Document IDs indicating where the actual documents are
       stored.
       
      repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDocumentIds in interface BatchDatasetDocuments.IndividualDocumentIdsOrBuilder
    • setDocumentIds

      public BatchDatasetDocuments.IndividualDocumentIds.Builder setDocumentIds(int index, DocumentId value)
       Required. List of Document IDs indicating where the actual documents are
       stored.
       
      repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];
    • setDocumentIds

      public BatchDatasetDocuments.IndividualDocumentIds.Builder setDocumentIds(int index, DocumentId.Builder builderForValue)
       Required. List of Document IDs indicating where the actual documents are
       stored.
       
      repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];
    • addDocumentIds

       Required. List of Document IDs indicating where the actual documents are
       stored.
       
      repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];
    • addDocumentIds

      public BatchDatasetDocuments.IndividualDocumentIds.Builder addDocumentIds(int index, DocumentId value)
       Required. List of Document IDs indicating where the actual documents are
       stored.
       
      repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];
    • addDocumentIds

       Required. List of Document IDs indicating where the actual documents are
       stored.
       
      repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];
    • addDocumentIds

      public BatchDatasetDocuments.IndividualDocumentIds.Builder addDocumentIds(int index, DocumentId.Builder builderForValue)
       Required. List of Document IDs indicating where the actual documents are
       stored.
       
      repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];
    • addAllDocumentIds

      public BatchDatasetDocuments.IndividualDocumentIds.Builder addAllDocumentIds(Iterable<? extends DocumentId> values)
       Required. List of Document IDs indicating where the actual documents are
       stored.
       
      repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearDocumentIds

       Required. List of Document IDs indicating where the actual documents are
       stored.
       
      repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];
    • removeDocumentIds

      public BatchDatasetDocuments.IndividualDocumentIds.Builder removeDocumentIds(int index)
       Required. List of Document IDs indicating where the actual documents are
       stored.
       
      repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];
    • getDocumentIdsBuilder

      public DocumentId.Builder getDocumentIdsBuilder(int index)
       Required. List of Document IDs indicating where the actual documents are
       stored.
       
      repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];
    • getDocumentIdsOrBuilder

      public DocumentIdOrBuilder getDocumentIdsOrBuilder(int index)
       Required. List of Document IDs indicating where the actual documents are
       stored.
       
      repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDocumentIdsOrBuilder in interface BatchDatasetDocuments.IndividualDocumentIdsOrBuilder
    • getDocumentIdsOrBuilderList

      public List<? extends DocumentIdOrBuilder> getDocumentIdsOrBuilderList()
       Required. List of Document IDs indicating where the actual documents are
       stored.
       
      repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDocumentIdsOrBuilderList in interface BatchDatasetDocuments.IndividualDocumentIdsOrBuilder
    • addDocumentIdsBuilder

      public DocumentId.Builder addDocumentIdsBuilder()
       Required. List of Document IDs indicating where the actual documents are
       stored.
       
      repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];
    • addDocumentIdsBuilder

      public DocumentId.Builder addDocumentIdsBuilder(int index)
       Required. List of Document IDs indicating where the actual documents are
       stored.
       
      repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];
    • getDocumentIdsBuilderList

      public List<DocumentId.Builder> getDocumentIdsBuilderList()
       Required. List of Document IDs indicating where the actual documents are
       stored.
       
      repeated .google.cloud.documentai.v1beta3.DocumentId document_ids = 1 [(.google.api.field_behavior) = REQUIRED];