Class BotSetContainerTextRequest.Builder

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

public static final class BotSetContainerTextRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<BotSetContainerTextRequest.Builder> implements BotSetContainerTextRequestOrBuilder
Request to set text in a container text input field.
Currently only supports anvil item renaming.
Protobuf type soulfire.v1.BotSetContainerTextRequest
  • 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<BotSetContainerTextRequest.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<BotSetContainerTextRequest.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<BotSetContainerTextRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

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

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

      public BotSetContainerTextRequest.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 setting the text.
      
      string bot_id = 2;
      Specified by:
      getBotId in interface BotSetContainerTextRequestOrBuilder
      Returns:
      The botId.
    • getBotIdBytes

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

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

      The profile UUID of the bot setting the text.
      
      string bot_id = 2;
      Returns:
      This builder for chaining.
    • setBotIdBytes

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

      public String getFieldId()
      Which field to set the text for.
      Currently supported: "item_name" (anvil rename)
      
      string field_id = 3;
      Specified by:
      getFieldId in interface BotSetContainerTextRequestOrBuilder
      Returns:
      The fieldId.
    • getFieldIdBytes

      public com.google.protobuf.ByteString getFieldIdBytes()
      Which field to set the text for.
      Currently supported: "item_name" (anvil rename)
      
      string field_id = 3;
      Specified by:
      getFieldIdBytes in interface BotSetContainerTextRequestOrBuilder
      Returns:
      The bytes for fieldId.
    • setFieldId

      public BotSetContainerTextRequest.Builder setFieldId(String value)
      Which field to set the text for.
      Currently supported: "item_name" (anvil rename)
      
      string field_id = 3;
      Parameters:
      value - The fieldId to set.
      Returns:
      This builder for chaining.
    • clearFieldId

      public BotSetContainerTextRequest.Builder clearFieldId()
      Which field to set the text for.
      Currently supported: "item_name" (anvil rename)
      
      string field_id = 3;
      Returns:
      This builder for chaining.
    • setFieldIdBytes

      public BotSetContainerTextRequest.Builder setFieldIdBytes(com.google.protobuf.ByteString value)
      Which field to set the text for.
      Currently supported: "item_name" (anvil rename)
      
      string field_id = 3;
      Parameters:
      value - The bytes for fieldId to set.
      Returns:
      This builder for chaining.
    • getText

      public String getText()
      The text value to set.
      For anvil: max 50 characters for the item name.
      
      string text = 4;
      Specified by:
      getText in interface BotSetContainerTextRequestOrBuilder
      Returns:
      The text.
    • getTextBytes

      public com.google.protobuf.ByteString getTextBytes()
      The text value to set.
      For anvil: max 50 characters for the item name.
      
      string text = 4;
      Specified by:
      getTextBytes in interface BotSetContainerTextRequestOrBuilder
      Returns:
      The bytes for text.
    • setText

      The text value to set.
      For anvil: max 50 characters for the item name.
      
      string text = 4;
      Parameters:
      value - The text to set.
      Returns:
      This builder for chaining.
    • clearText

      The text value to set.
      For anvil: max 50 characters for the item name.
      
      string text = 4;
      Returns:
      This builder for chaining.
    • setTextBytes

      public BotSetContainerTextRequest.Builder setTextBytes(com.google.protobuf.ByteString value)
      The text value to set.
      For anvil: max 50 characters for the item name.
      
      string text = 4;
      Parameters:
      value - The bytes for text to set.
      Returns:
      This builder for chaining.