Send feedback
Class CreateProcessorRequest.Builder (2.1.9)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.1.9 keyboard_arrow_down
public static final class CreateProcessorRequest . Builder extends GeneratedMessageV3 . Builder<CreateProcessorRequest . Builder > implements CreateProcessorRequestOrBuilder
Request message for create a processor. Notice this request is sent to
a regionalized backend service, and if the processor type is not available
on that region, the creation will fail.
Protobuf type google.cloud.documentai.v1beta3.CreateProcessorRequest
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateProcessorRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public CreateProcessorRequest build ()
Returns
buildPartial()
public CreateProcessorRequest buildPartial ()
Returns
clear()
public CreateProcessorRequest . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateProcessorRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateProcessorRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearParent()
public CreateProcessorRequest . Builder clearParent ()
Required. The parent (project and location) under which to create the processor.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clearProcessor()
public CreateProcessorRequest . Builder clearProcessor ()
Required. The processor to be created, requires [processor_type] and [display_name]
to be set. Also, the processor is under CMEK if CMEK fields are set.
.google.cloud.documentai.v1beta3.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public CreateProcessorRequest . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public CreateProcessorRequest getDefaultInstanceForType ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getParent()
public String getParent ()
Required. The parent (project and location) under which to create the processor.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type Description String The parent.
getParentBytes()
public ByteString getParentBytes ()
Required. The parent (project and location) under which to create the processor.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
getProcessor()
public Processor getProcessor ()
Required. The processor to be created, requires [processor_type] and [display_name]
to be set. Also, the processor is under CMEK if CMEK fields are set.
.google.cloud.documentai.v1beta3.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getProcessorBuilder()
public Processor . Builder getProcessorBuilder ()
Required. The processor to be created, requires [processor_type] and [display_name]
to be set. Also, the processor is under CMEK if CMEK fields are set.
.google.cloud.documentai.v1beta3.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getProcessorOrBuilder()
public ProcessorOrBuilder getProcessorOrBuilder ()
Required. The processor to be created, requires [processor_type] and [display_name]
to be set. Also, the processor is under CMEK if CMEK fields are set.
.google.cloud.documentai.v1beta3.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
hasProcessor()
public boolean hasProcessor ()
Required. The processor to be created, requires [processor_type] and [display_name]
to be set. Also, the processor is under CMEK if CMEK fields are set.
.google.cloud.documentai.v1beta3.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type Description boolean Whether the processor field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(CreateProcessorRequest other)
public CreateProcessorRequest . Builder mergeFrom ( CreateProcessorRequest other )
Parameter
Returns
public CreateProcessorRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateProcessorRequest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeProcessor(Processor value)
public CreateProcessorRequest . Builder mergeProcessor ( Processor value )
Required. The processor to be created, requires [processor_type] and [display_name]
to be set. Also, the processor is under CMEK if CMEK fields are set.
.google.cloud.documentai.v1beta3.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateProcessorRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateProcessorRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setParent(String value)
public CreateProcessorRequest . Builder setParent ( String value )
Required. The parent (project and location) under which to create the processor.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name Description value String
The parent to set.
Returns
setParentBytes(ByteString value)
public CreateProcessorRequest . Builder setParentBytes ( ByteString value )
Required. The parent (project and location) under which to create the processor.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name Description value ByteString
The bytes for parent to set.
Returns
setProcessor(Processor value)
public CreateProcessorRequest . Builder setProcessor ( Processor value )
Required. The processor to be created, requires [processor_type] and [display_name]
to be set. Also, the processor is under CMEK if CMEK fields are set.
.google.cloud.documentai.v1beta3.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setProcessor(Processor.Builder builderForValue)
public CreateProcessorRequest . Builder setProcessor ( Processor . Builder builderForValue )
Required. The processor to be created, requires [processor_type] and [display_name]
to be set. Also, the processor is under CMEK if CMEK fields are set.
.google.cloud.documentai.v1beta3.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateProcessorRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateProcessorRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
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 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]