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.v3beta1.Fulfillment.ConditionalCases.Case
Static Fields
CASE_CONTENT_FIELD_NUMBER
public static final int CASE_CONTENT_FIELD_NUMBER
Field Value
CONDITION_FIELD_NUMBER
public static final int CONDITION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Fulfillment.ConditionalCases.Case getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Fulfillment.ConditionalCases.Case.Builder newBuilder()
Returns
newBuilder(Fulfillment.ConditionalCases.Case prototype)
public static Fulfillment.ConditionalCases.Case.Builder newBuilder(Fulfillment.ConditionalCases.Case prototype)
Parameter
Returns
public static Fulfillment.ConditionalCases.Case parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Fulfillment.ConditionalCases.Case parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Fulfillment.ConditionalCases.Case parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Fulfillment.ConditionalCases.Case parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Fulfillment.ConditionalCases.Case parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Fulfillment.ConditionalCases.Case parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Fulfillment.ConditionalCases.Case parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Fulfillment.ConditionalCases.Case parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Fulfillment.ConditionalCases.Case parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Fulfillment.ConditionalCases.Case parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Fulfillment.ConditionalCases.Case parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Fulfillment.ConditionalCases.Case parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Fulfillment.ConditionalCases.Case> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCaseContent(int index)
public Fulfillment.ConditionalCases.Case.CaseContent getCaseContent(int index)
A list of case content.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;
Parameter
Name |
Description |
index |
int
|
Returns
getCaseContentCount()
public int getCaseContentCount()
A list of case content.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;
Returns
getCaseContentList()
public List<Fulfillment.ConditionalCases.Case.CaseContent> getCaseContentList()
A list of case content.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;
Returns
getCaseContentOrBuilder(int index)
public Fulfillment.ConditionalCases.Case.CaseContentOrBuilder getCaseContentOrBuilder(int index)
A list of case content.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;
Parameter
Name |
Description |
index |
int
|
Returns
getCaseContentOrBuilderList()
public List<? extends Fulfillment.ConditionalCases.Case.CaseContentOrBuilder> getCaseContentOrBuilderList()
A list of case content.
repeated .google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;
Returns
Type |
Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.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()
Returns
getParserForType()
public Parser<Fulfillment.ConditionalCases.Case> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Fulfillment.ConditionalCases.Case.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Fulfillment.ConditionalCases.Case.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Fulfillment.ConditionalCases.Case.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions