Class Intent.Message.BrowseCarouselCard (4.5.11)

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
TypeDescription
int

ITEMS_FIELD_NUMBER

public static final int ITEMS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Intent.Message.BrowseCarouselCard getDefaultInstance()
Returns
TypeDescription
Intent.Message.BrowseCarouselCard

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Intent.Message.BrowseCarouselCard.Builder newBuilder()
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.Builder

newBuilder(Intent.Message.BrowseCarouselCard prototype)

public static Intent.Message.BrowseCarouselCard.Builder newBuilder(Intent.Message.BrowseCarouselCard prototype)
Parameter
NameDescription
prototypeIntent.Message.BrowseCarouselCard
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.Builder

parseDelimitedFrom(InputStream input)

public static Intent.Message.BrowseCarouselCard parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Intent.Message.BrowseCarouselCard
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.BrowseCarouselCard parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.BrowseCarouselCard
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Intent.Message.BrowseCarouselCard parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Intent.Message.BrowseCarouselCard
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.BrowseCarouselCard parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.BrowseCarouselCard
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Intent.Message.BrowseCarouselCard parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Intent.Message.BrowseCarouselCard
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.BrowseCarouselCard parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.BrowseCarouselCard
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Intent.Message.BrowseCarouselCard parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Intent.Message.BrowseCarouselCard
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.BrowseCarouselCard parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.BrowseCarouselCard
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Intent.Message.BrowseCarouselCard parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Intent.Message.BrowseCarouselCard
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.BrowseCarouselCard parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.BrowseCarouselCard
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Intent.Message.BrowseCarouselCard parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Intent.Message.BrowseCarouselCard
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.BrowseCarouselCard parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.BrowseCarouselCard
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Intent.Message.BrowseCarouselCard getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItemOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Intent.Message.BrowseCarouselCard.Builder newBuilderForType()
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Intent.Message.BrowseCarouselCard.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Intent.Message.BrowseCarouselCard.Builder toBuilder()
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException