public static final class ExperimentInfo.Builder extends GeneratedMessageV3.Builder<ExperimentInfo.Builder> implements ExperimentInfoOrBuilder
Metadata for active A/B testing [Experiments][].
Protobuf type google.cloud.retail.v2.ExperimentInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExperimentInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ExperimentInfo build()
buildPartial()
public ExperimentInfo buildPartial()
clear()
public ExperimentInfo.Builder clear()
Overrides
clearExperiment()
public ExperimentInfo.Builder clearExperiment()
The fully qualified resource name of the experiment that provides the
serving config under test, should an active experiment exist. For example:
projects/*/locations/global/catalogs/default_catalog/experiments/experiment_id
string experiment = 1 [(.google.api.resource_reference) = { ... }
public ExperimentInfo.Builder clearExperimentMetadata()
clearField(Descriptors.FieldDescriptor field)
public ExperimentInfo.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ExperimentInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearServingConfigExperiment()
public ExperimentInfo.Builder clearServingConfigExperiment()
A/B test between existing Cloud Retail Search
ServingConfigs.
.google.cloud.retail.v2.ExperimentInfo.ServingConfigExperiment serving_config_experiment = 2;
clone()
public ExperimentInfo.Builder clone()
Overrides
getDefaultInstanceForType()
public ExperimentInfo getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getExperiment()
public String getExperiment()
The fully qualified resource name of the experiment that provides the
serving config under test, should an active experiment exist. For example:
projects/*/locations/global/catalogs/default_catalog/experiments/experiment_id
string experiment = 1 [(.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The experiment.
|
getExperimentBytes()
public ByteString getExperimentBytes()
The fully qualified resource name of the experiment that provides the
serving config under test, should an active experiment exist. For example:
projects/*/locations/global/catalogs/default_catalog/experiments/experiment_id
string experiment = 1 [(.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for experiment.
|
public ExperimentInfo.ExperimentMetadataCase getExperimentMetadataCase()
getServingConfigExperiment()
public ExperimentInfo.ServingConfigExperiment getServingConfigExperiment()
A/B test between existing Cloud Retail Search
ServingConfigs.
.google.cloud.retail.v2.ExperimentInfo.ServingConfigExperiment serving_config_experiment = 2;
getServingConfigExperimentBuilder()
public ExperimentInfo.ServingConfigExperiment.Builder getServingConfigExperimentBuilder()
A/B test between existing Cloud Retail Search
ServingConfigs.
.google.cloud.retail.v2.ExperimentInfo.ServingConfigExperiment serving_config_experiment = 2;
getServingConfigExperimentOrBuilder()
public ExperimentInfo.ServingConfigExperimentOrBuilder getServingConfigExperimentOrBuilder()
A/B test between existing Cloud Retail Search
ServingConfigs.
.google.cloud.retail.v2.ExperimentInfo.ServingConfigExperiment serving_config_experiment = 2;
hasServingConfigExperiment()
public boolean hasServingConfigExperiment()
A/B test between existing Cloud Retail Search
ServingConfigs.
.google.cloud.retail.v2.ExperimentInfo.ServingConfigExperiment serving_config_experiment = 2;
Returns |
Type |
Description |
boolean |
Whether the servingConfigExperiment field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ExperimentInfo other)
public ExperimentInfo.Builder mergeFrom(ExperimentInfo other)
public ExperimentInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ExperimentInfo.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeServingConfigExperiment(ExperimentInfo.ServingConfigExperiment value)
public ExperimentInfo.Builder mergeServingConfigExperiment(ExperimentInfo.ServingConfigExperiment value)
A/B test between existing Cloud Retail Search
ServingConfigs.
.google.cloud.retail.v2.ExperimentInfo.ServingConfigExperiment serving_config_experiment = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExperimentInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setExperiment(String value)
public ExperimentInfo.Builder setExperiment(String value)
The fully qualified resource name of the experiment that provides the
serving config under test, should an active experiment exist. For example:
projects/*/locations/global/catalogs/default_catalog/experiments/experiment_id
string experiment = 1 [(.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The experiment to set.
|
setExperimentBytes(ByteString value)
public ExperimentInfo.Builder setExperimentBytes(ByteString value)
The fully qualified resource name of the experiment that provides the
serving config under test, should an active experiment exist. For example:
projects/*/locations/global/catalogs/default_catalog/experiments/experiment_id
string experiment = 1 [(.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for experiment to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ExperimentInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExperimentInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setServingConfigExperiment(ExperimentInfo.ServingConfigExperiment value)
public ExperimentInfo.Builder setServingConfigExperiment(ExperimentInfo.ServingConfigExperiment value)
A/B test between existing Cloud Retail Search
ServingConfigs.
.google.cloud.retail.v2.ExperimentInfo.ServingConfigExperiment serving_config_experiment = 2;
setServingConfigExperiment(ExperimentInfo.ServingConfigExperiment.Builder builderForValue)
public ExperimentInfo.Builder setServingConfigExperiment(ExperimentInfo.ServingConfigExperiment.Builder builderForValue)
A/B test between existing Cloud Retail Search
ServingConfigs.
.google.cloud.retail.v2.ExperimentInfo.ServingConfigExperiment serving_config_experiment = 2;
setUnknownFields(UnknownFieldSet unknownFields)
public final ExperimentInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides