public interface DocumentInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
DocumentInfo.DocumentDescriptorCase |
getDocumentDescriptorCase() |
String |
getId()
Required.
|
com.google.protobuf.ByteString |
getIdBytes()
Required.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
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.
|
boolean |
hasId()
Required.
|
boolean |
hasName()
Required.
|
boolean |
hasQuantity()
Quantity of the Document associated with the user event.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasId()
Required. The Document resource ID.
string id = 1 [(.google.api.field_behavior) = REQUIRED];String getId()
Required. The Document resource ID.
string id = 1 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getIdBytes()
Required. The Document resource ID.
string id = 1 [(.google.api.field_behavior) = REQUIRED];boolean hasName()
Required. The Document resource full name, of the form: projects/<project_id>/locations/<location>/dataStores/<data_store_id>/branches/<branch_id>/documents/<document_id>
string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
String getName()
Required. The Document resource full name, of the form: projects/<project_id>/locations/<location>/dataStores/<data_store_id>/branches/<branch_id>/documents/<document_id>
string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
com.google.protobuf.ByteString getNameBytes()
Required. The Document resource full name, of the form: projects/<project_id>/locations/<location>/dataStores/<data_store_id>/branches/<branch_id>/documents/<document_id>
string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
boolean hasQuantity()
Quantity of the Document associated with the user event. Defaults to 1. For example, this field will be 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 will be 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 © 2022 Google LLC. All rights reserved.