Interface Grid.GridItemOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Grid.GridItem, Grid.GridItem.Builder
    Enclosing class:
    Grid

    public static interface Grid.GridItemOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getId()
      A user-specified identifier for this grid item.
      com.google.protobuf.ByteString getIdBytes()
      A user-specified identifier for this grid item.
      ImageComponent getImage()
      The image that displays in the grid item.
      ImageComponentOrBuilder getImageOrBuilder()
      The image that displays in the grid item.
      Grid.GridItem.GridItemLayout getLayout()
      The layout to use for the grid item.
      int getLayoutValue()
      The layout to use for the grid item.
      java.lang.String getSubtitle()
      The grid item's subtitle.
      com.google.protobuf.ByteString getSubtitleBytes()
      The grid item's subtitle.
      java.lang.String getTitle()
      The grid item's title.
      com.google.protobuf.ByteString getTitleBytes()
      The grid item's title.
      boolean hasImage()
      The image that displays in the grid item.
      • 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

      • getId

        java.lang.String getId()
         A user-specified identifier for this grid item. This identifier is
         returned in the parent grid's `onClick` callback parameters.
         
        string id = 1;
        Returns:
        The id.
      • getIdBytes

        com.google.protobuf.ByteString getIdBytes()
         A user-specified identifier for this grid item. This identifier is
         returned in the parent grid's `onClick` callback parameters.
         
        string id = 1;
        Returns:
        The bytes for id.
      • hasImage

        boolean hasImage()
         The image that displays in the grid item.
         
        .google.apps.card.v1.ImageComponent image = 2;
        Returns:
        Whether the image field is set.
      • getImage

        ImageComponent getImage()
         The image that displays in the grid item.
         
        .google.apps.card.v1.ImageComponent image = 2;
        Returns:
        The image.
      • getImageOrBuilder

        ImageComponentOrBuilder getImageOrBuilder()
         The image that displays in the grid item.
         
        .google.apps.card.v1.ImageComponent image = 2;
      • getTitle

        java.lang.String getTitle()
         The grid item's title.
         
        string title = 3;
        Returns:
        The title.
      • getTitleBytes

        com.google.protobuf.ByteString getTitleBytes()
         The grid item's title.
         
        string title = 3;
        Returns:
        The bytes for title.
      • getSubtitle

        java.lang.String getSubtitle()
         The grid item's subtitle.
         
        string subtitle = 4;
        Returns:
        The subtitle.
      • getSubtitleBytes

        com.google.protobuf.ByteString getSubtitleBytes()
         The grid item's subtitle.
         
        string subtitle = 4;
        Returns:
        The bytes for subtitle.
      • getLayoutValue

        int getLayoutValue()
         The layout to use for the grid item.
         
        .google.apps.card.v1.Grid.GridItem.GridItemLayout layout = 9;
        Returns:
        The enum numeric value on the wire for layout.
      • getLayout

        Grid.GridItem.GridItemLayout getLayout()
         The layout to use for the grid item.
         
        .google.apps.card.v1.Grid.GridItem.GridItemLayout layout = 9;
        Returns:
        The layout.