Class ProductDetail (0.1.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
TypeDescription
int

ATTRIBUTE_VALUE_FIELD_NUMBER

public static final int ATTRIBUTE_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

SECTION_NAME_FIELD_NUMBER

public static final int SECTION_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ProductDetail getDefaultInstance()
Returns
TypeDescription
ProductDetail

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ProductDetail.Builder newBuilder()
Returns
TypeDescription
ProductDetail.Builder

newBuilder(ProductDetail prototype)

public static ProductDetail.Builder newBuilder(ProductDetail prototype)
Parameter
NameDescription
prototypeProductDetail
Returns
TypeDescription
ProductDetail.Builder

parseDelimitedFrom(InputStream input)

public static ProductDetail parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProductDetail
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductDetail parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProductDetail
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ProductDetail parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ProductDetail
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProductDetail parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProductDetail
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProductDetail parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ProductDetail
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProductDetail parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProductDetail
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProductDetail parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ProductDetail
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductDetail parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProductDetail
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ProductDetail parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProductDetail
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductDetail parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProductDetail
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ProductDetail parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ProductDetail
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProductDetail parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProductDetail
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ProductDetail> parser()
Returns
TypeDescription
Parser<ProductDetail>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAttributeName()

public String getAttributeName()

The name of the product detail.

string attribute_name = 2;

Returns
TypeDescription
String

The attributeName.

getAttributeNameBytes()

public ByteString getAttributeNameBytes()

The name of the product detail.

string attribute_name = 2;

Returns
TypeDescription
ByteString

The bytes for attributeName.

getAttributeValue()

public String getAttributeValue()

The value of the product detail.

string attribute_value = 3;

Returns
TypeDescription
String

The attributeValue.

getAttributeValueBytes()

public ByteString getAttributeValueBytes()

The value of the product detail.

string attribute_value = 3;

Returns
TypeDescription
ByteString

The bytes for attributeValue.

getDefaultInstanceForType()

public ProductDetail getDefaultInstanceForType()
Returns
TypeDescription
ProductDetail

getParserForType()

public Parser<ProductDetail> getParserForType()
Returns
TypeDescription
Parser<ProductDetail>
Overrides

getSectionName()

public String getSectionName()

The section header used to group a set of product details.

string section_name = 1;

Returns
TypeDescription
String

The sectionName.

getSectionNameBytes()

public ByteString getSectionNameBytes()

The section header used to group a set of product details.

string section_name = 1;

Returns
TypeDescription
ByteString

The bytes for sectionName.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ProductDetail.Builder newBuilderForType()
Returns
TypeDescription
ProductDetail.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProductDetail.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ProductDetail.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ProductDetail.Builder toBuilder()
Returns
TypeDescription
ProductDetail.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException