Class ServerDialog.Builder

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

public static final class ServerDialog.Builder extends com.google.protobuf.GeneratedMessage.Builder<ServerDialog.Builder> implements ServerDialogOrBuilder
Complete server dialog definition.
Contains all information needed to render and interact with a dialog.
Protobuf type soulfire.v1.ServerDialog
  • 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<ServerDialog.Builder>
    • clear

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

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

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

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

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

      public ServerDialog.Builder mergeFrom(ServerDialog other)
    • isInitialized

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

      public ServerDialog.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<ServerDialog.Builder>
      Throws:
      IOException
    • getId

      public String getId()
      Dialog identifier from the server.
      Format: namespaced identifier (e.g., "myserver:welcome_dialog").
      
      string id = 1;
      Specified by:
      getId in interface ServerDialogOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
      Dialog identifier from the server.
      Format: namespaced identifier (e.g., "myserver:welcome_dialog").
      
      string id = 1;
      Specified by:
      getIdBytes in interface ServerDialogOrBuilder
      Returns:
      The bytes for id.
    • setId

      public ServerDialog.Builder setId(String value)
      Dialog identifier from the server.
      Format: namespaced identifier (e.g., "myserver:welcome_dialog").
      
      string id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public ServerDialog.Builder clearId()
      Dialog identifier from the server.
      Format: namespaced identifier (e.g., "myserver:welcome_dialog").
      
      string id = 1;
      Returns:
      This builder for chaining.
    • setIdBytes

      public ServerDialog.Builder setIdBytes(com.google.protobuf.ByteString value)
      Dialog identifier from the server.
      Format: namespaced identifier (e.g., "myserver:welcome_dialog").
      
      string id = 1;
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • getTypeValue

      public int getTypeValue()
      The type of dialog, determining overall structure.
      
      .soulfire.v1.DialogType type = 2;
      Specified by:
      getTypeValue in interface ServerDialogOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public ServerDialog.Builder setTypeValue(int value)
      The type of dialog, determining overall structure.
      
      .soulfire.v1.DialogType type = 2;
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
    • getType

      public DialogType getType()
      The type of dialog, determining overall structure.
      
      .soulfire.v1.DialogType type = 2;
      Specified by:
      getType in interface ServerDialogOrBuilder
      Returns:
      The type.
    • setType

      public ServerDialog.Builder setType(DialogType value)
      The type of dialog, determining overall structure.
      
      .soulfire.v1.DialogType type = 2;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public ServerDialog.Builder clearType()
      The type of dialog, determining overall structure.
      
      .soulfire.v1.DialogType type = 2;
      Returns:
      This builder for chaining.
    • getTitle

      public String getTitle()
      Dialog title (may be a JSON text component).
      
      string title = 3;
      Specified by:
      getTitle in interface ServerDialogOrBuilder
      Returns:
      The title.
    • getTitleBytes

      public com.google.protobuf.ByteString getTitleBytes()
      Dialog title (may be a JSON text component).
      
      string title = 3;
      Specified by:
      getTitleBytes in interface ServerDialogOrBuilder
      Returns:
      The bytes for title.
    • setTitle

      public ServerDialog.Builder setTitle(String value)
      Dialog title (may be a JSON text component).
      
      string title = 3;
      Parameters:
      value - The title to set.
      Returns:
      This builder for chaining.
    • clearTitle

      public ServerDialog.Builder clearTitle()
      Dialog title (may be a JSON text component).
      
      string title = 3;
      Returns:
      This builder for chaining.
    • setTitleBytes

      public ServerDialog.Builder setTitleBytes(com.google.protobuf.ByteString value)
      Dialog title (may be a JSON text component).
      
      string title = 3;
      Parameters:
      value - The bytes for title to set.
      Returns:
      This builder for chaining.
    • hasExternalTitle

      public boolean hasExternalTitle()
      Button label when shown as an external/minimized button.
      
      optional string external_title = 4;
      Specified by:
      hasExternalTitle in interface ServerDialogOrBuilder
      Returns:
      Whether the externalTitle field is set.
    • getExternalTitle

      public String getExternalTitle()
      Button label when shown as an external/minimized button.
      
      optional string external_title = 4;
      Specified by:
      getExternalTitle in interface ServerDialogOrBuilder
      Returns:
      The externalTitle.
    • getExternalTitleBytes

      public com.google.protobuf.ByteString getExternalTitleBytes()
      Button label when shown as an external/minimized button.
      
      optional string external_title = 4;
      Specified by:
      getExternalTitleBytes in interface ServerDialogOrBuilder
      Returns:
      The bytes for externalTitle.
    • setExternalTitle

      public ServerDialog.Builder setExternalTitle(String value)
      Button label when shown as an external/minimized button.
      
      optional string external_title = 4;
      Parameters:
      value - The externalTitle to set.
      Returns:
      This builder for chaining.
    • clearExternalTitle

      public ServerDialog.Builder clearExternalTitle()
      Button label when shown as an external/minimized button.
      
      optional string external_title = 4;
      Returns:
      This builder for chaining.
    • setExternalTitleBytes

      public ServerDialog.Builder setExternalTitleBytes(com.google.protobuf.ByteString value)
      Button label when shown as an external/minimized button.
      
      optional string external_title = 4;
      Parameters:
      value - The bytes for externalTitle to set.
      Returns:
      This builder for chaining.
    • getBodyList

      public List<DialogBodyElement> getBodyList()
      Body elements (text and items) displayed in the dialog.
      
      repeated .soulfire.v1.DialogBodyElement body = 5;
      Specified by:
      getBodyList in interface ServerDialogOrBuilder
    • getBodyCount

      public int getBodyCount()
      Body elements (text and items) displayed in the dialog.
      
      repeated .soulfire.v1.DialogBodyElement body = 5;
      Specified by:
      getBodyCount in interface ServerDialogOrBuilder
    • getBody

      public DialogBodyElement getBody(int index)
      Body elements (text and items) displayed in the dialog.
      
      repeated .soulfire.v1.DialogBodyElement body = 5;
      Specified by:
      getBody in interface ServerDialogOrBuilder
    • setBody

      public ServerDialog.Builder setBody(int index, DialogBodyElement value)
      Body elements (text and items) displayed in the dialog.
      
      repeated .soulfire.v1.DialogBodyElement body = 5;
    • setBody

      public ServerDialog.Builder setBody(int index, DialogBodyElement.Builder builderForValue)
      Body elements (text and items) displayed in the dialog.
      
      repeated .soulfire.v1.DialogBodyElement body = 5;
    • addBody

      public ServerDialog.Builder addBody(DialogBodyElement value)
      Body elements (text and items) displayed in the dialog.
      
      repeated .soulfire.v1.DialogBodyElement body = 5;
    • addBody

      public ServerDialog.Builder addBody(int index, DialogBodyElement value)
      Body elements (text and items) displayed in the dialog.
      
      repeated .soulfire.v1.DialogBodyElement body = 5;
    • addBody

      public ServerDialog.Builder addBody(DialogBodyElement.Builder builderForValue)
      Body elements (text and items) displayed in the dialog.
      
      repeated .soulfire.v1.DialogBodyElement body = 5;
    • addBody

      public ServerDialog.Builder addBody(int index, DialogBodyElement.Builder builderForValue)
      Body elements (text and items) displayed in the dialog.
      
      repeated .soulfire.v1.DialogBodyElement body = 5;
    • addAllBody

      public ServerDialog.Builder addAllBody(Iterable<? extends DialogBodyElement> values)
      Body elements (text and items) displayed in the dialog.
      
      repeated .soulfire.v1.DialogBodyElement body = 5;
    • clearBody

      public ServerDialog.Builder clearBody()
      Body elements (text and items) displayed in the dialog.
      
      repeated .soulfire.v1.DialogBodyElement body = 5;
    • removeBody

      public ServerDialog.Builder removeBody(int index)
      Body elements (text and items) displayed in the dialog.
      
      repeated .soulfire.v1.DialogBodyElement body = 5;
    • getBodyBuilder

      public DialogBodyElement.Builder getBodyBuilder(int index)
      Body elements (text and items) displayed in the dialog.
      
      repeated .soulfire.v1.DialogBodyElement body = 5;
    • getBodyOrBuilder

      public DialogBodyElementOrBuilder getBodyOrBuilder(int index)
      Body elements (text and items) displayed in the dialog.
      
      repeated .soulfire.v1.DialogBodyElement body = 5;
      Specified by:
      getBodyOrBuilder in interface ServerDialogOrBuilder
    • getBodyOrBuilderList

      public List<? extends DialogBodyElementOrBuilder> getBodyOrBuilderList()
      Body elements (text and items) displayed in the dialog.
      
      repeated .soulfire.v1.DialogBodyElement body = 5;
      Specified by:
      getBodyOrBuilderList in interface ServerDialogOrBuilder
    • addBodyBuilder

      public DialogBodyElement.Builder addBodyBuilder()
      Body elements (text and items) displayed in the dialog.
      
      repeated .soulfire.v1.DialogBodyElement body = 5;
    • addBodyBuilder

      public DialogBodyElement.Builder addBodyBuilder(int index)
      Body elements (text and items) displayed in the dialog.
      
      repeated .soulfire.v1.DialogBodyElement body = 5;
    • getBodyBuilderList

      public List<DialogBodyElement.Builder> getBodyBuilderList()
      Body elements (text and items) displayed in the dialog.
      
      repeated .soulfire.v1.DialogBodyElement body = 5;
    • getInputsList

      public List<DialogInput> getInputsList()
      Input controls for gathering user data.
      
      repeated .soulfire.v1.DialogInput inputs = 6;
      Specified by:
      getInputsList in interface ServerDialogOrBuilder
    • getInputsCount

      public int getInputsCount()
      Input controls for gathering user data.
      
      repeated .soulfire.v1.DialogInput inputs = 6;
      Specified by:
      getInputsCount in interface ServerDialogOrBuilder
    • getInputs

      public DialogInput getInputs(int index)
      Input controls for gathering user data.
      
      repeated .soulfire.v1.DialogInput inputs = 6;
      Specified by:
      getInputs in interface ServerDialogOrBuilder
    • setInputs

      public ServerDialog.Builder setInputs(int index, DialogInput value)
      Input controls for gathering user data.
      
      repeated .soulfire.v1.DialogInput inputs = 6;
    • setInputs

      public ServerDialog.Builder setInputs(int index, DialogInput.Builder builderForValue)
      Input controls for gathering user data.
      
      repeated .soulfire.v1.DialogInput inputs = 6;
    • addInputs

      public ServerDialog.Builder addInputs(DialogInput value)
      Input controls for gathering user data.
      
      repeated .soulfire.v1.DialogInput inputs = 6;
    • addInputs

      public ServerDialog.Builder addInputs(int index, DialogInput value)
      Input controls for gathering user data.
      
      repeated .soulfire.v1.DialogInput inputs = 6;
    • addInputs

      public ServerDialog.Builder addInputs(DialogInput.Builder builderForValue)
      Input controls for gathering user data.
      
      repeated .soulfire.v1.DialogInput inputs = 6;
    • addInputs

      public ServerDialog.Builder addInputs(int index, DialogInput.Builder builderForValue)
      Input controls for gathering user data.
      
      repeated .soulfire.v1.DialogInput inputs = 6;
    • addAllInputs

      public ServerDialog.Builder addAllInputs(Iterable<? extends DialogInput> values)
      Input controls for gathering user data.
      
      repeated .soulfire.v1.DialogInput inputs = 6;
    • clearInputs

      public ServerDialog.Builder clearInputs()
      Input controls for gathering user data.
      
      repeated .soulfire.v1.DialogInput inputs = 6;
    • removeInputs

      public ServerDialog.Builder removeInputs(int index)
      Input controls for gathering user data.
      
      repeated .soulfire.v1.DialogInput inputs = 6;
    • getInputsBuilder

      public DialogInput.Builder getInputsBuilder(int index)
      Input controls for gathering user data.
      
      repeated .soulfire.v1.DialogInput inputs = 6;
    • getInputsOrBuilder

      public DialogInputOrBuilder getInputsOrBuilder(int index)
      Input controls for gathering user data.
      
      repeated .soulfire.v1.DialogInput inputs = 6;
      Specified by:
      getInputsOrBuilder in interface ServerDialogOrBuilder
    • getInputsOrBuilderList

      public List<? extends DialogInputOrBuilder> getInputsOrBuilderList()
      Input controls for gathering user data.
      
      repeated .soulfire.v1.DialogInput inputs = 6;
      Specified by:
      getInputsOrBuilderList in interface ServerDialogOrBuilder
    • addInputsBuilder

      public DialogInput.Builder addInputsBuilder()
      Input controls for gathering user data.
      
      repeated .soulfire.v1.DialogInput inputs = 6;
    • addInputsBuilder

      public DialogInput.Builder addInputsBuilder(int index)
      Input controls for gathering user data.
      
      repeated .soulfire.v1.DialogInput inputs = 6;
    • getInputsBuilderList

      public List<DialogInput.Builder> getInputsBuilderList()
      Input controls for gathering user data.
      
      repeated .soulfire.v1.DialogInput inputs = 6;
    • getCanCloseWithEscape

      public boolean getCanCloseWithEscape()
      Whether ESC key can close the dialog.
      Default: true.
      
      bool can_close_with_escape = 7;
      Specified by:
      getCanCloseWithEscape in interface ServerDialogOrBuilder
      Returns:
      The canCloseWithEscape.
    • setCanCloseWithEscape

      public ServerDialog.Builder setCanCloseWithEscape(boolean value)
      Whether ESC key can close the dialog.
      Default: true.
      
      bool can_close_with_escape = 7;
      Parameters:
      value - The canCloseWithEscape to set.
      Returns:
      This builder for chaining.
    • clearCanCloseWithEscape

      public ServerDialog.Builder clearCanCloseWithEscape()
      Whether ESC key can close the dialog.
      Default: true.
      
      bool can_close_with_escape = 7;
      Returns:
      This builder for chaining.
    • getPause

      public boolean getPause()
      Whether to pause the game in singleplayer.
      Default: true. No effect in multiplayer.
      
      bool pause = 8;
      Specified by:
      getPause in interface ServerDialogOrBuilder
      Returns:
      The pause.
    • setPause

      public ServerDialog.Builder setPause(boolean value)
      Whether to pause the game in singleplayer.
      Default: true. No effect in multiplayer.
      
      bool pause = 8;
      Parameters:
      value - The pause to set.
      Returns:
      This builder for chaining.
    • clearPause

      public ServerDialog.Builder clearPause()
      Whether to pause the game in singleplayer.
      Default: true. No effect in multiplayer.
      
      bool pause = 8;
      Returns:
      This builder for chaining.
    • getAfterActionValue

      public int getAfterActionValue()
      Behavior after an action button is clicked.
      
      .soulfire.v1.DialogAfterAction after_action = 9;
      Specified by:
      getAfterActionValue in interface ServerDialogOrBuilder
      Returns:
      The enum numeric value on the wire for afterAction.
    • setAfterActionValue

      public ServerDialog.Builder setAfterActionValue(int value)
      Behavior after an action button is clicked.
      
      .soulfire.v1.DialogAfterAction after_action = 9;
      Parameters:
      value - The enum numeric value on the wire for afterAction to set.
      Returns:
      This builder for chaining.
    • getAfterAction

      public DialogAfterAction getAfterAction()
      Behavior after an action button is clicked.
      
      .soulfire.v1.DialogAfterAction after_action = 9;
      Specified by:
      getAfterAction in interface ServerDialogOrBuilder
      Returns:
      The afterAction.
    • setAfterAction

      public ServerDialog.Builder setAfterAction(DialogAfterAction value)
      Behavior after an action button is clicked.
      
      .soulfire.v1.DialogAfterAction after_action = 9;
      Parameters:
      value - The afterAction to set.
      Returns:
      This builder for chaining.
    • clearAfterAction

      public ServerDialog.Builder clearAfterAction()
      Behavior after an action button is clicked.
      
      .soulfire.v1.DialogAfterAction after_action = 9;
      Returns:
      This builder for chaining.
    • hasAction

      public boolean hasAction()
      For NOTICE type: the single action button.
      
      optional .soulfire.v1.DialogButton action = 10;
      Specified by:
      hasAction in interface ServerDialogOrBuilder
      Returns:
      Whether the action field is set.
    • getAction

      public DialogButton getAction()
      For NOTICE type: the single action button.
      
      optional .soulfire.v1.DialogButton action = 10;
      Specified by:
      getAction in interface ServerDialogOrBuilder
      Returns:
      The action.
    • setAction

      public ServerDialog.Builder setAction(DialogButton value)
      For NOTICE type: the single action button.
      
      optional .soulfire.v1.DialogButton action = 10;
    • setAction

      public ServerDialog.Builder setAction(DialogButton.Builder builderForValue)
      For NOTICE type: the single action button.
      
      optional .soulfire.v1.DialogButton action = 10;
    • mergeAction

      public ServerDialog.Builder mergeAction(DialogButton value)
      For NOTICE type: the single action button.
      
      optional .soulfire.v1.DialogButton action = 10;
    • clearAction

      public ServerDialog.Builder clearAction()
      For NOTICE type: the single action button.
      
      optional .soulfire.v1.DialogButton action = 10;
    • getActionBuilder

      public DialogButton.Builder getActionBuilder()
      For NOTICE type: the single action button.
      
      optional .soulfire.v1.DialogButton action = 10;
    • getActionOrBuilder

      public DialogButtonOrBuilder getActionOrBuilder()
      For NOTICE type: the single action button.
      
      optional .soulfire.v1.DialogButton action = 10;
      Specified by:
      getActionOrBuilder in interface ServerDialogOrBuilder
    • hasYes

      public boolean hasYes()
      For CONFIRMATION type: the "yes" button.
      
      optional .soulfire.v1.DialogButton yes = 11;
      Specified by:
      hasYes in interface ServerDialogOrBuilder
      Returns:
      Whether the yes field is set.
    • getYes

      public DialogButton getYes()
      For CONFIRMATION type: the "yes" button.
      
      optional .soulfire.v1.DialogButton yes = 11;
      Specified by:
      getYes in interface ServerDialogOrBuilder
      Returns:
      The yes.
    • setYes

      public ServerDialog.Builder setYes(DialogButton value)
      For CONFIRMATION type: the "yes" button.
      
      optional .soulfire.v1.DialogButton yes = 11;
    • setYes

      public ServerDialog.Builder setYes(DialogButton.Builder builderForValue)
      For CONFIRMATION type: the "yes" button.
      
      optional .soulfire.v1.DialogButton yes = 11;
    • mergeYes

      public ServerDialog.Builder mergeYes(DialogButton value)
      For CONFIRMATION type: the "yes" button.
      
      optional .soulfire.v1.DialogButton yes = 11;
    • clearYes

      public ServerDialog.Builder clearYes()
      For CONFIRMATION type: the "yes" button.
      
      optional .soulfire.v1.DialogButton yes = 11;
    • getYesBuilder

      public DialogButton.Builder getYesBuilder()
      For CONFIRMATION type: the "yes" button.
      
      optional .soulfire.v1.DialogButton yes = 11;
    • getYesOrBuilder

      public DialogButtonOrBuilder getYesOrBuilder()
      For CONFIRMATION type: the "yes" button.
      
      optional .soulfire.v1.DialogButton yes = 11;
      Specified by:
      getYesOrBuilder in interface ServerDialogOrBuilder
    • hasNo

      public boolean hasNo()
      For CONFIRMATION type: the "no" button.
      
      optional .soulfire.v1.DialogButton no = 12;
      Specified by:
      hasNo in interface ServerDialogOrBuilder
      Returns:
      Whether the no field is set.
    • getNo

      public DialogButton getNo()
      For CONFIRMATION type: the "no" button.
      
      optional .soulfire.v1.DialogButton no = 12;
      Specified by:
      getNo in interface ServerDialogOrBuilder
      Returns:
      The no.
    • setNo

      public ServerDialog.Builder setNo(DialogButton value)
      For CONFIRMATION type: the "no" button.
      
      optional .soulfire.v1.DialogButton no = 12;
    • setNo

      public ServerDialog.Builder setNo(DialogButton.Builder builderForValue)
      For CONFIRMATION type: the "no" button.
      
      optional .soulfire.v1.DialogButton no = 12;
    • mergeNo

      public ServerDialog.Builder mergeNo(DialogButton value)
      For CONFIRMATION type: the "no" button.
      
      optional .soulfire.v1.DialogButton no = 12;
    • clearNo

      public ServerDialog.Builder clearNo()
      For CONFIRMATION type: the "no" button.
      
      optional .soulfire.v1.DialogButton no = 12;
    • getNoBuilder

      public DialogButton.Builder getNoBuilder()
      For CONFIRMATION type: the "no" button.
      
      optional .soulfire.v1.DialogButton no = 12;
    • getNoOrBuilder

      public DialogButtonOrBuilder getNoOrBuilder()
      For CONFIRMATION type: the "no" button.
      
      optional .soulfire.v1.DialogButton no = 12;
      Specified by:
      getNoOrBuilder in interface ServerDialogOrBuilder
    • getActionsList

      public List<DialogButton> getActionsList()
      For MULTI_ACTION type: list of action buttons.
      
      repeated .soulfire.v1.DialogButton actions = 13;
      Specified by:
      getActionsList in interface ServerDialogOrBuilder
    • getActionsCount

      public int getActionsCount()
      For MULTI_ACTION type: list of action buttons.
      
      repeated .soulfire.v1.DialogButton actions = 13;
      Specified by:
      getActionsCount in interface ServerDialogOrBuilder
    • getActions

      public DialogButton getActions(int index)
      For MULTI_ACTION type: list of action buttons.
      
      repeated .soulfire.v1.DialogButton actions = 13;
      Specified by:
      getActions in interface ServerDialogOrBuilder
    • setActions

      public ServerDialog.Builder setActions(int index, DialogButton value)
      For MULTI_ACTION type: list of action buttons.
      
      repeated .soulfire.v1.DialogButton actions = 13;
    • setActions

      public ServerDialog.Builder setActions(int index, DialogButton.Builder builderForValue)
      For MULTI_ACTION type: list of action buttons.
      
      repeated .soulfire.v1.DialogButton actions = 13;
    • addActions

      public ServerDialog.Builder addActions(DialogButton value)
      For MULTI_ACTION type: list of action buttons.
      
      repeated .soulfire.v1.DialogButton actions = 13;
    • addActions

      public ServerDialog.Builder addActions(int index, DialogButton value)
      For MULTI_ACTION type: list of action buttons.
      
      repeated .soulfire.v1.DialogButton actions = 13;
    • addActions

      public ServerDialog.Builder addActions(DialogButton.Builder builderForValue)
      For MULTI_ACTION type: list of action buttons.
      
      repeated .soulfire.v1.DialogButton actions = 13;
    • addActions

      public ServerDialog.Builder addActions(int index, DialogButton.Builder builderForValue)
      For MULTI_ACTION type: list of action buttons.
      
      repeated .soulfire.v1.DialogButton actions = 13;
    • addAllActions

      public ServerDialog.Builder addAllActions(Iterable<? extends DialogButton> values)
      For MULTI_ACTION type: list of action buttons.
      
      repeated .soulfire.v1.DialogButton actions = 13;
    • clearActions

      public ServerDialog.Builder clearActions()
      For MULTI_ACTION type: list of action buttons.
      
      repeated .soulfire.v1.DialogButton actions = 13;
    • removeActions

      public ServerDialog.Builder removeActions(int index)
      For MULTI_ACTION type: list of action buttons.
      
      repeated .soulfire.v1.DialogButton actions = 13;
    • getActionsBuilder

      public DialogButton.Builder getActionsBuilder(int index)
      For MULTI_ACTION type: list of action buttons.
      
      repeated .soulfire.v1.DialogButton actions = 13;
    • getActionsOrBuilder

      public DialogButtonOrBuilder getActionsOrBuilder(int index)
      For MULTI_ACTION type: list of action buttons.
      
      repeated .soulfire.v1.DialogButton actions = 13;
      Specified by:
      getActionsOrBuilder in interface ServerDialogOrBuilder
    • getActionsOrBuilderList

      public List<? extends DialogButtonOrBuilder> getActionsOrBuilderList()
      For MULTI_ACTION type: list of action buttons.
      
      repeated .soulfire.v1.DialogButton actions = 13;
      Specified by:
      getActionsOrBuilderList in interface ServerDialogOrBuilder
    • addActionsBuilder

      public DialogButton.Builder addActionsBuilder()
      For MULTI_ACTION type: list of action buttons.
      
      repeated .soulfire.v1.DialogButton actions = 13;
    • addActionsBuilder

      public DialogButton.Builder addActionsBuilder(int index)
      For MULTI_ACTION type: list of action buttons.
      
      repeated .soulfire.v1.DialogButton actions = 13;
    • getActionsBuilderList

      public List<DialogButton.Builder> getActionsBuilderList()
      For MULTI_ACTION type: list of action buttons.
      
      repeated .soulfire.v1.DialogButton actions = 13;
    • getColumns

      public int getColumns()
      For MULTI_ACTION and DIALOG_LIST: number of button columns.
      Default: 2.
      
      int32 columns = 14;
      Specified by:
      getColumns in interface ServerDialogOrBuilder
      Returns:
      The columns.
    • setColumns

      public ServerDialog.Builder setColumns(int value)
      For MULTI_ACTION and DIALOG_LIST: number of button columns.
      Default: 2.
      
      int32 columns = 14;
      Parameters:
      value - The columns to set.
      Returns:
      This builder for chaining.
    • clearColumns

      public ServerDialog.Builder clearColumns()
      For MULTI_ACTION and DIALOG_LIST: number of button columns.
      Default: 2.
      
      int32 columns = 14;
      Returns:
      This builder for chaining.
    • hasExitAction

      public boolean hasExitAction()
      For MULTI_ACTION, SERVER_LINKS, DIALOG_LIST: exit/close button.
      
      optional .soulfire.v1.DialogButton exit_action = 15;
      Specified by:
      hasExitAction in interface ServerDialogOrBuilder
      Returns:
      Whether the exitAction field is set.
    • getExitAction

      public DialogButton getExitAction()
      For MULTI_ACTION, SERVER_LINKS, DIALOG_LIST: exit/close button.
      
      optional .soulfire.v1.DialogButton exit_action = 15;
      Specified by:
      getExitAction in interface ServerDialogOrBuilder
      Returns:
      The exitAction.
    • setExitAction

      public ServerDialog.Builder setExitAction(DialogButton value)
      For MULTI_ACTION, SERVER_LINKS, DIALOG_LIST: exit/close button.
      
      optional .soulfire.v1.DialogButton exit_action = 15;
    • setExitAction

      public ServerDialog.Builder setExitAction(DialogButton.Builder builderForValue)
      For MULTI_ACTION, SERVER_LINKS, DIALOG_LIST: exit/close button.
      
      optional .soulfire.v1.DialogButton exit_action = 15;
    • mergeExitAction

      public ServerDialog.Builder mergeExitAction(DialogButton value)
      For MULTI_ACTION, SERVER_LINKS, DIALOG_LIST: exit/close button.
      
      optional .soulfire.v1.DialogButton exit_action = 15;
    • clearExitAction

      public ServerDialog.Builder clearExitAction()
      For MULTI_ACTION, SERVER_LINKS, DIALOG_LIST: exit/close button.
      
      optional .soulfire.v1.DialogButton exit_action = 15;
    • getExitActionBuilder

      public DialogButton.Builder getExitActionBuilder()
      For MULTI_ACTION, SERVER_LINKS, DIALOG_LIST: exit/close button.
      
      optional .soulfire.v1.DialogButton exit_action = 15;
    • getExitActionOrBuilder

      public DialogButtonOrBuilder getExitActionOrBuilder()
      For MULTI_ACTION, SERVER_LINKS, DIALOG_LIST: exit/close button.
      
      optional .soulfire.v1.DialogButton exit_action = 15;
      Specified by:
      getExitActionOrBuilder in interface ServerDialogOrBuilder
    • getButtonWidth

      public int getButtonWidth()
      For SERVER_LINKS and DIALOG_LIST: button width.
      Default: 150.
      
      int32 button_width = 16;
      Specified by:
      getButtonWidth in interface ServerDialogOrBuilder
      Returns:
      The buttonWidth.
    • setButtonWidth

      public ServerDialog.Builder setButtonWidth(int value)
      For SERVER_LINKS and DIALOG_LIST: button width.
      Default: 150.
      
      int32 button_width = 16;
      Parameters:
      value - The buttonWidth to set.
      Returns:
      This builder for chaining.
    • clearButtonWidth

      public ServerDialog.Builder clearButtonWidth()
      For SERVER_LINKS and DIALOG_LIST: button width.
      Default: 150.
      
      int32 button_width = 16;
      Returns:
      This builder for chaining.