Class Intent.Message.BrowseCarouselCard (4.46.0)

public static final class Intent.Message.BrowseCarouselCard extends GeneratedMessageV3 implements Intent.Message.BrowseCarouselCardOrBuilder

Browse Carousel Card for Actions on Google. https://developers.google.com/actions/assistant/responses#browsing_carousel

Protobuf type google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Intent.Message.BrowseCarouselCard

Static Fields

IMAGE_DISPLAY_OPTIONS_FIELD_NUMBER

public static final int IMAGE_DISPLAY_OPTIONS_FIELD_NUMBER
Field Value
Type Description
int

ITEMS_FIELD_NUMBER

public static final int ITEMS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Intent.Message.BrowseCarouselCard getDefaultInstance()
Returns
Type Description
Intent.Message.BrowseCarouselCard

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Intent.Message.BrowseCarouselCard.Builder newBuilder()
Returns
Type Description
Intent.Message.BrowseCarouselCard.Builder

newBuilder(Intent.Message.BrowseCarouselCard prototype)

public static Intent.Message.BrowseCarouselCard.Builder newBuilder(Intent.Message.BrowseCarouselCard prototype)
Parameter
Name Description
prototype Intent.Message.BrowseCarouselCard
Returns
Type Description
Intent.Message.BrowseCarouselCard.Builder

parseDelimitedFrom(InputStream input)

public static Intent.Message.BrowseCarouselCard parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Intent.Message.BrowseCarouselCard
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.BrowseCarouselCard parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.BrowseCarouselCard
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Intent.Message.BrowseCarouselCard parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Intent.Message.BrowseCarouselCard
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.BrowseCarouselCard parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.BrowseCarouselCard
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Intent.Message.BrowseCarouselCard parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Intent.Message.BrowseCarouselCard
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.BrowseCarouselCard parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.BrowseCarouselCard
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Intent.Message.BrowseCarouselCard parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Intent.Message.BrowseCarouselCard
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.BrowseCarouselCard parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.BrowseCarouselCard
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Intent.Message.BrowseCarouselCard parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Intent.Message.BrowseCarouselCard
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.BrowseCarouselCard parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.BrowseCarouselCard
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Intent.Message.BrowseCarouselCard parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Intent.Message.BrowseCarouselCard
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.BrowseCarouselCard parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.BrowseCarouselCard
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Intent.Message.BrowseCarouselCard> parser()
Returns
Type Description
Parser<BrowseCarouselCard>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Intent.Message.BrowseCarouselCard getDefaultInstanceForType()
Returns
Type Description
Intent.Message.BrowseCarouselCard

getImageDisplayOptions()

public Intent.Message.BrowseCarouselCard.ImageDisplayOptions getImageDisplayOptions()

Optional. Settings for displaying the image. Applies to every image in items.

.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.ImageDisplayOptions image_display_options = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Intent.Message.BrowseCarouselCard.ImageDisplayOptions

The imageDisplayOptions.

getImageDisplayOptionsValue()

public int getImageDisplayOptionsValue()

Optional. Settings for displaying the image. Applies to every image in items.

.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.ImageDisplayOptions image_display_options = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for imageDisplayOptions.

getItems(int index)

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem getItems(int index)

Required. List of items in the Browse Carousel Card. Minimum of two items, maximum of ten.

repeated .google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem items = 1;

Parameter
Name Description
index int
Returns
Type Description
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem

getItemsCount()

public int getItemsCount()

Required. List of items in the Browse Carousel Card. Minimum of two items, maximum of ten.

repeated .google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem items = 1;

Returns
Type Description
int

getItemsList()

public List<Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem> getItemsList()

Required. List of items in the Browse Carousel Card. Minimum of two items, maximum of ten.

repeated .google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem items = 1;

Returns
Type Description
List<BrowseCarouselCardItem>

getItemsOrBuilder(int index)

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItemOrBuilder getItemsOrBuilder(int index)

Required. List of items in the Browse Carousel Card. Minimum of two items, maximum of ten.

repeated .google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem items = 1;

Parameter
Name Description
index int
Returns
Type Description
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItemOrBuilder

getItemsOrBuilderList()

public List<? extends Intent.Message.BrowseCarouselCard.BrowseCarouselCardItemOrBuilder> getItemsOrBuilderList()

Required. List of items in the Browse Carousel Card. Minimum of two items, maximum of ten.

repeated .google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem items = 1;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItemOrBuilder>

getParserForType()

public Parser<Intent.Message.BrowseCarouselCard> getParserForType()
Returns
Type Description
Parser<BrowseCarouselCard>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Intent.Message.BrowseCarouselCard.Builder newBuilderForType()
Returns
Type Description
Intent.Message.BrowseCarouselCard.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Intent.Message.BrowseCarouselCard.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Intent.Message.BrowseCarouselCard.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Intent.Message.BrowseCarouselCard.Builder toBuilder()
Returns
Type Description
Intent.Message.BrowseCarouselCard.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException