public interface LfpSaleOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getContentLanguage()
public abstract String getContentLanguage()
Required. The two-letter ISO 639-1 language code for the item.
string content_language = 6 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The contentLanguage. |
getContentLanguageBytes()
public abstract ByteString getContentLanguageBytes()
Required. The two-letter ISO 639-1 language code for the item.
string content_language = 6 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for contentLanguage. |
getFeedLabel()
public abstract String getFeedLabel()
Optional. The feed
label
for the product. If this is not set, it will default to regionCode
.
optional string feed_label = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The feedLabel. |
getFeedLabelBytes()
public abstract ByteString getFeedLabelBytes()
Optional. The feed
label
for the product. If this is not set, it will default to regionCode
.
optional string feed_label = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for feedLabel. |
getGtin()
public abstract String getGtin()
Required. The Global Trade Item Number of the sold product.
string gtin = 7 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The gtin. |
getGtinBytes()
public abstract ByteString getGtinBytes()
Required. The Global Trade Item Number of the sold product.
string gtin = 7 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for gtin. |
getName()
public abstract String getName()
Output only. Identifier. The name of the LfpSale
resource.
Format:
accounts/{account}/lfpSales/{sale}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Output only. Identifier. The name of the LfpSale
resource.
Format:
accounts/{account}/lfpSales/{sale}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getOfferId()
public abstract String getOfferId()
Required. A unique identifier for the product. If both inventories and sales are submitted for a merchant, this id should match for the same product.
Note: if the merchant sells the same product new and used, they should have different IDs.
string offer_id = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The offerId. |
getOfferIdBytes()
public abstract ByteString getOfferIdBytes()
Required. A unique identifier for the product. If both inventories and sales are submitted for a merchant, this id should match for the same product.
Note: if the merchant sells the same product new and used, they should have different IDs.
string offer_id = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for offerId. |
getPrice()
public abstract Price getPrice()
Required. The unit price of the product.
.google.shopping.type.Price price = 8 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
com.google.shopping.type.Price |
The price. |
getPriceOrBuilder()
public abstract PriceOrBuilder getPriceOrBuilder()
Required. The unit price of the product.
.google.shopping.type.Price price = 8 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
com.google.shopping.type.PriceOrBuilder |
getQuantity()
public abstract long getQuantity()
Required. The relative change of the available quantity. Negative for items returned.
int64 quantity = 9 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
long |
The quantity. |
getRegionCode()
public abstract String getRegionCode()
Required. The CLDR territory code for the country where the product is sold.
string region_code = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The regionCode. |
getRegionCodeBytes()
public abstract ByteString getRegionCodeBytes()
Required. The CLDR territory code for the country where the product is sold.
string region_code = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for regionCode. |
getSaleTime()
public abstract Timestamp getSaleTime()
Required. The timestamp for the sale.
.google.protobuf.Timestamp sale_time = 10 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Timestamp |
The saleTime. |
getSaleTimeOrBuilder()
public abstract TimestampOrBuilder getSaleTimeOrBuilder()
Required. The timestamp for the sale.
.google.protobuf.Timestamp sale_time = 10 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getStoreCode()
public abstract String getStoreCode()
Required. The identifier of the merchant's store. Either a storeCode
inserted through the API or the code of the store in the Business Profile.
string store_code = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The storeCode. |
getStoreCodeBytes()
public abstract ByteString getStoreCodeBytes()
Required. The identifier of the merchant's store. Either a storeCode
inserted through the API or the code of the store in the Business Profile.
string store_code = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for storeCode. |
getTargetAccount()
public abstract long getTargetAccount()
Required. The Merchant Center ID of the merchant to submit the sale for.
int64 target_account = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
long |
The targetAccount. |
getUid()
public abstract String getUid()
Output only. System generated globally unique ID for the LfpSale
.
optional string uid = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
String |
The uid. |
getUidBytes()
public abstract ByteString getUidBytes()
Output only. System generated globally unique ID for the LfpSale
.
optional string uid = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for uid. |
hasFeedLabel()
public abstract boolean hasFeedLabel()
Optional. The feed
label
for the product. If this is not set, it will default to regionCode
.
optional string feed_label = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the feedLabel field is set. |
hasPrice()
public abstract boolean hasPrice()
Required. The unit price of the product.
.google.shopping.type.Price price = 8 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the price field is set. |
hasSaleTime()
public abstract boolean hasSaleTime()
Required. The timestamp for the sale.
.google.protobuf.Timestamp sale_time = 10 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the saleTime field is set. |
hasUid()
public abstract boolean hasUid()
Output only. System generated globally unique ID for the LfpSale
.
optional string uid = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
boolean |
Whether the uid field is set. |