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.v2.Intent.Message.CarouselSelect
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
ITEMS_FIELD_NUMBER
public static final int ITEMS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Intent.Message.CarouselSelect getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Intent.Message.CarouselSelect.Builder newBuilder()
newBuilder(Intent.Message.CarouselSelect prototype)
public static Intent.Message.CarouselSelect.Builder newBuilder(Intent.Message.CarouselSelect prototype)
public static Intent.Message.CarouselSelect parseDelimitedFrom(InputStream input)
public static Intent.Message.CarouselSelect parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Intent.Message.CarouselSelect parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.CarouselSelect parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Intent.Message.CarouselSelect parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.CarouselSelect parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.CarouselSelect parseFrom(CodedInputStream input)
public static Intent.Message.CarouselSelect parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.CarouselSelect parseFrom(InputStream input)
public static Intent.Message.CarouselSelect parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Intent.Message.CarouselSelect parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.CarouselSelect parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Intent.Message.CarouselSelect> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Intent.Message.CarouselSelect getDefaultInstanceForType()
getItems(int index)
public Intent.Message.CarouselSelect.Item getItems(int index)
Required. Carousel items.
repeated .google.cloud.dialogflow.v2.Intent.Message.CarouselSelect.Item items = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getItemsCount()
public int getItemsCount()
Required. Carousel items.
repeated .google.cloud.dialogflow.v2.Intent.Message.CarouselSelect.Item items = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
getItemsList()
public List<Intent.Message.CarouselSelect.Item> getItemsList()
Required. Carousel items.
repeated .google.cloud.dialogflow.v2.Intent.Message.CarouselSelect.Item items = 1 [(.google.api.field_behavior) = REQUIRED];
getItemsOrBuilder(int index)
public Intent.Message.CarouselSelect.ItemOrBuilder getItemsOrBuilder(int index)
Required. Carousel items.
repeated .google.cloud.dialogflow.v2.Intent.Message.CarouselSelect.Item items = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getItemsOrBuilderList()
public List<? extends Intent.Message.CarouselSelect.ItemOrBuilder> getItemsOrBuilderList()
Required. Carousel items.
repeated .google.cloud.dialogflow.v2.Intent.Message.CarouselSelect.Item items = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2.Intent.Message.CarouselSelect.ItemOrBuilder> |
|
getParserForType()
public Parser<Intent.Message.CarouselSelect> 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 Intent.Message.CarouselSelect.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Intent.Message.CarouselSelect.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Intent.Message.CarouselSelect.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides