Class ProductDetail (0.23.0)

public final class ProductDetail extends GeneratedMessageV3 implements ProductDetailOrBuilder

The product details.

Protobuf type google.shopping.css.v1.ProductDetail

Static Fields

ATTRIBUTE_NAME_FIELD_NUMBER

public static final int ATTRIBUTE_NAME_FIELD_NUMBER
Field Value
Type Description
int

ATTRIBUTE_VALUE_FIELD_NUMBER

public static final int ATTRIBUTE_VALUE_FIELD_NUMBER
Field Value
Type Description
int

SECTION_NAME_FIELD_NUMBER

public static final int SECTION_NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ProductDetail getDefaultInstance()
Returns
Type Description
ProductDetail

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ProductDetail.Builder newBuilder()
Returns
Type Description
ProductDetail.Builder

newBuilder(ProductDetail prototype)

public static ProductDetail.Builder newBuilder(ProductDetail prototype)
Parameter
Name Description
prototype ProductDetail
Returns
Type Description
ProductDetail.Builder

parseDelimitedFrom(InputStream input)

public static ProductDetail parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProductDetail
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductDetail parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductDetail
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ProductDetail parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ProductDetail
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProductDetail parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductDetail
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProductDetail parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ProductDetail
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProductDetail parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductDetail
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProductDetail parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ProductDetail
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductDetail parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductDetail
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ProductDetail parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProductDetail
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductDetail parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductDetail
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ProductDetail parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ProductDetail
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProductDetail parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductDetail
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ProductDetail> parser()
Returns
Type Description
Parser<ProductDetail>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

getParserForType()

public Parser<ProductDetail> getParserForType()
Returns
Type Description
Parser<ProductDetail>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ProductDetail.Builder newBuilderForType()
Returns
Type Description
ProductDetail.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProductDetail.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ProductDetail.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ProductDetail.Builder toBuilder()
Returns
Type Description
ProductDetail.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException