Class DialogTextInput

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.soulfiremc.grpc.generated.DialogTextInput
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, DialogTextInputOrBuilder, Serializable

@Generated public final class DialogTextInput extends com.google.protobuf.GeneratedMessage implements DialogTextInputOrBuilder
Text input field in a dialog.
Protobuf type soulfire.v1.DialogTextInput
See Also:
  • Field Details

    • KEY_FIELD_NUMBER

      public static final int KEY_FIELD_NUMBER
      See Also:
    • LABEL_FIELD_NUMBER

      public static final int LABEL_FIELD_NUMBER
      See Also:
    • WIDTH_FIELD_NUMBER

      public static final int WIDTH_FIELD_NUMBER
      See Also:
    • LABEL_VISIBLE_FIELD_NUMBER

      public static final int LABEL_VISIBLE_FIELD_NUMBER
      See Also:
    • INITIAL_FIELD_NUMBER

      public static final int INITIAL_FIELD_NUMBER
      See Also:
    • MAX_LENGTH_FIELD_NUMBER

      public static final int MAX_LENGTH_FIELD_NUMBER
      See Also:
    • MULTILINE_FIELD_NUMBER

      public static final int MULTILINE_FIELD_NUMBER
      See Also:
    • MULTILINE_MAX_LINES_FIELD_NUMBER

      public static final int MULTILINE_MAX_LINES_FIELD_NUMBER
      See Also:
    • MULTILINE_HEIGHT_FIELD_NUMBER

      public static final int MULTILINE_HEIGHT_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getKey

      public String getKey()
      Identifier used when submitting the dialog.
      
      string key = 1;
      Specified by:
      getKey in interface DialogTextInputOrBuilder
      Returns:
      The key.
    • getKeyBytes

      public com.google.protobuf.ByteString getKeyBytes()
      Identifier used when submitting the dialog.
      
      string key = 1;
      Specified by:
      getKeyBytes in interface DialogTextInputOrBuilder
      Returns:
      The bytes for key.
    • getLabel

      public String getLabel()
      Display label for the field.
      
      string label = 2;
      Specified by:
      getLabel in interface DialogTextInputOrBuilder
      Returns:
      The label.
    • getLabelBytes

      public com.google.protobuf.ByteString getLabelBytes()
      Display label for the field.
      
      string label = 2;
      Specified by:
      getLabelBytes in interface DialogTextInputOrBuilder
      Returns:
      The bytes for label.
    • getWidth

      public int getWidth()
      Display width in pixels.
      Range: 1-1024, default: 200.
      
      int32 width = 3;
      Specified by:
      getWidth in interface DialogTextInputOrBuilder
      Returns:
      The width.
    • getLabelVisible

      public boolean getLabelVisible()
      Whether to show the label.
      Default: true.
      
      bool label_visible = 4;
      Specified by:
      getLabelVisible in interface DialogTextInputOrBuilder
      Returns:
      The labelVisible.
    • getInitial

      public String getInitial()
      Initial/default value.
      
      string initial = 5;
      Specified by:
      getInitial in interface DialogTextInputOrBuilder
      Returns:
      The initial.
    • getInitialBytes

      public com.google.protobuf.ByteString getInitialBytes()
      Initial/default value.
      
      string initial = 5;
      Specified by:
      getInitialBytes in interface DialogTextInputOrBuilder
      Returns:
      The bytes for initial.
    • getMaxLength

      public int getMaxLength()
      Maximum character length.
      Default: 32.
      
      int32 max_length = 6;
      Specified by:
      getMaxLength in interface DialogTextInputOrBuilder
      Returns:
      The maxLength.
    • getMultiline

      public boolean getMultiline()
      Whether to allow multi-line input.
      
      bool multiline = 7;
      Specified by:
      getMultiline in interface DialogTextInputOrBuilder
      Returns:
      The multiline.
    • getMultilineMaxLines

      public int getMultilineMaxLines()
      Maximum lines for multiline input.
      
      int32 multiline_max_lines = 8;
      Specified by:
      getMultilineMaxLines in interface DialogTextInputOrBuilder
      Returns:
      The multilineMaxLines.
    • getMultilineHeight

      public int getMultilineHeight()
      Display height for multiline input in pixels.
      
      int32 multiline_height = 9;
      Specified by:
      getMultilineHeight in interface DialogTextInputOrBuilder
      Returns:
      The multilineHeight.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DialogTextInput parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DialogTextInput parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DialogTextInput parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DialogTextInput parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DialogTextInput parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DialogTextInput parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DialogTextInput parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DialogTextInput parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DialogTextInput parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DialogTextInput parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DialogTextInput parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DialogTextInput parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public DialogTextInput.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DialogTextInput.Builder newBuilder()
    • newBuilder

      public static DialogTextInput.Builder newBuilder(DialogTextInput prototype)
    • toBuilder

      public DialogTextInput.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DialogTextInput.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DialogTextInput getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DialogTextInput> parser()
    • getParserForType

      public com.google.protobuf.Parser<DialogTextInput> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public DialogTextInput getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder