Interface Model.FrequentlyBoughtTogetherFeaturesConfigOrBuilder (2.56.0)

public static interface Model.FrequentlyBoughtTogetherFeaturesConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContextProductsType()

public abstract Model.ContextProductsType getContextProductsType()

Optional. Specifies the context of the model when it is used in predict requests. Can only be set for the frequently-bought-together type. If it isn't specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS.

.google.cloud.retail.v2beta.Model.ContextProductsType context_products_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Model.ContextProductsType

The contextProductsType.

getContextProductsTypeValue()

public abstract int getContextProductsTypeValue()

Optional. Specifies the context of the model when it is used in predict requests. Can only be set for the frequently-bought-together type. If it isn't specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS.

.google.cloud.retail.v2beta.Model.ContextProductsType context_products_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for contextProductsType.