Interface ExportDocumentRequestOrBuilder (4.42.0)

public interface ExportDocumentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDestinationCase()

public abstract ExportDocumentRequest.DestinationCase getDestinationCase()
Returns
Type Description
ExportDocumentRequest.DestinationCase

getExportFullContent()

public abstract boolean getExportFullContent()

When enabled, export the full content of the document including empirical probability.

bool export_full_content = 3;

Returns
Type Description
boolean

The exportFullContent.

getGcsDestination()

public abstract GcsDestination getGcsDestination()

Cloud Storage file path to export the document.

.google.cloud.dialogflow.v2.GcsDestination gcs_destination = 2;

Returns
Type Description
GcsDestination

The gcsDestination.

getGcsDestinationOrBuilder()

public abstract GcsDestinationOrBuilder getGcsDestinationOrBuilder()

Cloud Storage file path to export the document.

.google.cloud.dialogflow.v2.GcsDestination gcs_destination = 2;

Returns
Type Description
GcsDestinationOrBuilder

getName()

public abstract String getName()

Required. The name of the document to export. 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 export. 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()

When enabled, export the smart messaging allowlist document for partial update.

bool smart_messaging_partial_update = 5;

Returns
Type Description
boolean

The smartMessagingPartialUpdate.

hasGcsDestination()

public abstract boolean hasGcsDestination()

Cloud Storage file path to export the document.

.google.cloud.dialogflow.v2.GcsDestination gcs_destination = 2;

Returns
Type Description
boolean

Whether the gcsDestination field is set.