Class UpdateDocumentProcessingConfigRequest.Builder (0.81.0)

public static final class UpdateDocumentProcessingConfigRequest.Builder extends GeneratedMessage.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

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

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

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 GeneratedMessage.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

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

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