Class Experiment.Definition (0.34.0)

public static final class Experiment.Definition extends GeneratedMessageV3 implements Experiment.DefinitionOrBuilder

Definition of the experiment.

Protobuf type google.cloud.dialogflow.cx.v3.Experiment.Definition

Static 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
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
Type Description
Experiment.Definition

getParserForType()

public Parser<Experiment.Definition> getParserForType()
Returns
Type Description
Parser<Definition>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Experiment.Definition.Builder newBuilderForType()
Returns
Type Description
Experiment.Definition.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Experiment.Definition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Experiment.Definition.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

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
Overrides
Exceptions
Type Description
IOException