Class BotOpenInventoryRequest.Builder

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

public static final class BotOpenInventoryRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<BotOpenInventoryRequest.Builder> implements BotOpenInventoryRequestOrBuilder
Request to open the player's inventory screen.
This sends a packet to the server to open the inventory UI.
Protobuf type soulfire.v1.BotOpenInventoryRequest
  • 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<BotOpenInventoryRequest.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<BotOpenInventoryRequest.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<BotOpenInventoryRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

      public BotOpenInventoryRequest.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 open inventory for.
      
      string bot_id = 2;
      Specified by:
      getBotId in interface BotOpenInventoryRequestOrBuilder
      Returns:
      The botId.
    • getBotIdBytes

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

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

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

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