public static final class BatchProcessRequest.BatchInputConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.BatchInputConfig.Builder> implements BatchProcessRequest.BatchInputConfigOrBuilder
The message for input config in batch process.Protobuf type
google.cloud.documentai.v1beta3.BatchProcessRequest.BatchInputConfig| Modifier and Type | Method and Description |
|---|---|
BatchProcessRequest.BatchInputConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BatchProcessRequest.BatchInputConfig |
build() |
BatchProcessRequest.BatchInputConfig |
buildPartial() |
BatchProcessRequest.BatchInputConfig.Builder |
clear() |
BatchProcessRequest.BatchInputConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BatchProcessRequest.BatchInputConfig.Builder |
clearGcsSource()
The Cloud Storage location as the source of the document.
|
BatchProcessRequest.BatchInputConfig.Builder |
clearMimeType()
An IANA published [media type (MIME
type)](https://www.iana.org/assignments/media-types/media-types.xhtml) of
the input.
|
BatchProcessRequest.BatchInputConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BatchProcessRequest.BatchInputConfig.Builder |
clone() |
BatchProcessRequest.BatchInputConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getGcsSource()
The Cloud Storage location as the source of the document.
|
com.google.protobuf.ByteString |
getGcsSourceBytes()
The Cloud Storage location as the source of the document.
|
String |
getMimeType()
An IANA published [media type (MIME
type)](https://www.iana.org/assignments/media-types/media-types.xhtml) of
the input.
|
com.google.protobuf.ByteString |
getMimeTypeBytes()
An IANA published [media type (MIME
type)](https://www.iana.org/assignments/media-types/media-types.xhtml) of
the input.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BatchProcessRequest.BatchInputConfig.Builder |
mergeFrom(BatchProcessRequest.BatchInputConfig other) |
BatchProcessRequest.BatchInputConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BatchProcessRequest.BatchInputConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
BatchProcessRequest.BatchInputConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BatchProcessRequest.BatchInputConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BatchProcessRequest.BatchInputConfig.Builder |
setGcsSource(String value)
The Cloud Storage location as the source of the document.
|
BatchProcessRequest.BatchInputConfig.Builder |
setGcsSourceBytes(com.google.protobuf.ByteString value)
The Cloud Storage location as the source of the document.
|
BatchProcessRequest.BatchInputConfig.Builder |
setMimeType(String value)
An IANA published [media type (MIME
type)](https://www.iana.org/assignments/media-types/media-types.xhtml) of
the input.
|
BatchProcessRequest.BatchInputConfig.Builder |
setMimeTypeBytes(com.google.protobuf.ByteString value)
An IANA published [media type (MIME
type)](https://www.iana.org/assignments/media-types/media-types.xhtml) of
the input.
|
BatchProcessRequest.BatchInputConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BatchProcessRequest.BatchInputConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.BatchInputConfig.Builder>public BatchProcessRequest.BatchInputConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.BatchInputConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.BatchInputConfig.Builder>public BatchProcessRequest.BatchInputConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BatchProcessRequest.BatchInputConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BatchProcessRequest.BatchInputConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BatchProcessRequest.BatchInputConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.BatchInputConfig.Builder>public BatchProcessRequest.BatchInputConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.BatchInputConfig.Builder>public BatchProcessRequest.BatchInputConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.BatchInputConfig.Builder>public BatchProcessRequest.BatchInputConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.BatchInputConfig.Builder>public BatchProcessRequest.BatchInputConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.BatchInputConfig.Builder>public BatchProcessRequest.BatchInputConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.BatchInputConfig.Builder>public BatchProcessRequest.BatchInputConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchProcessRequest.BatchInputConfig.Builder>public BatchProcessRequest.BatchInputConfig.Builder mergeFrom(BatchProcessRequest.BatchInputConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.BatchInputConfig.Builder>public BatchProcessRequest.BatchInputConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchProcessRequest.BatchInputConfig.Builder>IOExceptionpublic String getGcsSource()
The Cloud Storage location as the source of the document.
string gcs_source = 1;getGcsSource in interface BatchProcessRequest.BatchInputConfigOrBuilderpublic com.google.protobuf.ByteString getGcsSourceBytes()
The Cloud Storage location as the source of the document.
string gcs_source = 1;getGcsSourceBytes in interface BatchProcessRequest.BatchInputConfigOrBuilderpublic BatchProcessRequest.BatchInputConfig.Builder setGcsSource(String value)
The Cloud Storage location as the source of the document.
string gcs_source = 1;value - The gcsSource to set.public BatchProcessRequest.BatchInputConfig.Builder clearGcsSource()
The Cloud Storage location as the source of the document.
string gcs_source = 1;public BatchProcessRequest.BatchInputConfig.Builder setGcsSourceBytes(com.google.protobuf.ByteString value)
The Cloud Storage location as the source of the document.
string gcs_source = 1;value - The bytes for gcsSource to set.public String getMimeType()
An IANA published [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml) of the input. If the input is a raw document, refer to [supported file types](https://cloud.google.com/document-ai/docs/file-types) for the list of media types. If the input is a [Document][google.cloud.documentai.v1beta3.Document], the type should be `application/json`.
string mime_type = 2;getMimeType in interface BatchProcessRequest.BatchInputConfigOrBuilderpublic com.google.protobuf.ByteString getMimeTypeBytes()
An IANA published [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml) of the input. If the input is a raw document, refer to [supported file types](https://cloud.google.com/document-ai/docs/file-types) for the list of media types. If the input is a [Document][google.cloud.documentai.v1beta3.Document], the type should be `application/json`.
string mime_type = 2;getMimeTypeBytes in interface BatchProcessRequest.BatchInputConfigOrBuilderpublic BatchProcessRequest.BatchInputConfig.Builder setMimeType(String value)
An IANA published [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml) of the input. If the input is a raw document, refer to [supported file types](https://cloud.google.com/document-ai/docs/file-types) for the list of media types. If the input is a [Document][google.cloud.documentai.v1beta3.Document], the type should be `application/json`.
string mime_type = 2;value - The mimeType to set.public BatchProcessRequest.BatchInputConfig.Builder clearMimeType()
An IANA published [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml) of the input. If the input is a raw document, refer to [supported file types](https://cloud.google.com/document-ai/docs/file-types) for the list of media types. If the input is a [Document][google.cloud.documentai.v1beta3.Document], the type should be `application/json`.
string mime_type = 2;public BatchProcessRequest.BatchInputConfig.Builder setMimeTypeBytes(com.google.protobuf.ByteString value)
An IANA published [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml) of the input. If the input is a raw document, refer to [supported file types](https://cloud.google.com/document-ai/docs/file-types) for the list of media types. If the input is a [Document][google.cloud.documentai.v1beta3.Document], the type should be `application/json`.
string mime_type = 2;value - The bytes for mimeType to set.public final BatchProcessRequest.BatchInputConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.BatchInputConfig.Builder>public final BatchProcessRequest.BatchInputConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.BatchInputConfig.Builder>Copyright © 2024 Google LLC. All rights reserved.