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
Fields
ITEMS_FIELD_NUMBER
public static final int ITEMS_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static Intent.Message.CarouselSelect getDefaultInstance()
Returns
getDefaultInstanceForType()
public Intent.Message.CarouselSelect getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
Returns
getItemsCount()
public int getItemsCount()
Required. Carousel items.
repeated .google.cloud.dialogflow.v2.Intent.Message.CarouselSelect.Item items = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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];
Returns
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
Returns
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()
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
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
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
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
toBuilder()
public Intent.Message.CarouselSelect.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions