Class SlidesExtensionPoint.Builder (2.48.0)

public static final class SlidesExtensionPoint.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SlidesExtensionPoint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SlidesExtensionPoint.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public SlidesExtensionPoint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SlidesExtensionPoint.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SlidesExtensionPoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SlidesExtensionPoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SlidesExtensionPoint.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SlidesExtensionPoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SlidesExtensionPoint.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SlidesExtensionPoint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
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.

setUnknownFields(UnknownFieldSet unknownFields)

public final SlidesExtensionPoint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SlidesExtensionPoint.Builder
Overrides