Class Fulfillment.ConditionalCases (0.13.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.v3beta1.Fulfillment.ConditionalCases

Static Fields

CASES_FIELD_NUMBER

public static final int CASES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(Fulfillment.ConditionalCases prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCases(int index)

public Fulfillment.ConditionalCases.Case getCases(int index)

A list of cascading if-else conditions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Fulfillment.ConditionalCases.Case

getCasesCount()

public int getCasesCount()

A list of cascading if-else conditions.

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

Returns
TypeDescription
int

getCasesList()

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

A list of cascading if-else conditions.

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

Returns
TypeDescription
List<Case>

getCasesOrBuilder(int index)

public Fulfillment.ConditionalCases.CaseOrBuilder getCasesOrBuilder(int index)

A list of cascading if-else conditions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Fulfillment.ConditionalCases.CaseOrBuilder

getCasesOrBuilderList()

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

A list of cascading if-else conditions.

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

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.cx.v3beta1.Fulfillment.ConditionalCases.CaseOrBuilder>

getDefaultInstanceForType()

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

getParserForType()

public Parser<Fulfillment.ConditionalCases> getParserForType()
Returns
TypeDescription
Parser<ConditionalCases>
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.Builder newBuilderForType()
Returns
TypeDescription
Fulfillment.ConditionalCases.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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