Interface UpdateDocumentProcessingConfigRequestOrBuilder (0.49.0)

public interface UpdateDocumentProcessingConfigRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDocumentProcessingConfig()

public abstract 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.

getDocumentProcessingConfigOrBuilder()

public abstract 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 abstract 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.

getUpdateMaskOrBuilder()

public abstract 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 abstract 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 abstract 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.