Class BatchProcessRequest.BatchInputConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.BatchInputConfig.Builder>
-
- com.google.cloud.documentai.v1beta3.BatchProcessRequest.BatchInputConfig.Builder
-
- All Implemented Interfaces:
BatchProcessRequest.BatchInputConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BatchProcessRequest.BatchInputConfig
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 typegoogle.cloud.documentai.v1beta3.BatchProcessRequest.BatchInputConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchProcessRequest.BatchInputConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BatchProcessRequest.BatchInputConfigbuild()BatchProcessRequest.BatchInputConfigbuildPartial()BatchProcessRequest.BatchInputConfig.Builderclear()BatchProcessRequest.BatchInputConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)BatchProcessRequest.BatchInputConfig.BuilderclearGcsSource()The Cloud Storage location as the source of the document.BatchProcessRequest.BatchInputConfig.BuilderclearMimeType()An IANA published [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml) of the input.BatchProcessRequest.BatchInputConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)BatchProcessRequest.BatchInputConfig.Builderclone()BatchProcessRequest.BatchInputConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetGcsSource()The Cloud Storage location as the source of the document.com.google.protobuf.ByteStringgetGcsSourceBytes()The Cloud Storage location as the source of the document.StringgetMimeType()An IANA published [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml) of the input.com.google.protobuf.ByteStringgetMimeTypeBytes()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.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()BatchProcessRequest.BatchInputConfig.BuildermergeFrom(BatchProcessRequest.BatchInputConfig other)BatchProcessRequest.BatchInputConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BatchProcessRequest.BatchInputConfig.BuildermergeFrom(com.google.protobuf.Message other)BatchProcessRequest.BatchInputConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BatchProcessRequest.BatchInputConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BatchProcessRequest.BatchInputConfig.BuildersetGcsSource(String value)The Cloud Storage location as the source of the document.BatchProcessRequest.BatchInputConfig.BuildersetGcsSourceBytes(com.google.protobuf.ByteString value)The Cloud Storage location as the source of the document.BatchProcessRequest.BatchInputConfig.BuildersetMimeType(String value)An IANA published [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml) of the input.BatchProcessRequest.BatchInputConfig.BuildersetMimeTypeBytes(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.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)BatchProcessRequest.BatchInputConfig.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.BatchInputConfig.Builder>
-
clear
public BatchProcessRequest.BatchInputConfig.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.BatchInputConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.BatchInputConfig.Builder>
-
getDefaultInstanceForType
public BatchProcessRequest.BatchInputConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchProcessRequest.BatchInputConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchProcessRequest.BatchInputConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchProcessRequest.BatchInputConfig.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.BatchInputConfig.Builder>
-
setField
public BatchProcessRequest.BatchInputConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.BatchInputConfig.Builder>
-
clearField
public BatchProcessRequest.BatchInputConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.BatchInputConfig.Builder>
-
clearOneof
public BatchProcessRequest.BatchInputConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.BatchInputConfig.Builder>
-
setRepeatedField
public BatchProcessRequest.BatchInputConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.BatchInputConfig.Builder>
-
addRepeatedField
public BatchProcessRequest.BatchInputConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.BatchInputConfig.Builder>
-
mergeFrom
public BatchProcessRequest.BatchInputConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchProcessRequest.BatchInputConfig.Builder>
-
mergeFrom
public BatchProcessRequest.BatchInputConfig.Builder mergeFrom(BatchProcessRequest.BatchInputConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.BatchInputConfig.Builder>
-
mergeFrom
public BatchProcessRequest.BatchInputConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchProcessRequest.BatchInputConfig.Builder>- Throws:
IOException
-
getGcsSource
public String getGcsSource()
The Cloud Storage location as the source of the document.
string gcs_source = 1;- Specified by:
getGcsSourcein interfaceBatchProcessRequest.BatchInputConfigOrBuilder- Returns:
- The gcsSource.
-
getGcsSourceBytes
public com.google.protobuf.ByteString getGcsSourceBytes()
The Cloud Storage location as the source of the document.
string gcs_source = 1;- Specified by:
getGcsSourceBytesin interfaceBatchProcessRequest.BatchInputConfigOrBuilder- Returns:
- The bytes for gcsSource.
-
setGcsSource
public BatchProcessRequest.BatchInputConfig.Builder setGcsSource(String value)
The Cloud Storage location as the source of the document.
string gcs_source = 1;- Parameters:
value- The gcsSource to set.- Returns:
- This builder for chaining.
-
clearGcsSource
public BatchProcessRequest.BatchInputConfig.Builder clearGcsSource()
The Cloud Storage location as the source of the document.
string gcs_source = 1;- Returns:
- This builder for chaining.
-
setGcsSourceBytes
public BatchProcessRequest.BatchInputConfig.Builder setGcsSourceBytes(com.google.protobuf.ByteString value)
The Cloud Storage location as the source of the document.
string gcs_source = 1;- Parameters:
value- The bytes for gcsSource to set.- Returns:
- This builder for chaining.
-
getMimeType
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;- Specified by:
getMimeTypein interfaceBatchProcessRequest.BatchInputConfigOrBuilder- Returns:
- The mimeType.
-
getMimeTypeBytes
public 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;- Specified by:
getMimeTypeBytesin interfaceBatchProcessRequest.BatchInputConfigOrBuilder- Returns:
- The bytes for mimeType.
-
setMimeType
public 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;- Parameters:
value- The mimeType to set.- Returns:
- This builder for chaining.
-
clearMimeType
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;- Returns:
- This builder for chaining.
-
setMimeTypeBytes
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;- Parameters:
value- The bytes for mimeType to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final BatchProcessRequest.BatchInputConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.BatchInputConfig.Builder>
-
mergeUnknownFields
public final BatchProcessRequest.BatchInputConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchProcessRequest.BatchInputConfig.Builder>
-
-