Class ServerInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ServerInfo.Builder>
com.google.protobuf.GeneratedMessage.Builder<ServerInfo.Builder>
com.soulfiremc.grpc.generated.ServerInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ServerInfoOrBuilder, Cloneable
- Enclosing class:
ServerInfo
public static final class ServerInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ServerInfo.Builder>
implements ServerInfoOrBuilder
Contains metadata about the SoulFire server instance. This information is useful for client compatibility checks and connecting to related services.Protobuf type
soulfire.v1.ServerInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The git branch name from which the server was built (e.g., "main", "develop").The git commit hash of the server build, useful for debugging and version tracking.The native Minecraft protocol version supported by this server (e.g., "1.21.4").The public URL for the gRPC/HTTP API endpoint.The public URL for the API documentation endpoint.The public URL for the WebDAV file access endpoint.The semantic version of the SoulFire server (e.g., "1.0.0").The git branch name from which the server was built (e.g., "main", "develop").com.google.protobuf.ByteStringThe git branch name from which the server was built (e.g., "main", "develop").The git commit hash of the server build, useful for debugging and version tracking.com.google.protobuf.ByteStringThe git commit hash of the server build, useful for debugging and version tracking.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe native Minecraft protocol version supported by this server (e.g., "1.21.4").com.google.protobuf.ByteStringThe native Minecraft protocol version supported by this server (e.g., "1.21.4").The public URL for the gRPC/HTTP API endpoint.com.google.protobuf.ByteStringThe public URL for the gRPC/HTTP API endpoint.The public URL for the API documentation endpoint.com.google.protobuf.ByteStringThe public URL for the API documentation endpoint.The public URL for the WebDAV file access endpoint.com.google.protobuf.ByteStringThe public URL for the WebDAV file access endpoint.The semantic version of the SoulFire server (e.g., "1.0.0").com.google.protobuf.ByteStringThe semantic version of the SoulFire server (e.g., "1.0.0").protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ServerInfo other) setBranchName(String value) The git branch name from which the server was built (e.g., "main", "develop").setBranchNameBytes(com.google.protobuf.ByteString value) The git branch name from which the server was built (e.g., "main", "develop").setCommitHash(String value) The git commit hash of the server build, useful for debugging and version tracking.setCommitHashBytes(com.google.protobuf.ByteString value) The git commit hash of the server build, useful for debugging and version tracking.setMinecraftVersion(String value) The native Minecraft protocol version supported by this server (e.g., "1.21.4").setMinecraftVersionBytes(com.google.protobuf.ByteString value) The native Minecraft protocol version supported by this server (e.g., "1.21.4").setPublicApiAddress(String value) The public URL for the gRPC/HTTP API endpoint.setPublicApiAddressBytes(com.google.protobuf.ByteString value) The public URL for the gRPC/HTTP API endpoint.setPublicDocsAddress(String value) The public URL for the API documentation endpoint.setPublicDocsAddressBytes(com.google.protobuf.ByteString value) The public URL for the API documentation endpoint.setPublicWebdavAddress(String value) The public URL for the WebDAV file access endpoint.setPublicWebdavAddressBytes(com.google.protobuf.ByteString value) The public URL for the WebDAV file access endpoint.setVersion(String value) The semantic version of the SoulFire server (e.g., "1.0.0").setVersionBytes(com.google.protobuf.ByteString value) The semantic version of the SoulFire server (e.g., "1.0.0").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<ServerInfo.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<ServerInfo.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<ServerInfo.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<ServerInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ServerInfo.Builder>
-
mergeFrom
public ServerInfo.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<ServerInfo.Builder>- Throws:
IOException
-
getVersion
The semantic version of the SoulFire server (e.g., "1.0.0").
string version = 1;- Specified by:
getVersionin interfaceServerInfoOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()The semantic version of the SoulFire server (e.g., "1.0.0").
string version = 1;- Specified by:
getVersionBytesin interfaceServerInfoOrBuilder- Returns:
- The bytes for version.
-
setVersion
The semantic version of the SoulFire server (e.g., "1.0.0").
string version = 1;- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
The semantic version of the SoulFire server (e.g., "1.0.0").
string version = 1;- Returns:
- This builder for chaining.
-
setVersionBytes
The semantic version of the SoulFire server (e.g., "1.0.0").
string version = 1;- Parameters:
value- The bytes for version to set.- Returns:
- This builder for chaining.
-
getCommitHash
The git commit hash of the server build, useful for debugging and version tracking.
string commit_hash = 2;- Specified by:
getCommitHashin interfaceServerInfoOrBuilder- Returns:
- The commitHash.
-
getCommitHashBytes
public com.google.protobuf.ByteString getCommitHashBytes()The git commit hash of the server build, useful for debugging and version tracking.
string commit_hash = 2;- Specified by:
getCommitHashBytesin interfaceServerInfoOrBuilder- Returns:
- The bytes for commitHash.
-
setCommitHash
The git commit hash of the server build, useful for debugging and version tracking.
string commit_hash = 2;- Parameters:
value- The commitHash to set.- Returns:
- This builder for chaining.
-
clearCommitHash
The git commit hash of the server build, useful for debugging and version tracking.
string commit_hash = 2;- Returns:
- This builder for chaining.
-
setCommitHashBytes
The git commit hash of the server build, useful for debugging and version tracking.
string commit_hash = 2;- Parameters:
value- The bytes for commitHash to set.- Returns:
- This builder for chaining.
-
getBranchName
The git branch name from which the server was built (e.g., "main", "develop").
string branch_name = 3;- Specified by:
getBranchNamein interfaceServerInfoOrBuilder- Returns:
- The branchName.
-
getBranchNameBytes
public com.google.protobuf.ByteString getBranchNameBytes()The git branch name from which the server was built (e.g., "main", "develop").
string branch_name = 3;- Specified by:
getBranchNameBytesin interfaceServerInfoOrBuilder- Returns:
- The bytes for branchName.
-
setBranchName
The git branch name from which the server was built (e.g., "main", "develop").
string branch_name = 3;- Parameters:
value- The branchName to set.- Returns:
- This builder for chaining.
-
clearBranchName
The git branch name from which the server was built (e.g., "main", "develop").
string branch_name = 3;- Returns:
- This builder for chaining.
-
setBranchNameBytes
The git branch name from which the server was built (e.g., "main", "develop").
string branch_name = 3;- Parameters:
value- The bytes for branchName to set.- Returns:
- This builder for chaining.
-
getPublicApiAddress
The public URL for the gRPC/HTTP API endpoint. This is the base address clients should use to connect to the server.
string public_api_address = 4;- Specified by:
getPublicApiAddressin interfaceServerInfoOrBuilder- Returns:
- The publicApiAddress.
-
getPublicApiAddressBytes
public com.google.protobuf.ByteString getPublicApiAddressBytes()The public URL for the gRPC/HTTP API endpoint. This is the base address clients should use to connect to the server.
string public_api_address = 4;- Specified by:
getPublicApiAddressBytesin interfaceServerInfoOrBuilder- Returns:
- The bytes for publicApiAddress.
-
setPublicApiAddress
The public URL for the gRPC/HTTP API endpoint. This is the base address clients should use to connect to the server.
string public_api_address = 4;- Parameters:
value- The publicApiAddress to set.- Returns:
- This builder for chaining.
-
clearPublicApiAddress
The public URL for the gRPC/HTTP API endpoint. This is the base address clients should use to connect to the server.
string public_api_address = 4;- Returns:
- This builder for chaining.
-
setPublicApiAddressBytes
The public URL for the gRPC/HTTP API endpoint. This is the base address clients should use to connect to the server.
string public_api_address = 4;- Parameters:
value- The bytes for publicApiAddress to set.- Returns:
- This builder for chaining.
-
getPublicWebdavAddress
The public URL for the WebDAV file access endpoint. Derived from public_api_address with "/webdav" appended.
string public_webdav_address = 5;- Specified by:
getPublicWebdavAddressin interfaceServerInfoOrBuilder- Returns:
- The publicWebdavAddress.
-
getPublicWebdavAddressBytes
public com.google.protobuf.ByteString getPublicWebdavAddressBytes()The public URL for the WebDAV file access endpoint. Derived from public_api_address with "/webdav" appended.
string public_webdav_address = 5;- Specified by:
getPublicWebdavAddressBytesin interfaceServerInfoOrBuilder- Returns:
- The bytes for publicWebdavAddress.
-
setPublicWebdavAddress
The public URL for the WebDAV file access endpoint. Derived from public_api_address with "/webdav" appended.
string public_webdav_address = 5;- Parameters:
value- The publicWebdavAddress to set.- Returns:
- This builder for chaining.
-
clearPublicWebdavAddress
The public URL for the WebDAV file access endpoint. Derived from public_api_address with "/webdav" appended.
string public_webdav_address = 5;- Returns:
- This builder for chaining.
-
setPublicWebdavAddressBytes
The public URL for the WebDAV file access endpoint. Derived from public_api_address with "/webdav" appended.
string public_webdav_address = 5;- Parameters:
value- The bytes for publicWebdavAddress to set.- Returns:
- This builder for chaining.
-
getPublicDocsAddress
The public URL for the API documentation endpoint. Derived from public_api_address with "/docs" appended.
string public_docs_address = 6;- Specified by:
getPublicDocsAddressin interfaceServerInfoOrBuilder- Returns:
- The publicDocsAddress.
-
getPublicDocsAddressBytes
public com.google.protobuf.ByteString getPublicDocsAddressBytes()The public URL for the API documentation endpoint. Derived from public_api_address with "/docs" appended.
string public_docs_address = 6;- Specified by:
getPublicDocsAddressBytesin interfaceServerInfoOrBuilder- Returns:
- The bytes for publicDocsAddress.
-
setPublicDocsAddress
The public URL for the API documentation endpoint. Derived from public_api_address with "/docs" appended.
string public_docs_address = 6;- Parameters:
value- The publicDocsAddress to set.- Returns:
- This builder for chaining.
-
clearPublicDocsAddress
The public URL for the API documentation endpoint. Derived from public_api_address with "/docs" appended.
string public_docs_address = 6;- Returns:
- This builder for chaining.
-
setPublicDocsAddressBytes
The public URL for the API documentation endpoint. Derived from public_api_address with "/docs" appended.
string public_docs_address = 6;- Parameters:
value- The bytes for publicDocsAddress to set.- Returns:
- This builder for chaining.
-
getMinecraftVersion
The native Minecraft protocol version supported by this server (e.g., "1.21.4").
string minecraft_version = 7;- Specified by:
getMinecraftVersionin interfaceServerInfoOrBuilder- Returns:
- The minecraftVersion.
-
getMinecraftVersionBytes
public com.google.protobuf.ByteString getMinecraftVersionBytes()The native Minecraft protocol version supported by this server (e.g., "1.21.4").
string minecraft_version = 7;- Specified by:
getMinecraftVersionBytesin interfaceServerInfoOrBuilder- Returns:
- The bytes for minecraftVersion.
-
setMinecraftVersion
The native Minecraft protocol version supported by this server (e.g., "1.21.4").
string minecraft_version = 7;- Parameters:
value- The minecraftVersion to set.- Returns:
- This builder for chaining.
-
clearMinecraftVersion
The native Minecraft protocol version supported by this server (e.g., "1.21.4").
string minecraft_version = 7;- Returns:
- This builder for chaining.
-
setMinecraftVersionBytes
The native Minecraft protocol version supported by this server (e.g., "1.21.4").
string minecraft_version = 7;- Parameters:
value- The bytes for minecraftVersion to set.- Returns:
- This builder for chaining.
-