Interface ImageComponentOrBuilder (2.37.1)

public interface ImageComponentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAltText()

public abstract String getAltText()

The accessibility label for the image.

string alt_text = 2;

Returns
TypeDescription
String

The altText.

getAltTextBytes()

public abstract ByteString getAltTextBytes()

The accessibility label for the image.

string alt_text = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
BorderStyleOrBuilder

getCropStyle()

public abstract ImageCropStyle getCropStyle()

The crop style to apply to the image.

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

Returns
TypeDescription
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
TypeDescription
ImageCropStyleOrBuilder

getImageUri()

public abstract String getImageUri()

The image URL.

string image_uri = 1;

Returns
TypeDescription
String

The imageUri.

getImageUriBytes()

public abstract ByteString getImageUriBytes()

The image URL.

string image_uri = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the cropStyle field is set.