Package com.google.apps.script.type
Interface LayoutPropertiesOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LayoutProperties
,LayoutProperties.Builder
public interface LayoutPropertiesOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getPrimaryColor()
The primary color of the add-on.com.google.protobuf.ByteString
getPrimaryColorBytes()
The primary color of the add-on.String
getSecondaryColor()
The secondary color of the add-on.com.google.protobuf.ByteString
getSecondaryColorBytes()
The secondary color of the add-on.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getPrimaryColor
String getPrimaryColor()
The primary color of the add-on. It sets the color of toolbar. If no primary color is set explicitly, the default value provided by the framework is used.
string primary_color = 1;
- Returns:
- The primaryColor.
-
getPrimaryColorBytes
com.google.protobuf.ByteString getPrimaryColorBytes()
The primary color of the add-on. It sets the color of toolbar. If no primary color is set explicitly, the default value provided by the framework is used.
string primary_color = 1;
- Returns:
- The bytes for primaryColor.
-
getSecondaryColor
String getSecondaryColor()
The secondary color of the add-on. It sets the color of buttons. If primary color is set but no secondary color is set, the secondary color is the same as the primary color. If neither primary color nor secondary color is set, the default value provided by the framework is used.
string secondary_color = 2;
- Returns:
- The secondaryColor.
-
getSecondaryColorBytes
com.google.protobuf.ByteString getSecondaryColorBytes()
The secondary color of the add-on. It sets the color of buttons. If primary color is set but no secondary color is set, the secondary color is the same as the primary color. If neither primary color nor secondary color is set, the default value provided by the framework is used.
string secondary_color = 2;
- Returns:
- The bytes for secondaryColor.
-
-