Class UpdateDocumentProcessingConfigRequest.Builder (0.36.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateDocumentProcessingConfigRequest build()
Returns
TypeDescription
UpdateDocumentProcessingConfigRequest

buildPartial()

public UpdateDocumentProcessingConfigRequest buildPartial()
Returns
TypeDescription
UpdateDocumentProcessingConfigRequest

clear()

public UpdateDocumentProcessingConfigRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
UpdateDocumentProcessingConfigRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateDocumentProcessingConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateDocumentProcessingConfigRequest.Builder

clone()

public UpdateDocumentProcessingConfigRequest.Builder clone()
Returns
TypeDescription
UpdateDocumentProcessingConfigRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateDocumentProcessingConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateDocumentProcessingConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueDocumentProcessingConfig
Returns
TypeDescription
UpdateDocumentProcessingConfigRequest.Builder

mergeFrom(UpdateDocumentProcessingConfigRequest other)

public UpdateDocumentProcessingConfigRequest.Builder mergeFrom(UpdateDocumentProcessingConfigRequest other)
Parameter
NameDescription
otherUpdateDocumentProcessingConfigRequest
Returns
TypeDescription
UpdateDocumentProcessingConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateDocumentProcessingConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateDocumentProcessingConfigRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateDocumentProcessingConfigRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateDocumentProcessingConfigRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDocumentProcessingConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
valueDocumentProcessingConfig
Returns
TypeDescription
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
NameDescription
builderForValueDocumentProcessingConfig.Builder
Returns
TypeDescription
UpdateDocumentProcessingConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public UpdateDocumentProcessingConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateDocumentProcessingConfigRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDocumentProcessingConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateDocumentProcessingConfigRequest.Builder