Interface ImageOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Image, Image.Builder

public interface ImageOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The alternative text of this image that's used for accessibility.
    com.google.protobuf.ByteString
    The alternative text of this image that's used for accessibility.
    The HTTPS URL that hosts the image.
    com.google.protobuf.ByteString
    The HTTPS URL that hosts the image.
    When a user clicks the image, the click triggers this action.
    When a user clicks the image, the click triggers this action.
    boolean
    When a user clicks the image, the click triggers this action.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getImageUrl

      String getImageUrl()
       The HTTPS URL that hosts the image.
      
       For example:
      
       ```
       https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png
       ```
       
      string image_url = 1;
      Returns:
      The imageUrl.
    • getImageUrlBytes

      com.google.protobuf.ByteString getImageUrlBytes()
       The HTTPS URL that hosts the image.
      
       For example:
      
       ```
       https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png
       ```
       
      string image_url = 1;
      Returns:
      The bytes for imageUrl.
    • hasOnClick

      boolean hasOnClick()
       When a user clicks the image, the click triggers this action.
       
      .google.apps.card.v1.OnClick on_click = 2;
      Returns:
      Whether the onClick field is set.
    • getOnClick

      OnClick getOnClick()
       When a user clicks the image, the click triggers this action.
       
      .google.apps.card.v1.OnClick on_click = 2;
      Returns:
      The onClick.
    • getOnClickOrBuilder

      OnClickOrBuilder getOnClickOrBuilder()
       When a user clicks the image, the click triggers this action.
       
      .google.apps.card.v1.OnClick on_click = 2;
    • getAltText

      String getAltText()
       The alternative text of this image that's used for accessibility.
       
      string alt_text = 3;
      Returns:
      The altText.
    • getAltTextBytes

      com.google.protobuf.ByteString getAltTextBytes()
       The alternative text of this image that's used for accessibility.
       
      string alt_text = 3;
      Returns:
      The bytes for altText.