Class MenuItemExtensionPoint.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MenuItemExtensionPoint.Builder>
      • clear

        public MenuItemExtensionPoint.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<MenuItemExtensionPoint.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<MenuItemExtensionPoint.Builder>
      • getDefaultInstanceForType

        public MenuItemExtensionPoint getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public MenuItemExtensionPoint build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public MenuItemExtensionPoint buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public MenuItemExtensionPoint.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<MenuItemExtensionPoint.Builder>
      • clearField

        public MenuItemExtensionPoint.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<MenuItemExtensionPoint.Builder>
      • clearOneof

        public MenuItemExtensionPoint.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MenuItemExtensionPoint.Builder>
      • setRepeatedField

        public MenuItemExtensionPoint.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               int index,
                                                               Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MenuItemExtensionPoint.Builder>
      • addRepeatedField

        public MenuItemExtensionPoint.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MenuItemExtensionPoint.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MenuItemExtensionPoint.Builder>
      • mergeFrom

        public MenuItemExtensionPoint.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MenuItemExtensionPoint.Builder>
        Throws:
        IOException
      • getRunFunctionBytes

        public com.google.protobuf.ByteString getRunFunctionBytes()
         Required. The endpoint to execute when this extension point is
         activated.
         
        string run_function = 1;
        Specified by:
        getRunFunctionBytes in interface MenuItemExtensionPointOrBuilder
        Returns:
        The bytes for runFunction.
      • setRunFunction

        public MenuItemExtensionPoint.Builder setRunFunction​(String value)
         Required. The endpoint to execute when this extension point is
         activated.
         
        string run_function = 1;
        Parameters:
        value - The runFunction to set.
        Returns:
        This builder for chaining.
      • clearRunFunction

        public MenuItemExtensionPoint.Builder clearRunFunction()
         Required. The endpoint to execute when this extension point is
         activated.
         
        string run_function = 1;
        Returns:
        This builder for chaining.
      • setRunFunctionBytes

        public MenuItemExtensionPoint.Builder setRunFunctionBytes​(com.google.protobuf.ByteString value)
         Required. The endpoint to execute when this extension point is
         activated.
         
        string run_function = 1;
        Parameters:
        value - The bytes for runFunction to set.
        Returns:
        This builder for chaining.
      • getLabel

        public String getLabel()
         Required. User-visible text describing the action taken by activating this
         extension point. For example, "Insert invoice".
         
        string label = 2;
        Specified by:
        getLabel in interface MenuItemExtensionPointOrBuilder
        Returns:
        The label.
      • getLabelBytes

        public com.google.protobuf.ByteString getLabelBytes()
         Required. User-visible text describing the action taken by activating this
         extension point. For example, "Insert invoice".
         
        string label = 2;
        Specified by:
        getLabelBytes in interface MenuItemExtensionPointOrBuilder
        Returns:
        The bytes for label.
      • setLabel

        public MenuItemExtensionPoint.Builder setLabel​(String value)
         Required. User-visible text describing the action taken by activating this
         extension point. For example, "Insert invoice".
         
        string label = 2;
        Parameters:
        value - The label to set.
        Returns:
        This builder for chaining.
      • clearLabel

        public MenuItemExtensionPoint.Builder clearLabel()
         Required. User-visible text describing the action taken by activating this
         extension point. For example, "Insert invoice".
         
        string label = 2;
        Returns:
        This builder for chaining.
      • setLabelBytes

        public MenuItemExtensionPoint.Builder setLabelBytes​(com.google.protobuf.ByteString value)
         Required. User-visible text describing the action taken by activating this
         extension point. For example, "Insert invoice".
         
        string label = 2;
        Parameters:
        value - The bytes for label to set.
        Returns:
        This builder for chaining.
      • getLogoUrl

        public String getLogoUrl()
         The URL for the logo image shown in the add-on toolbar.
        
         If not set, defaults to the add-on's primary logo URL.
         
        string logo_url = 3;
        Specified by:
        getLogoUrl in interface MenuItemExtensionPointOrBuilder
        Returns:
        The logoUrl.
      • getLogoUrlBytes

        public com.google.protobuf.ByteString getLogoUrlBytes()
         The URL for the logo image shown in the add-on toolbar.
        
         If not set, defaults to the add-on's primary logo URL.
         
        string logo_url = 3;
        Specified by:
        getLogoUrlBytes in interface MenuItemExtensionPointOrBuilder
        Returns:
        The bytes for logoUrl.
      • setLogoUrl

        public MenuItemExtensionPoint.Builder setLogoUrl​(String value)
         The URL for the logo image shown in the add-on toolbar.
        
         If not set, defaults to the add-on's primary logo URL.
         
        string logo_url = 3;
        Parameters:
        value - The logoUrl to set.
        Returns:
        This builder for chaining.
      • clearLogoUrl

        public MenuItemExtensionPoint.Builder clearLogoUrl()
         The URL for the logo image shown in the add-on toolbar.
        
         If not set, defaults to the add-on's primary logo URL.
         
        string logo_url = 3;
        Returns:
        This builder for chaining.
      • setLogoUrlBytes

        public MenuItemExtensionPoint.Builder setLogoUrlBytes​(com.google.protobuf.ByteString value)
         The URL for the logo image shown in the add-on toolbar.
        
         If not set, defaults to the add-on's primary logo URL.
         
        string logo_url = 3;
        Parameters:
        value - The bytes for logoUrl to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final MenuItemExtensionPoint.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MenuItemExtensionPoint.Builder>
      • mergeUnknownFields

        public final MenuItemExtensionPoint.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MenuItemExtensionPoint.Builder>