Class MinecraftAccountProto

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

@Generated public final class MinecraftAccountProto extends com.google.protobuf.GeneratedMessage implements MinecraftAccountProtoOrBuilder
Represents an authenticated Minecraft account that can be used by bots.
This can be a premium Microsoft account (Java or Bedrock) or an offline account.
The account contains authentication data, profile information, and per-account settings.
Used throughout the system for instance configuration and bot management.
Protobuf type soulfire.v1.MinecraftAccountProto
See Also:
  • Field Details

    • TYPE_FIELD_NUMBER

      public static final int TYPE_FIELD_NUMBER
      See Also:
    • PROFILE_ID_FIELD_NUMBER

      public static final int PROFILE_ID_FIELD_NUMBER
      See Also:
    • LAST_KNOWN_NAME_FIELD_NUMBER

      public static final int LAST_KNOWN_NAME_FIELD_NUMBER
      See Also:
    • ONLINE_CHAIN_JAVA_DATA_FIELD_NUMBER

      public static final int ONLINE_CHAIN_JAVA_DATA_FIELD_NUMBER
      See Also:
    • OFFLINE_JAVA_DATA_FIELD_NUMBER

      public static final int OFFLINE_JAVA_DATA_FIELD_NUMBER
      See Also:
    • BEDROCK_DATA_FIELD_NUMBER

      public static final int BEDROCK_DATA_FIELD_NUMBER
      See Also:
    • CONFIG_FIELD_NUMBER

      public static final int CONFIG_FIELD_NUMBER
      See Also:
    • PERSISTENT_METADATA_FIELD_NUMBER

      public static final int PERSISTENT_METADATA_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
    • getAccountDataCase

      public MinecraftAccountProto.AccountDataCase getAccountDataCase()
      Specified by:
      getAccountDataCase in interface MinecraftAccountProtoOrBuilder
    • getTypeValue

      public int getTypeValue()
      The authentication type used for this account.
      Determines which account_data field is populated.
      
      .soulfire.v1.MinecraftAccountProto.AccountTypeProto type = 1;
      Specified by:
      getTypeValue in interface MinecraftAccountProtoOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • getType

      The authentication type used for this account.
      Determines which account_data field is populated.
      
      .soulfire.v1.MinecraftAccountProto.AccountTypeProto type = 1;
      Specified by:
      getType in interface MinecraftAccountProtoOrBuilder
      Returns:
      The type.
    • getProfileId

      public String getProfileId()
      The unique profile identifier (UUID) for this account.
      For online accounts: The official Minecraft profile UUID from Microsoft.
      For offline accounts: A deterministic UUID derived from the username.
      Format: Standard UUID string (e.g., "550e8400-e29b-41d4-a716-446655440000").
      
      string profile_id = 2;
      Specified by:
      getProfileId in interface MinecraftAccountProtoOrBuilder
      Returns:
      The profileId.
    • getProfileIdBytes

      public com.google.protobuf.ByteString getProfileIdBytes()
      The unique profile identifier (UUID) for this account.
      For online accounts: The official Minecraft profile UUID from Microsoft.
      For offline accounts: A deterministic UUID derived from the username.
      Format: Standard UUID string (e.g., "550e8400-e29b-41d4-a716-446655440000").
      
      string profile_id = 2;
      Specified by:
      getProfileIdBytes in interface MinecraftAccountProtoOrBuilder
      Returns:
      The bytes for profileId.
    • getLastKnownName

      public String getLastKnownName()
      The last known username/gamertag for this account.
      Updated during authentication and refresh operations.
      For Java: The Minecraft username (up to 16 characters).
      For Bedrock: The Xbox gamertag.
      
      string last_known_name = 3;
      Specified by:
      getLastKnownName in interface MinecraftAccountProtoOrBuilder
      Returns:
      The lastKnownName.
    • getLastKnownNameBytes

      public com.google.protobuf.ByteString getLastKnownNameBytes()
      The last known username/gamertag for this account.
      Updated during authentication and refresh operations.
      For Java: The Minecraft username (up to 16 characters).
      For Bedrock: The Xbox gamertag.
      
      string last_known_name = 3;
      Specified by:
      getLastKnownNameBytes in interface MinecraftAccountProtoOrBuilder
      Returns:
      The bytes for lastKnownName.
    • hasOnlineChainJavaData

      public boolean hasOnlineChainJavaData()
      Authentication chain for online Java accounts (Microsoft-authenticated).
      
      .soulfire.v1.MinecraftAccountProto.OnlineChainJavaData online_chain_java_data = 5;
      Specified by:
      hasOnlineChainJavaData in interface MinecraftAccountProtoOrBuilder
      Returns:
      Whether the onlineChainJavaData field is set.
    • getOnlineChainJavaData

      public MinecraftAccountProto.OnlineChainJavaData getOnlineChainJavaData()
      Authentication chain for online Java accounts (Microsoft-authenticated).
      
      .soulfire.v1.MinecraftAccountProto.OnlineChainJavaData online_chain_java_data = 5;
      Specified by:
      getOnlineChainJavaData in interface MinecraftAccountProtoOrBuilder
      Returns:
      The onlineChainJavaData.
    • getOnlineChainJavaDataOrBuilder

      public MinecraftAccountProto.OnlineChainJavaDataOrBuilder getOnlineChainJavaDataOrBuilder()
      Authentication chain for online Java accounts (Microsoft-authenticated).
      
      .soulfire.v1.MinecraftAccountProto.OnlineChainJavaData online_chain_java_data = 5;
      Specified by:
      getOnlineChainJavaDataOrBuilder in interface MinecraftAccountProtoOrBuilder
    • hasOfflineJavaData

      public boolean hasOfflineJavaData()
      Data for offline Java accounts (no authentication required).
      
      .soulfire.v1.MinecraftAccountProto.OfflineJavaData offline_java_data = 6;
      Specified by:
      hasOfflineJavaData in interface MinecraftAccountProtoOrBuilder
      Returns:
      Whether the offlineJavaData field is set.
    • getOfflineJavaData

      public MinecraftAccountProto.OfflineJavaData getOfflineJavaData()
      Data for offline Java accounts (no authentication required).
      
      .soulfire.v1.MinecraftAccountProto.OfflineJavaData offline_java_data = 6;
      Specified by:
      getOfflineJavaData in interface MinecraftAccountProtoOrBuilder
      Returns:
      The offlineJavaData.
    • getOfflineJavaDataOrBuilder

      public MinecraftAccountProto.OfflineJavaDataOrBuilder getOfflineJavaDataOrBuilder()
      Data for offline Java accounts (no authentication required).
      
      .soulfire.v1.MinecraftAccountProto.OfflineJavaData offline_java_data = 6;
      Specified by:
      getOfflineJavaDataOrBuilder in interface MinecraftAccountProtoOrBuilder
    • hasBedrockData

      public boolean hasBedrockData()
      Authentication chain for Bedrock accounts (Microsoft-authenticated).
      
      .soulfire.v1.MinecraftAccountProto.BedrockData bedrock_data = 7;
      Specified by:
      hasBedrockData in interface MinecraftAccountProtoOrBuilder
      Returns:
      Whether the bedrockData field is set.
    • getBedrockData

      public MinecraftAccountProto.BedrockData getBedrockData()
      Authentication chain for Bedrock accounts (Microsoft-authenticated).
      
      .soulfire.v1.MinecraftAccountProto.BedrockData bedrock_data = 7;
      Specified by:
      getBedrockData in interface MinecraftAccountProtoOrBuilder
      Returns:
      The bedrockData.
    • getBedrockDataOrBuilder

      public MinecraftAccountProto.BedrockDataOrBuilder getBedrockDataOrBuilder()
      Authentication chain for Bedrock accounts (Microsoft-authenticated).
      
      .soulfire.v1.MinecraftAccountProto.BedrockData bedrock_data = 7;
      Specified by:
      getBedrockDataOrBuilder in interface MinecraftAccountProtoOrBuilder
    • getConfigList

      public List<SettingsNamespace> getConfigList()
      Per-bot configuration settings stored with the account.
      Organized as namespace -> key -> value mappings.
      These settings override instance-level settings when the bot is running.
      Typically includes bot-specific behavior settings.
      
      repeated .soulfire.v1.SettingsNamespace config = 8;
      Specified by:
      getConfigList in interface MinecraftAccountProtoOrBuilder
    • getConfigOrBuilderList

      public List<? extends SettingsNamespaceOrBuilder> getConfigOrBuilderList()
      Per-bot configuration settings stored with the account.
      Organized as namespace -> key -> value mappings.
      These settings override instance-level settings when the bot is running.
      Typically includes bot-specific behavior settings.
      
      repeated .soulfire.v1.SettingsNamespace config = 8;
      Specified by:
      getConfigOrBuilderList in interface MinecraftAccountProtoOrBuilder
    • getConfigCount

      public int getConfigCount()
      Per-bot configuration settings stored with the account.
      Organized as namespace -> key -> value mappings.
      These settings override instance-level settings when the bot is running.
      Typically includes bot-specific behavior settings.
      
      repeated .soulfire.v1.SettingsNamespace config = 8;
      Specified by:
      getConfigCount in interface MinecraftAccountProtoOrBuilder
    • getConfig

      public SettingsNamespace getConfig(int index)
      Per-bot configuration settings stored with the account.
      Organized as namespace -> key -> value mappings.
      These settings override instance-level settings when the bot is running.
      Typically includes bot-specific behavior settings.
      
      repeated .soulfire.v1.SettingsNamespace config = 8;
      Specified by:
      getConfig in interface MinecraftAccountProtoOrBuilder
    • getConfigOrBuilder

      public SettingsNamespaceOrBuilder getConfigOrBuilder(int index)
      Per-bot configuration settings stored with the account.
      Organized as namespace -> key -> value mappings.
      These settings override instance-level settings when the bot is running.
      Typically includes bot-specific behavior settings.
      
      repeated .soulfire.v1.SettingsNamespace config = 8;
      Specified by:
      getConfigOrBuilder in interface MinecraftAccountProtoOrBuilder
    • getPersistentMetadataList

      public List<SettingsNamespace> getPersistentMetadataList()
      Persistent metadata stored with the account across sessions.
      Organized as namespace -> key -> value mappings.
      Used by plugins and the system to store account-specific state
      that should persist across bot restarts (e.g., last position, inventory cache).
      
      repeated .soulfire.v1.SettingsNamespace persistent_metadata = 9;
      Specified by:
      getPersistentMetadataList in interface MinecraftAccountProtoOrBuilder
    • getPersistentMetadataOrBuilderList

      public List<? extends SettingsNamespaceOrBuilder> getPersistentMetadataOrBuilderList()
      Persistent metadata stored with the account across sessions.
      Organized as namespace -> key -> value mappings.
      Used by plugins and the system to store account-specific state
      that should persist across bot restarts (e.g., last position, inventory cache).
      
      repeated .soulfire.v1.SettingsNamespace persistent_metadata = 9;
      Specified by:
      getPersistentMetadataOrBuilderList in interface MinecraftAccountProtoOrBuilder
    • getPersistentMetadataCount

      public int getPersistentMetadataCount()
      Persistent metadata stored with the account across sessions.
      Organized as namespace -> key -> value mappings.
      Used by plugins and the system to store account-specific state
      that should persist across bot restarts (e.g., last position, inventory cache).
      
      repeated .soulfire.v1.SettingsNamespace persistent_metadata = 9;
      Specified by:
      getPersistentMetadataCount in interface MinecraftAccountProtoOrBuilder
    • getPersistentMetadata

      public SettingsNamespace getPersistentMetadata(int index)
      Persistent metadata stored with the account across sessions.
      Organized as namespace -> key -> value mappings.
      Used by plugins and the system to store account-specific state
      that should persist across bot restarts (e.g., last position, inventory cache).
      
      repeated .soulfire.v1.SettingsNamespace persistent_metadata = 9;
      Specified by:
      getPersistentMetadata in interface MinecraftAccountProtoOrBuilder
    • getPersistentMetadataOrBuilder

      public SettingsNamespaceOrBuilder getPersistentMetadataOrBuilder(int index)
      Persistent metadata stored with the account across sessions.
      Organized as namespace -> key -> value mappings.
      Used by plugins and the system to store account-specific state
      that should persist across bot restarts (e.g., last position, inventory cache).
      
      repeated .soulfire.v1.SettingsNamespace persistent_metadata = 9;
      Specified by:
      getPersistentMetadataOrBuilder in interface MinecraftAccountProtoOrBuilder
    • 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 MinecraftAccountProto parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static MinecraftAccountProto.Builder newBuilder()
    • newBuilder

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

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

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

      public static MinecraftAccountProto getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<MinecraftAccountProto> 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 MinecraftAccountProto getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder