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.DestinationCase
getDestinationCase()
boolean
getExportFullContent()
When enabled, export the full content of the document including empirical probability.GcsDestination
getGcsDestination()
Cloud Storage file path to export the document.GcsDestinationOrBuilder
getGcsDestinationOrBuilder()
Cloud Storage file path to export the document.String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.boolean
getSmartMessagingPartialUpdate()
When enabled, export the smart messaging allowlist document for partial update.boolean
hasGcsDestination()
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()
-
-