Class BotSetMovementStateRequest

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

@Generated public final class BotSetMovementStateRequest extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

  • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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 BotSetMovementStateRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static BotSetMovementStateRequest.Builder newBuilder()
    • newBuilder

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

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static BotSetMovementStateRequest getDefaultInstance()
    • parser

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

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