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 Summary
Modifier and TypeMethodDescriptionbuild()clear()S key state - move backward.The profile UUID of the bot to control.W key state - move forward.The UUID of the SoulFire instance containing the bot.Space key state - jump.A key state - strafe left.D key state - strafe right.Shift key state - sneak/crouch.Ctrl key state - sprint.booleanS key state - move backward.getBotId()The profile UUID of the bot to control.com.google.protobuf.ByteStringThe profile UUID of the bot to control.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanW key state - move forward.The UUID of the SoulFire instance containing the bot.com.google.protobuf.ByteStringThe UUID of the SoulFire instance containing the bot.booleangetJump()Space key state - jump.booleangetLeft()A key state - strafe left.booleangetRight()D key state - strafe right.booleangetSneak()Shift key state - sneak/crouch.booleanCtrl key state - sprint.booleanS key state - move backward.booleanW key state - move forward.booleanhasJump()Space key state - jump.booleanhasLeft()A key state - strafe left.booleanhasRight()D key state - strafe right.booleanhasSneak()Shift key state - sneak/crouch.booleanCtrl key state - sprint.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setBackward(boolean value) S key state - move backward.The profile UUID of the bot to control.setBotIdBytes(com.google.protobuf.ByteString value) The profile UUID of the bot to control.setForward(boolean value) W key state - move forward.setInstanceId(String value) The UUID of the SoulFire instance containing the bot.setInstanceIdBytes(com.google.protobuf.ByteString value) The UUID of the SoulFire instance containing the bot.setJump(boolean value) Space key state - jump.setLeft(boolean value) A key state - strafe left.setRight(boolean value) D key state - strafe right.setSneak(boolean value) Shift key state - sneak/crouch.setSprint(boolean value) Ctrl key state - sprint.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<BotSetMovementStateRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BotSetMovementStateRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BotSetMovementStateRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BotSetMovementStateRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BotSetMovementStateRequest.Builder>- Throws:
IOException
-
getInstanceId
The UUID of the SoulFire instance containing the bot.
string instance_id = 1;- Specified by:
getInstanceIdin interfaceBotSetMovementStateRequestOrBuilder- 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:
getInstanceIdBytesin interfaceBotSetMovementStateRequestOrBuilder- Returns:
- The bytes for instanceId.
-
setInstanceId
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
The UUID of the SoulFire instance containing the bot.
string instance_id = 1;- Returns:
- This builder for chaining.
-
setInstanceIdBytes
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
The profile UUID of the bot to control.
string bot_id = 2;- Specified by:
getBotIdin interfaceBotSetMovementStateRequestOrBuilder- Returns:
- The botId.
-
getBotIdBytes
public com.google.protobuf.ByteString getBotIdBytes()The profile UUID of the bot to control.
string bot_id = 2;- Specified by:
getBotIdBytesin interfaceBotSetMovementStateRequestOrBuilder- Returns:
- The bytes for botId.
-
setBotId
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
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:
hasForwardin interfaceBotSetMovementStateRequestOrBuilder- 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:
getForwardin interfaceBotSetMovementStateRequestOrBuilder- Returns:
- The forward.
-
setForward
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
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:
hasBackwardin interfaceBotSetMovementStateRequestOrBuilder- 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:
getBackwardin interfaceBotSetMovementStateRequestOrBuilder- Returns:
- The backward.
-
setBackward
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
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:
hasLeftin interfaceBotSetMovementStateRequestOrBuilder- 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:
getLeftin interfaceBotSetMovementStateRequestOrBuilder- Returns:
- The left.
-
setLeft
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:
hasRightin interfaceBotSetMovementStateRequestOrBuilder- 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:
getRightin interfaceBotSetMovementStateRequestOrBuilder- Returns:
- The right.
-
setRight
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:
hasJumpin interfaceBotSetMovementStateRequestOrBuilder- 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:
getJumpin interfaceBotSetMovementStateRequestOrBuilder- Returns:
- The jump.
-
setJump
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:
hasSneakin interfaceBotSetMovementStateRequestOrBuilder- 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:
getSneakin interfaceBotSetMovementStateRequestOrBuilder- Returns:
- The sneak.
-
setSneak
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:
hasSprintin interfaceBotSetMovementStateRequestOrBuilder- 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:
getSprintin interfaceBotSetMovementStateRequestOrBuilder- Returns:
- The sprint.
-
setSprint
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
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.
-