public static final class CalendarExtensionPoint.Builder extends GeneratedMessageV3.Builder<CalendarExtensionPoint.Builder> implements CalendarExtensionPointOrBuilder
Common format for declaring a calendar add-on's triggers.
Protobuf type google.apps.script.type.calendar.CalendarExtensionPoint
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CalendarExtensionPoint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CalendarExtensionPoint build()
Returns
buildPartial()
public CalendarExtensionPoint buildPartial()
Returns
clear()
public CalendarExtensionPoint.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CalendarExtensionPoint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CalendarExtensionPoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearRunFunction()
public CalendarExtensionPoint.Builder clearRunFunction()
Required. The endpoint to execute when this extension point is
activated.
string run_function = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public CalendarExtensionPoint.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CalendarExtensionPoint getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CalendarExtensionPoint other)
public CalendarExtensionPoint.Builder mergeFrom(CalendarExtensionPoint other)
Parameter
Returns
public CalendarExtensionPoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CalendarExtensionPoint.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CalendarExtensionPoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CalendarExtensionPoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CalendarExtensionPoint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setRunFunction(String value)
public CalendarExtensionPoint.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
setRunFunctionBytes(ByteString value)
public CalendarExtensionPoint.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
setUnknownFields(UnknownFieldSet unknownFields)
public final CalendarExtensionPoint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides