public static final class DocumentInputConfig.Builder extends GeneratedMessageV3.Builder<DocumentInputConfig.Builder> implements DocumentInputConfigOrBuilder
Input configuration of a Document.
Protobuf type google.cloud.automl.v1beta1.DocumentInputConfig
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public DocumentInputConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public DocumentInputConfig build()
Returns
public DocumentInputConfig buildPartial()
Returns
public DocumentInputConfig.Builder clear()
Returns
Overrides
public DocumentInputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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;
Returns
public DocumentInputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public DocumentInputConfig.Builder clone()
Returns
Overrides
public DocumentInputConfig getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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;
Returns
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;
Returns
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public DocumentInputConfig.Builder mergeFrom(DocumentInputConfig other)
Parameter
Returns
public DocumentInputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public DocumentInputConfig.Builder mergeFrom(Message other)
Parameter
Returns
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;
Parameter
Returns
public final DocumentInputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public DocumentInputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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;
Parameter
Returns
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;
Parameter
Returns
public DocumentInputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final DocumentInputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides