Class DialogSingleOptionInput
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.soulfiremc.grpc.generated.DialogSingleOptionInput
- All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, DialogSingleOptionInputOrBuilder, Serializable
@Generated
public final class DialogSingleOptionInput
extends com.google.protobuf.GeneratedMessage
implements DialogSingleOptionInputOrBuilder
Single option selection input (dropdown/combo box) in a dialog.Protobuf type
soulfire.v1.DialogSingleOptionInput- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSingle option selection input (dropdown/combo box) in a dialog.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic DialogSingleOptionInputstatic final com.google.protobuf.Descriptors.DescriptorID of the initially selected option.com.google.protobuf.ByteStringID of the initially selected option.getKey()Identifier used when submitting the dialog.com.google.protobuf.ByteStringIdentifier used when submitting the dialog.getLabel()Display label for the dropdown.com.google.protobuf.ByteStringDisplay label for the dropdown.booleanWhether to show the label.getOptions(int index) Available options to choose from.intAvailable options to choose from.Available options to choose from.getOptionsOrBuilder(int index) Available options to choose from.List<? extends DialogOptionOrBuilder> Available options to choose from.com.google.protobuf.Parser<DialogSingleOptionInput> intintgetWidth()Display width in pixels.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(DialogSingleOptionInput prototype) protected DialogSingleOptionInput.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DialogSingleOptionInputparseDelimitedFrom(InputStream input) static DialogSingleOptionInputparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DialogSingleOptionInputparseFrom(byte[] data) static DialogSingleOptionInputparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DialogSingleOptionInputparseFrom(com.google.protobuf.ByteString data) static DialogSingleOptionInputparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DialogSingleOptionInputparseFrom(com.google.protobuf.CodedInputStream input) static DialogSingleOptionInputparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DialogSingleOptionInputparseFrom(InputStream input) static DialogSingleOptionInputparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DialogSingleOptionInputparseFrom(ByteBuffer data) static DialogSingleOptionInputparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DialogSingleOptionInput> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
-
LABEL_VISIBLE_FIELD_NUMBER
public static final int LABEL_VISIBLE_FIELD_NUMBER- See Also:
-
WIDTH_FIELD_NUMBER
public static final int WIDTH_FIELD_NUMBER- See Also:
-
OPTIONS_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER- See Also:
-
INITIAL_OPTION_ID_FIELD_NUMBER
public static final int INITIAL_OPTION_ID_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getKey
Identifier used when submitting the dialog.
string key = 1;- Specified by:
getKeyin interfaceDialogSingleOptionInputOrBuilder- Returns:
- The key.
-
getKeyBytes
public com.google.protobuf.ByteString getKeyBytes()Identifier used when submitting the dialog.
string key = 1;- Specified by:
getKeyBytesin interfaceDialogSingleOptionInputOrBuilder- Returns:
- The bytes for key.
-
getLabel
Display label for the dropdown.
string label = 2;- Specified by:
getLabelin interfaceDialogSingleOptionInputOrBuilder- Returns:
- The label.
-
getLabelBytes
public com.google.protobuf.ByteString getLabelBytes()Display label for the dropdown.
string label = 2;- Specified by:
getLabelBytesin interfaceDialogSingleOptionInputOrBuilder- Returns:
- The bytes for label.
-
getLabelVisible
public boolean getLabelVisible()Whether to show the label. Default: true.
bool label_visible = 3;- Specified by:
getLabelVisiblein interfaceDialogSingleOptionInputOrBuilder- Returns:
- The labelVisible.
-
getWidth
public int getWidth()Display width in pixels. Range: 1-1024, default: 200.
int32 width = 4;- Specified by:
getWidthin interfaceDialogSingleOptionInputOrBuilder- Returns:
- The width.
-
getOptionsList
Available options to choose from.
repeated .soulfire.v1.DialogOption options = 5;- Specified by:
getOptionsListin interfaceDialogSingleOptionInputOrBuilder
-
getOptionsOrBuilderList
Available options to choose from.
repeated .soulfire.v1.DialogOption options = 5;- Specified by:
getOptionsOrBuilderListin interfaceDialogSingleOptionInputOrBuilder
-
getOptionsCount
public int getOptionsCount()Available options to choose from.
repeated .soulfire.v1.DialogOption options = 5;- Specified by:
getOptionsCountin interfaceDialogSingleOptionInputOrBuilder
-
getOptions
Available options to choose from.
repeated .soulfire.v1.DialogOption options = 5;- Specified by:
getOptionsin interfaceDialogSingleOptionInputOrBuilder
-
getOptionsOrBuilder
Available options to choose from.
repeated .soulfire.v1.DialogOption options = 5;- Specified by:
getOptionsOrBuilderin interfaceDialogSingleOptionInputOrBuilder
-
getInitialOptionId
ID of the initially selected option.
string initial_option_id = 6;- Specified by:
getInitialOptionIdin interfaceDialogSingleOptionInputOrBuilder- Returns:
- The initialOptionId.
-
getInitialOptionIdBytes
public com.google.protobuf.ByteString getInitialOptionIdBytes()ID of the initially selected option.
string initial_option_id = 6;- Specified by:
getInitialOptionIdBytesin interfaceDialogSingleOptionInputOrBuilder- Returns:
- The bytes for initialOptionId.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DialogSingleOptionInput parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DialogSingleOptionInput parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DialogSingleOptionInput parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DialogSingleOptionInput parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DialogSingleOptionInput parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DialogSingleOptionInput parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DialogSingleOptionInput parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DialogSingleOptionInput parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DialogSingleOptionInput parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DialogSingleOptionInput parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DialogSingleOptionInput.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-