public final class CssProduct extends GeneratedMessageV3 implements CssProductOrBuilder
The processed CSS Product(a.k.a Aggregate Offer internally).
Protobuf type google.shopping.css.v1.CssProduct
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int ATTRIBUTES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CONTENT_LANGUAGE_FIELD_NUMBER
public static final int CONTENT_LANGUAGE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int CSS_PRODUCT_STATUS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int CUSTOM_ATTRIBUTES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int FEED_LABEL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int RAW_PROVIDED_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static CssProduct getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static CssProduct.Builder newBuilder()
public static CssProduct.Builder newBuilder(CssProduct prototype)
public static CssProduct parseDelimitedFrom(InputStream input)
public static CssProduct parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CssProduct parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static CssProduct parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CssProduct parseFrom(ByteString data)
public static CssProduct parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CssProduct parseFrom(CodedInputStream input)
public static CssProduct parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CssProduct parseFrom(InputStream input)
public static CssProduct parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CssProduct parseFrom(ByteBuffer data)
public static CssProduct parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<CssProduct> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public Attributes getAttributes()
Output only. A list of product attributes.
.google.shopping.css.v1.Attributes attributes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Attributes |
The attributes.
|
public AttributesOrBuilder getAttributesOrBuilder()
Output only. A list of product attributes.
.google.shopping.css.v1.Attributes attributes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getContentLanguage()
public String getContentLanguage()
Output only. The two-letter ISO
639-1 language code for the
product.
string content_language = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The contentLanguage.
|
getContentLanguageBytes()
public ByteString getContentLanguageBytes()
Output only. The two-letter ISO
639-1 language code for the
product.
string content_language = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for contentLanguage.
|
public CssProductStatus getCssProductStatus()
Output only. The status of a product, data validation issues, that is,
information about a product computed asynchronously.
.google.shopping.css.v1.CssProductStatus css_product_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CssProductStatusOrBuilder getCssProductStatusOrBuilder()
Output only. The status of a product, data validation issues, that is,
information about a product computed asynchronously.
.google.shopping.css.v1.CssProductStatus css_product_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CustomAttribute getCustomAttributes(int index)
Output only. A list of custom (CSS-provided) attributes. It can also be
used to submit any attribute of the feed specification in its generic form
(for example,
{ "name": "size type", "value": "regular" }
).
This is useful for submitting attributes not explicitly exposed by the
API, such as additional attributes used for Buy on Google.
repeated .google.shopping.type.CustomAttribute custom_attributes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
com.google.shopping.type.CustomAttribute |
|
public int getCustomAttributesCount()
Output only. A list of custom (CSS-provided) attributes. It can also be
used to submit any attribute of the feed specification in its generic form
(for example,
{ "name": "size type", "value": "regular" }
).
This is useful for submitting attributes not explicitly exposed by the
API, such as additional attributes used for Buy on Google.
repeated .google.shopping.type.CustomAttribute custom_attributes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
|
public List<CustomAttribute> getCustomAttributesList()
Output only. A list of custom (CSS-provided) attributes. It can also be
used to submit any attribute of the feed specification in its generic form
(for example,
{ "name": "size type", "value": "regular" }
).
This is useful for submitting attributes not explicitly exposed by the
API, such as additional attributes used for Buy on Google.
repeated .google.shopping.type.CustomAttribute custom_attributes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
List<com.google.shopping.type.CustomAttribute> |
|
public CustomAttributeOrBuilder getCustomAttributesOrBuilder(int index)
Output only. A list of custom (CSS-provided) attributes. It can also be
used to submit any attribute of the feed specification in its generic form
(for example,
{ "name": "size type", "value": "regular" }
).
This is useful for submitting attributes not explicitly exposed by the
API, such as additional attributes used for Buy on Google.
repeated .google.shopping.type.CustomAttribute custom_attributes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
com.google.shopping.type.CustomAttributeOrBuilder |
|
public List<? extends CustomAttributeOrBuilder> getCustomAttributesOrBuilderList()
Output only. A list of custom (CSS-provided) attributes. It can also be
used to submit any attribute of the feed specification in its generic form
(for example,
{ "name": "size type", "value": "regular" }
).
This is useful for submitting attributes not explicitly exposed by the
API, such as additional attributes used for Buy on Google.
repeated .google.shopping.type.CustomAttribute custom_attributes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
List<? extends com.google.shopping.type.CustomAttributeOrBuilder> |
|
public CssProduct getDefaultInstanceForType()
public String getFeedLabel()
Output only. The feed label for the product.
string feed_label = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The feedLabel.
|
public ByteString getFeedLabelBytes()
Output only. The feed label for the product.
string feed_label = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for feedLabel.
|
The name of the CSS Product.
Format:
"accounts/{account}/cssProducts/{css_product}"
string name = 1;
Returns |
Type |
Description |
String |
The name.
|
public ByteString getNameBytes()
The name of the CSS Product.
Format:
"accounts/{account}/cssProducts/{css_product}"
string name = 1;
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
public Parser<CssProduct> getParserForType()
Overrides
public String getRawProvidedId()
Output only. Your unique raw identifier for the product.
string raw_provided_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The rawProvidedId.
|
public ByteString getRawProvidedIdBytes()
Output only. Your unique raw identifier for the product.
string raw_provided_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for rawProvidedId.
|
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public boolean hasAttributes()
Output only. A list of product attributes.
.google.shopping.css.v1.Attributes attributes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the attributes field is set.
|
public boolean hasCssProductStatus()
Output only. The status of a product, data validation issues, that is,
information about a product computed asynchronously.
.google.shopping.css.v1.CssProductStatus css_product_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the cssProductStatus field is set.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public CssProduct.Builder newBuilderForType()
protected CssProduct.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public CssProduct.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides