Interface AddOnWidgetSetOrBuilder (2.43.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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
List<Integer>

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