Send feedback
Class SelectionInput.SelectionItem (2.50.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public static final class SelectionInput . SelectionItem extends GeneratedMessageV3 implements SelectionInput . SelectionItemOrBuilder
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
BOTTOM_TEXT_FIELD_NUMBER
public static final int BOTTOM_TEXT_FIELD_NUMBER
Field Value
Type
Description
int
public static final int SELECTED_FIELD_NUMBER
Field Value
Type
Description
int
public static final int START_ICON_URI_FIELD_NUMBER
Field Value
Type
Description
int
TEXT_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
Field Value
Type
Description
int
public static final int VALUE_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static SelectionInput . SelectionItem getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static SelectionInput . SelectionItem . Builder newBuilder ()
public static SelectionInput . SelectionItem . Builder newBuilder ( SelectionInput . SelectionItem prototype )
public static SelectionInput . SelectionItem parseDelimitedFrom ( InputStream input )
public static SelectionInput . SelectionItem parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static SelectionInput . SelectionItem parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static SelectionInput . SelectionItem parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static SelectionInput . SelectionItem parseFrom ( ByteString data )
public static SelectionInput . SelectionItem parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static SelectionInput . SelectionItem parseFrom ( CodedInputStream input )
public static SelectionInput . SelectionItem parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static SelectionInput . SelectionItem parseFrom ( InputStream input )
public static SelectionInput . SelectionItem parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static SelectionInput . SelectionItem parseFrom ( ByteBuffer data )
public static SelectionInput . SelectionItem parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<SelectionInput . SelectionItem > parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getBottomText()
public String getBottomText ()
For multiselect menus, a text description or label that's
displayed below the item's text
field.
string bottom_text = 5;
Returns
Type
Description
String
The bottomText.
getBottomTextBytes()
public ByteString getBottomTextBytes ()
For multiselect menus, a text description or label that's
displayed below the item's text
field.
string bottom_text = 5;
Returns
Type
Description
ByteString
The bytes for bottomText.
public SelectionInput . SelectionItem getDefaultInstanceForType ()
public Parser<SelectionInput . SelectionItem > getParserForType ()
Overrides
public boolean getSelected ()
Whether the item is selected by default. If the selection input only
accepts one value (such as for radio buttons or a dropdown menu), only
set this field for one item.
bool selected = 3;
Returns
Type
Description
boolean
The selected.
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public String getStartIconUri ()
Returns
Type
Description
String
The startIconUri.
public ByteString getStartIconUriBytes ()
Returns
Type
Description
ByteString
The bytes for startIconUri.
getText()
The text that identifies or describes the item to users.
string text = 1;
Returns
Type
Description
String
The text.
getTextBytes()
public ByteString getTextBytes ()
The text that identifies or describes the item to users.
string text = 1;
Returns
Type
Description
ByteString
The bytes for text.
The value associated with this item. The client should use this as a form
input value.
For details about working with form inputs, see Receive form
data .
string value = 2;
Returns
Type
Description
String
The value.
public ByteString getValueBytes ()
The value associated with this item. The client should use this as a form
input value.
For details about working with form inputs, see Receive form
data .
string value = 2;
Returns
Type
Description
ByteString
The bytes for value.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public SelectionInput . SelectionItem . Builder newBuilderForType ()
protected SelectionInput . SelectionItem . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public SelectionInput . SelectionItem . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]