Class Model.ModelFeaturesConfig.Builder (2.85.0)

public static final class Model.ModelFeaturesConfig.Builder extends GeneratedMessage.Builder<Model.ModelFeaturesConfig.Builder> implements Model.ModelFeaturesConfigOrBuilder

Additional model features config.

Protobuf type google.cloud.retail.v2alpha.Model.ModelFeaturesConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public Model.ModelFeaturesConfig build()
Returns
Type Description
Model.ModelFeaturesConfig

buildPartial()

public Model.ModelFeaturesConfig buildPartial()
Returns
Type Description
Model.ModelFeaturesConfig

clear()

public Model.ModelFeaturesConfig.Builder clear()
Returns
Type Description
Model.ModelFeaturesConfig.Builder
Overrides

clearFrequentlyBoughtTogetherConfig()

public Model.ModelFeaturesConfig.Builder clearFrequentlyBoughtTogetherConfig()

Additional configs for frequently-bought-together models.

.google.cloud.retail.v2alpha.Model.FrequentlyBoughtTogetherFeaturesConfig frequently_bought_together_config = 1;

Returns
Type Description
Model.ModelFeaturesConfig.Builder

clearTypeDedicatedConfig()

public Model.ModelFeaturesConfig.Builder clearTypeDedicatedConfig()
Returns
Type Description
Model.ModelFeaturesConfig.Builder

getDefaultInstanceForType()

public Model.ModelFeaturesConfig getDefaultInstanceForType()
Returns
Type Description
Model.ModelFeaturesConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFrequentlyBoughtTogetherConfig()

public Model.FrequentlyBoughtTogetherFeaturesConfig getFrequentlyBoughtTogetherConfig()

Additional configs for frequently-bought-together models.

.google.cloud.retail.v2alpha.Model.FrequentlyBoughtTogetherFeaturesConfig frequently_bought_together_config = 1;

Returns
Type Description
Model.FrequentlyBoughtTogetherFeaturesConfig

The frequentlyBoughtTogetherConfig.

getFrequentlyBoughtTogetherConfigBuilder()

public Model.FrequentlyBoughtTogetherFeaturesConfig.Builder getFrequentlyBoughtTogetherConfigBuilder()

Additional configs for frequently-bought-together models.

.google.cloud.retail.v2alpha.Model.FrequentlyBoughtTogetherFeaturesConfig frequently_bought_together_config = 1;

Returns
Type Description
Model.FrequentlyBoughtTogetherFeaturesConfig.Builder

getFrequentlyBoughtTogetherConfigOrBuilder()

public Model.FrequentlyBoughtTogetherFeaturesConfigOrBuilder getFrequentlyBoughtTogetherConfigOrBuilder()

Additional configs for frequently-bought-together models.

.google.cloud.retail.v2alpha.Model.FrequentlyBoughtTogetherFeaturesConfig frequently_bought_together_config = 1;

Returns
Type Description
Model.FrequentlyBoughtTogetherFeaturesConfigOrBuilder

getTypeDedicatedConfigCase()

public Model.ModelFeaturesConfig.TypeDedicatedConfigCase getTypeDedicatedConfigCase()
Returns
Type Description
Model.ModelFeaturesConfig.TypeDedicatedConfigCase

hasFrequentlyBoughtTogetherConfig()

public boolean hasFrequentlyBoughtTogetherConfig()

Additional configs for frequently-bought-together models.

.google.cloud.retail.v2alpha.Model.FrequentlyBoughtTogetherFeaturesConfig frequently_bought_together_config = 1;

Returns
Type Description
boolean

Whether the frequentlyBoughtTogetherConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrequentlyBoughtTogetherConfig(Model.FrequentlyBoughtTogetherFeaturesConfig value)

public Model.ModelFeaturesConfig.Builder mergeFrequentlyBoughtTogetherConfig(Model.FrequentlyBoughtTogetherFeaturesConfig value)

Additional configs for frequently-bought-together models.

.google.cloud.retail.v2alpha.Model.FrequentlyBoughtTogetherFeaturesConfig frequently_bought_together_config = 1;

Parameter
Name Description
value Model.FrequentlyBoughtTogetherFeaturesConfig
Returns
Type Description
Model.ModelFeaturesConfig.Builder

mergeFrom(Model.ModelFeaturesConfig other)

public Model.ModelFeaturesConfig.Builder mergeFrom(Model.ModelFeaturesConfig other)
Parameter
Name Description
other Model.ModelFeaturesConfig
Returns
Type Description
Model.ModelFeaturesConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Model.ModelFeaturesConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Model.ModelFeaturesConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Model.ModelFeaturesConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Model.ModelFeaturesConfig.Builder
Overrides

setFrequentlyBoughtTogetherConfig(Model.FrequentlyBoughtTogetherFeaturesConfig value)

public Model.ModelFeaturesConfig.Builder setFrequentlyBoughtTogetherConfig(Model.FrequentlyBoughtTogetherFeaturesConfig value)

Additional configs for frequently-bought-together models.

.google.cloud.retail.v2alpha.Model.FrequentlyBoughtTogetherFeaturesConfig frequently_bought_together_config = 1;

Parameter
Name Description
value Model.FrequentlyBoughtTogetherFeaturesConfig
Returns
Type Description
Model.ModelFeaturesConfig.Builder

setFrequentlyBoughtTogetherConfig(Model.FrequentlyBoughtTogetherFeaturesConfig.Builder builderForValue)

public Model.ModelFeaturesConfig.Builder setFrequentlyBoughtTogetherConfig(Model.FrequentlyBoughtTogetherFeaturesConfig.Builder builderForValue)

Additional configs for frequently-bought-together models.

.google.cloud.retail.v2alpha.Model.FrequentlyBoughtTogetherFeaturesConfig frequently_bought_together_config = 1;

Parameter
Name Description
builderForValue Model.FrequentlyBoughtTogetherFeaturesConfig.Builder
Returns
Type Description
Model.ModelFeaturesConfig.Builder