public static final class Fulfillment.ConditionalCases.Case extends GeneratedMessageV3 implements Fulfillment.ConditionalCases.CaseOrBuilder
Each case has a Boolean condition. When it is evaluated to be True, the
corresponding messages will be selected and evaluated recursively.
Protobuf type google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
CASE_CONTENT_FIELD_NUMBER
public static final int CASE_CONTENT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CONDITION_FIELD_NUMBER
public static final int CONDITION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Fulfillment.ConditionalCases.Case getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Fulfillment.ConditionalCases.Case.Builder newBuilder()
newBuilder(Fulfillment.ConditionalCases.Case prototype)
public static Fulfillment.ConditionalCases.Case.Builder newBuilder(Fulfillment.ConditionalCases.Case prototype)
public static Fulfillment.ConditionalCases.Case parseDelimitedFrom(InputStream input)
public static Fulfillment.ConditionalCases.Case parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Fulfillment.ConditionalCases.Case parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Fulfillment.ConditionalCases.Case parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Fulfillment.ConditionalCases.Case parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Fulfillment.ConditionalCases.Case parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Fulfillment.ConditionalCases.Case parseFrom(CodedInputStream input)
public static Fulfillment.ConditionalCases.Case parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Fulfillment.ConditionalCases.Case parseFrom(InputStream input)
public static Fulfillment.ConditionalCases.Case parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Fulfillment.ConditionalCases.Case parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Fulfillment.ConditionalCases.Case parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Fulfillment.ConditionalCases.Case> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCaseContent(int index)
public Fulfillment.ConditionalCases.Case.CaseContent getCaseContent(int index)
A list of case content.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;
Parameter |
Name |
Description |
index |
int
|
getCaseContentCount()
public int getCaseContentCount()
A list of case content.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;
Returns |
Type |
Description |
int |
|
getCaseContentList()
public List<Fulfillment.ConditionalCases.Case.CaseContent> getCaseContentList()
A list of case content.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;
getCaseContentOrBuilder(int index)
public Fulfillment.ConditionalCases.Case.CaseContentOrBuilder getCaseContentOrBuilder(int index)
A list of case content.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;
Parameter |
Name |
Description |
index |
int
|
getCaseContentOrBuilderList()
public List<? extends Fulfillment.ConditionalCases.Case.CaseContentOrBuilder> getCaseContentOrBuilderList()
A list of case content.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case.CaseContentOrBuilder> |
|
getCondition()
public String getCondition()
The condition to activate and select this case. Empty means the
condition is always true. The condition is evaluated against form
parameters or session
parameters.
See the conditions
reference.
string condition = 1;
Returns |
Type |
Description |
String |
The condition.
|
getConditionBytes()
public ByteString getConditionBytes()
The condition to activate and select this case. Empty means the
condition is always true. The condition is evaluated against form
parameters or session
parameters.
See the conditions
reference.
string condition = 1;
Returns |
Type |
Description |
ByteString |
The bytes for condition.
|
getDefaultInstanceForType()
public Fulfillment.ConditionalCases.Case getDefaultInstanceForType()
getParserForType()
public Parser<Fulfillment.ConditionalCases.Case> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Fulfillment.ConditionalCases.Case.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Fulfillment.ConditionalCases.Case.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Fulfillment.ConditionalCases.Case.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides