Interface UpdateDocumentRequestOrBuilder (0.49.0)

public interface UpdateDocumentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCloudAiDocumentOption()

public abstract CloudAIDocumentOption getCloudAiDocumentOption()

Request Option for processing Cloud AI Document in Document Warehouse. This field offers limited support for mapping entities from Cloud AI Document to Warehouse Document. Please consult with product team before using this field and other available options.

.google.cloud.contentwarehouse.v1.CloudAIDocumentOption cloud_ai_document_option = 5;

Returns
Type Description
CloudAIDocumentOption

The cloudAiDocumentOption.

getCloudAiDocumentOptionOrBuilder()

public abstract CloudAIDocumentOptionOrBuilder getCloudAiDocumentOptionOrBuilder()

Request Option for processing Cloud AI Document in Document Warehouse. This field offers limited support for mapping entities from Cloud AI Document to Warehouse Document. Please consult with product team before using this field and other available options.

.google.cloud.contentwarehouse.v1.CloudAIDocumentOption cloud_ai_document_option = 5;

Returns
Type Description
CloudAIDocumentOptionOrBuilder

getDocument()

public abstract Document getDocument()

Required. The document to update.

.google.cloud.contentwarehouse.v1.Document document = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Document

The document.

getDocumentOrBuilder()

public abstract DocumentOrBuilder getDocumentOrBuilder()

Required. The document to update.

.google.cloud.contentwarehouse.v1.Document document = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DocumentOrBuilder

getName()

public abstract String getName()

Required. The name of the document to update. Format: projects/{project_number}/locations/{location}/documents/{document_id} or projects/{project_number}/locations/{location}/documents/referenceId/{reference_id}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The name of the document to update. Format: projects/{project_number}/locations/{location}/documents/{document_id} or projects/{project_number}/locations/{location}/documents/referenceId/{reference_id}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getRequestMetadata()

public abstract RequestMetadata getRequestMetadata()

The meta information collected about the end user, used to enforce access control for the service.

.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 3;

Returns
Type Description
RequestMetadata

The requestMetadata.

getRequestMetadataOrBuilder()

public abstract RequestMetadataOrBuilder getRequestMetadataOrBuilder()

The meta information collected about the end user, used to enforce access control for the service.

.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 3;

Returns
Type Description
RequestMetadataOrBuilder

getUpdateOptions()

public abstract UpdateOptions getUpdateOptions()

Options for the update operation.

.google.cloud.contentwarehouse.v1.UpdateOptions update_options = 6;

Returns
Type Description
UpdateOptions

The updateOptions.

getUpdateOptionsOrBuilder()

public abstract UpdateOptionsOrBuilder getUpdateOptionsOrBuilder()

Options for the update operation.

.google.cloud.contentwarehouse.v1.UpdateOptions update_options = 6;

Returns
Type Description
UpdateOptionsOrBuilder

hasCloudAiDocumentOption()

public abstract boolean hasCloudAiDocumentOption()

Request Option for processing Cloud AI Document in Document Warehouse. This field offers limited support for mapping entities from Cloud AI Document to Warehouse Document. Please consult with product team before using this field and other available options.

.google.cloud.contentwarehouse.v1.CloudAIDocumentOption cloud_ai_document_option = 5;

Returns
Type Description
boolean

Whether the cloudAiDocumentOption field is set.

hasDocument()

public abstract boolean hasDocument()

Required. The document to update.

.google.cloud.contentwarehouse.v1.Document document = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the document field is set.

hasRequestMetadata()

public abstract boolean hasRequestMetadata()

The meta information collected about the end user, used to enforce access control for the service.

.google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 3;

Returns
Type Description
boolean

Whether the requestMetadata field is set.

hasUpdateOptions()

public abstract boolean hasUpdateOptions()

Options for the update operation.

.google.cloud.contentwarehouse.v1.UpdateOptions update_options = 6;

Returns
Type Description
boolean

Whether the updateOptions field is set.