Interface Intent.Message.MediaContent.ResponseMediaObjectOrBuilder (4.40.0)

public static interface Intent.Message.MediaContent.ResponseMediaObjectOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContentUrl()

public abstract String getContentUrl()

Required. Url where the media is stored.

string content_url = 5;

Returns
Type Description
String

The contentUrl.

getContentUrlBytes()

public abstract ByteString getContentUrlBytes()

Required. Url where the media is stored.

string content_url = 5;

Returns
Type Description
ByteString

The bytes for contentUrl.

getDescription()

public abstract String getDescription()

Optional. Description of media card.

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

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Optional. Description of media card.

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

Returns
Type Description
ByteString

The bytes for description.

getIcon()

public abstract Intent.Message.Image getIcon()

Optional. Icon to display above media content.

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

Returns
Type Description
Intent.Message.Image

The icon.

getIconOrBuilder()

public abstract Intent.Message.ImageOrBuilder getIconOrBuilder()

Optional. Icon to display above media content.

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

Returns
Type Description
Intent.Message.ImageOrBuilder

getImageCase()

public abstract Intent.Message.MediaContent.ResponseMediaObject.ImageCase getImageCase()
Returns
Type Description
Intent.Message.MediaContent.ResponseMediaObject.ImageCase

getLargeImage()

public abstract Intent.Message.Image getLargeImage()

Optional. Image to display above media content.

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

Returns
Type Description
Intent.Message.Image

The largeImage.

getLargeImageOrBuilder()

public abstract Intent.Message.ImageOrBuilder getLargeImageOrBuilder()

Optional. Image to display above media content.

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

Returns
Type Description
Intent.Message.ImageOrBuilder

getName()

public abstract String getName()

Required. Name of media card.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. Name of media card.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

hasIcon()

public abstract boolean hasIcon()

Optional. Icon to display above media content.

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

Returns
Type Description
boolean

Whether the icon field is set.

hasLargeImage()

public abstract boolean hasLargeImage()

Optional. Image to display above media content.

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

Returns
Type Description
boolean

Whether the largeImage field is set.