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 Summary
Modifier and TypeMethodDescriptionbuild()clear()The profile UUID of the bot to rotate.The UUID of the SoulFire instance containing the bot.Vertical rotation angle in degrees (pitch).clearYaw()Horizontal rotation angle in degrees (yaw).getBotId()The profile UUID of the bot to rotate.com.google.protobuf.ByteStringThe profile UUID of the bot to rotate.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe UUID of the SoulFire instance containing the bot.com.google.protobuf.ByteStringThe UUID of the SoulFire instance containing the bot.floatgetPitch()Vertical rotation angle in degrees (pitch).floatgetYaw()Horizontal rotation angle in degrees (yaw).protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(BotSetRotationRequest other) The profile UUID of the bot to rotate.setBotIdBytes(com.google.protobuf.ByteString value) The profile UUID of the bot to rotate.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.setPitch(float value) Vertical rotation angle in degrees (pitch).setYaw(float value) Horizontal rotation angle in degrees (yaw).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<BotSetRotationRequest.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<BotSetRotationRequest.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<BotSetRotationRequest.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<BotSetRotationRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BotSetRotationRequest.Builder>- Throws:
IOException
-
getInstanceId
The UUID of the SoulFire instance containing the bot.
string instance_id = 1;- Specified by:
getInstanceIdin interfaceBotSetRotationRequestOrBuilder- 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 interfaceBotSetRotationRequestOrBuilder- 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 rotate.
string bot_id = 2;- Specified by:
getBotIdin interfaceBotSetRotationRequestOrBuilder- Returns:
- The botId.
-
getBotIdBytes
public com.google.protobuf.ByteString getBotIdBytes()The profile UUID of the bot to rotate.
string bot_id = 2;- Specified by:
getBotIdBytesin interfaceBotSetRotationRequestOrBuilder- Returns:
- The bytes for botId.
-
setBotId
The profile UUID of the bot to rotate.
string bot_id = 2;- Parameters:
value- The botId to set.- Returns:
- This builder for chaining.
-
clearBotId
The profile UUID of the bot to rotate.
string bot_id = 2;- Returns:
- This builder for chaining.
-
setBotIdBytes
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:
getYawin interfaceBotSetRotationRequestOrBuilder- Returns:
- The yaw.
-
setYaw
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
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:
getPitchin interfaceBotSetRotationRequestOrBuilder- Returns:
- The pitch.
-
setPitch
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
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.
-