Class BotSetMovementStateRequest.Builder

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

public static final class BotSetMovementStateRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<BotSetMovementStateRequest.Builder> implements BotSetMovementStateRequestOrBuilder
Request to update the bot's movement state.
Each field is optional to allow partial updates - only specified fields are changed.
The movement state persists until explicitly changed or reset.
Protobuf type soulfire.v1.BotSetMovementStateRequest
  • 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<BotSetMovementStateRequest.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<BotSetMovementStateRequest.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<BotSetMovementStateRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public BotSetMovementStateRequest.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<BotSetMovementStateRequest.Builder>
    • mergeFrom

    • isInitialized

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

      public BotSetMovementStateRequest.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<BotSetMovementStateRequest.Builder>
      Throws:
      IOException
    • getInstanceId

      public String getInstanceId()
      The UUID of the SoulFire instance containing the bot.
      
      string instance_id = 1;
      Specified by:
      getInstanceId in interface BotSetMovementStateRequestOrBuilder
      Returns:
      The instanceId.
    • getInstanceIdBytes

      public com.google.protobuf.ByteString getInstanceIdBytes()
      The UUID of the SoulFire instance containing the bot.
      
      string instance_id = 1;
      Specified by:
      getInstanceIdBytes in interface BotSetMovementStateRequestOrBuilder
      Returns:
      The bytes for instanceId.
    • setInstanceId

      public BotSetMovementStateRequest.Builder setInstanceId(String value)
      The UUID of the SoulFire instance containing the bot.
      
      string instance_id = 1;
      Parameters:
      value - The instanceId to set.
      Returns:
      This builder for chaining.
    • clearInstanceId

      public BotSetMovementStateRequest.Builder clearInstanceId()
      The UUID of the SoulFire instance containing the bot.
      
      string instance_id = 1;
      Returns:
      This builder for chaining.
    • setInstanceIdBytes

      public BotSetMovementStateRequest.Builder setInstanceIdBytes(com.google.protobuf.ByteString value)
      The UUID of the SoulFire instance containing the bot.
      
      string instance_id = 1;
      Parameters:
      value - The bytes for instanceId to set.
      Returns:
      This builder for chaining.
    • getBotId

      public String getBotId()
      The profile UUID of the bot to control.
      
      string bot_id = 2;
      Specified by:
      getBotId in interface BotSetMovementStateRequestOrBuilder
      Returns:
      The botId.
    • getBotIdBytes

      public com.google.protobuf.ByteString getBotIdBytes()
      The profile UUID of the bot to control.
      
      string bot_id = 2;
      Specified by:
      getBotIdBytes in interface BotSetMovementStateRequestOrBuilder
      Returns:
      The bytes for botId.
    • setBotId

      public BotSetMovementStateRequest.Builder setBotId(String value)
      The profile UUID of the bot to control.
      
      string bot_id = 2;
      Parameters:
      value - The botId to set.
      Returns:
      This builder for chaining.
    • clearBotId

      The profile UUID of the bot to control.
      
      string bot_id = 2;
      Returns:
      This builder for chaining.
    • setBotIdBytes

      public BotSetMovementStateRequest.Builder setBotIdBytes(com.google.protobuf.ByteString value)
      The profile UUID of the bot to control.
      
      string bot_id = 2;
      Parameters:
      value - The bytes for botId to set.
      Returns:
      This builder for chaining.
    • hasForward

      public boolean hasForward()
      W key state - move forward.
      true = pressing W, false = not pressing W
      
      optional bool forward = 3;
      Specified by:
      hasForward in interface BotSetMovementStateRequestOrBuilder
      Returns:
      Whether the forward field is set.
    • getForward

      public boolean getForward()
      W key state - move forward.
      true = pressing W, false = not pressing W
      
      optional bool forward = 3;
      Specified by:
      getForward in interface BotSetMovementStateRequestOrBuilder
      Returns:
      The forward.
    • setForward

      public BotSetMovementStateRequest.Builder setForward(boolean value)
      W key state - move forward.
      true = pressing W, false = not pressing W
      
      optional bool forward = 3;
      Parameters:
      value - The forward to set.
      Returns:
      This builder for chaining.
    • clearForward

      public BotSetMovementStateRequest.Builder clearForward()
      W key state - move forward.
      true = pressing W, false = not pressing W
      
      optional bool forward = 3;
      Returns:
      This builder for chaining.
    • hasBackward

      public boolean hasBackward()
      S key state - move backward.
      true = pressing S, false = not pressing S
      
      optional bool backward = 4;
      Specified by:
      hasBackward in interface BotSetMovementStateRequestOrBuilder
      Returns:
      Whether the backward field is set.
    • getBackward

      public boolean getBackward()
      S key state - move backward.
      true = pressing S, false = not pressing S
      
      optional bool backward = 4;
      Specified by:
      getBackward in interface BotSetMovementStateRequestOrBuilder
      Returns:
      The backward.
    • setBackward

      public BotSetMovementStateRequest.Builder setBackward(boolean value)
      S key state - move backward.
      true = pressing S, false = not pressing S
      
      optional bool backward = 4;
      Parameters:
      value - The backward to set.
      Returns:
      This builder for chaining.
    • clearBackward

      public BotSetMovementStateRequest.Builder clearBackward()
      S key state - move backward.
      true = pressing S, false = not pressing S
      
      optional bool backward = 4;
      Returns:
      This builder for chaining.
    • hasLeft

      public boolean hasLeft()
      A key state - strafe left.
      true = pressing A, false = not pressing A
      
      optional bool left = 5;
      Specified by:
      hasLeft in interface BotSetMovementStateRequestOrBuilder
      Returns:
      Whether the left field is set.
    • getLeft

      public boolean getLeft()
      A key state - strafe left.
      true = pressing A, false = not pressing A
      
      optional bool left = 5;
      Specified by:
      getLeft in interface BotSetMovementStateRequestOrBuilder
      Returns:
      The left.
    • setLeft

      public BotSetMovementStateRequest.Builder setLeft(boolean value)
      A key state - strafe left.
      true = pressing A, false = not pressing A
      
      optional bool left = 5;
      Parameters:
      value - The left to set.
      Returns:
      This builder for chaining.
    • clearLeft

      A key state - strafe left.
      true = pressing A, false = not pressing A
      
      optional bool left = 5;
      Returns:
      This builder for chaining.
    • hasRight

      public boolean hasRight()
      D key state - strafe right.
      true = pressing D, false = not pressing D
      
      optional bool right = 6;
      Specified by:
      hasRight in interface BotSetMovementStateRequestOrBuilder
      Returns:
      Whether the right field is set.
    • getRight

      public boolean getRight()
      D key state - strafe right.
      true = pressing D, false = not pressing D
      
      optional bool right = 6;
      Specified by:
      getRight in interface BotSetMovementStateRequestOrBuilder
      Returns:
      The right.
    • setRight

      public BotSetMovementStateRequest.Builder setRight(boolean value)
      D key state - strafe right.
      true = pressing D, false = not pressing D
      
      optional bool right = 6;
      Parameters:
      value - The right to set.
      Returns:
      This builder for chaining.
    • clearRight

      D key state - strafe right.
      true = pressing D, false = not pressing D
      
      optional bool right = 6;
      Returns:
      This builder for chaining.
    • hasJump

      public boolean hasJump()
      Space key state - jump.
      true = pressing Space, false = not pressing Space
      When held, the bot will jump repeatedly.
      
      optional bool jump = 7;
      Specified by:
      hasJump in interface BotSetMovementStateRequestOrBuilder
      Returns:
      Whether the jump field is set.
    • getJump

      public boolean getJump()
      Space key state - jump.
      true = pressing Space, false = not pressing Space
      When held, the bot will jump repeatedly.
      
      optional bool jump = 7;
      Specified by:
      getJump in interface BotSetMovementStateRequestOrBuilder
      Returns:
      The jump.
    • setJump

      public BotSetMovementStateRequest.Builder setJump(boolean value)
      Space key state - jump.
      true = pressing Space, false = not pressing Space
      When held, the bot will jump repeatedly.
      
      optional bool jump = 7;
      Parameters:
      value - The jump to set.
      Returns:
      This builder for chaining.
    • clearJump

      Space key state - jump.
      true = pressing Space, false = not pressing Space
      When held, the bot will jump repeatedly.
      
      optional bool jump = 7;
      Returns:
      This builder for chaining.
    • hasSneak

      public boolean hasSneak()
      Shift key state - sneak/crouch.
      true = sneaking, false = not sneaking
      While sneaking: slower movement, won't fall off edges, crouching animation.
      
      optional bool sneak = 8;
      Specified by:
      hasSneak in interface BotSetMovementStateRequestOrBuilder
      Returns:
      Whether the sneak field is set.
    • getSneak

      public boolean getSneak()
      Shift key state - sneak/crouch.
      true = sneaking, false = not sneaking
      While sneaking: slower movement, won't fall off edges, crouching animation.
      
      optional bool sneak = 8;
      Specified by:
      getSneak in interface BotSetMovementStateRequestOrBuilder
      Returns:
      The sneak.
    • setSneak

      public BotSetMovementStateRequest.Builder setSneak(boolean value)
      Shift key state - sneak/crouch.
      true = sneaking, false = not sneaking
      While sneaking: slower movement, won't fall off edges, crouching animation.
      
      optional bool sneak = 8;
      Parameters:
      value - The sneak to set.
      Returns:
      This builder for chaining.
    • clearSneak

      Shift key state - sneak/crouch.
      true = sneaking, false = not sneaking
      While sneaking: slower movement, won't fall off edges, crouching animation.
      
      optional bool sneak = 8;
      Returns:
      This builder for chaining.
    • hasSprint

      public boolean hasSprint()
      Ctrl key state - sprint.
      true = sprinting, false = not sprinting
      Requires forward movement and sufficient hunger (food level >= 6).
      
      optional bool sprint = 9;
      Specified by:
      hasSprint in interface BotSetMovementStateRequestOrBuilder
      Returns:
      Whether the sprint field is set.
    • getSprint

      public boolean getSprint()
      Ctrl key state - sprint.
      true = sprinting, false = not sprinting
      Requires forward movement and sufficient hunger (food level >= 6).
      
      optional bool sprint = 9;
      Specified by:
      getSprint in interface BotSetMovementStateRequestOrBuilder
      Returns:
      The sprint.
    • setSprint

      public BotSetMovementStateRequest.Builder setSprint(boolean value)
      Ctrl key state - sprint.
      true = sprinting, false = not sprinting
      Requires forward movement and sufficient hunger (food level >= 6).
      
      optional bool sprint = 9;
      Parameters:
      value - The sprint to set.
      Returns:
      This builder for chaining.
    • clearSprint

      public BotSetMovementStateRequest.Builder clearSprint()
      Ctrl key state - sprint.
      true = sprinting, false = not sprinting
      Requires forward movement and sufficient hunger (food level >= 6).
      
      optional bool sprint = 9;
      Returns:
      This builder for chaining.