Package com.google.apps.script.type
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AddOnWidgetSet.WidgetType
getUsedWidgets(int index)
The list of widgets used in an add-on.int
getUsedWidgetsCount()
The list of widgets used in an add-on.List<AddOnWidgetSet.WidgetType>
getUsedWidgetsList()
The list of widgets used in an add-on.int
getUsedWidgetsValue(int index)
The list of widgets used in an add-on.List<Integer>
getUsedWidgetsValueList()
The list of widgets used in an add-on.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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.
-
-