Class AddOnWidgetSet (2.40.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 2.40.0keyboard_arrow_down
public final class AddOnWidgetSet extends GeneratedMessageV3 implements AddOnWidgetSetOrBuilder
The widget subset used by an add-on.
Protobuf type google.apps.script.type.AddOnWidgetSet
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int USED_WIDGETS_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static AddOnWidgetSet getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static AddOnWidgetSet . Builder newBuilder ()
public static AddOnWidgetSet . Builder newBuilder ( AddOnWidgetSet prototype )
public static AddOnWidgetSet parseDelimitedFrom ( InputStream input )
public static AddOnWidgetSet parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static AddOnWidgetSet parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static AddOnWidgetSet parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static AddOnWidgetSet parseFrom ( ByteString data )
public static AddOnWidgetSet parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static AddOnWidgetSet parseFrom ( CodedInputStream input )
public static AddOnWidgetSet parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static AddOnWidgetSet parseFrom ( InputStream input )
public static AddOnWidgetSet parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static AddOnWidgetSet parseFrom ( ByteBuffer data )
public static AddOnWidgetSet parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<AddOnWidgetSet> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public AddOnWidgetSet getDefaultInstanceForType ()
public Parser<AddOnWidgetSet> getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public 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.
public 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.
public 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.
public 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.
public 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.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public AddOnWidgetSet . Builder newBuilderForType ()
protected AddOnWidgetSet . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public AddOnWidgetSet . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-18 UTC."],[],[]]