Interface Intent.Message.CarouselSelect.ItemOrBuilder (4.20.0)

public static interface Intent.Message.CarouselSelect.ItemOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDescription()

public abstract String getDescription()

Optional. The body text of the card.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Optional. The body text of the card.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getImage()

public abstract Intent.Message.Image getImage()

Optional. The image to display.

.google.cloud.dialogflow.v2.Intent.Message.Image image = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Intent.Message.Image

The image.

getImageOrBuilder()

public abstract Intent.Message.ImageOrBuilder getImageOrBuilder()

Optional. The image to display.

.google.cloud.dialogflow.v2.Intent.Message.Image image = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Intent.Message.ImageOrBuilder

getInfo()

public abstract Intent.Message.SelectItemInfo getInfo()

Required. Additional info about the option item.

.google.cloud.dialogflow.v2.Intent.Message.SelectItemInfo info = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Intent.Message.SelectItemInfo

The info.

getInfoOrBuilder()

public abstract Intent.Message.SelectItemInfoOrBuilder getInfoOrBuilder()

Required. Additional info about the option item.

.google.cloud.dialogflow.v2.Intent.Message.SelectItemInfo info = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Intent.Message.SelectItemInfoOrBuilder

getTitle()

public abstract String getTitle()

Required. Title of the carousel item.

string title = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The title.

getTitleBytes()

public abstract ByteString getTitleBytes()

Required. Title of the carousel item.

string title = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for title.

hasImage()

public abstract boolean hasImage()

Optional. The image to display.

.google.cloud.dialogflow.v2.Intent.Message.Image image = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the image field is set.

hasInfo()

public abstract boolean hasInfo()

Required. Additional info about the option item.

.google.cloud.dialogflow.v2.Intent.Message.SelectItemInfo info = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the info field is set.