Package com.google.apps.card.v1
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BorderStyle
getBorderStyle()
The border style to apply to each grid item.BorderStyleOrBuilder
getBorderStyleOrBuilder()
The border style to apply to each grid item.int
getColumnCount()
The number of columns to display in the grid.Grid.GridItem
getItems(int index)
The items to display in the grid.int
getItemsCount()
The items to display in the grid.java.util.List<Grid.GridItem>
getItemsList()
The items to display in the grid.Grid.GridItemOrBuilder
getItemsOrBuilder(int index)
The items to display in the grid.java.util.List<? extends Grid.GridItemOrBuilder>
getItemsOrBuilderList()
The items to display in the grid.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.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.java.lang.String
getTitle()
The text that displays in the grid header.com.google.protobuf.ByteString
getTitleBytes()
The text that displays in the grid header.boolean
hasBorderStyle()
The border style to apply to each grid item.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTitle
java.lang.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
java.util.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
java.util.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;
-
-