public static final class Experiment.Definition extends GeneratedMessage implements Experiment.DefinitionOrBuilderDefinition of the experiment.
Protobuf type google.cloud.dialogflow.cx.v3beta1.Experiment.Definition
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > Experiment.DefinitionImplements
Experiment.DefinitionOrBuilderStatic Fields
CONDITION_FIELD_NUMBER
public static final int CONDITION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
VERSION_VARIANTS_FIELD_NUMBER
public static final int VERSION_VARIANTS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static Experiment.Definition getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
Experiment.Definition |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static Experiment.Definition.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
Experiment.Definition.Builder |
|
newBuilder(Experiment.Definition prototype)
public static Experiment.Definition.Builder newBuilder(Experiment.Definition prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
Experiment.Definition |
| Returns | |
|---|---|
| Type | Description |
Experiment.Definition.Builder |
|
parseDelimitedFrom(InputStream input)
public static Experiment.Definition parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Experiment.Definition |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Experiment.Definition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Experiment.Definition |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static Experiment.Definition parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
Experiment.Definition |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Experiment.Definition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Experiment.Definition |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static Experiment.Definition parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
Experiment.Definition |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Experiment.Definition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Experiment.Definition |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static Experiment.Definition parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
Experiment.Definition |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Experiment.Definition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Experiment.Definition |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static Experiment.Definition parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Experiment.Definition |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Experiment.Definition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Experiment.Definition |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static Experiment.Definition parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
Experiment.Definition |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Experiment.Definition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Experiment.Definition |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<Experiment.Definition> parser()| Returns | |
|---|---|
| Type | Description |
Parser<Definition> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
getParserForType()
public Parser<Experiment.Definition> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<Definition> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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.v3beta1.VersionVariants version_variants = 2;
| Returns | |
|---|---|
| Type | Description |
VersionVariants |
The versionVariants. |
getVersionVariantsOrBuilder()
public VersionVariantsOrBuilder getVersionVariantsOrBuilder()The flow versions as the variants of this experiment.
.google.cloud.dialogflow.cx.v3beta1.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.v3beta1.VersionVariants version_variants = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the versionVariants field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public Experiment.Definition.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
Experiment.Definition.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Experiment.Definition.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
Experiment.Definition.Builder |
|
toBuilder()
public Experiment.Definition.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
Experiment.Definition.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|