Interface ReloadDocumentRequestOrBuilder (4.40.0)

public interface ReloadDocumentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContentUri()

public abstract String getContentUri()

Optional. The path of gcs source file for reloading document content. For now, only gcs uri is supported.

For documents stored in Google Cloud Storage, these URIs must have the form gs://<bucket-name>/<object-name>.

string content_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The contentUri.

getContentUriBytes()

public abstract ByteString getContentUriBytes()

Optional. The path of gcs source file for reloading document content. For now, only gcs uri is supported.

For documents stored in Google Cloud Storage, these URIs must have the form gs://<bucket-name>/<object-name>.

string content_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for contentUri.

getImportGcsCustomMetadata()

public abstract boolean getImportGcsCustomMetadata()

Optional. Whether to import custom metadata from Google Cloud Storage. Only valid when the document source is Google Cloud Storage URI.

bool import_gcs_custom_metadata = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The importGcsCustomMetadata.

getName()

public abstract String getName()

Required. The name of the document to reload. Format: projects/<Project ID>/locations/<Location ID>/knowledgeBases/<Knowledge Base ID>/documents/<Document 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 reload. Format: projects/<Project ID>/locations/<Location ID>/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>

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

Returns
Type Description
ByteString

The bytes for name.

getSmartMessagingPartialUpdate()

public abstract boolean getSmartMessagingPartialUpdate()

Optional. When enabled, the reload request is to apply partial update to the smart messaging allowlist.

bool smart_messaging_partial_update = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The smartMessagingPartialUpdate.

getSourceCase()

public abstract ReloadDocumentRequest.SourceCase getSourceCase()
Returns
Type Description
ReloadDocumentRequest.SourceCase

hasContentUri()

public abstract boolean hasContentUri()

Optional. The path of gcs source file for reloading document content. For now, only gcs uri is supported.

For documents stored in Google Cloud Storage, these URIs must have the form gs://<bucket-name>/<object-name>.

string content_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the contentUri field is set.