Represents a Product.
Constructs a new Product.
Product productId.
Converts this Product to JSON.
JSON object
Creates a new Product instance using the specified properties.
Product instance
Decodes a Product message from the specified reader or buffer.
{Error} If the payload is not a reader or valid buffer
{$protobuf.util.ProtocolError} If required fields are missing
Reader or buffer to decode from
Product
Decodes a Product message from the specified reader or buffer, length delimited.
Encodes the specified Product message. Does not implicitly verify messages.
Product message or plain object to encode
Writer
Encodes the specified Product message, length delimited. Does not implicitly verify messages.
Creates a Product message from a plain object. Also converts values to their respective internal types.
Plain object
Creates a plain object from a Product message. Also converts values to other types if specified.
Verifies a Product message.
Plain object to verify
null if valid, otherwise the reason why it is not
null
Generated using TypeDoc
Represents a Product.