Interface GridOrBuilder

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

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

    Modifier and Type
    Method
    Description
    The border style to apply to each grid item.
    The border style to apply to each grid item.
    int
    The number of columns to display in the grid.
    getItems(int index)
    The items to display in the grid.
    int
    The items to display in the grid.
    The items to display in the grid.
    getItemsOrBuilder(int index)
    The items to display in the grid.
    The items to display in the grid.
    This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters.
    This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters.
    The text that displays in the grid header.
    com.google.protobuf.ByteString
    The text that displays in the grid header.
    boolean
    The border style to apply to each grid item.
    boolean
    This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters.

    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

    • getTitle

      String getTitle()
       The text that displays in the grid header.
       
      string title = 1;
      Returns:
      The title.
    • getTitleBytes

      com.google.protobuf.ByteString getTitleBytes()
       The text that displays in the grid header.
       
      string title = 1;
      Returns:
      The bytes for title.
    • getItemsList

      List<Grid.GridItem> getItemsList()
       The items to display in the grid.
       
      repeated .google.apps.card.v1.Grid.GridItem items = 2;
    • getItems

      Grid.GridItem getItems(int index)
       The items to display in the grid.
       
      repeated .google.apps.card.v1.Grid.GridItem items = 2;
    • getItemsCount

      int getItemsCount()
       The items to display in the grid.
       
      repeated .google.apps.card.v1.Grid.GridItem items = 2;
    • getItemsOrBuilderList

      List<? extends Grid.GridItemOrBuilder> getItemsOrBuilderList()
       The items to display in the grid.
       
      repeated .google.apps.card.v1.Grid.GridItem items = 2;
    • getItemsOrBuilder

      Grid.GridItemOrBuilder getItemsOrBuilder(int index)
       The items to display in the grid.
       
      repeated .google.apps.card.v1.Grid.GridItem items = 2;
    • hasBorderStyle

      boolean hasBorderStyle()
       The border style to apply to each grid item.
       
      .google.apps.card.v1.BorderStyle border_style = 3;
      Returns:
      Whether the borderStyle field is set.
    • getBorderStyle

      BorderStyle getBorderStyle()
       The border style to apply to each grid item.
       
      .google.apps.card.v1.BorderStyle border_style = 3;
      Returns:
      The borderStyle.
    • getBorderStyleOrBuilder

      BorderStyleOrBuilder getBorderStyleOrBuilder()
       The border style to apply to each grid item.
       
      .google.apps.card.v1.BorderStyle border_style = 3;
    • getColumnCount

      int getColumnCount()
       The number of columns to display in the grid. A default value
       is used if this field isn't specified, and that default value is
       different depending on where the grid is shown (dialog versus companion).
       
      int32 column_count = 4;
      Returns:
      The columnCount.
    • hasOnClick

      boolean hasOnClick()
       This callback is reused by each individual grid item, but with the
       item's identifier and index in the items list added to the callback's
       parameters.
       
      .google.apps.card.v1.OnClick on_click = 5;
      Returns:
      Whether the onClick field is set.
    • getOnClick

      OnClick getOnClick()
       This callback is reused by each individual grid item, but with the
       item's identifier and index in the items list added to the callback's
       parameters.
       
      .google.apps.card.v1.OnClick on_click = 5;
      Returns:
      The onClick.
    • getOnClickOrBuilder

      OnClickOrBuilder getOnClickOrBuilder()
       This callback is reused by each individual grid item, but with the
       item's identifier and index in the items list added to the callback's
       parameters.
       
      .google.apps.card.v1.OnClick on_click = 5;