public static final class ExportDocumentRequest.Builder extends GeneratedMessage.Builder<ExportDocumentRequest.Builder> implements ExportDocumentRequestOrBuilderRequest message for Documents.ExportDocument.
Protobuf type google.cloud.dialogflow.v2.ExportDocumentRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ExportDocumentRequest.BuilderImplements
ExportDocumentRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ExportDocumentRequest build()| Returns | |
|---|---|
| Type | Description |
ExportDocumentRequest |
|
buildPartial()
public ExportDocumentRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ExportDocumentRequest |
|
clear()
public ExportDocumentRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ExportDocumentRequest.Builder |
|
clearDestination()
public ExportDocumentRequest.Builder clearDestination()| Returns | |
|---|---|
| Type | Description |
ExportDocumentRequest.Builder |
|
clearExportFullContent()
public ExportDocumentRequest.Builder clearExportFullContent()When enabled, export the full content of the document including empirical probability.
bool export_full_content = 3;
| Returns | |
|---|---|
| Type | Description |
ExportDocumentRequest.Builder |
This builder for chaining. |
clearGcsDestination()
public ExportDocumentRequest.Builder clearGcsDestination()Cloud Storage file path to export the document.
.google.cloud.dialogflow.v2.GcsDestination gcs_destination = 2;
| Returns | |
|---|---|
| Type | Description |
ExportDocumentRequest.Builder |
|
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 | |
|---|---|
| Type | Description |
ExportDocumentRequest.Builder |
This builder for chaining. |
clearSmartMessagingPartialUpdate()
public ExportDocumentRequest.Builder clearSmartMessagingPartialUpdate()When enabled, export the smart messaging allowlist document for partial update.
bool smart_messaging_partial_update = 5;
| Returns | |
|---|---|
| Type | Description |
ExportDocumentRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ExportDocumentRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ExportDocumentRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDestinationCase()
public ExportDocumentRequest.DestinationCase getDestinationCase()| Returns | |
|---|---|
| Type | Description |
ExportDocumentRequest.DestinationCase |
|
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 | |
|---|---|
| Type | Description |
GcsDestination |
The gcsDestination. |
getGcsDestinationBuilder()
public GcsDestination.Builder getGcsDestinationBuilder()Cloud Storage file path to export the document.
.google.cloud.dialogflow.v2.GcsDestination gcs_destination = 2;
| Returns | |
|---|---|
| Type | Description |
GcsDestination.Builder |
|
getGcsDestinationOrBuilder()
public GcsDestinationOrBuilder getGcsDestinationOrBuilder()Cloud Storage file path to export the document.
.google.cloud.dialogflow.v2.GcsDestination gcs_destination = 2;
| Returns | |
|---|---|
| Type | Description |
GcsDestinationOrBuilder |
|
getName()
public 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 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 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ExportDocumentRequest other)
public ExportDocumentRequest.Builder mergeFrom(ExportDocumentRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ExportDocumentRequest |
| Returns | |
|---|---|
| Type | Description |
ExportDocumentRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExportDocumentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExportDocumentRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ExportDocumentRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ExportDocumentRequest.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
GcsDestination |
| Returns | |
|---|---|
| Type | Description |
ExportDocumentRequest.Builder |
|
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 |
booleanThe exportFullContent to set. |
| Returns | |
|---|---|
| Type | Description |
ExportDocumentRequest.Builder |
This builder for chaining. |
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 | |
|---|---|
| Name | Description |
value |
GcsDestination |
| Returns | |
|---|---|
| Type | Description |
ExportDocumentRequest.Builder |
|
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 | |
|---|---|
| Name | Description |
builderForValue |
GcsDestination.Builder |
| Returns | |
|---|---|
| Type | Description |
ExportDocumentRequest.Builder |
|
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 |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ExportDocumentRequest.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ExportDocumentRequest.Builder |
This builder for chaining. |
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 |
booleanThe smartMessagingPartialUpdate to set. |
| Returns | |
|---|---|
| Type | Description |
ExportDocumentRequest.Builder |
This builder for chaining. |