Enum Intent.Message.BrowseCarouselCard.ImageDisplayOptions (4.40.0)

public enum Intent.Message.BrowseCarouselCard.ImageDisplayOptions extends Enum<Intent.Message.BrowseCarouselCard.ImageDisplayOptions> implements ProtocolMessageEnum

Image display options for Actions on Google. This should be used for when the image's aspect ratio does not match the image container's aspect ratio.

Protobuf enum google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.ImageDisplayOptions

Implements

ProtocolMessageEnum

Static Fields

Name Description
BLURRED_BACKGROUND

Pad the gaps between image and image frame with a blurred copy of the same image.

BLURRED_BACKGROUND = 4;

BLURRED_BACKGROUND_VALUE

Pad the gaps between image and image frame with a blurred copy of the same image.

BLURRED_BACKGROUND = 4;

CROPPED

Image is scaled such that the image width and height match or exceed the container dimensions. This may crop the top and bottom of the image if the scaled image height is greater than the container height, or crop the left and right of the image if the scaled image width is greater than the container width. This is similar to "Zoom Mode" on a widescreen TV when playing a 4:3 video.

CROPPED = 3;

CROPPED_VALUE

Image is scaled such that the image width and height match or exceed the container dimensions. This may crop the top and bottom of the image if the scaled image height is greater than the container height, or crop the left and right of the image if the scaled image width is greater than the container width. This is similar to "Zoom Mode" on a widescreen TV when playing a 4:3 video.

CROPPED = 3;

GRAY

Fill the gaps between the image and the image container with gray bars.

GRAY = 1;

GRAY_VALUE

Fill the gaps between the image and the image container with gray bars.

GRAY = 1;

IMAGE_DISPLAY_OPTIONS_UNSPECIFIED

Fill the gaps between the image and the image container with gray bars.

IMAGE_DISPLAY_OPTIONS_UNSPECIFIED = 0;

IMAGE_DISPLAY_OPTIONS_UNSPECIFIED_VALUE

Fill the gaps between the image and the image container with gray bars.

IMAGE_DISPLAY_OPTIONS_UNSPECIFIED = 0;

UNRECOGNIZED
WHITE

Fill the gaps between the image and the image container with white bars.

WHITE = 2;

WHITE_VALUE

Fill the gaps between the image and the image container with white bars.

WHITE = 2;

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()