Enum ProductAttributes.RelatedProduct.RelationshipType (1.23.0)

public enum ProductAttributes.RelatedProduct.RelationshipType extends Enum<ProductAttributes.RelatedProduct.RelationshipType> implements ProtocolMessageEnum

The various types of the relationships between this product and the related product.

Protobuf enum google.shopping.merchant.products.v1.ProductAttributes.RelatedProduct.RelationshipType

Implements

ProtocolMessageEnum

Static Fields

Name Description
ACCESSORY

An accessory to this product, for example a side table that matches the style of a couch.

ACCESSORY = 6;

ACCESSORY_VALUE

An accessory to this product, for example a side table that matches the style of a couch.

ACCESSORY = 6;

DIFFERENT_BRAND

An identical product sold under a different brand, for example a cheaper house brand.

DIFFERENT_BRAND = 5;

DIFFERENT_BRAND_VALUE

An identical product sold under a different brand, for example a cheaper house brand.

DIFFERENT_BRAND = 5;

OFTEN_BOUGHT_WITH

A product that this product is often purchased together with, for example a phone case with a phone.

OFTEN_BOUGHT_WITH = 3;

OFTEN_BOUGHT_WITH_VALUE

A product that this product is often purchased together with, for example a phone case with a phone.

OFTEN_BOUGHT_WITH = 3;

PART_OF_SET

Part of a set of products that are often purchased together.

PART_OF_SET = 1;

PART_OF_SET_VALUE

Part of a set of products that are often purchased together.

PART_OF_SET = 1;

RELATIONSHIP_TYPE_UNSPECIFIED

The relationship type is unspecified.

RELATIONSHIP_TYPE_UNSPECIFIED = 0;

RELATIONSHIP_TYPE_UNSPECIFIED_VALUE

The relationship type is unspecified.

RELATIONSHIP_TYPE_UNSPECIFIED = 0;

REQUIRED_PART

Part that is necessary for the product to function, for example a battery for a battery-operated lamp.

REQUIRED_PART = 2;

REQUIRED_PART_VALUE

Part that is necessary for the product to function, for example a battery for a battery-operated lamp.

REQUIRED_PART = 2;

SUBSTITUTE

Product that this product can be substituted for. For example a printer comparable in function to another printer.

SUBSTITUTE = 4;

SUBSTITUTE_VALUE

Product that this product can be substituted for. For example a printer comparable in function to another printer.

SUBSTITUTE = 4;

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()