public enum ProductAttributes.RelatedProduct.RelationshipType extends Enum<ProductAttributes.RelatedProduct.RelationshipType> implements ProtocolMessageEnumThe various types of the relationships between this product and the related product.
Protobuf enum
google.shopping.merchant.products.v1.ProductAttributes.RelatedProduct.RelationshipType
Implements
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
ACCESSORY |
An accessory to this product, for example a side table that matches the style of a couch. |
ACCESSORY_VALUE |
An accessory to this product, for example a side table that matches the style of a couch. |
DIFFERENT_BRAND |
An identical product sold under a different brand, for example a cheaper house brand. |
DIFFERENT_BRAND_VALUE |
An identical product sold under a different brand, for example a cheaper house brand. |
OFTEN_BOUGHT_WITH |
A product that this product is often purchased together with, for example a phone case with a phone. |
OFTEN_BOUGHT_WITH_VALUE |
A product that this product is often purchased together with, for example a phone case with a phone. |
PART_OF_SET |
Part of a set of products that are often purchased together. |
PART_OF_SET_VALUE |
Part of a set of products that are often purchased together. |
RELATIONSHIP_TYPE_UNSPECIFIED |
The relationship type is unspecified. |
RELATIONSHIP_TYPE_UNSPECIFIED_VALUE |
The relationship type is unspecified. |
REQUIRED_PART |
Part that is necessary for the product to function, for example a battery for a battery-operated lamp. |
REQUIRED_PART_VALUE |
Part that is necessary for the product to function, for example a battery for a battery-operated lamp. |
SUBSTITUTE |
Product that this product can be substituted for. For example a printer comparable in function to another printer. |
SUBSTITUTE_VALUE |
Product that this product can be substituted for. For example a printer comparable in function to another printer. |
UNRECOGNIZED |
|
Static Methods |
|
|---|---|
| Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
|
Methods |
|
|---|---|
| Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |
|