Class BotInventoryStateResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.soulfiremc.grpc.generated.BotInventoryStateResponse
- All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, BotInventoryStateResponseOrBuilder, Serializable
@Generated
public final class BotInventoryStateResponse
extends com.google.protobuf.GeneratedMessage
implements BotInventoryStateResponseOrBuilder
Response containing the current inventory/container state.Protobuf type
soulfire.v1.BotInventoryStateResponse- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classResponse containing the current inventory/container state.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanItem currently held on the cursor (being moved).Item currently held on the cursor (being moved).static BotInventoryStateResponsestatic final com.google.protobuf.Descriptors.DescriptorLayout information describing the container structure.Layout information describing the container structure.com.google.protobuf.Parser<BotInventoryStateResponse> intCurrently selected hotbar slot index (0-8).intgetSlots(int index) All slots containing items (empty slots are omitted).intAll slots containing items (empty slots are omitted).All slots containing items (empty slots are omitted).getSlotsOrBuilder(int index) All slots containing items (empty slots are omitted).List<? extends InventorySlotOrBuilder> All slots containing items (empty slots are omitted).booleanItem currently held on the cursor (being moved).inthashCode()booleanLayout information describing the container structure.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(BotInventoryStateResponse prototype) protected BotInventoryStateResponse.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static BotInventoryStateResponseparseDelimitedFrom(InputStream input) static BotInventoryStateResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BotInventoryStateResponseparseFrom(byte[] data) static BotInventoryStateResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BotInventoryStateResponseparseFrom(com.google.protobuf.ByteString data) static BotInventoryStateResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BotInventoryStateResponseparseFrom(com.google.protobuf.CodedInputStream input) static BotInventoryStateResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BotInventoryStateResponseparseFrom(InputStream input) static BotInventoryStateResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BotInventoryStateResponseparseFrom(ByteBuffer data) static BotInventoryStateResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<BotInventoryStateResponse> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
LAYOUT_FIELD_NUMBER
public static final int LAYOUT_FIELD_NUMBER- See Also:
-
SLOTS_FIELD_NUMBER
public static final int SLOTS_FIELD_NUMBER- See Also:
-
CARRIED_ITEM_FIELD_NUMBER
public static final int CARRIED_ITEM_FIELD_NUMBER- See Also:
-
SELECTED_HOTBAR_SLOT_FIELD_NUMBER
public static final int SELECTED_HOTBAR_SLOT_FIELD_NUMBER- See Also:
-
-
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
-
hasLayout
public boolean hasLayout()Layout information describing the container structure.
.soulfire.v1.ContainerLayout layout = 1;- Specified by:
hasLayoutin interfaceBotInventoryStateResponseOrBuilder- Returns:
- Whether the layout field is set.
-
getLayout
Layout information describing the container structure.
.soulfire.v1.ContainerLayout layout = 1;- Specified by:
getLayoutin interfaceBotInventoryStateResponseOrBuilder- Returns:
- The layout.
-
getLayoutOrBuilder
Layout information describing the container structure.
.soulfire.v1.ContainerLayout layout = 1;- Specified by:
getLayoutOrBuilderin interfaceBotInventoryStateResponseOrBuilder
-
getSlotsList
All slots containing items (empty slots are omitted).
repeated .soulfire.v1.InventorySlot slots = 2;- Specified by:
getSlotsListin interfaceBotInventoryStateResponseOrBuilder
-
getSlotsOrBuilderList
All slots containing items (empty slots are omitted).
repeated .soulfire.v1.InventorySlot slots = 2;- Specified by:
getSlotsOrBuilderListin interfaceBotInventoryStateResponseOrBuilder
-
getSlotsCount
public int getSlotsCount()All slots containing items (empty slots are omitted).
repeated .soulfire.v1.InventorySlot slots = 2;- Specified by:
getSlotsCountin interfaceBotInventoryStateResponseOrBuilder
-
getSlots
All slots containing items (empty slots are omitted).
repeated .soulfire.v1.InventorySlot slots = 2;- Specified by:
getSlotsin interfaceBotInventoryStateResponseOrBuilder
-
getSlotsOrBuilder
All slots containing items (empty slots are omitted).
repeated .soulfire.v1.InventorySlot slots = 2;- Specified by:
getSlotsOrBuilderin interfaceBotInventoryStateResponseOrBuilder
-
hasCarriedItem
public boolean hasCarriedItem()Item currently held on the cursor (being moved). Absent if cursor is empty.
optional .soulfire.v1.InventorySlot carried_item = 3;- Specified by:
hasCarriedItemin interfaceBotInventoryStateResponseOrBuilder- Returns:
- Whether the carriedItem field is set.
-
getCarriedItem
Item currently held on the cursor (being moved). Absent if cursor is empty.
optional .soulfire.v1.InventorySlot carried_item = 3;- Specified by:
getCarriedItemin interfaceBotInventoryStateResponseOrBuilder- Returns:
- The carriedItem.
-
getCarriedItemOrBuilder
Item currently held on the cursor (being moved). Absent if cursor is empty.
optional .soulfire.v1.InventorySlot carried_item = 3;- Specified by:
getCarriedItemOrBuilderin interfaceBotInventoryStateResponseOrBuilder
-
getSelectedHotbarSlot
public int getSelectedHotbarSlot()Currently selected hotbar slot index (0-8).
int32 selected_hotbar_slot = 4;- Specified by:
getSelectedHotbarSlotin interfaceBotInventoryStateResponseOrBuilder- Returns:
- The selectedHotbarSlot.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static BotInventoryStateResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BotInventoryStateResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BotInventoryStateResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BotInventoryStateResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BotInventoryStateResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BotInventoryStateResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static BotInventoryStateResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static BotInventoryStateResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static BotInventoryStateResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static BotInventoryStateResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BotInventoryStateResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-