Interface ReloadDocumentRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReloadDocumentRequest,ReloadDocumentRequest.Builder
@Generated
public interface ReloadDocumentRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe path for a Cloud Storage source file for reloading document content.The path for a Cloud Storage source file for reloading document content.booleanWhether to import custom metadata from Google Cloud Storage.getName()Required.com.google.protobuf.ByteStringRequired.booleanThe path for a Cloud Storage source file for reloading document content.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Required. The name of the document to reload. 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 reload. 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.
-
hasGcsSource
boolean hasGcsSource()The path for a Cloud Storage source file for reloading document content. If not provided, the Document's existing source will be reloaded.
.google.cloud.dialogflow.v2beta1.GcsSource gcs_source = 3;- Returns:
- Whether the gcsSource field is set.
-
getGcsSource
GcsSource getGcsSource()The path for a Cloud Storage source file for reloading document content. If not provided, the Document's existing source will be reloaded.
.google.cloud.dialogflow.v2beta1.GcsSource gcs_source = 3;- Returns:
- The gcsSource.
-
getGcsSourceOrBuilder
GcsSourceOrBuilder getGcsSourceOrBuilder()The path for a Cloud Storage source file for reloading document content. If not provided, the Document's existing source will be reloaded.
.google.cloud.dialogflow.v2beta1.GcsSource gcs_source = 3; -
getImportGcsCustomMetadata
boolean getImportGcsCustomMetadata()Whether to import custom metadata from Google Cloud Storage. Only valid when the document source is Google Cloud Storage URI.
bool import_gcs_custom_metadata = 4;- Returns:
- The importGcsCustomMetadata.
-
getSourceCase
ReloadDocumentRequest.SourceCase getSourceCase()
-