public static final class Intent.Message.CarouselSelect extends GeneratedMessageV3 implements Intent.Message.CarouselSelectOrBuilder
The card for presenting a carousel of options to select from.
Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect
Static Fields
ITEMS_FIELD_NUMBER
public static final int ITEMS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Intent.Message.CarouselSelect getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Intent.Message.CarouselSelect.Builder newBuilder()
Returns
newBuilder(Intent.Message.CarouselSelect prototype)
public static Intent.Message.CarouselSelect.Builder newBuilder(Intent.Message.CarouselSelect prototype)
Parameter
Returns
public static Intent.Message.CarouselSelect parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.CarouselSelect parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Intent.Message.CarouselSelect parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.CarouselSelect parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Intent.Message.CarouselSelect parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.CarouselSelect parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Intent.Message.CarouselSelect parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.CarouselSelect parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Intent.Message.CarouselSelect parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.CarouselSelect parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Intent.Message.CarouselSelect parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.CarouselSelect parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Intent.Message.CarouselSelect> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Intent.Message.CarouselSelect getDefaultInstanceForType()
Returns
getItems(int index)
public Intent.Message.CarouselSelect.Item getItems(int index)
Required. Carousel items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item items = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getItemsCount()
public int getItemsCount()
Required. Carousel items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item items = 1;
Returns
getItemsList()
public List<Intent.Message.CarouselSelect.Item> getItemsList()
Required. Carousel items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item items = 1;
Returns
getItemsOrBuilder(int index)
public Intent.Message.CarouselSelect.ItemOrBuilder getItemsOrBuilder(int index)
Required. Carousel items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item items = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getItemsOrBuilderList()
public List<? extends Intent.Message.CarouselSelect.ItemOrBuilder> getItemsOrBuilderList()
Required. Carousel items.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item items = 1;
Returns
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.ItemOrBuilder> |
|
getParserForType()
public Parser<Intent.Message.CarouselSelect> 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 Intent.Message.CarouselSelect.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Intent.Message.CarouselSelect.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Intent.Message.CarouselSelect.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions