Class ExportDocumentRequest.Builder (4.4.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 4.4.0keyboard_arrow_down
public static final class ExportDocumentRequest . Builder extends GeneratedMessageV3 . Builder<ExportDocumentRequest . Builder > implements ExportDocumentRequestOrBuilder
Request message for Documents.ExportDocument .
Protobuf type google.cloud.dialogflow.v2.ExportDocumentRequest
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExportDocumentRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public ExportDocumentRequest build ()
Returns
buildPartial()
public ExportDocumentRequest buildPartial ()
Returns
clear()
public ExportDocumentRequest . Builder clear ()
Returns
Overrides
clearDestination()
public ExportDocumentRequest . Builder clearDestination ()
Returns
clearExportFullContent()
public ExportDocumentRequest . Builder clearExportFullContent ()
When enabled, export the full content of the document including empirical
probability.
bool export_full_content = 3;
Returns
clearField(Descriptors.FieldDescriptor field)
public ExportDocumentRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearGcsDestination()
public ExportDocumentRequest . Builder clearGcsDestination ()
Cloud Storage file path to export the document.
.google.cloud.dialogflow.v2.GcsDestination gcs_destination = 2;
Returns
clearName()
public ExportDocumentRequest . Builder clearName ()
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ExportDocumentRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearSmartMessagingPartialUpdate()
public ExportDocumentRequest . Builder clearSmartMessagingPartialUpdate ()
When enabled, export the smart messaging allowlist document for partial
update.
bool smart_messaging_partial_update = 5;
Returns
clone()
public ExportDocumentRequest . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public ExportDocumentRequest getDefaultInstanceForType ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getDestinationCase()
public ExportDocumentRequest . DestinationCase getDestinationCase ()
Returns
getExportFullContent()
public 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 GcsDestination getGcsDestination ()
Cloud Storage file path to export the document.
.google.cloud.dialogflow.v2.GcsDestination gcs_destination = 2;
Returns
getGcsDestinationBuilder()
public GcsDestination . Builder getGcsDestinationBuilder ()
Cloud Storage file path to export the document.
.google.cloud.dialogflow.v2.GcsDestination gcs_destination = 2;
Returns
getGcsDestinationOrBuilder()
public GcsDestinationOrBuilder getGcsDestinationOrBuilder ()
Cloud Storage file path to export the document.
.google.cloud.dialogflow.v2.GcsDestination gcs_destination = 2;
Returns
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 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
getSmartMessagingPartialUpdate()
public 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 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.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(ExportDocumentRequest other)
public ExportDocumentRequest . Builder mergeFrom ( ExportDocumentRequest other )
Parameter
Returns
public ExportDocumentRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ExportDocumentRequest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeGcsDestination(GcsDestination value)
public ExportDocumentRequest . Builder mergeGcsDestination ( GcsDestination value )
Cloud Storage file path to export the document.
.google.cloud.dialogflow.v2.GcsDestination gcs_destination = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExportDocumentRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setExportFullContent(boolean value)
public ExportDocumentRequest . Builder setExportFullContent ( boolean value )
When enabled, export the full content of the document including empirical
probability.
bool export_full_content = 3;
Parameter
Name
Description
value
boolean
The exportFullContent to set.
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ExportDocumentRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setGcsDestination(GcsDestination value)
public ExportDocumentRequest . Builder setGcsDestination ( GcsDestination value )
Cloud Storage file path to export the document.
.google.cloud.dialogflow.v2.GcsDestination gcs_destination = 2;
Parameter
Returns
setGcsDestination(GcsDestination.Builder builderForValue)
public ExportDocumentRequest . Builder setGcsDestination ( GcsDestination . Builder builderForValue )
Cloud Storage file path to export the document.
.google.cloud.dialogflow.v2.GcsDestination gcs_destination = 2;
Parameter
Returns
setName(String value)
public ExportDocumentRequest . Builder setName ( String value )
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) = { ... }
Parameter
Name
Description
value
String
The name to set.
Returns
setNameBytes(ByteString value)
public ExportDocumentRequest . Builder setNameBytes ( ByteString value )
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) = { ... }
Parameter
Name
Description
value
ByteString
The bytes for name to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExportDocumentRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setSmartMessagingPartialUpdate(boolean value)
public ExportDocumentRequest . Builder setSmartMessagingPartialUpdate ( boolean value )
When enabled, export the smart messaging allowlist document for partial
update.
bool smart_messaging_partial_update = 5;
Parameter
Name
Description
value
boolean
The smartMessagingPartialUpdate to set.
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ExportDocumentRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-18 UTC."],[],[]]