Package com.google.cloud.documentai.v1
Class ProcessRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ProcessRequest.Builder>
com.google.cloud.documentai.v1.ProcessRequest.Builder
- All Implemented Interfaces:
ProcessRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ProcessRequest
public static final class ProcessRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ProcessRequest.Builder>
implements ProcessRequestOrBuilder
Request message for the [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument] method.Protobuf type
google.cloud.documentai.v1.ProcessRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Specifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document] output.A raw document on Google Cloud Storage.Optional.An inline document proto.Required.Inference-time options for the process APIA raw document content (bytes).Whether human review should be skipped for this request.booleancontainsLabels(String key) Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.FieldMaskSpecifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document] output.com.google.protobuf.FieldMask.BuilderSpecifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document] output.com.google.protobuf.FieldMaskOrBuilderSpecifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document] output.A raw document on Google Cloud Storage.A raw document on Google Cloud Storage.A raw document on Google Cloud Storage.booleanOptional.An inline document proto.An inline document proto.An inline document proto.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.Deprecated.getName()Required.com.google.protobuf.ByteStringRequired.Inference-time options for the process APIInference-time options for the process APIInference-time options for the process APIA raw document content (bytes).A raw document content (bytes).A raw document content (bytes).booleanWhether human review should be skipped for this request.booleanSpecifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document] output.booleanA raw document on Google Cloud Storage.booleanAn inline document proto.booleanInference-time options for the process APIbooleanA raw document content (bytes).protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFieldMask(com.google.protobuf.FieldMask value) Specifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document] output.mergeFrom(ProcessRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeGcsDocument(GcsDocument value) A raw document on Google Cloud Storage.mergeInlineDocument(Document value) An inline document proto.Inference-time options for the process APImergeRawDocument(RawDocument value) A raw document content (bytes).putAllLabels(Map<String, String> values) Optional.Optional.removeLabels(String key) Optional.setFieldMask(com.google.protobuf.FieldMask value) Specifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document] output.setFieldMask(com.google.protobuf.FieldMask.Builder builderForValue) Specifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document] output.setGcsDocument(GcsDocument value) A raw document on Google Cloud Storage.setGcsDocument(GcsDocument.Builder builderForValue) A raw document on Google Cloud Storage.setImagelessMode(boolean value) Optional.setInlineDocument(Document value) An inline document proto.setInlineDocument(Document.Builder builderForValue) An inline document proto.Required.setNameBytes(com.google.protobuf.ByteString value) Required.setProcessOptions(ProcessOptions value) Inference-time options for the process APIsetProcessOptions(ProcessOptions.Builder builderForValue) Inference-time options for the process APIsetRawDocument(RawDocument value) A raw document content (bytes).setRawDocument(RawDocument.Builder builderForValue) A raw document content (bytes).setSkipHumanReview(boolean value) Whether human review should be skipped for this request.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ProcessRequest.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ProcessRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ProcessRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ProcessRequest.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.GeneratedMessage.Builder<ProcessRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProcessRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ProcessRequest.Builder>
-
mergeFrom
public ProcessRequest.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<ProcessRequest.Builder>- Throws:
IOException
-
getSourceCase
- Specified by:
getSourceCasein interfaceProcessRequestOrBuilder
-
clearSource
-
hasInlineDocument
public boolean hasInlineDocument()An inline document proto.
.google.cloud.documentai.v1.Document inline_document = 4;- Specified by:
hasInlineDocumentin interfaceProcessRequestOrBuilder- Returns:
- Whether the inlineDocument field is set.
-
getInlineDocument
An inline document proto.
.google.cloud.documentai.v1.Document inline_document = 4;- Specified by:
getInlineDocumentin interfaceProcessRequestOrBuilder- Returns:
- The inlineDocument.
-
setInlineDocument
An inline document proto.
.google.cloud.documentai.v1.Document inline_document = 4; -
setInlineDocument
An inline document proto.
.google.cloud.documentai.v1.Document inline_document = 4; -
mergeInlineDocument
An inline document proto.
.google.cloud.documentai.v1.Document inline_document = 4; -
clearInlineDocument
An inline document proto.
.google.cloud.documentai.v1.Document inline_document = 4; -
getInlineDocumentBuilder
An inline document proto.
.google.cloud.documentai.v1.Document inline_document = 4; -
getInlineDocumentOrBuilder
An inline document proto.
.google.cloud.documentai.v1.Document inline_document = 4;- Specified by:
getInlineDocumentOrBuilderin interfaceProcessRequestOrBuilder
-
hasRawDocument
public boolean hasRawDocument()A raw document content (bytes).
.google.cloud.documentai.v1.RawDocument raw_document = 5;- Specified by:
hasRawDocumentin interfaceProcessRequestOrBuilder- Returns:
- Whether the rawDocument field is set.
-
getRawDocument
A raw document content (bytes).
.google.cloud.documentai.v1.RawDocument raw_document = 5;- Specified by:
getRawDocumentin interfaceProcessRequestOrBuilder- Returns:
- The rawDocument.
-
setRawDocument
A raw document content (bytes).
.google.cloud.documentai.v1.RawDocument raw_document = 5; -
setRawDocument
A raw document content (bytes).
.google.cloud.documentai.v1.RawDocument raw_document = 5; -
mergeRawDocument
A raw document content (bytes).
.google.cloud.documentai.v1.RawDocument raw_document = 5; -
clearRawDocument
A raw document content (bytes).
.google.cloud.documentai.v1.RawDocument raw_document = 5; -
getRawDocumentBuilder
A raw document content (bytes).
.google.cloud.documentai.v1.RawDocument raw_document = 5; -
getRawDocumentOrBuilder
A raw document content (bytes).
.google.cloud.documentai.v1.RawDocument raw_document = 5;- Specified by:
getRawDocumentOrBuilderin interfaceProcessRequestOrBuilder
-
hasGcsDocument
public boolean hasGcsDocument()A raw document on Google Cloud Storage.
.google.cloud.documentai.v1.GcsDocument gcs_document = 8;- Specified by:
hasGcsDocumentin interfaceProcessRequestOrBuilder- Returns:
- Whether the gcsDocument field is set.
-
getGcsDocument
A raw document on Google Cloud Storage.
.google.cloud.documentai.v1.GcsDocument gcs_document = 8;- Specified by:
getGcsDocumentin interfaceProcessRequestOrBuilder- Returns:
- The gcsDocument.
-
setGcsDocument
A raw document on Google Cloud Storage.
.google.cloud.documentai.v1.GcsDocument gcs_document = 8; -
setGcsDocument
A raw document on Google Cloud Storage.
.google.cloud.documentai.v1.GcsDocument gcs_document = 8; -
mergeGcsDocument
A raw document on Google Cloud Storage.
.google.cloud.documentai.v1.GcsDocument gcs_document = 8; -
clearGcsDocument
A raw document on Google Cloud Storage.
.google.cloud.documentai.v1.GcsDocument gcs_document = 8; -
getGcsDocumentBuilder
A raw document on Google Cloud Storage.
.google.cloud.documentai.v1.GcsDocument gcs_document = 8; -
getGcsDocumentOrBuilder
A raw document on Google Cloud Storage.
.google.cloud.documentai.v1.GcsDocument gcs_document = 8;- Specified by:
getGcsDocumentOrBuilderin interfaceProcessRequestOrBuilder
-
getName
Required. The resource name of the [Processor][google.cloud.documentai.v1.Processor] or [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to use for processing. If a [Processor][google.cloud.documentai.v1.Processor] is specified, the server will use its [default version][google.cloud.documentai.v1.Processor.default_processor_version]. Format: `projects/{project}/locations/{location}/processors/{processor}`, or `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getNamein interfaceProcessRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Required. The resource name of the [Processor][google.cloud.documentai.v1.Processor] or [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to use for processing. If a [Processor][google.cloud.documentai.v1.Processor] is specified, the server will use its [default version][google.cloud.documentai.v1.Processor.default_processor_version]. Format: `projects/{project}/locations/{location}/processors/{processor}`, or `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getNameBytesin interfaceProcessRequestOrBuilder- Returns:
- The bytes for name.
-
setName
Required. The resource name of the [Processor][google.cloud.documentai.v1.Processor] or [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to use for processing. If a [Processor][google.cloud.documentai.v1.Processor] is specified, the server will use its [default version][google.cloud.documentai.v1.Processor.default_processor_version]. Format: `projects/{project}/locations/{location}/processors/{processor}`, or `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Required. The resource name of the [Processor][google.cloud.documentai.v1.Processor] or [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to use for processing. If a [Processor][google.cloud.documentai.v1.Processor] is specified, the server will use its [default version][google.cloud.documentai.v1.Processor.default_processor_version]. Format: `projects/{project}/locations/{location}/processors/{processor}`, or `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setNameBytes
Required. The resource name of the [Processor][google.cloud.documentai.v1.Processor] or [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to use for processing. If a [Processor][google.cloud.documentai.v1.Processor] is specified, the server will use its [default version][google.cloud.documentai.v1.Processor.default_processor_version]. Format: `projects/{project}/locations/{location}/processors/{processor}`, or `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getSkipHumanReview
public boolean getSkipHumanReview()Whether human review should be skipped for this request. Default to `false`.
bool skip_human_review = 3;- Specified by:
getSkipHumanReviewin interfaceProcessRequestOrBuilder- Returns:
- The skipHumanReview.
-
setSkipHumanReview
Whether human review should be skipped for this request. Default to `false`.
bool skip_human_review = 3;- Parameters:
value- The skipHumanReview to set.- Returns:
- This builder for chaining.
-
clearSkipHumanReview
Whether human review should be skipped for this request. Default to `false`.
bool skip_human_review = 3;- Returns:
- This builder for chaining.
-
hasFieldMask
public boolean hasFieldMask()Specifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document] output. Only supports top-level document and pages field, so it must be in the form of `{document_field_name}` or `pages.{page_field_name}`..google.protobuf.FieldMask field_mask = 6;- Specified by:
hasFieldMaskin interfaceProcessRequestOrBuilder- Returns:
- Whether the fieldMask field is set.
-
getFieldMask
public com.google.protobuf.FieldMask getFieldMask()Specifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document] output. Only supports top-level document and pages field, so it must be in the form of `{document_field_name}` or `pages.{page_field_name}`..google.protobuf.FieldMask field_mask = 6;- Specified by:
getFieldMaskin interfaceProcessRequestOrBuilder- Returns:
- The fieldMask.
-
setFieldMask
Specifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document] output. Only supports top-level document and pages field, so it must be in the form of `{document_field_name}` or `pages.{page_field_name}`..google.protobuf.FieldMask field_mask = 6; -
setFieldMask
Specifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document] output. Only supports top-level document and pages field, so it must be in the form of `{document_field_name}` or `pages.{page_field_name}`..google.protobuf.FieldMask field_mask = 6; -
mergeFieldMask
Specifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document] output. Only supports top-level document and pages field, so it must be in the form of `{document_field_name}` or `pages.{page_field_name}`..google.protobuf.FieldMask field_mask = 6; -
clearFieldMask
Specifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document] output. Only supports top-level document and pages field, so it must be in the form of `{document_field_name}` or `pages.{page_field_name}`..google.protobuf.FieldMask field_mask = 6; -
getFieldMaskBuilder
public com.google.protobuf.FieldMask.Builder getFieldMaskBuilder()Specifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document] output. Only supports top-level document and pages field, so it must be in the form of `{document_field_name}` or `pages.{page_field_name}`..google.protobuf.FieldMask field_mask = 6; -
getFieldMaskOrBuilder
public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder()Specifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document] output. Only supports top-level document and pages field, so it must be in the form of `{document_field_name}` or `pages.{page_field_name}`..google.protobuf.FieldMask field_mask = 6;- Specified by:
getFieldMaskOrBuilderin interfaceProcessRequestOrBuilder
-
hasProcessOptions
public boolean hasProcessOptions()Inference-time options for the process API
.google.cloud.documentai.v1.ProcessOptions process_options = 7;- Specified by:
hasProcessOptionsin interfaceProcessRequestOrBuilder- Returns:
- Whether the processOptions field is set.
-
getProcessOptions
Inference-time options for the process API
.google.cloud.documentai.v1.ProcessOptions process_options = 7;- Specified by:
getProcessOptionsin interfaceProcessRequestOrBuilder- Returns:
- The processOptions.
-
setProcessOptions
Inference-time options for the process API
.google.cloud.documentai.v1.ProcessOptions process_options = 7; -
setProcessOptions
Inference-time options for the process API
.google.cloud.documentai.v1.ProcessOptions process_options = 7; -
mergeProcessOptions
Inference-time options for the process API
.google.cloud.documentai.v1.ProcessOptions process_options = 7; -
clearProcessOptions
Inference-time options for the process API
.google.cloud.documentai.v1.ProcessOptions process_options = 7; -
getProcessOptionsBuilder
Inference-time options for the process API
.google.cloud.documentai.v1.ProcessOptions process_options = 7; -
getProcessOptionsOrBuilder
Inference-time options for the process API
.google.cloud.documentai.v1.ProcessOptions process_options = 7;- Specified by:
getProcessOptionsOrBuilderin interfaceProcessRequestOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:ProcessRequestOrBuilderOptional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceProcessRequestOrBuilder
-
containsLabels
Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceProcessRequestOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceProcessRequestOrBuilder
-
getLabelsMap
Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceProcessRequestOrBuilder
-
getLabelsOrDefault
Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfaceProcessRequestOrBuilder
-
getLabelsOrThrow
Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceProcessRequestOrBuilder
-
clearLabels
-
removeLabels
Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL]; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL]; -
putAllLabels
Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL]; -
getImagelessMode
public boolean getImagelessMode()Optional. Option to remove images from the document.
bool imageless_mode = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getImagelessModein interfaceProcessRequestOrBuilder- Returns:
- The imagelessMode.
-
setImagelessMode
Optional. Option to remove images from the document.
bool imageless_mode = 11 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The imagelessMode to set.- Returns:
- This builder for chaining.
-
clearImagelessMode
Optional. Option to remove images from the document.
bool imageless_mode = 11 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-