Class Dataset.DocumentWarehouseConfig.Builder

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

public static final class Dataset.DocumentWarehouseConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<Dataset.DocumentWarehouseConfig.Builder> implements Dataset.DocumentWarehouseConfigOrBuilder
 Configuration specific to the Document AI Warehouse-based implementation.
 
Protobuf type google.cloud.documentai.v1beta3.Dataset.DocumentWarehouseConfig
  • 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<Dataset.DocumentWarehouseConfig.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<Dataset.DocumentWarehouseConfig.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<Dataset.DocumentWarehouseConfig.Builder>
    • getDefaultInstanceForType

      public Dataset.DocumentWarehouseConfig 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

      public Dataset.DocumentWarehouseConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public Dataset.DocumentWarehouseConfig.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<Dataset.DocumentWarehouseConfig.Builder>
      Throws:
      IOException
    • getCollection

      public String getCollection()
       Output only. The collection in Document AI Warehouse associated with the
       dataset.
       
      string collection = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCollection in interface Dataset.DocumentWarehouseConfigOrBuilder
      Returns:
      The collection.
    • getCollectionBytes

      public com.google.protobuf.ByteString getCollectionBytes()
       Output only. The collection in Document AI Warehouse associated with the
       dataset.
       
      string collection = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCollectionBytes in interface Dataset.DocumentWarehouseConfigOrBuilder
      Returns:
      The bytes for collection.
    • setCollection

      public Dataset.DocumentWarehouseConfig.Builder setCollection(String value)
       Output only. The collection in Document AI Warehouse associated with the
       dataset.
       
      string collection = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The collection to set.
      Returns:
      This builder for chaining.
    • clearCollection

      public Dataset.DocumentWarehouseConfig.Builder clearCollection()
       Output only. The collection in Document AI Warehouse associated with the
       dataset.
       
      string collection = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setCollectionBytes

      public Dataset.DocumentWarehouseConfig.Builder setCollectionBytes(com.google.protobuf.ByteString value)
       Output only. The collection in Document AI Warehouse associated with the
       dataset.
       
      string collection = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for collection to set.
      Returns:
      This builder for chaining.
    • getSchema

      public String getSchema()
       Output only. The schema in Document AI Warehouse associated with the
       dataset.
       
      string schema = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getSchema in interface Dataset.DocumentWarehouseConfigOrBuilder
      Returns:
      The schema.
    • getSchemaBytes

      public com.google.protobuf.ByteString getSchemaBytes()
       Output only. The schema in Document AI Warehouse associated with the
       dataset.
       
      string schema = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getSchemaBytes in interface Dataset.DocumentWarehouseConfigOrBuilder
      Returns:
      The bytes for schema.
    • setSchema

       Output only. The schema in Document AI Warehouse associated with the
       dataset.
       
      string schema = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The schema to set.
      Returns:
      This builder for chaining.
    • clearSchema

       Output only. The schema in Document AI Warehouse associated with the
       dataset.
       
      string schema = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setSchemaBytes

      public Dataset.DocumentWarehouseConfig.Builder setSchemaBytes(com.google.protobuf.ByteString value)
       Output only. The schema in Document AI Warehouse associated with the
       dataset.
       
      string schema = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for schema to set.
      Returns:
      This builder for chaining.