Interface UpdateDocumentRequestOrBuilder (0.35.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
TypeDescription
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
TypeDescription
CloudAIDocumentOptionOrBuilder

getDocument()

public abstract Document getDocument()

Required. The document to update.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
RequestMetadataOrBuilder

getUpdateOptions()

public abstract UpdateOptions getUpdateOptions()

Options for the update operation.

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

Returns
TypeDescription
UpdateOptions

The updateOptions.

getUpdateOptionsOrBuilder()

public abstract UpdateOptionsOrBuilder getUpdateOptionsOrBuilder()

Options for the update operation.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateOptions field is set.