Class Fulfillment.ConditionalCases.Case (0.13.0)

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
TypeDescription
int

CONDITION_FIELD_NUMBER

public static final int CONDITION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Fulfillment.ConditionalCases.Case getDefaultInstance()
Returns
TypeDescription
Fulfillment.ConditionalCases.Case

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Fulfillment.ConditionalCases.Case.Builder newBuilder()
Returns
TypeDescription
Fulfillment.ConditionalCases.Case.Builder

newBuilder(Fulfillment.ConditionalCases.Case prototype)

public static Fulfillment.ConditionalCases.Case.Builder newBuilder(Fulfillment.ConditionalCases.Case prototype)
Parameter
NameDescription
prototypeFulfillment.ConditionalCases.Case
Returns
TypeDescription
Fulfillment.ConditionalCases.Case.Builder

parseDelimitedFrom(InputStream input)

public static Fulfillment.ConditionalCases.Case parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Fulfillment.ConditionalCases.Case
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Fulfillment.ConditionalCases.Case parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Fulfillment.ConditionalCases.Case
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Fulfillment.ConditionalCases.Case parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Fulfillment.ConditionalCases.Case
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Fulfillment.ConditionalCases.Case parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Fulfillment.ConditionalCases.Case
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Fulfillment.ConditionalCases.Case parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Fulfillment.ConditionalCases.Case
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Fulfillment.ConditionalCases.Case parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Fulfillment.ConditionalCases.Case
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Fulfillment.ConditionalCases.Case parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Fulfillment.ConditionalCases.Case
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Fulfillment.ConditionalCases.Case parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Fulfillment.ConditionalCases.Case
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Fulfillment.ConditionalCases.Case parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Fulfillment.ConditionalCases.Case
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Fulfillment.ConditionalCases.Case parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Fulfillment.ConditionalCases.Case
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Fulfillment.ConditionalCases.Case parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Fulfillment.ConditionalCases.Case
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Fulfillment.ConditionalCases.Case parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Fulfillment.ConditionalCases.Case
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for condition.

getDefaultInstanceForType()

public Fulfillment.ConditionalCases.Case getDefaultInstanceForType()
Returns
TypeDescription
Fulfillment.ConditionalCases.Case

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Fulfillment.ConditionalCases.Case.Builder newBuilderForType()
Returns
TypeDescription
Fulfillment.ConditionalCases.Case.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Fulfillment.ConditionalCases.Case.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Fulfillment.ConditionalCases.Case.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Fulfillment.ConditionalCases.Case.Builder toBuilder()
Returns
TypeDescription
Fulfillment.ConditionalCases.Case.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException