Class ServerInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.soulfiremc.grpc.generated.ServerInfo
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ServerInfoOrBuilder, Serializable

@Generated public final class ServerInfo extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Contains metadata about the SoulFire server instance.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    The git branch name from which the server was built (e.g., "main", "develop").
    com.google.protobuf.ByteString
    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.
    com.google.protobuf.ByteString
    The git commit hash of the server build, useful for debugging and version tracking.
    static ServerInfo
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    The native Minecraft protocol version supported by this server (e.g., "1.21.4").
    com.google.protobuf.ByteString
    The native Minecraft protocol version supported by this server (e.g., "1.21.4").
    com.google.protobuf.Parser<ServerInfo>
     
    The public URL for the gRPC/HTTP API endpoint.
    com.google.protobuf.ByteString
    The public URL for the gRPC/HTTP API endpoint.
    The public URL for the API documentation endpoint.
    com.google.protobuf.ByteString
    The public URL for the API documentation endpoint.
    The public URL for the WebDAV file access endpoint.
    com.google.protobuf.ByteString
    The public URL for the WebDAV file access endpoint.
    int
     
    The semantic version of the SoulFire server (e.g., "1.0.0").
    com.google.protobuf.ByteString
    The semantic version of the SoulFire server (e.g., "1.0.0").
    int
     
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
    static ServerInfo
     
    static ServerInfo
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ServerInfo
    parseFrom(byte[] data)
     
    static ServerInfo
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ServerInfo
    parseFrom(com.google.protobuf.ByteString data)
     
    static ServerInfo
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ServerInfo
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static ServerInfo
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ServerInfo
     
    static ServerInfo
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ServerInfo
     
    static ServerInfo
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<ServerInfo>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • VERSION_FIELD_NUMBER

      public static final int VERSION_FIELD_NUMBER
      See Also:
    • COMMIT_HASH_FIELD_NUMBER

      public static final int COMMIT_HASH_FIELD_NUMBER
      See Also:
    • BRANCH_NAME_FIELD_NUMBER

      public static final int BRANCH_NAME_FIELD_NUMBER
      See Also:
    • PUBLIC_API_ADDRESS_FIELD_NUMBER

      public static final int PUBLIC_API_ADDRESS_FIELD_NUMBER
      See Also:
    • PUBLIC_WEBDAV_ADDRESS_FIELD_NUMBER

      public static final int PUBLIC_WEBDAV_ADDRESS_FIELD_NUMBER
      See Also:
    • PUBLIC_DOCS_ADDRESS_FIELD_NUMBER

      public static final int PUBLIC_DOCS_ADDRESS_FIELD_NUMBER
      See Also:
    • MINECRAFT_VERSION_FIELD_NUMBER

      public static final int MINECRAFT_VERSION_FIELD_NUMBER
      See Also:
  • 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
    • getVersion

      public String getVersion()
      The semantic version of the SoulFire server (e.g., "1.0.0").
      
      string version = 1;
      Specified by:
      getVersion in interface ServerInfoOrBuilder
      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:
      getVersionBytes in interface ServerInfoOrBuilder
      Returns:
      The bytes for version.
    • getCommitHash

      public String getCommitHash()
      The git commit hash of the server build, useful for debugging and version tracking.
      
      string commit_hash = 2;
      Specified by:
      getCommitHash in interface ServerInfoOrBuilder
      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:
      getCommitHashBytes in interface ServerInfoOrBuilder
      Returns:
      The bytes for commitHash.
    • getBranchName

      public String getBranchName()
      The git branch name from which the server was built (e.g., "main", "develop").
      
      string branch_name = 3;
      Specified by:
      getBranchName in interface ServerInfoOrBuilder
      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:
      getBranchNameBytes in interface ServerInfoOrBuilder
      Returns:
      The bytes for branchName.
    • getPublicApiAddress

      public String 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:
      getPublicApiAddress in interface ServerInfoOrBuilder
      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:
      getPublicApiAddressBytes in interface ServerInfoOrBuilder
      Returns:
      The bytes for publicApiAddress.
    • getPublicWebdavAddress

      public String 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:
      getPublicWebdavAddress in interface ServerInfoOrBuilder
      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:
      getPublicWebdavAddressBytes in interface ServerInfoOrBuilder
      Returns:
      The bytes for publicWebdavAddress.
    • getPublicDocsAddress

      public String getPublicDocsAddress()
      The public URL for the API documentation endpoint.
      Derived from public_api_address with "/docs" appended.
      
      string public_docs_address = 6;
      Specified by:
      getPublicDocsAddress in interface ServerInfoOrBuilder
      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:
      getPublicDocsAddressBytes in interface ServerInfoOrBuilder
      Returns:
      The bytes for publicDocsAddress.
    • getMinecraftVersion

      public String getMinecraftVersion()
      The native Minecraft protocol version supported by this server (e.g., "1.21.4").
      
      string minecraft_version = 7;
      Specified by:
      getMinecraftVersion in interface ServerInfoOrBuilder
      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:
      getMinecraftVersionBytes in interface ServerInfoOrBuilder
      Returns:
      The bytes for minecraftVersion.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ServerInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServerInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServerInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServerInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServerInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServerInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServerInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ServerInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ServerInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ServerInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ServerInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ServerInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ServerInfo.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ServerInfo.Builder newBuilder()
    • newBuilder

      public static ServerInfo.Builder newBuilder(ServerInfo prototype)
    • toBuilder

      public ServerInfo.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ServerInfo.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ServerInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ServerInfo> parser()
    • getParserForType

      public com.google.protobuf.Parser<ServerInfo> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ServerInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder