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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Fulfillment.ConditionalCases.Builder newBuilder()
newBuilder(Fulfillment.ConditionalCases prototype)
public static Fulfillment.ConditionalCases.Builder newBuilder(Fulfillment.ConditionalCases prototype)
public static Fulfillment.ConditionalCases parseDelimitedFrom(InputStream input)
public static Fulfillment.ConditionalCases parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Fulfillment.ConditionalCases parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Fulfillment.ConditionalCases parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Fulfillment.ConditionalCases parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Fulfillment.ConditionalCases parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Fulfillment.ConditionalCases parseFrom(CodedInputStream input)
public static Fulfillment.ConditionalCases parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Fulfillment.ConditionalCases parseFrom(InputStream input)
public static Fulfillment.ConditionalCases parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Fulfillment.ConditionalCases parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Fulfillment.ConditionalCases parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Fulfillment.ConditionalCases> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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
|
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;
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
|
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()
getParserForType()
public Parser<Fulfillment.ConditionalCases> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Fulfillment.ConditionalCases.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Fulfillment.ConditionalCases.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Fulfillment.ConditionalCases.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides