public interface CreateDocumentRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Document |
getDocument()
Required.
|
String |
getDocumentId()
Required.
|
com.google.protobuf.ByteString |
getDocumentIdBytes()
Required.
|
DocumentOrBuilder |
getDocumentOrBuilder()
Required.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
boolean |
hasDocument()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getParent()
Required. The parent resource name, such as
`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
com.google.protobuf.ByteString getParentBytes()
Required. The parent resource name, such as
`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
boolean hasDocument()
Required. The [Document][google.cloud.discoveryengine.v1beta.Document] to create.
.google.cloud.discoveryengine.v1beta.Document document = 2 [(.google.api.field_behavior) = REQUIRED];
Document getDocument()
Required. The [Document][google.cloud.discoveryengine.v1beta.Document] to create.
.google.cloud.discoveryengine.v1beta.Document document = 2 [(.google.api.field_behavior) = REQUIRED];
DocumentOrBuilder getDocumentOrBuilder()
Required. The [Document][google.cloud.discoveryengine.v1beta.Document] to create.
.google.cloud.discoveryengine.v1beta.Document document = 2 [(.google.api.field_behavior) = REQUIRED];
String getDocumentId()
Required. The ID to use for the [Document][google.cloud.discoveryengine.v1beta.Document], which becomes the final component of the [Document.name][google.cloud.discoveryengine.v1beta.Document.name]. If the caller does not have permission to create the [Document][google.cloud.discoveryengine.v1beta.Document], regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all [Document][google.cloud.discoveryengine.v1beta.Document]s with the same [parent][google.cloud.discoveryengine.v1beta.CreateDocumentRequest.parent]. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
string document_id = 3 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getDocumentIdBytes()
Required. The ID to use for the [Document][google.cloud.discoveryengine.v1beta.Document], which becomes the final component of the [Document.name][google.cloud.discoveryengine.v1beta.Document.name]. If the caller does not have permission to create the [Document][google.cloud.discoveryengine.v1beta.Document], regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all [Document][google.cloud.discoveryengine.v1beta.Document]s with the same [parent][google.cloud.discoveryengine.v1beta.CreateDocumentRequest.parent]. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
string document_id = 3 [(.google.api.field_behavior) = REQUIRED];Copyright © 2025 Google LLC. All rights reserved.