Class BotListEntry.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BotListEntry.Builder>
com.google.protobuf.GeneratedMessage.Builder<BotListEntry.Builder>
com.soulfiremc.grpc.generated.BotListEntry.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, BotListEntryOrBuilder, Cloneable
Enclosing class:
BotListEntry

public static final class BotListEntry.Builder extends com.google.protobuf.GeneratedMessage.Builder<BotListEntry.Builder> implements BotListEntryOrBuilder
Entry representing a single bot in the bot list.
Contains summary information suitable for display in a list view.
Protobuf type soulfire.v1.BotListEntry
  • 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.Builder<BotListEntry.Builder>
    • clear

      public BotListEntry.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<BotListEntry.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<BotListEntry.Builder>
    • getDefaultInstanceForType

      public BotListEntry getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public BotListEntry build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public BotListEntry buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public BotListEntry.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BotListEntry.Builder>
    • mergeFrom

      public BotListEntry.Builder mergeFrom(BotListEntry other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<BotListEntry.Builder>
    • mergeFrom

      public BotListEntry.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BotListEntry.Builder>
      Throws:
      IOException
    • getProfileId

      public String getProfileId()
      The Minecraft profile UUID of the bot.
      This uniquely identifies the bot within the instance.
      
      string profile_id = 1;
      Specified by:
      getProfileId in interface BotListEntryOrBuilder
      Returns:
      The profileId.
    • getProfileIdBytes

      public com.google.protobuf.ByteString getProfileIdBytes()
      The Minecraft profile UUID of the bot.
      This uniquely identifies the bot within the instance.
      
      string profile_id = 1;
      Specified by:
      getProfileIdBytes in interface BotListEntryOrBuilder
      Returns:
      The bytes for profileId.
    • setProfileId

      public BotListEntry.Builder setProfileId(String value)
      The Minecraft profile UUID of the bot.
      This uniquely identifies the bot within the instance.
      
      string profile_id = 1;
      Parameters:
      value - The profileId to set.
      Returns:
      This builder for chaining.
    • clearProfileId

      public BotListEntry.Builder clearProfileId()
      The Minecraft profile UUID of the bot.
      This uniquely identifies the bot within the instance.
      
      string profile_id = 1;
      Returns:
      This builder for chaining.
    • setProfileIdBytes

      public BotListEntry.Builder setProfileIdBytes(com.google.protobuf.ByteString value)
      The Minecraft profile UUID of the bot.
      This uniquely identifies the bot within the instance.
      
      string profile_id = 1;
      Parameters:
      value - The bytes for profileId to set.
      Returns:
      This builder for chaining.
    • getIsOnline

      public boolean getIsOnline()
      Whether the bot is currently connected to a Minecraft server.
      When false, the bot exists in configuration but is not active.
      
      bool is_online = 2;
      Specified by:
      getIsOnline in interface BotListEntryOrBuilder
      Returns:
      The isOnline.
    • setIsOnline

      public BotListEntry.Builder setIsOnline(boolean value)
      Whether the bot is currently connected to a Minecraft server.
      When false, the bot exists in configuration but is not active.
      
      bool is_online = 2;
      Parameters:
      value - The isOnline to set.
      Returns:
      This builder for chaining.
    • clearIsOnline

      public BotListEntry.Builder clearIsOnline()
      Whether the bot is currently connected to a Minecraft server.
      When false, the bot exists in configuration but is not active.
      
      bool is_online = 2;
      Returns:
      This builder for chaining.
    • hasLiveState

      public boolean hasLiveState()
      Live state of the bot if online and player data is available.
      Will be absent if the bot is offline or the player hasn't fully spawned.
      Note: For list views, inventory data is NOT included (too expensive).
      
      optional .soulfire.v1.BotLiveState live_state = 3;
      Specified by:
      hasLiveState in interface BotListEntryOrBuilder
      Returns:
      Whether the liveState field is set.
    • getLiveState

      public BotLiveState getLiveState()
      Live state of the bot if online and player data is available.
      Will be absent if the bot is offline or the player hasn't fully spawned.
      Note: For list views, inventory data is NOT included (too expensive).
      
      optional .soulfire.v1.BotLiveState live_state = 3;
      Specified by:
      getLiveState in interface BotListEntryOrBuilder
      Returns:
      The liveState.
    • setLiveState

      public BotListEntry.Builder setLiveState(BotLiveState value)
      Live state of the bot if online and player data is available.
      Will be absent if the bot is offline or the player hasn't fully spawned.
      Note: For list views, inventory data is NOT included (too expensive).
      
      optional .soulfire.v1.BotLiveState live_state = 3;
    • setLiveState

      public BotListEntry.Builder setLiveState(BotLiveState.Builder builderForValue)
      Live state of the bot if online and player data is available.
      Will be absent if the bot is offline or the player hasn't fully spawned.
      Note: For list views, inventory data is NOT included (too expensive).
      
      optional .soulfire.v1.BotLiveState live_state = 3;
    • mergeLiveState

      public BotListEntry.Builder mergeLiveState(BotLiveState value)
      Live state of the bot if online and player data is available.
      Will be absent if the bot is offline or the player hasn't fully spawned.
      Note: For list views, inventory data is NOT included (too expensive).
      
      optional .soulfire.v1.BotLiveState live_state = 3;
    • clearLiveState

      public BotListEntry.Builder clearLiveState()
      Live state of the bot if online and player data is available.
      Will be absent if the bot is offline or the player hasn't fully spawned.
      Note: For list views, inventory data is NOT included (too expensive).
      
      optional .soulfire.v1.BotLiveState live_state = 3;
    • getLiveStateBuilder

      public BotLiveState.Builder getLiveStateBuilder()
      Live state of the bot if online and player data is available.
      Will be absent if the bot is offline or the player hasn't fully spawned.
      Note: For list views, inventory data is NOT included (too expensive).
      
      optional .soulfire.v1.BotLiveState live_state = 3;
    • getLiveStateOrBuilder

      public BotLiveStateOrBuilder getLiveStateOrBuilder()
      Live state of the bot if online and player data is available.
      Will be absent if the bot is offline or the player hasn't fully spawned.
      Note: For list views, inventory data is NOT included (too expensive).
      
      optional .soulfire.v1.BotLiveState live_state = 3;
      Specified by:
      getLiveStateOrBuilder in interface BotListEntryOrBuilder