Class DocumentInputConfig.Builder (2.91.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class DocumentInputConfig.Builder extends GeneratedMessage.Builder<DocumentInputConfig.Builder> implements DocumentInputConfigOrBuilder
Input configuration of a Document.
Protobuf type google.cloud.automl.v1beta1.DocumentInputConfig
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public DocumentInputConfig build()
public DocumentInputConfig buildPartial()
public DocumentInputConfig.Builder clear()
Overrides
public DocumentInputConfig.Builder clearGcsSource()
The Google Cloud Storage location of the document file. Only a single path
should be given.
Max supported size: 512MB.
Supported extensions: .PDF.
.google.cloud.automl.v1beta1.GcsSource gcs_source = 1;
public DocumentInputConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public GcsSource getGcsSource()
The Google Cloud Storage location of the document file. Only a single path
should be given.
Max supported size: 512MB.
Supported extensions: .PDF.
.google.cloud.automl.v1beta1.GcsSource gcs_source = 1;
| Returns |
| Type |
Description |
GcsSource |
The gcsSource.
|
public GcsSource.Builder getGcsSourceBuilder()
The Google Cloud Storage location of the document file. Only a single path
should be given.
Max supported size: 512MB.
Supported extensions: .PDF.
.google.cloud.automl.v1beta1.GcsSource gcs_source = 1;
public GcsSourceOrBuilder getGcsSourceOrBuilder()
The Google Cloud Storage location of the document file. Only a single path
should be given.
Max supported size: 512MB.
Supported extensions: .PDF.
.google.cloud.automl.v1beta1.GcsSource gcs_source = 1;
public boolean hasGcsSource()
The Google Cloud Storage location of the document file. Only a single path
should be given.
Max supported size: 512MB.
Supported extensions: .PDF.
.google.cloud.automl.v1beta1.GcsSource gcs_source = 1;
| Returns |
| Type |
Description |
boolean |
Whether the gcsSource field is set.
|
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public DocumentInputConfig.Builder mergeFrom(DocumentInputConfig other)
public DocumentInputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public DocumentInputConfig.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
public DocumentInputConfig.Builder mergeGcsSource(GcsSource value)
The Google Cloud Storage location of the document file. Only a single path
should be given.
Max supported size: 512MB.
Supported extensions: .PDF.
.google.cloud.automl.v1beta1.GcsSource gcs_source = 1;
public DocumentInputConfig.Builder setGcsSource(GcsSource value)
The Google Cloud Storage location of the document file. Only a single path
should be given.
Max supported size: 512MB.
Supported extensions: .PDF.
.google.cloud.automl.v1beta1.GcsSource gcs_source = 1;
public DocumentInputConfig.Builder setGcsSource(GcsSource.Builder builderForValue)
The Google Cloud Storage location of the document file. Only a single path
should be given.
Max supported size: 512MB.
Supported extensions: .PDF.
.google.cloud.automl.v1beta1.GcsSource gcs_source = 1;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-04-25 UTC.
[null,null,["Last updated 2026-04-25 UTC."],[],[]]