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 Summary
Modifier and TypeMethodDescriptionbuild()clear()The author or organization that created the plugin.A brief description of what the plugin does.clearId()The unique plugin identifier.The software license under which the plugin is distributed.The semantic version of the plugin (e.g., "1.0.0", "2.1.3-beta").URL to the plugin's website, documentation, or repository.The author or organization that created the plugin.com.google.protobuf.ByteStringThe author or organization that created the plugin.A brief description of what the plugin does.com.google.protobuf.ByteStringA brief description of what the plugin does.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetId()The unique plugin identifier.com.google.protobuf.ByteStringThe unique plugin identifier.The software license under which the plugin is distributed.com.google.protobuf.ByteStringThe software license under which the plugin is distributed.The semantic version of the plugin (e.g., "1.0.0", "2.1.3-beta").com.google.protobuf.ByteStringThe semantic version of the plugin (e.g., "1.0.0", "2.1.3-beta").URL to the plugin's website, documentation, or repository.com.google.protobuf.ByteStringURL to the plugin's website, documentation, or repository.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ServerPlugin other) The author or organization that created the plugin.setAuthorBytes(com.google.protobuf.ByteString value) The author or organization that created the plugin.setDescription(String value) A brief description of what the plugin does.setDescriptionBytes(com.google.protobuf.ByteString value) A brief description of what the plugin does.The unique plugin identifier.setIdBytes(com.google.protobuf.ByteString value) The unique plugin identifier.setLicense(String value) The software license under which the plugin is distributed.setLicenseBytes(com.google.protobuf.ByteString value) The software license under which the plugin is distributed.setVersion(String value) The semantic version of the plugin (e.g., "1.0.0", "2.1.3-beta").setVersionBytes(com.google.protobuf.ByteString value) The semantic version of the plugin (e.g., "1.0.0", "2.1.3-beta").setWebsite(String value) URL to the plugin's website, documentation, or repository.setWebsiteBytes(com.google.protobuf.ByteString value) URL to the plugin's website, documentation, or repository.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ServerPlugin.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ServerPlugin.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ServerPlugin.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ServerPlugin.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ServerPlugin.Builder>- Throws:
IOException
-
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:
getIdin interfaceServerPluginOrBuilder- 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:
getIdBytesin interfaceServerPluginOrBuilder- Returns:
- The bytes for id.
-
setId
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
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
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
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:
getVersionin interfaceServerPluginOrBuilder- 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:
getVersionBytesin interfaceServerPluginOrBuilder- Returns:
- The bytes for version.
-
setVersion
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
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
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
A brief description of what the plugin does. Shown in plugin lists and information panels.
string description = 3;- Specified by:
getDescriptionin interfaceServerPluginOrBuilder- 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:
getDescriptionBytesin interfaceServerPluginOrBuilder- Returns:
- The bytes for description.
-
setDescription
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
A brief description of what the plugin does. Shown in plugin lists and information panels.
string description = 3;- Returns:
- This builder for chaining.
-
setDescriptionBytes
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
The author or organization that created the plugin. Typically a name or organization identifier.
string author = 4;- Specified by:
getAuthorin interfaceServerPluginOrBuilder- 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:
getAuthorBytesin interfaceServerPluginOrBuilder- Returns:
- The bytes for author.
-
setAuthor
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
The author or organization that created the plugin. Typically a name or organization identifier.
string author = 4;- Returns:
- This builder for chaining.
-
setAuthorBytes
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
The software license under which the plugin is distributed. Examples: "MIT", "Apache-2.0", "GPL-3.0".
string license = 5;- Specified by:
getLicensein interfaceServerPluginOrBuilder- 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:
getLicenseBytesin interfaceServerPluginOrBuilder- Returns:
- The bytes for license.
-
setLicense
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
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
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
URL to the plugin's website, documentation, or repository. Allows users to find more information or report issues.
string website = 6;- Specified by:
getWebsitein interfaceServerPluginOrBuilder- 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:
getWebsiteBytesin interfaceServerPluginOrBuilder- Returns:
- The bytes for website.
-
setWebsite
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
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
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.
-