Interface ImageComponentOrBuilder (2.40.0)

public interface ImageComponentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAltText()

public abstract String getAltText()

The accessibility label for the image.

string alt_text = 2;

Returns
Type Description
String

The altText.

getAltTextBytes()

public abstract ByteString getAltTextBytes()

The accessibility label for the image.

string alt_text = 2;

Returns
Type Description
ByteString

The bytes for altText.

getBorderStyle()

public abstract BorderStyle getBorderStyle()

The border style to apply to the image.

.google.apps.card.v1.BorderStyle border_style = 4;

Returns
Type Description
BorderStyle

The borderStyle.

getBorderStyleOrBuilder()

public abstract BorderStyleOrBuilder getBorderStyleOrBuilder()

The border style to apply to the image.

.google.apps.card.v1.BorderStyle border_style = 4;

Returns
Type Description
BorderStyleOrBuilder

getCropStyle()

public abstract ImageCropStyle getCropStyle()

The crop style to apply to the image.

.google.apps.card.v1.ImageCropStyle crop_style = 3;

Returns
Type Description
ImageCropStyle

The cropStyle.

getCropStyleOrBuilder()

public abstract ImageCropStyleOrBuilder getCropStyleOrBuilder()

The crop style to apply to the image.

.google.apps.card.v1.ImageCropStyle crop_style = 3;

Returns
Type Description
ImageCropStyleOrBuilder

getImageUri()

public abstract String getImageUri()

The image URL.

string image_uri = 1;

Returns
Type Description
String

The imageUri.

getImageUriBytes()

public abstract ByteString getImageUriBytes()

The image URL.

string image_uri = 1;

Returns
Type Description
ByteString

The bytes for imageUri.

hasBorderStyle()

public abstract boolean hasBorderStyle()

The border style to apply to the image.

.google.apps.card.v1.BorderStyle border_style = 4;

Returns
Type Description
boolean

Whether the borderStyle field is set.

hasCropStyle()

public abstract boolean hasCropStyle()

The crop style to apply to the image.

.google.apps.card.v1.ImageCropStyle crop_style = 3;

Returns
Type Description
boolean

Whether the cropStyle field is set.