public static final class Experiment.Definition.Builder extends GeneratedMessage.Builder<Experiment.Definition.Builder> implements Experiment.DefinitionOrBuilderDefinition of the experiment.
Protobuf type google.cloud.dialogflow.cx.v3.Experiment.Definition
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Experiment.Definition.BuilderImplements
Experiment.DefinitionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Experiment.Definition build()| Returns | |
|---|---|
| Type | Description |
Experiment.Definition |
|
buildPartial()
public Experiment.Definition buildPartial()| Returns | |
|---|---|
| Type | Description |
Experiment.Definition |
|
clear()
public Experiment.Definition.Builder clear()| Returns | |
|---|---|
| Type | Description |
Experiment.Definition.Builder |
|
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 | |
|---|---|
| Type | Description |
Experiment.Definition.Builder |
This builder for chaining. |
clearVariants()
public Experiment.Definition.Builder clearVariants()| Returns | |
|---|---|
| Type | Description |
Experiment.Definition.Builder |
|
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 | |
|---|---|
| Type | Description |
Experiment.Definition.Builder |
|
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 | |
|---|---|
| Type | Description |
Experiment.Definition |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getVariantsCase()
public Experiment.Definition.VariantsCase getVariantsCase()| Returns | |
|---|---|
| Type | Description |
Experiment.Definition.VariantsCase |
|
getVersionVariants()
public VersionVariants getVersionVariants()The flow versions as the variants of this experiment.
.google.cloud.dialogflow.cx.v3.VersionVariants version_variants = 2;
| Returns | |
|---|---|
| Type | Description |
VersionVariants |
The versionVariants. |
getVersionVariantsBuilder()
public VersionVariants.Builder getVersionVariantsBuilder()The flow versions as the variants of this experiment.
.google.cloud.dialogflow.cx.v3.VersionVariants version_variants = 2;
| Returns | |
|---|---|
| Type | Description |
VersionVariants.Builder |
|
getVersionVariantsOrBuilder()
public VersionVariantsOrBuilder getVersionVariantsOrBuilder()The flow versions as the variants of this experiment.
.google.cloud.dialogflow.cx.v3.VersionVariants version_variants = 2;
| Returns | |
|---|---|
| Type | Description |
VersionVariantsOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Experiment.Definition other)
public Experiment.Definition.Builder mergeFrom(Experiment.Definition other)| Parameter | |
|---|---|
| Name | Description |
other |
Experiment.Definition |
| Returns | |
|---|---|
| Type | Description |
Experiment.Definition.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Experiment.Definition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Experiment.Definition.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Experiment.Definition.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Experiment.Definition.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
VersionVariants |
| Returns | |
|---|---|
| Type | Description |
Experiment.Definition.Builder |
|
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 |
StringThe condition to set. |
| Returns | |
|---|---|
| Type | Description |
Experiment.Definition.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for condition to set. |
| Returns | |
|---|---|
| Type | Description |
Experiment.Definition.Builder |
This builder for chaining. |
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 | |
|---|---|
| Name | Description |
value |
VersionVariants |
| Returns | |
|---|---|
| Type | Description |
Experiment.Definition.Builder |
|
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 | |
|---|---|
| Name | Description |
builderForValue |
VersionVariants.Builder |
| Returns | |
|---|---|
| Type | Description |
Experiment.Definition.Builder |
|