Class Model.ModelFeaturesConfig.Builder (2.48.0)

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

Additional model features config.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Model.ModelFeaturesConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Model.ModelFeaturesConfig.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public Model.ModelFeaturesConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Model.ModelFeaturesConfig.Builder
Overrides

clearFrequentlyBoughtTogetherConfig()

public Model.ModelFeaturesConfig.Builder clearFrequentlyBoughtTogetherConfig()

Additional configs for frequently-bought-together models.

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

Returns
Type Description
Model.ModelFeaturesConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Model.ModelFeaturesConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Model.ModelFeaturesConfig.Builder
Overrides

clearTypeDedicatedConfig()

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

clone()

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

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.v2beta.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.v2beta.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.v2beta.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.v2beta.Model.FrequentlyBoughtTogetherFeaturesConfig frequently_bought_together_config = 1;

Returns
Type Description
boolean

Whether the frequentlyBoughtTogetherConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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.v2beta.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Model.ModelFeaturesConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Model.ModelFeaturesConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Model.ModelFeaturesConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.v2beta.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.v2beta.Model.FrequentlyBoughtTogetherFeaturesConfig frequently_bought_together_config = 1;

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Model.ModelFeaturesConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Model.ModelFeaturesConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Model.ModelFeaturesConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Model.ModelFeaturesConfig.Builder
Overrides