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 ClassesModifier and TypeClassDescriptionstatic final classContains 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.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe 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 ServerInfostatic final com.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").com.google.protobuf.Parser<ServerInfo> 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.intThe 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").inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic ServerInfo.Builderstatic ServerInfo.BuildernewBuilder(ServerInfo prototype) protected ServerInfo.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ServerInfoparseDelimitedFrom(InputStream input) static ServerInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServerInfoparseFrom(byte[] data) static ServerInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServerInfoparseFrom(com.google.protobuf.ByteString data) static ServerInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServerInfoparseFrom(com.google.protobuf.CodedInputStream input) static ServerInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServerInfoparseFrom(InputStream input) static ServerInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServerInfoparseFrom(ByteBuffer data) static ServerInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ServerInfo> parser()voidwriteTo(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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static ServerInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ServerInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ServerInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ServerInfo.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-