Package com.google.cloud.dialogflow.v2
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 String
getContentUri()
Optional.com.google.protobuf.ByteString
getContentUriBytes()
Optional.boolean
getImportGcsCustomMetadata()
Optional.String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.boolean
getSmartMessagingPartialUpdate()
Optional.ReloadDocumentRequest.SourceCase
getSourceCase()
boolean
hasContentUri()
Optional.-
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.
-
hasContentUri
boolean hasContentUri()
Optional. The path of gcs source file for reloading document content. For now, only gcs uri is supported. For documents stored in Google Cloud Storage, these URIs must have the form `gs://<bucket-name>/<object-name>`.
string content_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the contentUri field is set.
-
getContentUri
String getContentUri()
Optional. The path of gcs source file for reloading document content. For now, only gcs uri is supported. For documents stored in Google Cloud Storage, these URIs must have the form `gs://<bucket-name>/<object-name>`.
string content_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The contentUri.
-
getContentUriBytes
com.google.protobuf.ByteString getContentUriBytes()
Optional. The path of gcs source file for reloading document content. For now, only gcs uri is supported. For documents stored in Google Cloud Storage, these URIs must have the form `gs://<bucket-name>/<object-name>`.
string content_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for contentUri.
-
getImportGcsCustomMetadata
boolean getImportGcsCustomMetadata()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The importGcsCustomMetadata.
-
getSmartMessagingPartialUpdate
boolean getSmartMessagingPartialUpdate()
Optional. When enabled, the reload request is to apply partial update to the smart messaging allowlist.
bool smart_messaging_partial_update = 5 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The smartMessagingPartialUpdate.
-
getSourceCase
ReloadDocumentRequest.SourceCase getSourceCase()
-
-