Class UpdateDocumentProcessingConfigRequest.Builder (0.40.0)

public static final class UpdateDocumentProcessingConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateDocumentProcessingConfigRequest.Builder> implements UpdateDocumentProcessingConfigRequestOrBuilder

Request for DataStoreService.UpdateDocumentProcessingConfig method.

Protobuf type google.cloud.discoveryengine.v1alpha.UpdateDocumentProcessingConfigRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateDocumentProcessingConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateDocumentProcessingConfigRequest.Builder
Overrides

build()

public UpdateDocumentProcessingConfigRequest build()
Returns
Type Description
UpdateDocumentProcessingConfigRequest

buildPartial()

public UpdateDocumentProcessingConfigRequest buildPartial()
Returns
Type Description
UpdateDocumentProcessingConfigRequest

clear()

public UpdateDocumentProcessingConfigRequest.Builder clear()
Returns
Type Description
UpdateDocumentProcessingConfigRequest.Builder
Overrides

clearDocumentProcessingConfig()

public UpdateDocumentProcessingConfigRequest.Builder clearDocumentProcessingConfig()

Required. The DocumentProcessingConfig to update.

If the caller does not have permission to update the DocumentProcessingConfig, then a PERMISSION_DENIED error is returned.

If the DocumentProcessingConfig to update does not exist, a NOT_FOUND error is returned.

.google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig document_processing_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateDocumentProcessingConfigRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateDocumentProcessingConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateDocumentProcessingConfigRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateDocumentProcessingConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateDocumentProcessingConfigRequest.Builder
Overrides

clearUpdateMask()

public UpdateDocumentProcessingConfigRequest.Builder clearUpdateMask()

Indicates which fields in the provided DocumentProcessingConfig to update. The following are the only supported fields:

  • DocumentProcessingConfig.ocr_config

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateDocumentProcessingConfigRequest.Builder

clone()

public UpdateDocumentProcessingConfigRequest.Builder clone()
Returns
Type Description
UpdateDocumentProcessingConfigRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateDocumentProcessingConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateDocumentProcessingConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDocumentProcessingConfig()

public DocumentProcessingConfig getDocumentProcessingConfig()

Required. The DocumentProcessingConfig to update.

If the caller does not have permission to update the DocumentProcessingConfig, then a PERMISSION_DENIED error is returned.

If the DocumentProcessingConfig to update does not exist, a NOT_FOUND error is returned.

.google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig document_processing_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DocumentProcessingConfig

The documentProcessingConfig.

getDocumentProcessingConfigBuilder()

public DocumentProcessingConfig.Builder getDocumentProcessingConfigBuilder()

Required. The DocumentProcessingConfig to update.

If the caller does not have permission to update the DocumentProcessingConfig, then a PERMISSION_DENIED error is returned.

If the DocumentProcessingConfig to update does not exist, a NOT_FOUND error is returned.

.google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig document_processing_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DocumentProcessingConfig.Builder

getDocumentProcessingConfigOrBuilder()

public DocumentProcessingConfigOrBuilder getDocumentProcessingConfigOrBuilder()

Required. The DocumentProcessingConfig to update.

If the caller does not have permission to update the DocumentProcessingConfig, then a PERMISSION_DENIED error is returned.

If the DocumentProcessingConfig to update does not exist, a NOT_FOUND error is returned.

.google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig document_processing_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DocumentProcessingConfigOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Indicates which fields in the provided DocumentProcessingConfig to update. The following are the only supported fields:

  • DocumentProcessingConfig.ocr_config

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Indicates which fields in the provided DocumentProcessingConfig to update. The following are the only supported fields:

  • DocumentProcessingConfig.ocr_config

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Indicates which fields in the provided DocumentProcessingConfig to update. The following are the only supported fields:

  • DocumentProcessingConfig.ocr_config

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasDocumentProcessingConfig()

public boolean hasDocumentProcessingConfig()

Required. The DocumentProcessingConfig to update.

If the caller does not have permission to update the DocumentProcessingConfig, then a PERMISSION_DENIED error is returned.

If the DocumentProcessingConfig to update does not exist, a NOT_FOUND error is returned.

.google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig document_processing_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the documentProcessingConfig field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Indicates which fields in the provided DocumentProcessingConfig to update. The following are the only supported fields:

  • DocumentProcessingConfig.ocr_config

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDocumentProcessingConfig(DocumentProcessingConfig value)

public UpdateDocumentProcessingConfigRequest.Builder mergeDocumentProcessingConfig(DocumentProcessingConfig value)

Required. The DocumentProcessingConfig to update.

If the caller does not have permission to update the DocumentProcessingConfig, then a PERMISSION_DENIED error is returned.

If the DocumentProcessingConfig to update does not exist, a NOT_FOUND error is returned.

.google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig document_processing_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DocumentProcessingConfig
Returns
Type Description
UpdateDocumentProcessingConfigRequest.Builder

mergeFrom(UpdateDocumentProcessingConfigRequest other)

public UpdateDocumentProcessingConfigRequest.Builder mergeFrom(UpdateDocumentProcessingConfigRequest other)
Parameter
Name Description
other UpdateDocumentProcessingConfigRequest
Returns
Type Description
UpdateDocumentProcessingConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateDocumentProcessingConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateDocumentProcessingConfigRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateDocumentProcessingConfigRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateDocumentProcessingConfigRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDocumentProcessingConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateDocumentProcessingConfigRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateDocumentProcessingConfigRequest.Builder mergeUpdateMask(FieldMask value)

Indicates which fields in the provided DocumentProcessingConfig to update. The following are the only supported fields:

  • DocumentProcessingConfig.ocr_config

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateDocumentProcessingConfigRequest.Builder

setDocumentProcessingConfig(DocumentProcessingConfig value)

public UpdateDocumentProcessingConfigRequest.Builder setDocumentProcessingConfig(DocumentProcessingConfig value)

Required. The DocumentProcessingConfig to update.

If the caller does not have permission to update the DocumentProcessingConfig, then a PERMISSION_DENIED error is returned.

If the DocumentProcessingConfig to update does not exist, a NOT_FOUND error is returned.

.google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig document_processing_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DocumentProcessingConfig
Returns
Type Description
UpdateDocumentProcessingConfigRequest.Builder

setDocumentProcessingConfig(DocumentProcessingConfig.Builder builderForValue)

public UpdateDocumentProcessingConfigRequest.Builder setDocumentProcessingConfig(DocumentProcessingConfig.Builder builderForValue)

Required. The DocumentProcessingConfig to update.

If the caller does not have permission to update the DocumentProcessingConfig, then a PERMISSION_DENIED error is returned.

If the DocumentProcessingConfig to update does not exist, a NOT_FOUND error is returned.

.google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig document_processing_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue DocumentProcessingConfig.Builder
Returns
Type Description
UpdateDocumentProcessingConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateDocumentProcessingConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateDocumentProcessingConfigRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateDocumentProcessingConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateDocumentProcessingConfigRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDocumentProcessingConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateDocumentProcessingConfigRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateDocumentProcessingConfigRequest.Builder setUpdateMask(FieldMask value)

Indicates which fields in the provided DocumentProcessingConfig to update. The following are the only supported fields:

  • DocumentProcessingConfig.ocr_config

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateDocumentProcessingConfigRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateDocumentProcessingConfigRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Indicates which fields in the provided DocumentProcessingConfig to update. The following are the only supported fields:

  • DocumentProcessingConfig.ocr_config

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateDocumentProcessingConfigRequest.Builder