public static final class ExperimentInfo.ServingConfigExperiment.Builder extends GeneratedMessageV3.Builder<ExperimentInfo.ServingConfigExperiment.Builder> implements ExperimentInfo.ServingConfigExperimentOrBuilder
Metadata for active serving config A/B tests.
Protobuf type google.cloud.retail.v2alpha.ExperimentInfo.ServingConfigExperiment
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.ServingConfigExperiment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ExperimentInfo.ServingConfigExperiment build()
buildPartial()
public ExperimentInfo.ServingConfigExperiment buildPartial()
clear()
public ExperimentInfo.ServingConfigExperiment.Builder clear()
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) = { ... }
clearField(Descriptors.FieldDescriptor field)
public ExperimentInfo.ServingConfigExperiment.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ExperimentInfo.ServingConfigExperiment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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) = { ... }
clone()
public ExperimentInfo.ServingConfigExperiment.Builder clone()
Overrides
getDefaultInstanceForType()
public ExperimentInfo.ServingConfigExperiment getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ExperimentInfo.ServingConfigExperiment other)
public ExperimentInfo.ServingConfigExperiment.Builder mergeFrom(ExperimentInfo.ServingConfigExperiment other)
public ExperimentInfo.ServingConfigExperiment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ExperimentInfo.ServingConfigExperiment.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExperimentInfo.ServingConfigExperiment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ExperimentInfo.ServingConfigExperiment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExperimentInfo.ServingConfigExperiment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ExperimentInfo.ServingConfigExperiment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides