Package com.google.apps.card.v1
Interface ImageComponentOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImageComponent,ImageComponent.Builder
public interface ImageComponentOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetAltText()The accessibility label for the image.com.google.protobuf.ByteStringgetAltTextBytes()The accessibility label for the image.BorderStylegetBorderStyle()The border style to apply to the image.BorderStyleOrBuildergetBorderStyleOrBuilder()The border style to apply to the image.ImageCropStylegetCropStyle()The crop style to apply to the image.ImageCropStyleOrBuildergetCropStyleOrBuilder()The crop style to apply to the image.java.lang.StringgetImageUri()The image URL.com.google.protobuf.ByteStringgetImageUriBytes()The image URL.booleanhasBorderStyle()The border style to apply to the image.booleanhasCropStyle()The crop style to apply to the image.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getImageUri
java.lang.String getImageUri()
The image URL.
string image_uri = 1;- Returns:
- The imageUri.
-
getImageUriBytes
com.google.protobuf.ByteString getImageUriBytes()
The image URL.
string image_uri = 1;- Returns:
- The bytes for imageUri.
-
getAltText
java.lang.String getAltText()
The accessibility label for the image.
string alt_text = 2;- Returns:
- The altText.
-
getAltTextBytes
com.google.protobuf.ByteString getAltTextBytes()
The accessibility label for the image.
string alt_text = 2;- Returns:
- The bytes for altText.
-
hasCropStyle
boolean hasCropStyle()
The crop style to apply to the image.
.google.apps.card.v1.ImageCropStyle crop_style = 3;- Returns:
- Whether the cropStyle field is set.
-
getCropStyle
ImageCropStyle getCropStyle()
The crop style to apply to the image.
.google.apps.card.v1.ImageCropStyle crop_style = 3;- Returns:
- The cropStyle.
-
getCropStyleOrBuilder
ImageCropStyleOrBuilder getCropStyleOrBuilder()
The crop style to apply to the image.
.google.apps.card.v1.ImageCropStyle crop_style = 3;
-
hasBorderStyle
boolean hasBorderStyle()
The border style to apply to the image.
.google.apps.card.v1.BorderStyle border_style = 4;- Returns:
- Whether the borderStyle field is set.
-
getBorderStyle
BorderStyle getBorderStyle()
The border style to apply to the image.
.google.apps.card.v1.BorderStyle border_style = 4;- Returns:
- The borderStyle.
-
getBorderStyleOrBuilder
BorderStyleOrBuilder getBorderStyleOrBuilder()
The border style to apply to the image.
.google.apps.card.v1.BorderStyle border_style = 4;
-
-