Class ServerPlugin.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ServerPlugin.Builder>
com.google.protobuf.GeneratedMessage.Builder<ServerPlugin.Builder>
com.soulfiremc.grpc.generated.ServerPlugin.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ServerPluginOrBuilder, Cloneable
Enclosing class:
ServerPlugin

public static final class ServerPlugin.Builder extends com.google.protobuf.GeneratedMessage.Builder<ServerPlugin.Builder> implements ServerPluginOrBuilder
Metadata about a registered server plugin.
Plugins extend SoulFire functionality by adding new settings, commands,
and bot behaviors. This information is displayed in the client UI.
Returned as part of InstanceInfo and ServerInfoResponse.
Protobuf type soulfire.v1.ServerPlugin
  • Method Details

    • getDescriptor

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

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

      public ServerPlugin.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.GeneratedMessage.Builder<ServerPlugin.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.GeneratedMessage.Builder<ServerPlugin.Builder>
    • getDefaultInstanceForType

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

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

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

      public ServerPlugin.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServerPlugin.Builder>
    • mergeFrom

      public ServerPlugin.Builder mergeFrom(ServerPlugin other)
    • isInitialized

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

      public ServerPlugin.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<ServerPlugin.Builder>
      Throws:
      IOException
    • getId

      public String getId()
      The unique plugin identifier.
      Should be a lowercase, hyphenated string (e.g., "auto-reconnect", "chat-control").
      Used to reference the plugin in owning_plugin_id fields.
      
      string id = 1;
      Specified by:
      getId in interface ServerPluginOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
      The unique plugin identifier.
      Should be a lowercase, hyphenated string (e.g., "auto-reconnect", "chat-control").
      Used to reference the plugin in owning_plugin_id fields.
      
      string id = 1;
      Specified by:
      getIdBytes in interface ServerPluginOrBuilder
      Returns:
      The bytes for id.
    • setId

      public ServerPlugin.Builder setId(String value)
      The unique plugin identifier.
      Should be a lowercase, hyphenated string (e.g., "auto-reconnect", "chat-control").
      Used to reference the plugin in owning_plugin_id fields.
      
      string id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public ServerPlugin.Builder clearId()
      The unique plugin identifier.
      Should be a lowercase, hyphenated string (e.g., "auto-reconnect", "chat-control").
      Used to reference the plugin in owning_plugin_id fields.
      
      string id = 1;
      Returns:
      This builder for chaining.
    • setIdBytes

      public ServerPlugin.Builder setIdBytes(com.google.protobuf.ByteString value)
      The unique plugin identifier.
      Should be a lowercase, hyphenated string (e.g., "auto-reconnect", "chat-control").
      Used to reference the plugin in owning_plugin_id fields.
      
      string id = 1;
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • getVersion

      public String getVersion()
      The semantic version of the plugin (e.g., "1.0.0", "2.1.3-beta").
      Follows semver conventions for compatibility tracking.
      
      string version = 2;
      Specified by:
      getVersion in interface ServerPluginOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
      The semantic version of the plugin (e.g., "1.0.0", "2.1.3-beta").
      Follows semver conventions for compatibility tracking.
      
      string version = 2;
      Specified by:
      getVersionBytes in interface ServerPluginOrBuilder
      Returns:
      The bytes for version.
    • setVersion

      public ServerPlugin.Builder setVersion(String value)
      The semantic version of the plugin (e.g., "1.0.0", "2.1.3-beta").
      Follows semver conventions for compatibility tracking.
      
      string version = 2;
      Parameters:
      value - The version to set.
      Returns:
      This builder for chaining.
    • clearVersion

      public ServerPlugin.Builder clearVersion()
      The semantic version of the plugin (e.g., "1.0.0", "2.1.3-beta").
      Follows semver conventions for compatibility tracking.
      
      string version = 2;
      Returns:
      This builder for chaining.
    • setVersionBytes

      public ServerPlugin.Builder setVersionBytes(com.google.protobuf.ByteString value)
      The semantic version of the plugin (e.g., "1.0.0", "2.1.3-beta").
      Follows semver conventions for compatibility tracking.
      
      string version = 2;
      Parameters:
      value - The bytes for version to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
      A brief description of what the plugin does.
      Shown in plugin lists and information panels.
      
      string description = 3;
      Specified by:
      getDescription in interface ServerPluginOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
      A brief description of what the plugin does.
      Shown in plugin lists and information panels.
      
      string description = 3;
      Specified by:
      getDescriptionBytes in interface ServerPluginOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public ServerPlugin.Builder setDescription(String value)
      A brief description of what the plugin does.
      Shown in plugin lists and information panels.
      
      string description = 3;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public ServerPlugin.Builder clearDescription()
      A brief description of what the plugin does.
      Shown in plugin lists and information panels.
      
      string description = 3;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public ServerPlugin.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
      A brief description of what the plugin does.
      Shown in plugin lists and information panels.
      
      string description = 3;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getAuthor

      public String getAuthor()
      The author or organization that created the plugin.
      Typically a name or organization identifier.
      
      string author = 4;
      Specified by:
      getAuthor in interface ServerPluginOrBuilder
      Returns:
      The author.
    • getAuthorBytes

      public com.google.protobuf.ByteString getAuthorBytes()
      The author or organization that created the plugin.
      Typically a name or organization identifier.
      
      string author = 4;
      Specified by:
      getAuthorBytes in interface ServerPluginOrBuilder
      Returns:
      The bytes for author.
    • setAuthor

      public ServerPlugin.Builder setAuthor(String value)
      The author or organization that created the plugin.
      Typically a name or organization identifier.
      
      string author = 4;
      Parameters:
      value - The author to set.
      Returns:
      This builder for chaining.
    • clearAuthor

      public ServerPlugin.Builder clearAuthor()
      The author or organization that created the plugin.
      Typically a name or organization identifier.
      
      string author = 4;
      Returns:
      This builder for chaining.
    • setAuthorBytes

      public ServerPlugin.Builder setAuthorBytes(com.google.protobuf.ByteString value)
      The author or organization that created the plugin.
      Typically a name or organization identifier.
      
      string author = 4;
      Parameters:
      value - The bytes for author to set.
      Returns:
      This builder for chaining.
    • getLicense

      public String getLicense()
      The software license under which the plugin is distributed.
      Examples: "MIT", "Apache-2.0", "GPL-3.0".
      
      string license = 5;
      Specified by:
      getLicense in interface ServerPluginOrBuilder
      Returns:
      The license.
    • getLicenseBytes

      public com.google.protobuf.ByteString getLicenseBytes()
      The software license under which the plugin is distributed.
      Examples: "MIT", "Apache-2.0", "GPL-3.0".
      
      string license = 5;
      Specified by:
      getLicenseBytes in interface ServerPluginOrBuilder
      Returns:
      The bytes for license.
    • setLicense

      public ServerPlugin.Builder setLicense(String value)
      The software license under which the plugin is distributed.
      Examples: "MIT", "Apache-2.0", "GPL-3.0".
      
      string license = 5;
      Parameters:
      value - The license to set.
      Returns:
      This builder for chaining.
    • clearLicense

      public ServerPlugin.Builder clearLicense()
      The software license under which the plugin is distributed.
      Examples: "MIT", "Apache-2.0", "GPL-3.0".
      
      string license = 5;
      Returns:
      This builder for chaining.
    • setLicenseBytes

      public ServerPlugin.Builder setLicenseBytes(com.google.protobuf.ByteString value)
      The software license under which the plugin is distributed.
      Examples: "MIT", "Apache-2.0", "GPL-3.0".
      
      string license = 5;
      Parameters:
      value - The bytes for license to set.
      Returns:
      This builder for chaining.
    • getWebsite

      public String getWebsite()
      URL to the plugin's website, documentation, or repository.
      Allows users to find more information or report issues.
      
      string website = 6;
      Specified by:
      getWebsite in interface ServerPluginOrBuilder
      Returns:
      The website.
    • getWebsiteBytes

      public com.google.protobuf.ByteString getWebsiteBytes()
      URL to the plugin's website, documentation, or repository.
      Allows users to find more information or report issues.
      
      string website = 6;
      Specified by:
      getWebsiteBytes in interface ServerPluginOrBuilder
      Returns:
      The bytes for website.
    • setWebsite

      public ServerPlugin.Builder setWebsite(String value)
      URL to the plugin's website, documentation, or repository.
      Allows users to find more information or report issues.
      
      string website = 6;
      Parameters:
      value - The website to set.
      Returns:
      This builder for chaining.
    • clearWebsite

      public ServerPlugin.Builder clearWebsite()
      URL to the plugin's website, documentation, or repository.
      Allows users to find more information or report issues.
      
      string website = 6;
      Returns:
      This builder for chaining.
    • setWebsiteBytes

      public ServerPlugin.Builder setWebsiteBytes(com.google.protobuf.ByteString value)
      URL to the plugin's website, documentation, or repository.
      Allows users to find more information or report issues.
      
      string website = 6;
      Parameters:
      value - The bytes for website to set.
      Returns:
      This builder for chaining.