Interface Model.FrequentlyBoughtTogetherFeaturesConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Model.FrequentlyBoughtTogetherFeaturesConfig, Model.FrequentlyBoughtTogetherFeaturesConfig.Builder
Enclosing class:
Model

public static interface Model.FrequentlyBoughtTogetherFeaturesConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional.
    int
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getContextProductsTypeValue

      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.v2alpha.Model.ContextProductsType.MULTIPLE_CONTEXT_PRODUCTS].
       
      .google.cloud.retail.v2alpha.Model.ContextProductsType context_products_type = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for contextProductsType.
    • getContextProductsType

      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.v2alpha.Model.ContextProductsType.MULTIPLE_CONTEXT_PRODUCTS].
       
      .google.cloud.retail.v2alpha.Model.ContextProductsType context_products_type = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The contextProductsType.