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
@Generated
public interface ImageComponentOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe accessibility label for the image.com.google.protobuf.ByteStringThe accessibility label for the image.The border style to apply to the image.The border style to apply to the image.The crop style to apply to the image.The crop style to apply to the image.The image URL.com.google.protobuf.ByteStringThe image URL.booleanThe border style to apply to the image.booleanThe crop style to apply to the image.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getImageUri
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
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;
-