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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getAltText()
      The alternative text of this image that's used for accessibility.
      com.google.protobuf.ByteString getAltTextBytes()
      The alternative text of this image that's used for accessibility.
      java.lang.String getImageUrl()
      The HTTPS URL that hosts the image.
      com.google.protobuf.ByteString getImageUrlBytes()
      The HTTPS URL that hosts the image.
      OnClick getOnClick()
      When a user clicks the image, the click triggers this action.
      OnClickOrBuilder getOnClickOrBuilder()
      When a user clicks the image, the click triggers this action.
      boolean hasOnClick()
      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 Detail

      • getImageUrl

        java.lang.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

        java.lang.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.