public interface DocumentInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
DocumentInfo.DocumentDescriptorCase |
getDocumentDescriptorCase() |
String |
getId()
The [Document][google.cloud.discoveryengine.v1alpha.Document] resource
ID.
|
com.google.protobuf.ByteString |
getIdBytes()
The [Document][google.cloud.discoveryengine.v1alpha.Document] resource
ID.
|
String |
getName()
The [Document][google.cloud.discoveryengine.v1alpha.Document] resource
full name, of the form:
`projects/{project_id}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/branches/{branch_id}/documents/{document_id}`
string name = 2 [(.google.api.resource_reference) = { ... } |
com.google.protobuf.ByteString |
getNameBytes()
The [Document][google.cloud.discoveryengine.v1alpha.Document] resource
full name, of the form:
`projects/{project_id}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/branches/{branch_id}/documents/{document_id}`
string name = 2 [(.google.api.resource_reference) = { ... } |
String |
getPromotionIds(int index)
The promotion IDs associated with this Document.
|
com.google.protobuf.ByteString |
getPromotionIdsBytes(int index)
The promotion IDs associated with this Document.
|
int |
getPromotionIdsCount()
The promotion IDs associated with this Document.
|
List<String> |
getPromotionIdsList()
The promotion IDs associated with this Document.
|
int |
getQuantity()
Quantity of the Document associated with the user event.
|
String |
getUri()
The [Document][google.cloud.discoveryengine.v1alpha.Document] URI - only
allowed for website data stores.
|
com.google.protobuf.ByteString |
getUriBytes()
The [Document][google.cloud.discoveryengine.v1alpha.Document] URI - only
allowed for website data stores.
|
boolean |
hasId()
The [Document][google.cloud.discoveryengine.v1alpha.Document] resource
ID.
|
boolean |
hasName()
The [Document][google.cloud.discoveryengine.v1alpha.Document] resource
full name, of the form:
`projects/{project_id}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/branches/{branch_id}/documents/{document_id}`
string name = 2 [(.google.api.resource_reference) = { ... } |
boolean |
hasQuantity()
Quantity of the Document associated with the user event.
|
boolean |
hasUri()
The [Document][google.cloud.discoveryengine.v1alpha.Document] URI - only
allowed for website data stores.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasId()
The [Document][google.cloud.discoveryengine.v1alpha.Document] resource ID.
string id = 1;String getId()
The [Document][google.cloud.discoveryengine.v1alpha.Document] resource ID.
string id = 1;com.google.protobuf.ByteString getIdBytes()
The [Document][google.cloud.discoveryengine.v1alpha.Document] resource ID.
string id = 1;boolean hasName()
The [Document][google.cloud.discoveryengine.v1alpha.Document] resource
full name, of the form:
`projects/{project_id}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/branches/{branch_id}/documents/{document_id}`
string name = 2 [(.google.api.resource_reference) = { ... }String getName()
The [Document][google.cloud.discoveryengine.v1alpha.Document] resource
full name, of the form:
`projects/{project_id}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/branches/{branch_id}/documents/{document_id}`
string name = 2 [(.google.api.resource_reference) = { ... }com.google.protobuf.ByteString getNameBytes()
The [Document][google.cloud.discoveryengine.v1alpha.Document] resource
full name, of the form:
`projects/{project_id}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/branches/{branch_id}/documents/{document_id}`
string name = 2 [(.google.api.resource_reference) = { ... }boolean hasUri()
The [Document][google.cloud.discoveryengine.v1alpha.Document] URI - only allowed for website data stores.
string uri = 6;String getUri()
The [Document][google.cloud.discoveryengine.v1alpha.Document] URI - only allowed for website data stores.
string uri = 6;com.google.protobuf.ByteString getUriBytes()
The [Document][google.cloud.discoveryengine.v1alpha.Document] URI - only allowed for website data stores.
string uri = 6;boolean hasQuantity()
Quantity of the Document associated with the user event. Defaults to 1. For example, this field is 2 if two quantities of the same Document are involved in a `add-to-cart` event. Required for events of the following event types: * `add-to-cart` * `purchase`
optional int32 quantity = 3;int getQuantity()
Quantity of the Document associated with the user event. Defaults to 1. For example, this field is 2 if two quantities of the same Document are involved in a `add-to-cart` event. Required for events of the following event types: * `add-to-cart` * `purchase`
optional int32 quantity = 3;List<String> getPromotionIdsList()
The promotion IDs associated with this Document. Currently, this field is restricted to at most one ID.
repeated string promotion_ids = 4;int getPromotionIdsCount()
The promotion IDs associated with this Document. Currently, this field is restricted to at most one ID.
repeated string promotion_ids = 4;String getPromotionIds(int index)
The promotion IDs associated with this Document. Currently, this field is restricted to at most one ID.
repeated string promotion_ids = 4;index - The index of the element to return.com.google.protobuf.ByteString getPromotionIdsBytes(int index)
The promotion IDs associated with this Document. Currently, this field is restricted to at most one ID.
repeated string promotion_ids = 4;index - The index of the value to return.DocumentInfo.DocumentDescriptorCase getDocumentDescriptorCase()
Copyright © 2024 Google LLC. All rights reserved.