com.google.shopping.merchant.lfp.v1beta.LfpSaleOrBuilder Maven / Gradle / Ivy
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/shopping/merchant/lfp/v1beta/lfpsale.proto
// Protobuf Java Version: 3.25.3
package com.google.shopping.merchant.lfp.v1beta;
public interface LfpSaleOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.shopping.merchant.lfp.v1beta.LfpSale)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* 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];
*
*
* @return The name.
*/
java.lang.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];
*
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* Required. The Merchant Center ID of the merchant to submit the sale for.
*
*
* int64 target_account = 2 [(.google.api.field_behavior) = REQUIRED];
*
* @return The targetAccount.
*/
long getTargetAccount();
/**
*
*
*
* 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];
*
* @return The storeCode.
*/
java.lang.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];
*
* @return The bytes for storeCode.
*/
com.google.protobuf.ByteString getStoreCodeBytes();
/**
*
*
*
* 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];
*
* @return The offerId.
*/
java.lang.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];
*
* @return The bytes for offerId.
*/
com.google.protobuf.ByteString getOfferIdBytes();
/**
*
*
*
* Required. The [CLDR territory
* code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml)
* for the country where the product is sold.
*
*
* string region_code = 5 [(.google.api.field_behavior) = REQUIRED];
*
* @return The regionCode.
*/
java.lang.String getRegionCode();
/**
*
*
*
* Required. The [CLDR territory
* code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml)
* for the country where the product is sold.
*
*
* string region_code = 5 [(.google.api.field_behavior) = REQUIRED];
*
* @return The bytes for regionCode.
*/
com.google.protobuf.ByteString getRegionCodeBytes();
/**
*
*
*
* Required. The two-letter ISO 639-1 language code for the item.
*
*
* string content_language = 6 [(.google.api.field_behavior) = REQUIRED];
*
* @return The contentLanguage.
*/
java.lang.String getContentLanguage();
/**
*
*
*
* Required. The two-letter ISO 639-1 language code for the item.
*
*
* string content_language = 6 [(.google.api.field_behavior) = REQUIRED];
*
* @return The bytes for contentLanguage.
*/
com.google.protobuf.ByteString getContentLanguageBytes();
/**
*
*
*
* Required. The Global Trade Item Number of the sold product.
*
*
* string gtin = 7 [(.google.api.field_behavior) = REQUIRED];
*
* @return The gtin.
*/
java.lang.String getGtin();
/**
*
*
*
* Required. The Global Trade Item Number of the sold product.
*
*
* string gtin = 7 [(.google.api.field_behavior) = REQUIRED];
*
* @return The bytes for gtin.
*/
com.google.protobuf.ByteString getGtinBytes();
/**
*
*
*
* Required. The unit price of the product.
*
*
* .google.shopping.type.Price price = 8 [(.google.api.field_behavior) = REQUIRED];
*
* @return Whether the price field is set.
*/
boolean hasPrice();
/**
*
*
*
* Required. The unit price of the product.
*
*
* .google.shopping.type.Price price = 8 [(.google.api.field_behavior) = REQUIRED];
*
* @return The price.
*/
com.google.shopping.type.Price getPrice();
/**
*
*
*
* Required. The unit price of the product.
*
*
* .google.shopping.type.Price price = 8 [(.google.api.field_behavior) = REQUIRED];
*/
com.google.shopping.type.PriceOrBuilder getPriceOrBuilder();
/**
*
*
*
* Required. The relative change of the available quantity. Negative for items
* returned.
*
*
* int64 quantity = 9 [(.google.api.field_behavior) = REQUIRED];
*
* @return The quantity.
*/
long getQuantity();
/**
*
*
*
* Required. The timestamp for the sale.
*
*
* .google.protobuf.Timestamp sale_time = 10 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return Whether the saleTime field is set.
*/
boolean hasSaleTime();
/**
*
*
*
* Required. The timestamp for the sale.
*
*
* .google.protobuf.Timestamp sale_time = 10 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The saleTime.
*/
com.google.protobuf.Timestamp getSaleTime();
/**
*
*
*
* Required. The timestamp for the sale.
*
*
* .google.protobuf.Timestamp sale_time = 10 [(.google.api.field_behavior) = REQUIRED];
*
*/
com.google.protobuf.TimestampOrBuilder getSaleTimeOrBuilder();
/**
*
*
*
* Output only. System generated globally unique ID for the `LfpSale`.
*
*
*
* optional string uid = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
*
*
* @return Whether the uid field is set.
*/
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) = { ... }
*
*
* @return The uid.
*/
java.lang.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) = { ... }
*
*
* @return The bytes for uid.
*/
com.google.protobuf.ByteString getUidBytes();
/**
*
*
*
* Optional. The [feed
* label](https://developers.google.com/shopping-content/guides/products/feed-labels)
* for the product. If this is not set, it will default to `regionCode`.
*
*
* optional string feed_label = 12 [(.google.api.field_behavior) = OPTIONAL];
*
* @return Whether the feedLabel field is set.
*/
boolean hasFeedLabel();
/**
*
*
*
* Optional. The [feed
* label](https://developers.google.com/shopping-content/guides/products/feed-labels)
* for the product. If this is not set, it will default to `regionCode`.
*
*
* optional string feed_label = 12 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The feedLabel.
*/
java.lang.String getFeedLabel();
/**
*
*
*
* Optional. The [feed
* label](https://developers.google.com/shopping-content/guides/products/feed-labels)
* for the product. If this is not set, it will default to `regionCode`.
*
*
* optional string feed_label = 12 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for feedLabel.
*/
com.google.protobuf.ByteString getFeedLabelBytes();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy