Class Fulfillment.ConditionalCases (0.56.0)

public static final class Fulfillment.ConditionalCases extends GeneratedMessageV3 implements Fulfillment.ConditionalCasesOrBuilder

A list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.

Protobuf type google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases

Static Fields

CASES_FIELD_NUMBER

public static final int CASES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Fulfillment.ConditionalCases getDefaultInstance()
Returns
Type Description
Fulfillment.ConditionalCases

getDescriptor()

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

newBuilder()

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

newBuilder(Fulfillment.ConditionalCases prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCases(int index)

public Fulfillment.ConditionalCases.Case getCases(int index)

A list of cascading if-else conditions.

repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case cases = 1;

Parameter
Name Description
index int
Returns
Type Description
Fulfillment.ConditionalCases.Case

getCasesCount()

public int getCasesCount()

A list of cascading if-else conditions.

repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case cases = 1;

Returns
Type Description
int

getCasesList()

public List<Fulfillment.ConditionalCases.Case> getCasesList()

A list of cascading if-else conditions.

repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case cases = 1;

Returns
Type Description
List<Case>

getCasesOrBuilder(int index)

public Fulfillment.ConditionalCases.CaseOrBuilder getCasesOrBuilder(int index)

A list of cascading if-else conditions.

repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case cases = 1;

Parameter
Name Description
index int
Returns
Type Description
Fulfillment.ConditionalCases.CaseOrBuilder

getCasesOrBuilderList()

public List<? extends Fulfillment.ConditionalCases.CaseOrBuilder> getCasesOrBuilderList()

A list of cascading if-else conditions.

repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case cases = 1;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.CaseOrBuilder>

getDefaultInstanceForType()

public Fulfillment.ConditionalCases getDefaultInstanceForType()
Returns
Type Description
Fulfillment.ConditionalCases

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.Builder newBuilderForType()
Returns
Type Description
Fulfillment.ConditionalCases.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Fulfillment.ConditionalCases.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Fulfillment.ConditionalCases.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.Builder toBuilder()
Returns
Type Description
Fulfillment.ConditionalCases.Builder

writeTo(CodedOutputStream output)

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