Class Fulfillment.ConditionalCases.Case (0.12.1)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Fulfillment.ConditionalCases.Case

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()
Returns
Type Description
Fulfillment.ConditionalCases.Case

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Fulfillment.ConditionalCases.Case.Builder newBuilder()
Returns
Type Description
Fulfillment.ConditionalCases.Case.Builder

newBuilder(Fulfillment.ConditionalCases.Case prototype)

public static Fulfillment.ConditionalCases.Case.Builder newBuilder(Fulfillment.ConditionalCases.Case prototype)
Parameter
Name Description
prototype Fulfillment.ConditionalCases.Case
Returns
Type Description
Fulfillment.ConditionalCases.Case.Builder

parseDelimitedFrom(InputStream input)

public static Fulfillment.ConditionalCases.Case parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Fulfillment.ConditionalCases.Case
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Fulfillment.ConditionalCases.Case parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Fulfillment.ConditionalCases.Case
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Fulfillment.ConditionalCases.Case parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Fulfillment.ConditionalCases.Case
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Fulfillment.ConditionalCases.Case parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Fulfillment.ConditionalCases.Case
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Fulfillment.ConditionalCases.Case parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Fulfillment.ConditionalCases.Case
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Fulfillment.ConditionalCases.Case parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Fulfillment.ConditionalCases.Case
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Fulfillment.ConditionalCases.Case parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Fulfillment.ConditionalCases.Case
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Fulfillment.ConditionalCases.Case parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Fulfillment.ConditionalCases.Case
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Fulfillment.ConditionalCases.Case parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Fulfillment.ConditionalCases.Case
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Fulfillment.ConditionalCases.Case parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Fulfillment.ConditionalCases.Case
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Fulfillment.ConditionalCases.Case parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Fulfillment.ConditionalCases.Case
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Fulfillment.ConditionalCases.Case parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Fulfillment.ConditionalCases.Case
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Fulfillment.ConditionalCases.Case> parser()
Returns
Type Description
Parser<Case>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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
Type Description
Fulfillment.ConditionalCases.Case.CaseContent

getCaseContentCount()

public int getCaseContentCount()

A list of case content.

repeated .google.cloud.dialogflow.cx.v3beta1.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.v3beta1.Fulfillment.ConditionalCases.Case.CaseContent case_content = 2;

Returns
Type Description
List<CaseContent>

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
Type Description
Fulfillment.ConditionalCases.Case.CaseContentOrBuilder

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
Type Description
Fulfillment.ConditionalCases.Case

getParserForType()

public Parser<Fulfillment.ConditionalCases.Case> getParserForType()
Returns
Type Description
Parser<Case>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Fulfillment.ConditionalCases.Case.Builder newBuilderForType()
Returns
Type Description
Fulfillment.ConditionalCases.Case.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Fulfillment.ConditionalCases.Case.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Fulfillment.ConditionalCases.Case.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Fulfillment.ConditionalCases.Case.Builder toBuilder()
Returns
Type Description
Fulfillment.ConditionalCases.Case.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides Exceptions
Type Description
IOException