Interface ReloadDocumentRequestOrBuilder (4.7.4)

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getSourceCase()

public abstract ReloadDocumentRequest.SourceCase getSourceCase()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the gcsSource field is set.