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

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

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

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

        public BatchDocumentsInputConfig.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<BatchDocumentsInputConfig.Builder>
      • isInitialized

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

        public BatchDocumentsInputConfig.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<BatchDocumentsInputConfig.Builder>
        Throws:
        IOException
      • hasGcsPrefix

        public boolean hasGcsPrefix()
         The set of documents that match the specified Cloud Storage `gcs_prefix`.
         
        .google.cloud.documentai.v1beta3.GcsPrefix gcs_prefix = 1;
        Specified by:
        hasGcsPrefix in interface BatchDocumentsInputConfigOrBuilder
        Returns:
        Whether the gcsPrefix field is set.
      • getGcsPrefix

        public GcsPrefix getGcsPrefix()
         The set of documents that match the specified Cloud Storage `gcs_prefix`.
         
        .google.cloud.documentai.v1beta3.GcsPrefix gcs_prefix = 1;
        Specified by:
        getGcsPrefix in interface BatchDocumentsInputConfigOrBuilder
        Returns:
        The gcsPrefix.
      • setGcsPrefix

        public BatchDocumentsInputConfig.Builder setGcsPrefix​(GcsPrefix value)
         The set of documents that match the specified Cloud Storage `gcs_prefix`.
         
        .google.cloud.documentai.v1beta3.GcsPrefix gcs_prefix = 1;
      • mergeGcsPrefix

        public BatchDocumentsInputConfig.Builder mergeGcsPrefix​(GcsPrefix value)
         The set of documents that match the specified Cloud Storage `gcs_prefix`.
         
        .google.cloud.documentai.v1beta3.GcsPrefix gcs_prefix = 1;
      • clearGcsPrefix

        public BatchDocumentsInputConfig.Builder clearGcsPrefix()
         The set of documents that match the specified Cloud Storage `gcs_prefix`.
         
        .google.cloud.documentai.v1beta3.GcsPrefix gcs_prefix = 1;
      • getGcsPrefixBuilder

        public GcsPrefix.Builder getGcsPrefixBuilder()
         The set of documents that match the specified Cloud Storage `gcs_prefix`.
         
        .google.cloud.documentai.v1beta3.GcsPrefix gcs_prefix = 1;
      • hasGcsDocuments

        public boolean hasGcsDocuments()
         The set of documents individually specified on Cloud Storage.
         
        .google.cloud.documentai.v1beta3.GcsDocuments gcs_documents = 2;
        Specified by:
        hasGcsDocuments in interface BatchDocumentsInputConfigOrBuilder
        Returns:
        Whether the gcsDocuments field is set.
      • setGcsDocuments

        public BatchDocumentsInputConfig.Builder setGcsDocuments​(GcsDocuments value)
         The set of documents individually specified on Cloud Storage.
         
        .google.cloud.documentai.v1beta3.GcsDocuments gcs_documents = 2;
      • mergeGcsDocuments

        public BatchDocumentsInputConfig.Builder mergeGcsDocuments​(GcsDocuments value)
         The set of documents individually specified on Cloud Storage.
         
        .google.cloud.documentai.v1beta3.GcsDocuments gcs_documents = 2;
      • clearGcsDocuments

        public BatchDocumentsInputConfig.Builder clearGcsDocuments()
         The set of documents individually specified on Cloud Storage.
         
        .google.cloud.documentai.v1beta3.GcsDocuments gcs_documents = 2;
      • getGcsDocumentsBuilder

        public GcsDocuments.Builder getGcsDocumentsBuilder()
         The set of documents individually specified on Cloud Storage.
         
        .google.cloud.documentai.v1beta3.GcsDocuments gcs_documents = 2;
      • setUnknownFields

        public final BatchDocumentsInputConfig.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<BatchDocumentsInputConfig.Builder>
      • mergeUnknownFields

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