public static final class Fulfillment.ConditionalCases.Case extends com.google.protobuf.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| Modifier and Type | Class and Description |
|---|---|
static class |
Fulfillment.ConditionalCases.Case.Builder
Each case has a Boolean condition.
|
static class |
Fulfillment.ConditionalCases.Case.CaseContent
The list of messages or conditional cases to activate for this case.
|
static interface |
Fulfillment.ConditionalCases.Case.CaseContentOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CASE_CONTENT_FIELD_NUMBER |
static int |
CONDITION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Fulfillment.ConditionalCases.Case.CaseContent |
getCaseContent(int index)
A list of case content.
|
int |
getCaseContentCount()
A list of case content.
|
List<Fulfillment.ConditionalCases.Case.CaseContent> |
getCaseContentList()
A list of case content.
|
Fulfillment.ConditionalCases.Case.CaseContentOrBuilder |
getCaseContentOrBuilder(int index)
A list of case content.
|
List<? extends Fulfillment.ConditionalCases.Case.CaseContentOrBuilder> |
getCaseContentOrBuilderList()
A list of case content.
|
String |
getCondition()
The condition to activate and select this case.
|
com.google.protobuf.ByteString |
getConditionBytes()
The condition to activate and select this case.
|
static Fulfillment.ConditionalCases.Case |
getDefaultInstance() |
Fulfillment.ConditionalCases.Case |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<Fulfillment.ConditionalCases.Case> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Fulfillment.ConditionalCases.Case.Builder |
newBuilder() |
static Fulfillment.ConditionalCases.Case.Builder |
newBuilder(Fulfillment.ConditionalCases.Case prototype) |
Fulfillment.ConditionalCases.Case.Builder |
newBuilderForType() |
protected Fulfillment.ConditionalCases.Case.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Fulfillment.ConditionalCases.Case |
parseDelimitedFrom(InputStream input) |
static Fulfillment.ConditionalCases.Case |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Fulfillment.ConditionalCases.Case |
parseFrom(byte[] data) |
static Fulfillment.ConditionalCases.Case |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Fulfillment.ConditionalCases.Case |
parseFrom(ByteBuffer data) |
static Fulfillment.ConditionalCases.Case |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Fulfillment.ConditionalCases.Case |
parseFrom(com.google.protobuf.ByteString data) |
static Fulfillment.ConditionalCases.Case |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Fulfillment.ConditionalCases.Case |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Fulfillment.ConditionalCases.Case |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Fulfillment.ConditionalCases.Case |
parseFrom(InputStream input) |
static Fulfillment.ConditionalCases.Case |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Fulfillment.ConditionalCases.Case> |
parser() |
Fulfillment.ConditionalCases.Case.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CONDITION_FIELD_NUMBER
public static final int CASE_CONTENT_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getCondition()
The condition to activate and select this case. Empty means the condition is always true. The condition is evaluated against [form parameters][Form.parameters] or [session parameters][SessionInfo.parameters]. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
string condition = 1;getCondition in interface Fulfillment.ConditionalCases.CaseOrBuilderpublic com.google.protobuf.ByteString getConditionBytes()
The condition to activate and select this case. Empty means the condition is always true. The condition is evaluated against [form parameters][Form.parameters] or [session parameters][SessionInfo.parameters]. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
string condition = 1;getConditionBytes in interface Fulfillment.ConditionalCases.CaseOrBuilderpublic List<Fulfillment.ConditionalCases.Case.CaseContent> getCaseContentList()
A list of case content.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;
getCaseContentList in interface Fulfillment.ConditionalCases.CaseOrBuilderpublic 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;
getCaseContentOrBuilderList in interface Fulfillment.ConditionalCases.CaseOrBuilderpublic int getCaseContentCount()
A list of case content.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;
getCaseContentCount in interface Fulfillment.ConditionalCases.CaseOrBuilderpublic 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;
getCaseContent in interface Fulfillment.ConditionalCases.CaseOrBuilderpublic 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;
getCaseContentOrBuilder in interface Fulfillment.ConditionalCases.CaseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Fulfillment.ConditionalCases.Case parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Fulfillment.ConditionalCases.Case parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Fulfillment.ConditionalCases.Case parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Fulfillment.ConditionalCases.Case parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Fulfillment.ConditionalCases.Case parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Fulfillment.ConditionalCases.Case parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Fulfillment.ConditionalCases.Case parseFrom(InputStream input) throws IOException
IOExceptionpublic static Fulfillment.ConditionalCases.Case parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Fulfillment.ConditionalCases.Case parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Fulfillment.ConditionalCases.Case parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Fulfillment.ConditionalCases.Case parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Fulfillment.ConditionalCases.Case parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Fulfillment.ConditionalCases.Case.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Fulfillment.ConditionalCases.Case.Builder newBuilder()
public static Fulfillment.ConditionalCases.Case.Builder newBuilder(Fulfillment.ConditionalCases.Case prototype)
public Fulfillment.ConditionalCases.Case.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Fulfillment.ConditionalCases.Case.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Fulfillment.ConditionalCases.Case getDefaultInstance()
public static com.google.protobuf.Parser<Fulfillment.ConditionalCases.Case> parser()
public com.google.protobuf.Parser<Fulfillment.ConditionalCases.Case> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Fulfillment.ConditionalCases.Case getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.