Interface AddOnWidgetSetOrBuilder

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

    public interface AddOnWidgetSetOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getUsedWidgetsList

        List<AddOnWidgetSet.WidgetType> getUsedWidgetsList()
         The list of widgets used in an add-on.
         
        repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1;
        Returns:
        A list containing the usedWidgets.
      • getUsedWidgetsCount

        int getUsedWidgetsCount()
         The list of widgets used in an add-on.
         
        repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1;
        Returns:
        The count of usedWidgets.
      • getUsedWidgets

        AddOnWidgetSet.WidgetType getUsedWidgets​(int index)
         The list of widgets used in an add-on.
         
        repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1;
        Parameters:
        index - The index of the element to return.
        Returns:
        The usedWidgets at the given index.
      • getUsedWidgetsValueList

        List<Integer> getUsedWidgetsValueList()
         The list of widgets used in an add-on.
         
        repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1;
        Returns:
        A list containing the enum numeric values on the wire for usedWidgets.
      • getUsedWidgetsValue

        int getUsedWidgetsValue​(int index)
         The list of widgets used in an add-on.
         
        repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1;
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of usedWidgets at the given index.