public final class PriceCompetitivenessProductView extends GeneratedMessageV3 implements PriceCompetitivenessProductViewOrBuilder
Fields available for query in price_competitiveness_product_view
table.
Price competitiveness report.
Values are only set for fields requested explicitly in the request's search query.
Protobuf type google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PriceCompetitivenessProductViewImplements
PriceCompetitivenessProductViewOrBuilderStatic Fields
BENCHMARK_PRICE_FIELD_NUMBER
public static final int BENCHMARK_PRICE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
BRAND_FIELD_NUMBER
public static final int BRAND_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CATEGORY_L1_FIELD_NUMBER
public static final int CATEGORY_L1_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CATEGORY_L2_FIELD_NUMBER
public static final int CATEGORY_L2_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CATEGORY_L3_FIELD_NUMBER
public static final int CATEGORY_L3_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CATEGORY_L4_FIELD_NUMBER
public static final int CATEGORY_L4_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CATEGORY_L5_FIELD_NUMBER
public static final int CATEGORY_L5_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
OFFER_ID_FIELD_NUMBER
public static final int OFFER_ID_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PRICE_FIELD_NUMBER
public static final int PRICE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PRODUCT_TYPE_L1_FIELD_NUMBER
public static final int PRODUCT_TYPE_L1_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PRODUCT_TYPE_L2_FIELD_NUMBER
public static final int PRODUCT_TYPE_L2_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PRODUCT_TYPE_L3_FIELD_NUMBER
public static final int PRODUCT_TYPE_L3_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PRODUCT_TYPE_L4_FIELD_NUMBER
public static final int PRODUCT_TYPE_L4_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PRODUCT_TYPE_L5_FIELD_NUMBER
public static final int PRODUCT_TYPE_L5_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
REPORT_COUNTRY_CODE_FIELD_NUMBER
public static final int REPORT_COUNTRY_CODE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
TITLE_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static PriceCompetitivenessProductView getDefaultInstance()
Returns | |
---|---|
Type | Description |
PriceCompetitivenessProductView |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static PriceCompetitivenessProductView.Builder newBuilder()
Returns | |
---|---|
Type | Description |
PriceCompetitivenessProductView.Builder |
newBuilder(PriceCompetitivenessProductView prototype)
public static PriceCompetitivenessProductView.Builder newBuilder(PriceCompetitivenessProductView prototype)
Parameter | |
---|---|
Name | Description |
prototype | PriceCompetitivenessProductView |
Returns | |
---|---|
Type | Description |
PriceCompetitivenessProductView.Builder |
parseDelimitedFrom(InputStream input)
public static PriceCompetitivenessProductView parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
PriceCompetitivenessProductView |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PriceCompetitivenessProductView parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PriceCompetitivenessProductView |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static PriceCompetitivenessProductView parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
PriceCompetitivenessProductView |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PriceCompetitivenessProductView parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PriceCompetitivenessProductView |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static PriceCompetitivenessProductView parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
PriceCompetitivenessProductView |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PriceCompetitivenessProductView parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PriceCompetitivenessProductView |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static PriceCompetitivenessProductView parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
PriceCompetitivenessProductView |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PriceCompetitivenessProductView parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PriceCompetitivenessProductView |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static PriceCompetitivenessProductView parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
PriceCompetitivenessProductView |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PriceCompetitivenessProductView parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PriceCompetitivenessProductView |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static PriceCompetitivenessProductView parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
PriceCompetitivenessProductView |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PriceCompetitivenessProductView parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PriceCompetitivenessProductView |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<PriceCompetitivenessProductView> parser()
Returns | |
---|---|
Type | Description |
Parser<PriceCompetitivenessProductView> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getBenchmarkPrice()
public Price getBenchmarkPrice()
Latest available price benchmark for the product's catalog in the benchmark country.
.google.shopping.type.Price benchmark_price = 17;
Returns | |
---|---|
Type | Description |
com.google.shopping.type.Price | The benchmarkPrice. |
getBenchmarkPriceOrBuilder()
public PriceOrBuilder getBenchmarkPriceOrBuilder()
Latest available price benchmark for the product's catalog in the benchmark country.
.google.shopping.type.Price benchmark_price = 17;
Returns | |
---|---|
Type | Description |
com.google.shopping.type.PriceOrBuilder |
getBrand()
public String getBrand()
Brand of the product.
optional string brand = 5;
Returns | |
---|---|
Type | Description |
String | The brand. |
getBrandBytes()
public ByteString getBrandBytes()
Brand of the product.
optional string brand = 5;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for brand. |
getCategoryL1()
public String getCategoryL1()
Product category (1st level) in Google's product taxonomy.
optional string category_l1 = 6;
Returns | |
---|---|
Type | Description |
String | The categoryL1. |
getCategoryL1Bytes()
public ByteString getCategoryL1Bytes()
Product category (1st level) in Google's product taxonomy.
optional string category_l1 = 6;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for categoryL1. |
getCategoryL2()
public String getCategoryL2()
Product category (2nd level) in Google's product taxonomy.
optional string category_l2 = 7;
Returns | |
---|---|
Type | Description |
String | The categoryL2. |
getCategoryL2Bytes()
public ByteString getCategoryL2Bytes()
Product category (2nd level) in Google's product taxonomy.
optional string category_l2 = 7;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for categoryL2. |
getCategoryL3()
public String getCategoryL3()
Product category (3rd level) in Google's product taxonomy.
optional string category_l3 = 8;
Returns | |
---|---|
Type | Description |
String | The categoryL3. |
getCategoryL3Bytes()
public ByteString getCategoryL3Bytes()
Product category (3rd level) in Google's product taxonomy.
optional string category_l3 = 8;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for categoryL3. |
getCategoryL4()
public String getCategoryL4()
Product category (4th level) in Google's product taxonomy.
optional string category_l4 = 9;
Returns | |
---|---|
Type | Description |
String | The categoryL4. |
getCategoryL4Bytes()
public ByteString getCategoryL4Bytes()
Product category (4th level) in Google's product taxonomy.
optional string category_l4 = 9;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for categoryL4. |
getCategoryL5()
public String getCategoryL5()
Product category (5th level) in Google's product taxonomy.
optional string category_l5 = 10;
Returns | |
---|---|
Type | Description |
String | The categoryL5. |
getCategoryL5Bytes()
public ByteString getCategoryL5Bytes()
Product category (5th level) in Google's product taxonomy.
optional string category_l5 = 10;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for categoryL5. |
getDefaultInstanceForType()
public PriceCompetitivenessProductView getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PriceCompetitivenessProductView |
getId()
public String getId()
REST ID of the product, in the form of
channel~languageCode~feedLabel~offerId
. Can be used to join data with the
product_view
table.
Required in the SELECT
clause.
optional string id = 2;
Returns | |
---|---|
Type | Description |
String | The id. |
getIdBytes()
public ByteString getIdBytes()
REST ID of the product, in the form of
channel~languageCode~feedLabel~offerId
. Can be used to join data with the
product_view
table.
Required in the SELECT
clause.
optional string id = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for id. |
getOfferId()
public String getOfferId()
Merchant-provided id of the product.
optional string offer_id = 3;
Returns | |
---|---|
Type | Description |
String | The offerId. |
getOfferIdBytes()
public ByteString getOfferIdBytes()
Merchant-provided id of the product.
optional string offer_id = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for offerId. |
getParserForType()
public Parser<PriceCompetitivenessProductView> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<PriceCompetitivenessProductView> |
getPrice()
public Price getPrice()
Current price of the product.
.google.shopping.type.Price price = 16;
Returns | |
---|---|
Type | Description |
com.google.shopping.type.Price | The price. |
getPriceOrBuilder()
public PriceOrBuilder getPriceOrBuilder()
Current price of the product.
.google.shopping.type.Price price = 16;
Returns | |
---|---|
Type | Description |
com.google.shopping.type.PriceOrBuilder |
getProductTypeL1()
public String getProductTypeL1()
Product type (1st level) in merchant's own product taxonomy.
optional string product_type_l1 = 11;
Returns | |
---|---|
Type | Description |
String | The productTypeL1. |
getProductTypeL1Bytes()
public ByteString getProductTypeL1Bytes()
Product type (1st level) in merchant's own product taxonomy.
optional string product_type_l1 = 11;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for productTypeL1. |
getProductTypeL2()
public String getProductTypeL2()
Product type (2nd level) in merchant's own product taxonomy.
optional string product_type_l2 = 12;
Returns | |
---|---|
Type | Description |
String | The productTypeL2. |
getProductTypeL2Bytes()
public ByteString getProductTypeL2Bytes()
Product type (2nd level) in merchant's own product taxonomy.
optional string product_type_l2 = 12;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for productTypeL2. |
getProductTypeL3()
public String getProductTypeL3()
Product type (3rd level) in merchant's own product taxonomy.
optional string product_type_l3 = 13;
Returns | |
---|---|
Type | Description |
String | The productTypeL3. |
getProductTypeL3Bytes()
public ByteString getProductTypeL3Bytes()
Product type (3rd level) in merchant's own product taxonomy.
optional string product_type_l3 = 13;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for productTypeL3. |
getProductTypeL4()
public String getProductTypeL4()
Product type (4th level) in merchant's own product taxonomy.
optional string product_type_l4 = 14;
Returns | |
---|---|
Type | Description |
String | The productTypeL4. |
getProductTypeL4Bytes()
public ByteString getProductTypeL4Bytes()
Product type (4th level) in merchant's own product taxonomy.
optional string product_type_l4 = 14;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for productTypeL4. |
getProductTypeL5()
public String getProductTypeL5()
Product type (5th level) in merchant's own product taxonomy.
optional string product_type_l5 = 15;
Returns | |
---|---|
Type | Description |
String | The productTypeL5. |
getProductTypeL5Bytes()
public ByteString getProductTypeL5Bytes()
Product type (5th level) in merchant's own product taxonomy.
optional string product_type_l5 = 15;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for productTypeL5. |
getReportCountryCode()
public String getReportCountryCode()
Country of the price benchmark. Represented in the ISO 3166 format.
Required in the SELECT
clause.
optional string report_country_code = 1;
Returns | |
---|---|
Type | Description |
String | The reportCountryCode. |
getReportCountryCodeBytes()
public ByteString getReportCountryCodeBytes()
Country of the price benchmark. Represented in the ISO 3166 format.
Required in the SELECT
clause.
optional string report_country_code = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for reportCountryCode. |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getTitle()
public String getTitle()
Title of the product.
optional string title = 4;
Returns | |
---|---|
Type | Description |
String | The title. |
getTitleBytes()
public ByteString getTitleBytes()
Title of the product.
optional string title = 4;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for title. |
hasBenchmarkPrice()
public boolean hasBenchmarkPrice()
Latest available price benchmark for the product's catalog in the benchmark country.
.google.shopping.type.Price benchmark_price = 17;
Returns | |
---|---|
Type | Description |
boolean | Whether the benchmarkPrice field is set. |
hasBrand()
public boolean hasBrand()
Brand of the product.
optional string brand = 5;
Returns | |
---|---|
Type | Description |
boolean | Whether the brand field is set. |
hasCategoryL1()
public boolean hasCategoryL1()
Product category (1st level) in Google's product taxonomy.
optional string category_l1 = 6;
Returns | |
---|---|
Type | Description |
boolean | Whether the categoryL1 field is set. |
hasCategoryL2()
public boolean hasCategoryL2()
Product category (2nd level) in Google's product taxonomy.
optional string category_l2 = 7;
Returns | |
---|---|
Type | Description |
boolean | Whether the categoryL2 field is set. |
hasCategoryL3()
public boolean hasCategoryL3()
Product category (3rd level) in Google's product taxonomy.
optional string category_l3 = 8;
Returns | |
---|---|
Type | Description |
boolean | Whether the categoryL3 field is set. |
hasCategoryL4()
public boolean hasCategoryL4()
Product category (4th level) in Google's product taxonomy.
optional string category_l4 = 9;
Returns | |
---|---|
Type | Description |
boolean | Whether the categoryL4 field is set. |
hasCategoryL5()
public boolean hasCategoryL5()
Product category (5th level) in Google's product taxonomy.
optional string category_l5 = 10;
Returns | |
---|---|
Type | Description |
boolean | Whether the categoryL5 field is set. |
hasId()
public boolean hasId()
REST ID of the product, in the form of
channel~languageCode~feedLabel~offerId
. Can be used to join data with the
product_view
table.
Required in the SELECT
clause.
optional string id = 2;
Returns | |
---|---|
Type | Description |
boolean | Whether the id field is set. |
hasOfferId()
public boolean hasOfferId()
Merchant-provided id of the product.
optional string offer_id = 3;
Returns | |
---|---|
Type | Description |
boolean | Whether the offerId field is set. |
hasPrice()
public boolean hasPrice()
Current price of the product.
.google.shopping.type.Price price = 16;
Returns | |
---|---|
Type | Description |
boolean | Whether the price field is set. |
hasProductTypeL1()
public boolean hasProductTypeL1()
Product type (1st level) in merchant's own product taxonomy.
optional string product_type_l1 = 11;
Returns | |
---|---|
Type | Description |
boolean | Whether the productTypeL1 field is set. |
hasProductTypeL2()
public boolean hasProductTypeL2()
Product type (2nd level) in merchant's own product taxonomy.
optional string product_type_l2 = 12;
Returns | |
---|---|
Type | Description |
boolean | Whether the productTypeL2 field is set. |
hasProductTypeL3()
public boolean hasProductTypeL3()
Product type (3rd level) in merchant's own product taxonomy.
optional string product_type_l3 = 13;
Returns | |
---|---|
Type | Description |
boolean | Whether the productTypeL3 field is set. |
hasProductTypeL4()
public boolean hasProductTypeL4()
Product type (4th level) in merchant's own product taxonomy.
optional string product_type_l4 = 14;
Returns | |
---|---|
Type | Description |
boolean | Whether the productTypeL4 field is set. |
hasProductTypeL5()
public boolean hasProductTypeL5()
Product type (5th level) in merchant's own product taxonomy.
optional string product_type_l5 = 15;
Returns | |
---|---|
Type | Description |
boolean | Whether the productTypeL5 field is set. |
hasReportCountryCode()
public boolean hasReportCountryCode()
Country of the price benchmark. Represented in the ISO 3166 format.
Required in the SELECT
clause.
optional string report_country_code = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the reportCountryCode field is set. |
hasTitle()
public boolean hasTitle()
Title of the product.
optional string title = 4;
Returns | |
---|---|
Type | Description |
boolean | Whether the title field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public PriceCompetitivenessProductView.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
PriceCompetitivenessProductView.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PriceCompetitivenessProductView.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
PriceCompetitivenessProductView.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public PriceCompetitivenessProductView.Builder toBuilder()
Returns | |
---|---|
Type | Description |
PriceCompetitivenessProductView.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |