Class BotListResponse.Builder

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

public static final class BotListResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<BotListResponse.Builder> implements BotListResponseOrBuilder
Response containing the list of all bots in an instance.
Protobuf type soulfire.v1.BotListResponse
  • 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<BotListResponse.Builder>
    • clear

      public BotListResponse.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<BotListResponse.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<BotListResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public BotListResponse.Builder mergeFrom(BotListResponse other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<BotListResponse.Builder>
    • mergeFrom

      public BotListResponse.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<BotListResponse.Builder>
      Throws:
      IOException
    • getBotsList

      public List<BotListEntry> getBotsList()
      All bots configured in the instance, both online and offline.
      The order is determined by the account configuration order.
      
      repeated .soulfire.v1.BotListEntry bots = 1;
      Specified by:
      getBotsList in interface BotListResponseOrBuilder
    • getBotsCount

      public int getBotsCount()
      All bots configured in the instance, both online and offline.
      The order is determined by the account configuration order.
      
      repeated .soulfire.v1.BotListEntry bots = 1;
      Specified by:
      getBotsCount in interface BotListResponseOrBuilder
    • getBots

      public BotListEntry getBots(int index)
      All bots configured in the instance, both online and offline.
      The order is determined by the account configuration order.
      
      repeated .soulfire.v1.BotListEntry bots = 1;
      Specified by:
      getBots in interface BotListResponseOrBuilder
    • setBots

      public BotListResponse.Builder setBots(int index, BotListEntry value)
      All bots configured in the instance, both online and offline.
      The order is determined by the account configuration order.
      
      repeated .soulfire.v1.BotListEntry bots = 1;
    • setBots

      public BotListResponse.Builder setBots(int index, BotListEntry.Builder builderForValue)
      All bots configured in the instance, both online and offline.
      The order is determined by the account configuration order.
      
      repeated .soulfire.v1.BotListEntry bots = 1;
    • addBots

      public BotListResponse.Builder addBots(BotListEntry value)
      All bots configured in the instance, both online and offline.
      The order is determined by the account configuration order.
      
      repeated .soulfire.v1.BotListEntry bots = 1;
    • addBots

      public BotListResponse.Builder addBots(int index, BotListEntry value)
      All bots configured in the instance, both online and offline.
      The order is determined by the account configuration order.
      
      repeated .soulfire.v1.BotListEntry bots = 1;
    • addBots

      public BotListResponse.Builder addBots(BotListEntry.Builder builderForValue)
      All bots configured in the instance, both online and offline.
      The order is determined by the account configuration order.
      
      repeated .soulfire.v1.BotListEntry bots = 1;
    • addBots

      public BotListResponse.Builder addBots(int index, BotListEntry.Builder builderForValue)
      All bots configured in the instance, both online and offline.
      The order is determined by the account configuration order.
      
      repeated .soulfire.v1.BotListEntry bots = 1;
    • addAllBots

      public BotListResponse.Builder addAllBots(Iterable<? extends BotListEntry> values)
      All bots configured in the instance, both online and offline.
      The order is determined by the account configuration order.
      
      repeated .soulfire.v1.BotListEntry bots = 1;
    • clearBots

      public BotListResponse.Builder clearBots()
      All bots configured in the instance, both online and offline.
      The order is determined by the account configuration order.
      
      repeated .soulfire.v1.BotListEntry bots = 1;
    • removeBots

      public BotListResponse.Builder removeBots(int index)
      All bots configured in the instance, both online and offline.
      The order is determined by the account configuration order.
      
      repeated .soulfire.v1.BotListEntry bots = 1;
    • getBotsBuilder

      public BotListEntry.Builder getBotsBuilder(int index)
      All bots configured in the instance, both online and offline.
      The order is determined by the account configuration order.
      
      repeated .soulfire.v1.BotListEntry bots = 1;
    • getBotsOrBuilder

      public BotListEntryOrBuilder getBotsOrBuilder(int index)
      All bots configured in the instance, both online and offline.
      The order is determined by the account configuration order.
      
      repeated .soulfire.v1.BotListEntry bots = 1;
      Specified by:
      getBotsOrBuilder in interface BotListResponseOrBuilder
    • getBotsOrBuilderList

      public List<? extends BotListEntryOrBuilder> getBotsOrBuilderList()
      All bots configured in the instance, both online and offline.
      The order is determined by the account configuration order.
      
      repeated .soulfire.v1.BotListEntry bots = 1;
      Specified by:
      getBotsOrBuilderList in interface BotListResponseOrBuilder
    • addBotsBuilder

      public BotListEntry.Builder addBotsBuilder()
      All bots configured in the instance, both online and offline.
      The order is determined by the account configuration order.
      
      repeated .soulfire.v1.BotListEntry bots = 1;
    • addBotsBuilder

      public BotListEntry.Builder addBotsBuilder(int index)
      All bots configured in the instance, both online and offline.
      The order is determined by the account configuration order.
      
      repeated .soulfire.v1.BotListEntry bots = 1;
    • getBotsBuilderList

      public List<BotListEntry.Builder> getBotsBuilderList()
      All bots configured in the instance, both online and offline.
      The order is determined by the account configuration order.
      
      repeated .soulfire.v1.BotListEntry bots = 1;