Class SlidesExtensionPoint.Builder

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SlidesExtensionPoint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SlidesExtensionPoint.Builder
Overrides

build()

public SlidesExtensionPoint build()
Returns
TypeDescription
SlidesExtensionPoint

buildPartial()

public SlidesExtensionPoint buildPartial()
Returns
TypeDescription
SlidesExtensionPoint

clear()

public SlidesExtensionPoint.Builder clear()
Returns
TypeDescription
SlidesExtensionPoint.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SlidesExtensionPoint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SlidesExtensionPoint.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SlidesExtensionPoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
SlidesExtensionPoint.Builder

This builder for chaining.

clone()

public SlidesExtensionPoint.Builder clone()
Returns
TypeDescription
SlidesExtensionPoint.Builder
Overrides

getDefaultInstanceForType()

public SlidesExtensionPoint getDefaultInstanceForType()
Returns
TypeDescription
SlidesExtensionPoint

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for runFunction.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SlidesExtensionPoint other)

public SlidesExtensionPoint.Builder mergeFrom(SlidesExtensionPoint other)
Parameter
NameDescription
otherSlidesExtensionPoint
Returns
TypeDescription
SlidesExtensionPoint.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SlidesExtensionPoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SlidesExtensionPoint.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SlidesExtensionPoint.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SlidesExtensionPoint.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SlidesExtensionPoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SlidesExtensionPoint.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SlidesExtensionPoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SlidesExtensionPoint.Builder
Overrides

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

public SlidesExtensionPoint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The runFunction to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for runFunction to set.

Returns
TypeDescription
SlidesExtensionPoint.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SlidesExtensionPoint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SlidesExtensionPoint.Builder
Overrides