Interface Intent.Message.RbmCardContent.RbmMediaOrBuilder (4.37.0)

public static interface Intent.Message.RbmCardContent.RbmMediaOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFileUri()

public abstract String getFileUri()

Required. Publicly reachable URI of the file. The RBM platform determines the MIME type of the file from the content-type field in the HTTP headers when the platform fetches the file. The content-type field must be present and accurate in the HTTP response from the URL.

string file_uri = 1;

Returns
Type Description
String

The fileUri.

getFileUriBytes()

public abstract ByteString getFileUriBytes()

Required. Publicly reachable URI of the file. The RBM platform determines the MIME type of the file from the content-type field in the HTTP headers when the platform fetches the file. The content-type field must be present and accurate in the HTTP response from the URL.

string file_uri = 1;

Returns
Type Description
ByteString

The bytes for fileUri.

getHeight()

public abstract Intent.Message.RbmCardContent.RbmMedia.Height getHeight()

Required for cards with vertical orientation. The height of the media within a rich card with a vertical layout. For a standalone card with horizontal layout, height is not customizable, and this field is ignored.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia.Height height = 3;

Returns
Type Description
Intent.Message.RbmCardContent.RbmMedia.Height

The height.

getHeightValue()

public abstract int getHeightValue()

Required for cards with vertical orientation. The height of the media within a rich card with a vertical layout. For a standalone card with horizontal layout, height is not customizable, and this field is ignored.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia.Height height = 3;

Returns
Type Description
int

The enum numeric value on the wire for height.

getThumbnailUri()

public abstract String getThumbnailUri()

Optional. Publicly reachable URI of the thumbnail.If you don't provide a thumbnail URI, the RBM platform displays a blank placeholder thumbnail until the user's device downloads the file. Depending on the user's setting, the file may not download automatically and may require the user to tap a download button.

string thumbnail_uri = 2;

Returns
Type Description
String

The thumbnailUri.

getThumbnailUriBytes()

public abstract ByteString getThumbnailUriBytes()

Optional. Publicly reachable URI of the thumbnail.If you don't provide a thumbnail URI, the RBM platform displays a blank placeholder thumbnail until the user's device downloads the file. Depending on the user's setting, the file may not download automatically and may require the user to tap a download button.

string thumbnail_uri = 2;

Returns
Type Description
ByteString

The bytes for thumbnailUri.