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
Static Methods
getDefaultInstance()
public static Fulfillment.ConditionalCases getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Fulfillment.ConditionalCases.Builder newBuilder()
Returns
newBuilder(Fulfillment.ConditionalCases prototype)
public static Fulfillment.ConditionalCases.Builder newBuilder(Fulfillment.ConditionalCases prototype)
Parameter
Returns
public static Fulfillment.ConditionalCases parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Fulfillment.ConditionalCases parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Fulfillment.ConditionalCases parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Fulfillment.ConditionalCases parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Fulfillment.ConditionalCases parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Fulfillment.ConditionalCases parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Fulfillment.ConditionalCases parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Fulfillment.ConditionalCases parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Fulfillment.ConditionalCases parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Fulfillment.ConditionalCases parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Fulfillment.ConditionalCases parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Fulfillment.ConditionalCases parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Fulfillment.ConditionalCases> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
getCasesCount()
public int getCasesCount()
A list of cascading if-else conditions.
repeated .google.cloud.dialogflow.cx.v3.Fulfillment.ConditionalCases.Case cases = 1;
Returns
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
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
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
getParserForType()
public Parser<Fulfillment.ConditionalCases> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Fulfillment.ConditionalCases.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Fulfillment.ConditionalCases.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Fulfillment.ConditionalCases.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions