Class SlidesExtensionPoint.Builder (2.83.0)

public static final class SlidesExtensionPoint.Builder extends GeneratedMessage.Builder<SlidesExtensionPoint.Builder> implements SlidesExtensionPointOrBuilder

Common format for declaring a Slides add-on's triggers.

Protobuf type google.apps.script.type.slides.SlidesExtensionPoint

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public SlidesExtensionPoint build()
Returns
Type Description
SlidesExtensionPoint

buildPartial()

public SlidesExtensionPoint buildPartial()
Returns
Type Description
SlidesExtensionPoint

clear()

public SlidesExtensionPoint.Builder clear()
Returns
Type Description
SlidesExtensionPoint.Builder
Overrides

clearRunFunction()

public SlidesExtensionPoint.Builder clearRunFunction()

Required. The endpoint to execute when this extension point is activated.

string run_function = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SlidesExtensionPoint.Builder

This builder for chaining.

getDefaultInstanceForType()

public SlidesExtensionPoint getDefaultInstanceForType()
Returns
Type Description
SlidesExtensionPoint

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRunFunction()

public String getRunFunction()

Required. The endpoint to execute when this extension point is activated.

string run_function = 1 [(.google.api.field_behavior) = REQUIRED];

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 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for runFunction.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SlidesExtensionPoint other)

public SlidesExtensionPoint.Builder mergeFrom(SlidesExtensionPoint other)
Parameter
Name Description
other SlidesExtensionPoint
Returns
Type Description
SlidesExtensionPoint.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SlidesExtensionPoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SlidesExtensionPoint.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SlidesExtensionPoint.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SlidesExtensionPoint.Builder
Overrides

setRunFunction(String value)

public SlidesExtensionPoint.Builder setRunFunction(String value)

Required. The endpoint to execute when this extension point is activated.

string run_function = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The runFunction to set.

Returns
Type Description
SlidesExtensionPoint.Builder

This builder for chaining.

setRunFunctionBytes(ByteString value)

public SlidesExtensionPoint.Builder setRunFunctionBytes(ByteString value)

Required. The endpoint to execute when this extension point is activated.

string run_function = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for runFunction to set.

Returns
Type Description
SlidesExtensionPoint.Builder

This builder for chaining.