Interface ReloadDocumentRequestOrBuilder (4.60.0)

public interface ReloadDocumentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGcsSource()

public abstract GcsSource getGcsSource()

The path for a Cloud Storage source file for reloading document content. If not provided, the Document's existing source will be reloaded.

.google.cloud.dialogflow.v2beta1.GcsSource gcs_source = 3;

Returns
Type Description
GcsSource

The gcsSource.

getGcsSourceOrBuilder()

public abstract GcsSourceOrBuilder getGcsSourceOrBuilder()

The path for a Cloud Storage source file for reloading document content. If not provided, the Document's existing source will be reloaded.

.google.cloud.dialogflow.v2beta1.GcsSource gcs_source = 3;

Returns
Type Description
GcsSourceOrBuilder

getImportGcsCustomMetadata()

public abstract boolean getImportGcsCustomMetadata()

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;

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.

getSourceCase()

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

hasGcsSource()

public abstract boolean hasGcsSource()

The path for a Cloud Storage source file for reloading document content. If not provided, the Document's existing source will be reloaded.

.google.cloud.dialogflow.v2beta1.GcsSource gcs_source = 3;

Returns
Type Description
boolean

Whether the gcsSource field is set.