public static final class Experiment.Definition extends GeneratedMessageV3 implements Experiment.DefinitionOrBuilder
Definition of the experiment.
Protobuf type google.cloud.dialogflow.cx.v3beta1.Experiment.Definition
Static Fields
CONDITION_FIELD_NUMBER
public static final int CONDITION_FIELD_NUMBER
Field Value
VERSION_VARIANTS_FIELD_NUMBER
public static final int VERSION_VARIANTS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Experiment.Definition getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Experiment.Definition.Builder newBuilder()
Returns
newBuilder(Experiment.Definition prototype)
public static Experiment.Definition.Builder newBuilder(Experiment.Definition prototype)
Parameter
Returns
public static Experiment.Definition parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Experiment.Definition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Experiment.Definition parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Experiment.Definition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Experiment.Definition parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Experiment.Definition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Experiment.Definition parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Experiment.Definition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Experiment.Definition parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Experiment.Definition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Experiment.Definition parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Experiment.Definition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Experiment.Definition> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
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
getParserForType()
public Parser<Experiment.Definition> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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.v3beta1.VersionVariants version_variants = 2;
Returns
getVersionVariantsOrBuilder()
public VersionVariantsOrBuilder getVersionVariantsOrBuilder()
The flow versions as the variants of this experiment.
.google.cloud.dialogflow.cx.v3beta1.VersionVariants version_variants = 2;
Returns
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Experiment.Definition.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Experiment.Definition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Experiment.Definition.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions