Interface AddOnWidgetSetOrBuilder (2.14.0)

public interface AddOnWidgetSetOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getUsedWidgets(int index)

public abstract AddOnWidgetSet.WidgetType getUsedWidgets(int index)

The list of widgets used in an add-on.

repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
AddOnWidgetSet.WidgetType

The usedWidgets at the given index.

getUsedWidgetsCount()

public abstract int getUsedWidgetsCount()

The list of widgets used in an add-on.

repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1;

Returns
TypeDescription
int

The count of usedWidgets.

getUsedWidgetsList()

public abstract List<AddOnWidgetSet.WidgetType> getUsedWidgetsList()

The list of widgets used in an add-on.

repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1;

Returns
TypeDescription
List<WidgetType>

A list containing the usedWidgets.

getUsedWidgetsValue(int index)

public abstract int getUsedWidgetsValue(int index)

The list of widgets used in an add-on.

repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

The enum numeric value on the wire of usedWidgets at the given index.

getUsedWidgetsValueList()

public abstract List<Integer> getUsedWidgetsValueList()

The list of widgets used in an add-on.

repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1;

Returns
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for usedWidgets.