Class DriveExtensionPoint.Builder (2.55.0)

public static final class DriveExtensionPoint.Builder extends GeneratedMessageV3.Builder<DriveExtensionPoint.Builder> implements DriveExtensionPointOrBuilder

A generic extension point with common features, e.g. something that simply needs a corresponding run function to work.

Protobuf type google.apps.script.type.drive.DriveExtensionPoint

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DriveExtensionPoint build()
Returns
Type Description
DriveExtensionPoint

buildPartial()

public DriveExtensionPoint buildPartial()
Returns
Type Description
DriveExtensionPoint

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public DriveExtensionPoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DriveExtensionPoint.Builder
Overrides

clearRunFunction()

public DriveExtensionPoint.Builder clearRunFunction()

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

string run_function = 1;

Returns
Type Description
DriveExtensionPoint.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public DriveExtensionPoint getDefaultInstanceForType()
Returns
Type Description
DriveExtensionPoint

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;

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DriveExtensionPoint other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public DriveExtensionPoint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DriveExtensionPoint.Builder
Overrides

setRunFunction(String value)

public DriveExtensionPoint.Builder setRunFunction(String value)

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

string run_function = 1;

Parameter
Name Description
value String

The runFunction to set.

Returns
Type Description
DriveExtensionPoint.Builder

This builder for chaining.

setRunFunctionBytes(ByteString value)

public DriveExtensionPoint.Builder setRunFunctionBytes(ByteString value)

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

string run_function = 1;

Parameter
Name Description
value ByteString

The bytes for runFunction to set.

Returns
Type Description
DriveExtensionPoint.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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