public static final class Experiment.Definition.Builder extends GeneratedMessageV3.Builder<Experiment.Definition.Builder> implements Experiment.DefinitionOrBuilder
Definition of the experiment.
Protobuf type google.cloud.dialogflow.cx.v3.Experiment.Definition
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Experiment.Definition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Experiment.Definition build()
Returns
buildPartial()
public Experiment.Definition buildPartial()
Returns
clear()
public Experiment.Definition.Builder clear()
Returns
Overrides
clearCondition()
public Experiment.Definition.Builder clearCondition()
The condition defines which subset of sessions are selected for
this experiment. If not specified, all sessions are eligible. E.g.
"query_input.language_code=en" See the conditions
reference.
string condition = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public Experiment.Definition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Experiment.Definition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearVariants()
public Experiment.Definition.Builder clearVariants()
Returns
clearVersionVariants()
public Experiment.Definition.Builder clearVersionVariants()
The flow versions as the variants of this experiment.
.google.cloud.dialogflow.cx.v3.VersionVariants version_variants = 2;
Returns
clone()
public Experiment.Definition.Builder clone()
Returns
Overrides
getCondition()
public String getCondition()
The condition defines which subset of sessions are selected for
this experiment. If not specified, all sessions are eligible. E.g.
"query_input.language_code=en" See the conditions
reference.
string condition = 1;
Returns
Type |
Description |
String |
The condition.
|
getConditionBytes()
public ByteString getConditionBytes()
The condition defines which subset of sessions are selected for
this experiment. If not specified, all sessions are eligible. E.g.
"query_input.language_code=en" See the conditions
reference.
string condition = 1;
Returns
Type |
Description |
ByteString |
The bytes for condition.
|
getDefaultInstanceForType()
public Experiment.Definition getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getVariantsCase()
public Experiment.Definition.VariantsCase getVariantsCase()
Returns
getVersionVariants()
public VersionVariants getVersionVariants()
The flow versions as the variants of this experiment.
.google.cloud.dialogflow.cx.v3.VersionVariants version_variants = 2;
Returns
getVersionVariantsBuilder()
public VersionVariants.Builder getVersionVariantsBuilder()
The flow versions as the variants of this experiment.
.google.cloud.dialogflow.cx.v3.VersionVariants version_variants = 2;
Returns
getVersionVariantsOrBuilder()
public VersionVariantsOrBuilder getVersionVariantsOrBuilder()
The flow versions as the variants of this experiment.
.google.cloud.dialogflow.cx.v3.VersionVariants version_variants = 2;
Returns
hasVersionVariants()
public boolean hasVersionVariants()
The flow versions as the variants of this experiment.
.google.cloud.dialogflow.cx.v3.VersionVariants version_variants = 2;
Returns
Type |
Description |
boolean |
Whether the versionVariants field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Experiment.Definition other)
public Experiment.Definition.Builder mergeFrom(Experiment.Definition other)
Parameter
Returns
public Experiment.Definition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Experiment.Definition.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Experiment.Definition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeVersionVariants(VersionVariants value)
public Experiment.Definition.Builder mergeVersionVariants(VersionVariants value)
The flow versions as the variants of this experiment.
.google.cloud.dialogflow.cx.v3.VersionVariants version_variants = 2;
Parameter
Returns
setCondition(String value)
public Experiment.Definition.Builder setCondition(String value)
The condition defines which subset of sessions are selected for
this experiment. If not specified, all sessions are eligible. E.g.
"query_input.language_code=en" See the conditions
reference.
string condition = 1;
Parameter
Name |
Description |
value |
String
The condition to set.
|
Returns
setConditionBytes(ByteString value)
public Experiment.Definition.Builder setConditionBytes(ByteString value)
The condition defines which subset of sessions are selected for
this experiment. If not specified, all sessions are eligible. E.g.
"query_input.language_code=en" See the conditions
reference.
string condition = 1;
Parameter
Name |
Description |
value |
ByteString
The bytes for condition to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Experiment.Definition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Experiment.Definition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Experiment.Definition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setVersionVariants(VersionVariants value)
public Experiment.Definition.Builder setVersionVariants(VersionVariants value)
The flow versions as the variants of this experiment.
.google.cloud.dialogflow.cx.v3.VersionVariants version_variants = 2;
Parameter
Returns
setVersionVariants(VersionVariants.Builder builderForValue)
public Experiment.Definition.Builder setVersionVariants(VersionVariants.Builder builderForValue)
The flow versions as the variants of this experiment.
.google.cloud.dialogflow.cx.v3.VersionVariants version_variants = 2;
Parameter
Returns