Class ExperimentInfo.ServingConfigExperiment.Builder (2.85.0)

public static final class ExperimentInfo.ServingConfigExperiment.Builder extends GeneratedMessage.Builder<ExperimentInfo.ServingConfigExperiment.Builder> implements ExperimentInfo.ServingConfigExperimentOrBuilder

Metadata for active serving config A/B tests.

Protobuf type google.cloud.retail.v2.ExperimentInfo.ServingConfigExperiment

Static Methods

getDescriptor()

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

Methods

build()

public ExperimentInfo.ServingConfigExperiment build()
Returns
Type Description
ExperimentInfo.ServingConfigExperiment

buildPartial()

public ExperimentInfo.ServingConfigExperiment buildPartial()
Returns
Type Description
ExperimentInfo.ServingConfigExperiment

clear()

public ExperimentInfo.ServingConfigExperiment.Builder clear()
Returns
Type Description
ExperimentInfo.ServingConfigExperiment.Builder
Overrides

clearExperimentServingConfig()

public ExperimentInfo.ServingConfigExperiment.Builder clearExperimentServingConfig()

The fully qualified resource name of the serving config Experiment.VariantArm.serving_config_id responsible for generating the search response. For example: projects/*/locations/*/catalogs/*/servingConfigs/*.

string experiment_serving_config = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ExperimentInfo.ServingConfigExperiment.Builder

This builder for chaining.

clearOriginalServingConfig()

public ExperimentInfo.ServingConfigExperiment.Builder clearOriginalServingConfig()

The fully qualified resource name of the original SearchRequest.placement in the search request prior to reassignment by experiment API. For example: projects/*/locations/*/catalogs/*/servingConfigs/*.

string original_serving_config = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ExperimentInfo.ServingConfigExperiment.Builder

This builder for chaining.

getDefaultInstanceForType()

public ExperimentInfo.ServingConfigExperiment getDefaultInstanceForType()
Returns
Type Description
ExperimentInfo.ServingConfigExperiment

getDescriptorForType()

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

getExperimentServingConfig()

public String getExperimentServingConfig()

The fully qualified resource name of the serving config Experiment.VariantArm.serving_config_id responsible for generating the search response. For example: projects/*/locations/*/catalogs/*/servingConfigs/*.

string experiment_serving_config = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The experimentServingConfig.

getExperimentServingConfigBytes()

public ByteString getExperimentServingConfigBytes()

The fully qualified resource name of the serving config Experiment.VariantArm.serving_config_id responsible for generating the search response. For example: projects/*/locations/*/catalogs/*/servingConfigs/*.

string experiment_serving_config = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for experimentServingConfig.

getOriginalServingConfig()

public String getOriginalServingConfig()

The fully qualified resource name of the original SearchRequest.placement in the search request prior to reassignment by experiment API. For example: projects/*/locations/*/catalogs/*/servingConfigs/*.

string original_serving_config = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The originalServingConfig.

getOriginalServingConfigBytes()

public ByteString getOriginalServingConfigBytes()

The fully qualified resource name of the original SearchRequest.placement in the search request prior to reassignment by experiment API. For example: projects/*/locations/*/catalogs/*/servingConfigs/*.

string original_serving_config = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for originalServingConfig.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExperimentInfo.ServingConfigExperiment other)

public ExperimentInfo.ServingConfigExperiment.Builder mergeFrom(ExperimentInfo.ServingConfigExperiment other)
Parameter
Name Description
other ExperimentInfo.ServingConfigExperiment
Returns
Type Description
ExperimentInfo.ServingConfigExperiment.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ExperimentInfo.ServingConfigExperiment.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExperimentInfo.ServingConfigExperiment.Builder
Overrides

setExperimentServingConfig(String value)

public ExperimentInfo.ServingConfigExperiment.Builder setExperimentServingConfig(String value)

The fully qualified resource name of the serving config Experiment.VariantArm.serving_config_id responsible for generating the search response. For example: projects/*/locations/*/catalogs/*/servingConfigs/*.

string experiment_serving_config = 2 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The experimentServingConfig to set.

Returns
Type Description
ExperimentInfo.ServingConfigExperiment.Builder

This builder for chaining.

setExperimentServingConfigBytes(ByteString value)

public ExperimentInfo.ServingConfigExperiment.Builder setExperimentServingConfigBytes(ByteString value)

The fully qualified resource name of the serving config Experiment.VariantArm.serving_config_id responsible for generating the search response. For example: projects/*/locations/*/catalogs/*/servingConfigs/*.

string experiment_serving_config = 2 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for experimentServingConfig to set.

Returns
Type Description
ExperimentInfo.ServingConfigExperiment.Builder

This builder for chaining.

setOriginalServingConfig(String value)

public ExperimentInfo.ServingConfigExperiment.Builder setOriginalServingConfig(String value)

The fully qualified resource name of the original SearchRequest.placement in the search request prior to reassignment by experiment API. For example: projects/*/locations/*/catalogs/*/servingConfigs/*.

string original_serving_config = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The originalServingConfig to set.

Returns
Type Description
ExperimentInfo.ServingConfigExperiment.Builder

This builder for chaining.

setOriginalServingConfigBytes(ByteString value)

public ExperimentInfo.ServingConfigExperiment.Builder setOriginalServingConfigBytes(ByteString value)

The fully qualified resource name of the original SearchRequest.placement in the search request prior to reassignment by experiment API. For example: projects/*/locations/*/catalogs/*/servingConfigs/*.

string original_serving_config = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for originalServingConfig to set.

Returns
Type Description
ExperimentInfo.ServingConfigExperiment.Builder

This builder for chaining.