Class BotInventoryClickRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BotInventoryClickRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<BotInventoryClickRequest.Builder>
com.soulfiremc.grpc.generated.BotInventoryClickRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, BotInventoryClickRequestOrBuilder, Cloneable
- Enclosing class:
BotInventoryClickRequest
public static final class BotInventoryClickRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BotInventoryClickRequest.Builder>
implements BotInventoryClickRequestOrBuilder
Request to perform a click action on an inventory slot. Simulates the various mouse click interactions available in Minecraft inventory UIs.Protobuf type
soulfire.v1.BotInventoryClickRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The profile UUID of the bot performing the inventory action.The type of click to perform.For SWAP_HOTBAR click type: which hotbar slot to swap with.The UUID of the SoulFire instance containing the bot.The slot index to click.getBotId()The profile UUID of the bot performing the inventory action.com.google.protobuf.ByteStringThe profile UUID of the bot performing the inventory action.The type of click to perform.intThe type of click to perform.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintFor SWAP_HOTBAR click type: which hotbar slot to swap with.The UUID of the SoulFire instance containing the bot.com.google.protobuf.ByteStringThe UUID of the SoulFire instance containing the bot.intgetSlot()The slot index to click.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The profile UUID of the bot performing the inventory action.setBotIdBytes(com.google.protobuf.ByteString value) The profile UUID of the bot performing the inventory action.setClickType(ClickType value) The type of click to perform.setClickTypeValue(int value) The type of click to perform.setHotbarSlot(int value) For SWAP_HOTBAR click type: which hotbar slot to swap with.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.setSlot(int value) The slot index to click.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<BotInventoryClickRequest.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<BotInventoryClickRequest.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<BotInventoryClickRequest.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<BotInventoryClickRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BotInventoryClickRequest.Builder>
-
mergeFrom
public BotInventoryClickRequest.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<BotInventoryClickRequest.Builder>- Throws:
IOException
-
getInstanceId
The UUID of the SoulFire instance containing the bot.
string instance_id = 1;- Specified by:
getInstanceIdin interfaceBotInventoryClickRequestOrBuilder- 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 interfaceBotInventoryClickRequestOrBuilder- 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 performing the inventory action.
string bot_id = 2;- Specified by:
getBotIdin interfaceBotInventoryClickRequestOrBuilder- Returns:
- The botId.
-
getBotIdBytes
public com.google.protobuf.ByteString getBotIdBytes()The profile UUID of the bot performing the inventory action.
string bot_id = 2;- Specified by:
getBotIdBytesin interfaceBotInventoryClickRequestOrBuilder- Returns:
- The bytes for botId.
-
setBotId
The profile UUID of the bot performing the inventory action.
string bot_id = 2;- Parameters:
value- The botId to set.- Returns:
- This builder for chaining.
-
clearBotId
The profile UUID of the bot performing the inventory action.
string bot_id = 2;- Returns:
- This builder for chaining.
-
setBotIdBytes
The profile UUID of the bot performing the inventory action.
string bot_id = 2;- Parameters:
value- The bytes for botId to set.- Returns:
- This builder for chaining.
-
getSlot
public int getSlot()The slot index to click. Valid range depends on the currently open container. Special value: -999 for clicking outside the inventory (dropping items).
int32 slot = 3;- Specified by:
getSlotin interfaceBotInventoryClickRequestOrBuilder- Returns:
- The slot.
-
setSlot
The slot index to click. Valid range depends on the currently open container. Special value: -999 for clicking outside the inventory (dropping items).
int32 slot = 3;- Parameters:
value- The slot to set.- Returns:
- This builder for chaining.
-
clearSlot
The slot index to click. Valid range depends on the currently open container. Special value: -999 for clicking outside the inventory (dropping items).
int32 slot = 3;- Returns:
- This builder for chaining.
-
getClickTypeValue
public int getClickTypeValue()The type of click to perform. Different click types have different effects on items.
.soulfire.v1.ClickType click_type = 4;- Specified by:
getClickTypeValuein interfaceBotInventoryClickRequestOrBuilder- Returns:
- The enum numeric value on the wire for clickType.
-
setClickTypeValue
The type of click to perform. Different click types have different effects on items.
.soulfire.v1.ClickType click_type = 4;- Parameters:
value- The enum numeric value on the wire for clickType to set.- Returns:
- This builder for chaining.
-
getClickType
The type of click to perform. Different click types have different effects on items.
.soulfire.v1.ClickType click_type = 4;- Specified by:
getClickTypein interfaceBotInventoryClickRequestOrBuilder- Returns:
- The clickType.
-
setClickType
The type of click to perform. Different click types have different effects on items.
.soulfire.v1.ClickType click_type = 4;- Parameters:
value- The clickType to set.- Returns:
- This builder for chaining.
-
clearClickType
The type of click to perform. Different click types have different effects on items.
.soulfire.v1.ClickType click_type = 4;- Returns:
- This builder for chaining.
-
getHotbarSlot
public int getHotbarSlot()For SWAP_HOTBAR click type: which hotbar slot to swap with. Range: 0-8 (corresponding to hotbar slots 1-9). Ignored for other click types.
int32 hotbar_slot = 5;- Specified by:
getHotbarSlotin interfaceBotInventoryClickRequestOrBuilder- Returns:
- The hotbarSlot.
-
setHotbarSlot
For SWAP_HOTBAR click type: which hotbar slot to swap with. Range: 0-8 (corresponding to hotbar slots 1-9). Ignored for other click types.
int32 hotbar_slot = 5;- Parameters:
value- The hotbarSlot to set.- Returns:
- This builder for chaining.
-
clearHotbarSlot
For SWAP_HOTBAR click type: which hotbar slot to swap with. Range: 0-8 (corresponding to hotbar slots 1-9). Ignored for other click types.
int32 hotbar_slot = 5;- Returns:
- This builder for chaining.
-