Class BotSetRotationRequest.Builder

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

public static final class BotSetRotationRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<BotSetRotationRequest.Builder> implements BotSetRotationRequestOrBuilder
Request to set the bot's view rotation (look direction).
Used to aim the bot's view at specific targets or directions.
Protobuf type soulfire.v1.BotSetRotationRequest
  • 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<BotSetRotationRequest.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<BotSetRotationRequest.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<BotSetRotationRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

      public BotSetRotationRequest.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 rotate.
      
      string bot_id = 2;
      Specified by:
      getBotId in interface BotSetRotationRequestOrBuilder
      Returns:
      The botId.
    • getBotIdBytes

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

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

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

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

      public float getYaw()
      Horizontal rotation angle in degrees (yaw).
      Range: -180 to 180 (values outside this range are normalized).
      Direction mapping: 0 = South, 90 = West, -90 = East, +/-180 = North.
      
      float yaw = 3;
      Specified by:
      getYaw in interface BotSetRotationRequestOrBuilder
      Returns:
      The yaw.
    • setYaw

      public BotSetRotationRequest.Builder setYaw(float value)
      Horizontal rotation angle in degrees (yaw).
      Range: -180 to 180 (values outside this range are normalized).
      Direction mapping: 0 = South, 90 = West, -90 = East, +/-180 = North.
      
      float yaw = 3;
      Parameters:
      value - The yaw to set.
      Returns:
      This builder for chaining.
    • clearYaw

      public BotSetRotationRequest.Builder clearYaw()
      Horizontal rotation angle in degrees (yaw).
      Range: -180 to 180 (values outside this range are normalized).
      Direction mapping: 0 = South, 90 = West, -90 = East, +/-180 = North.
      
      float yaw = 3;
      Returns:
      This builder for chaining.
    • getPitch

      public float getPitch()
      Vertical rotation angle in degrees (pitch).
      Range: -90 to 90 (values outside this range are clamped).
      Direction mapping: -90 = looking up, 0 = horizon, 90 = looking down.
      
      float pitch = 4;
      Specified by:
      getPitch in interface BotSetRotationRequestOrBuilder
      Returns:
      The pitch.
    • setPitch

      public BotSetRotationRequest.Builder setPitch(float value)
      Vertical rotation angle in degrees (pitch).
      Range: -90 to 90 (values outside this range are clamped).
      Direction mapping: -90 = looking up, 0 = horizon, 90 = looking down.
      
      float pitch = 4;
      Parameters:
      value - The pitch to set.
      Returns:
      This builder for chaining.
    • clearPitch

      public BotSetRotationRequest.Builder clearPitch()
      Vertical rotation angle in degrees (pitch).
      Range: -90 to 90 (values outside this range are clamped).
      Direction mapping: -90 = looking up, 0 = horizon, 90 = looking down.
      
      float pitch = 4;
      Returns:
      This builder for chaining.