public static final class HomepageExtensionPoint.Builder extends GeneratedMessage.Builder<HomepageExtensionPoint.Builder> implements HomepageExtensionPointOrBuilderCommon format for declaring an add-on's home-page view.
Protobuf type google.apps.script.type.HomepageExtensionPoint
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > HomepageExtensionPoint.BuilderImplements
HomepageExtensionPointOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public HomepageExtensionPoint build()| Returns | |
|---|---|
| Type | Description |
HomepageExtensionPoint |
|
buildPartial()
public HomepageExtensionPoint buildPartial()| Returns | |
|---|---|
| Type | Description |
HomepageExtensionPoint |
|
clear()
public HomepageExtensionPoint.Builder clear()| Returns | |
|---|---|
| Type | Description |
HomepageExtensionPoint.Builder |
|
clearEnabled()
public HomepageExtensionPoint.Builder clearEnabled() Optional. If set to false, disable the home-page view in this context.
Defaults to true if unset.
If an add-ons custom home-page view is disabled, an autogenerated overview card will be provided for users instead.
.google.protobuf.BoolValue enabled = 2;
| Returns | |
|---|---|
| Type | Description |
HomepageExtensionPoint.Builder |
|
clearRunFunction()
public HomepageExtensionPoint.Builder clearRunFunction()Required. The endpoint to execute when this extension point is activated.
string run_function = 1;
| Returns | |
|---|---|
| Type | Description |
HomepageExtensionPoint.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public HomepageExtensionPoint getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
HomepageExtensionPoint |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEnabled()
public BoolValue getEnabled() Optional. If set to false, disable the home-page view in this context.
Defaults to true if unset.
If an add-ons custom home-page view is disabled, an autogenerated overview card will be provided for users instead.
.google.protobuf.BoolValue enabled = 2;
| Returns | |
|---|---|
| Type | Description |
BoolValue |
The enabled. |
getEnabledBuilder()
public BoolValue.Builder getEnabledBuilder() Optional. If set to false, disable the home-page view in this context.
Defaults to true if unset.
If an add-ons custom home-page view is disabled, an autogenerated overview card will be provided for users instead.
.google.protobuf.BoolValue enabled = 2;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getEnabledOrBuilder()
public BoolValueOrBuilder getEnabledOrBuilder() Optional. If set to false, disable the home-page view in this context.
Defaults to true if unset.
If an add-ons custom home-page view is disabled, an autogenerated overview card will be provided for users instead.
.google.protobuf.BoolValue enabled = 2;
| Returns | |
|---|---|
| Type | Description |
BoolValueOrBuilder |
|
getRunFunction()
public String getRunFunction()Required. The endpoint to execute when this extension point is activated.
string run_function = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The runFunction. |
getRunFunctionBytes()
public ByteString getRunFunctionBytes()Required. The endpoint to execute when this extension point is activated.
string run_function = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for runFunction. |
hasEnabled()
public boolean hasEnabled() Optional. If set to false, disable the home-page view in this context.
Defaults to true if unset.
If an add-ons custom home-page view is disabled, an autogenerated overview card will be provided for users instead.
.google.protobuf.BoolValue enabled = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the enabled field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEnabled(BoolValue value)
public HomepageExtensionPoint.Builder mergeEnabled(BoolValue value) Optional. If set to false, disable the home-page view in this context.
Defaults to true if unset.
If an add-ons custom home-page view is disabled, an autogenerated overview card will be provided for users instead.
.google.protobuf.BoolValue enabled = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
BoolValue |
| Returns | |
|---|---|
| Type | Description |
HomepageExtensionPoint.Builder |
|
mergeFrom(HomepageExtensionPoint other)
public HomepageExtensionPoint.Builder mergeFrom(HomepageExtensionPoint other)| Parameter | |
|---|---|
| Name | Description |
other |
HomepageExtensionPoint |
| Returns | |
|---|---|
| Type | Description |
HomepageExtensionPoint.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HomepageExtensionPoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
HomepageExtensionPoint.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public HomepageExtensionPoint.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
HomepageExtensionPoint.Builder |
|
setEnabled(BoolValue value)
public HomepageExtensionPoint.Builder setEnabled(BoolValue value) Optional. If set to false, disable the home-page view in this context.
Defaults to true if unset.
If an add-ons custom home-page view is disabled, an autogenerated overview card will be provided for users instead.
.google.protobuf.BoolValue enabled = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
BoolValue |
| Returns | |
|---|---|
| Type | Description |
HomepageExtensionPoint.Builder |
|
setEnabled(BoolValue.Builder builderForValue)
public HomepageExtensionPoint.Builder setEnabled(BoolValue.Builder builderForValue) Optional. If set to false, disable the home-page view in this context.
Defaults to true if unset.
If an add-ons custom home-page view is disabled, an autogenerated overview card will be provided for users instead.
.google.protobuf.BoolValue enabled = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
HomepageExtensionPoint.Builder |
|
setRunFunction(String value)
public HomepageExtensionPoint.Builder setRunFunction(String value)Required. The endpoint to execute when this extension point is activated.
string run_function = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe runFunction to set. |
| Returns | |
|---|---|
| Type | Description |
HomepageExtensionPoint.Builder |
This builder for chaining. |
setRunFunctionBytes(ByteString value)
public HomepageExtensionPoint.Builder setRunFunctionBytes(ByteString value)Required. The endpoint to execute when this extension point is activated.
string run_function = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for runFunction to set. |
| Returns | |
|---|---|
| Type | Description |
HomepageExtensionPoint.Builder |
This builder for chaining. |