Class Experiment.Definition (0.14.2)

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
TypeDescription
int

VERSION_VARIANTS_FIELD_NUMBER

public static final int VERSION_VARIANTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Experiment.Definition getDefaultInstance()
Returns
TypeDescription
Experiment.Definition

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Experiment.Definition.Builder newBuilder()
Returns
TypeDescription
Experiment.Definition.Builder

newBuilder(Experiment.Definition prototype)

public static Experiment.Definition.Builder newBuilder(Experiment.Definition prototype)
Parameter
NameDescription
prototypeExperiment.Definition
Returns
TypeDescription
Experiment.Definition.Builder

parseDelimitedFrom(InputStream input)

public static Experiment.Definition parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Experiment.Definition
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Experiment.Definition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Experiment.Definition
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Experiment.Definition parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Experiment.Definition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Experiment.Definition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Experiment.Definition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Experiment.Definition parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Experiment.Definition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Experiment.Definition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Experiment.Definition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Experiment.Definition parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Experiment.Definition
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Experiment.Definition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Experiment.Definition
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Experiment.Definition parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Experiment.Definition
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Experiment.Definition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Experiment.Definition
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Experiment.Definition parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Experiment.Definition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Experiment.Definition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Experiment.Definition
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Experiment.Definition> parser()
Returns
TypeDescription
Parser<Definition>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for condition.

getDefaultInstanceForType()

public Experiment.Definition getDefaultInstanceForType()
Returns
TypeDescription
Experiment.Definition

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getVariantsCase()

public Experiment.Definition.VariantsCase getVariantsCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
VersionVariantsOrBuilder

hasVersionVariants()

public boolean hasVersionVariants()

The flow versions as the variants of this experiment.

.google.cloud.dialogflow.cx.v3.VersionVariants version_variants = 2;

Returns
TypeDescription
boolean

Whether the versionVariants field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Experiment.Definition.Builder newBuilderForType()
Returns
TypeDescription
Experiment.Definition.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Experiment.Definition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Experiment.Definition.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Experiment.Definition.Builder toBuilder()
Returns
TypeDescription
Experiment.Definition.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException