Interface ReloadDocumentRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReloadDocumentRequest
,ReloadDocumentRequest.Builder
public interface ReloadDocumentRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GcsSource
getGcsSource()
The path for a Cloud Storage source file for reloading document content.GcsSourceOrBuilder
getGcsSourceOrBuilder()
The path for a Cloud Storage source file for reloading document content.boolean
getImportGcsCustomMetadata()
Whether to import custom metadata from Google Cloud Storage.String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.ReloadDocumentRequest.SourceCase
getSourceCase()
boolean
hasGcsSource()
The path for a Cloud Storage source file for reloading document content.-
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 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()
-
-