Class BotMouseClickRequest.Builder

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

public static final class BotMouseClickRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<BotMouseClickRequest.Builder> implements BotMouseClickRequestOrBuilder
Request to simulate a mouse click action in the game world.
Used for attacking entities, breaking blocks, using items, and interacting with blocks/entities.
Protobuf type soulfire.v1.BotMouseClickRequest
  • 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<BotMouseClickRequest.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<BotMouseClickRequest.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<BotMouseClickRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public BotMouseClickRequest.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<BotMouseClickRequest.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 BotMouseClickRequestOrBuilder
      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 BotMouseClickRequestOrBuilder
      Returns:
      The bytes for instanceId.
    • setInstanceId

      public BotMouseClickRequest.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 BotMouseClickRequest.Builder clearInstanceId()
      The UUID of the SoulFire instance containing the bot.
      
      string instance_id = 1;
      Returns:
      This builder for chaining.
    • setInstanceIdBytes

      public BotMouseClickRequest.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 performing the click.
      
      string bot_id = 2;
      Specified by:
      getBotId in interface BotMouseClickRequestOrBuilder
      Returns:
      The botId.
    • getBotIdBytes

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

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

      public BotMouseClickRequest.Builder clearBotId()
      The profile UUID of the bot performing the click.
      
      string bot_id = 2;
      Returns:
      This builder for chaining.
    • setBotIdBytes

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

      public int getButtonValue()
      Which mouse button to simulate clicking.
      
      .soulfire.v1.MouseButton button = 3;
      Specified by:
      getButtonValue in interface BotMouseClickRequestOrBuilder
      Returns:
      The enum numeric value on the wire for button.
    • setButtonValue

      public BotMouseClickRequest.Builder setButtonValue(int value)
      Which mouse button to simulate clicking.
      
      .soulfire.v1.MouseButton button = 3;
      Parameters:
      value - The enum numeric value on the wire for button to set.
      Returns:
      This builder for chaining.
    • getButton

      public MouseButton getButton()
      Which mouse button to simulate clicking.
      
      .soulfire.v1.MouseButton button = 3;
      Specified by:
      getButton in interface BotMouseClickRequestOrBuilder
      Returns:
      The button.
    • setButton

      public BotMouseClickRequest.Builder setButton(MouseButton value)
      Which mouse button to simulate clicking.
      
      .soulfire.v1.MouseButton button = 3;
      Parameters:
      value - The button to set.
      Returns:
      This builder for chaining.
    • clearButton

      public BotMouseClickRequest.Builder clearButton()
      Which mouse button to simulate clicking.
      
      .soulfire.v1.MouseButton button = 3;
      Returns:
      This builder for chaining.