Class CreateProcessorRequest.Builder (2.11.0)

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.v1.CreateProcessorRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateProcessorRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateProcessorRequest.Builder
Overrides

build()

public CreateProcessorRequest build()
Returns
TypeDescription
CreateProcessorRequest

buildPartial()

public CreateProcessorRequest buildPartial()
Returns
TypeDescription
CreateProcessorRequest

clear()

public CreateProcessorRequest.Builder clear()
Returns
TypeDescription
CreateProcessorRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateProcessorRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateProcessorRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateProcessorRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CreateProcessorRequest.Builder
Overrides

clearParent()

public CreateProcessorRequest.Builder clearParent()