Package com.google.cloud.dialogflow.v2
Interface ExportDocumentRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ExportDocumentRequest,ExportDocumentRequest.Builder
public interface ExportDocumentRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExportDocumentRequest.DestinationCasegetDestinationCase()booleangetExportFullContent()When enabled, export the full content of the document including empirical probability.GcsDestinationgetGcsDestination()Cloud Storage file path to export the document.GcsDestinationOrBuildergetGcsDestinationOrBuilder()Cloud Storage file path to export the document.StringgetName()Required.com.google.protobuf.ByteStringgetNameBytes()Required.booleangetSmartMessagingPartialUpdate()When enabled, export the smart messaging allowlist document for partial update.booleanhasGcsDestination()Cloud Storage file path to export the document.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
hasGcsDestination
boolean hasGcsDestination()
Cloud Storage file path to export the document.
.google.cloud.dialogflow.v2.GcsDestination gcs_destination = 2;- Returns:
- Whether the gcsDestination field is set.
-
getGcsDestination
GcsDestination getGcsDestination()
Cloud Storage file path to export the document.
.google.cloud.dialogflow.v2.GcsDestination gcs_destination = 2;- Returns:
- The gcsDestination.
-
getGcsDestinationOrBuilder
GcsDestinationOrBuilder getGcsDestinationOrBuilder()
Cloud Storage file path to export the document.
.google.cloud.dialogflow.v2.GcsDestination gcs_destination = 2;
-
getExportFullContent
boolean getExportFullContent()
When enabled, export the full content of the document including empirical probability.
bool export_full_content = 3;- Returns:
- The exportFullContent.
-
getSmartMessagingPartialUpdate
boolean getSmartMessagingPartialUpdate()
When enabled, export the smart messaging allowlist document for partial update.
bool smart_messaging_partial_update = 5;- Returns:
- The smartMessagingPartialUpdate.
-
getDestinationCase
ExportDocumentRequest.DestinationCase getDestinationCase()
-
-