Package com.google.cloud.dialogflow.v2
Class ExportDocumentRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExportDocumentRequest.Builder>
com.google.cloud.dialogflow.v2.ExportDocumentRequest.Builder
- All Implemented Interfaces:
ExportDocumentRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ExportDocumentRequest
public static final class ExportDocumentRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ExportDocumentRequest.Builder>
implements ExportDocumentRequestOrBuilder
Request message for [Documents.ExportDocument][google.cloud.dialogflow.v2.Documents.ExportDocument].Protobuf type
google.cloud.dialogflow.v2.ExportDocumentRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()When enabled, export the full content of the document including empirical probability.Cloud Storage file path to export the document.Required.When enabled, export the smart messaging allowlist document for partial update.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanWhen enabled, export the full content of the document including empirical probability.Cloud Storage file path to export the document.Cloud Storage file path to export the document.Cloud Storage file path to export the document.getName()Required.com.google.protobuf.ByteStringRequired.booleanWhen enabled, export the smart messaging allowlist document for partial update.booleanCloud Storage file path to export the document.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ExportDocumentRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Cloud Storage file path to export the document.setExportFullContent(boolean value) When enabled, export the full content of the document including empirical probability.setGcsDestination(GcsDestination value) Cloud Storage file path to export the document.setGcsDestination(GcsDestination.Builder builderForValue) Cloud Storage file path to export the document.Required.setNameBytes(com.google.protobuf.ByteString value) Required.setSmartMessagingPartialUpdate(boolean value) When enabled, export the smart messaging allowlist document for partial update.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ExportDocumentRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ExportDocumentRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ExportDocumentRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExportDocumentRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ExportDocumentRequest.Builder>
-
mergeFrom
public ExportDocumentRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExportDocumentRequest.Builder>- Throws:
IOException
-
getDestinationCase
- Specified by:
getDestinationCasein interfaceExportDocumentRequestOrBuilder
-
clearDestination
-
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) = { ... }- Specified by:
getNamein interfaceExportDocumentRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public 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) = { ... }- Specified by:
getNameBytesin interfaceExportDocumentRequestOrBuilder- Returns:
- The bytes for name.
-
setName
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) = { ... }- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNameBytes
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) = { ... }- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasGcsDestination
public boolean hasGcsDestination()Cloud Storage file path to export the document.
.google.cloud.dialogflow.v2.GcsDestination gcs_destination = 2;- Specified by:
hasGcsDestinationin interfaceExportDocumentRequestOrBuilder- Returns:
- Whether the gcsDestination field is set.
-
getGcsDestination
Cloud Storage file path to export the document.
.google.cloud.dialogflow.v2.GcsDestination gcs_destination = 2;- Specified by:
getGcsDestinationin interfaceExportDocumentRequestOrBuilder- Returns:
- The gcsDestination.
-
setGcsDestination
Cloud Storage file path to export the document.
.google.cloud.dialogflow.v2.GcsDestination gcs_destination = 2; -
setGcsDestination
Cloud Storage file path to export the document.
.google.cloud.dialogflow.v2.GcsDestination gcs_destination = 2; -
mergeGcsDestination
Cloud Storage file path to export the document.
.google.cloud.dialogflow.v2.GcsDestination gcs_destination = 2; -
clearGcsDestination
Cloud Storage file path to export the document.
.google.cloud.dialogflow.v2.GcsDestination gcs_destination = 2; -
getGcsDestinationBuilder
Cloud Storage file path to export the document.
.google.cloud.dialogflow.v2.GcsDestination gcs_destination = 2; -
getGcsDestinationOrBuilder
Cloud Storage file path to export the document.
.google.cloud.dialogflow.v2.GcsDestination gcs_destination = 2;- Specified by:
getGcsDestinationOrBuilderin interfaceExportDocumentRequestOrBuilder
-
getExportFullContent
public boolean getExportFullContent()When enabled, export the full content of the document including empirical probability.
bool export_full_content = 3;- Specified by:
getExportFullContentin interfaceExportDocumentRequestOrBuilder- Returns:
- The exportFullContent.
-
setExportFullContent
When enabled, export the full content of the document including empirical probability.
bool export_full_content = 3;- Parameters:
value- The exportFullContent to set.- Returns:
- This builder for chaining.
-
clearExportFullContent
When enabled, export the full content of the document including empirical probability.
bool export_full_content = 3;- Returns:
- This builder for chaining.
-
getSmartMessagingPartialUpdate
public boolean getSmartMessagingPartialUpdate()When enabled, export the smart messaging allowlist document for partial update.
bool smart_messaging_partial_update = 5;- Specified by:
getSmartMessagingPartialUpdatein interfaceExportDocumentRequestOrBuilder- Returns:
- The smartMessagingPartialUpdate.
-
setSmartMessagingPartialUpdate
When enabled, export the smart messaging allowlist document for partial update.
bool smart_messaging_partial_update = 5;- Parameters:
value- The smartMessagingPartialUpdate to set.- Returns:
- This builder for chaining.
-
clearSmartMessagingPartialUpdate
When enabled, export the smart messaging allowlist document for partial update.
bool smart_messaging_partial_update = 5;- Returns:
- This builder for chaining.
-