Class BotRenderPovRequest.Builder

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

public static final class BotRenderPovRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<BotRenderPovRequest.Builder> implements BotRenderPovRequestOrBuilder
Request to render the bot's point-of-view as an image.
Uses software rendering to generate a PNG image of what the bot "sees".
Protobuf type soulfire.v1.BotRenderPovRequest
  • 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<BotRenderPovRequest.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<BotRenderPovRequest.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<BotRenderPovRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

      public BotRenderPovRequest.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 render POV for.
      
      string bot_id = 2;
      Specified by:
      getBotId in interface BotRenderPovRequestOrBuilder
      Returns:
      The botId.
    • getBotIdBytes

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

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

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

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

      public int getWidth()
      Desired image width in pixels.
      Default: 854 (if 0 or not provided).
      Maximum: 1920 (values above this are clamped).
      Minimum: 1 (values below this are clamped).
      
      int32 width = 3;
      Specified by:
      getWidth in interface BotRenderPovRequestOrBuilder
      Returns:
      The width.
    • setWidth

      public BotRenderPovRequest.Builder setWidth(int value)
      Desired image width in pixels.
      Default: 854 (if 0 or not provided).
      Maximum: 1920 (values above this are clamped).
      Minimum: 1 (values below this are clamped).
      
      int32 width = 3;
      Parameters:
      value - The width to set.
      Returns:
      This builder for chaining.
    • clearWidth

      public BotRenderPovRequest.Builder clearWidth()
      Desired image width in pixels.
      Default: 854 (if 0 or not provided).
      Maximum: 1920 (values above this are clamped).
      Minimum: 1 (values below this are clamped).
      
      int32 width = 3;
      Returns:
      This builder for chaining.
    • getHeight

      public int getHeight()
      Desired image height in pixels.
      Default: 480 (if 0 or not provided).
      Maximum: 1080 (values above this are clamped).
      Minimum: 1 (values below this are clamped).
      
      int32 height = 4;
      Specified by:
      getHeight in interface BotRenderPovRequestOrBuilder
      Returns:
      The height.
    • setHeight

      public BotRenderPovRequest.Builder setHeight(int value)
      Desired image height in pixels.
      Default: 480 (if 0 or not provided).
      Maximum: 1080 (values above this are clamped).
      Minimum: 1 (values below this are clamped).
      
      int32 height = 4;
      Parameters:
      value - The height to set.
      Returns:
      This builder for chaining.
    • clearHeight

      public BotRenderPovRequest.Builder clearHeight()
      Desired image height in pixels.
      Default: 480 (if 0 or not provided).
      Maximum: 1080 (values above this are clamped).
      Minimum: 1 (values below this are clamped).
      
      int32 height = 4;
      Returns:
      This builder for chaining.