public static final class ProductDetail.Builder extends GeneratedMessage.Builder<ProductDetail.Builder> implements ProductDetailOrBuilderThe product details.
Protobuf type google.shopping.css.v1.ProductDetail
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ProductDetail.BuilderImplements
ProductDetailOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ProductDetail build()| Returns | |
|---|---|
| Type | Description |
ProductDetail |
|
buildPartial()
public ProductDetail buildPartial()| Returns | |
|---|---|
| Type | Description |
ProductDetail |
|
clear()
public ProductDetail.Builder clear()| Returns | |
|---|---|
| Type | Description |
ProductDetail.Builder |
|
clearAttributeName()
public ProductDetail.Builder clearAttributeName()The name of the product detail.
string attribute_name = 2;
| Returns | |
|---|---|
| Type | Description |
ProductDetail.Builder |
This builder for chaining. |
clearAttributeValue()
public ProductDetail.Builder clearAttributeValue()The value of the product detail.
string attribute_value = 3;
| Returns | |
|---|---|
| Type | Description |
ProductDetail.Builder |
This builder for chaining. |
clearSectionName()
public ProductDetail.Builder clearSectionName()The section header used to group a set of product details.
string section_name = 1;
| Returns | |
|---|---|
| Type | Description |
ProductDetail.Builder |
This builder for chaining. |
getAttributeName()
public String getAttributeName()The name of the product detail.
string attribute_name = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The attributeName. |
getAttributeNameBytes()
public ByteString getAttributeNameBytes()The name of the product detail.
string attribute_name = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for attributeName. |
getAttributeValue()
public String getAttributeValue()The value of the product detail.
string attribute_value = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The attributeValue. |
getAttributeValueBytes()
public ByteString getAttributeValueBytes()The value of the product detail.
string attribute_value = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for attributeValue. |
getDefaultInstanceForType()
public ProductDetail getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ProductDetail |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSectionName()
public String getSectionName()The section header used to group a set of product details.
string section_name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The sectionName. |
getSectionNameBytes()
public ByteString getSectionNameBytes()The section header used to group a set of product details.
string section_name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sectionName. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ProductDetail.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ProductDetail.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ProductDetail.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ProductDetail.Builder |
|
mergeFrom(ProductDetail other)
public ProductDetail.Builder mergeFrom(ProductDetail other)| Parameter | |
|---|---|
| Name | Description |
other |
ProductDetail |
| Returns | |
|---|---|
| Type | Description |
ProductDetail.Builder |
|
setAttributeName(String value)
public ProductDetail.Builder setAttributeName(String value)The name of the product detail.
string attribute_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe attributeName to set. |
| Returns | |
|---|---|
| Type | Description |
ProductDetail.Builder |
This builder for chaining. |
setAttributeNameBytes(ByteString value)
public ProductDetail.Builder setAttributeNameBytes(ByteString value)The name of the product detail.
string attribute_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for attributeName to set. |
| Returns | |
|---|---|
| Type | Description |
ProductDetail.Builder |
This builder for chaining. |
setAttributeValue(String value)
public ProductDetail.Builder setAttributeValue(String value)The value of the product detail.
string attribute_value = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe attributeValue to set. |
| Returns | |
|---|---|
| Type | Description |
ProductDetail.Builder |
This builder for chaining. |
setAttributeValueBytes(ByteString value)
public ProductDetail.Builder setAttributeValueBytes(ByteString value)The value of the product detail.
string attribute_value = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for attributeValue to set. |
| Returns | |
|---|---|
| Type | Description |
ProductDetail.Builder |
This builder for chaining. |
setSectionName(String value)
public ProductDetail.Builder setSectionName(String value)The section header used to group a set of product details.
string section_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sectionName to set. |
| Returns | |
|---|---|
| Type | Description |
ProductDetail.Builder |
This builder for chaining. |
setSectionNameBytes(ByteString value)
public ProductDetail.Builder setSectionNameBytes(ByteString value)The section header used to group a set of product details.
string section_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sectionName to set. |
| Returns | |
|---|---|
| Type | Description |
ProductDetail.Builder |
This builder for chaining. |