Interface ContainerTextInputOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ContainerTextInput, ContainerTextInput.Builder
@Generated
public interface ContainerTextInputOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionCurrent text value in the field.com.google.protobuf.ByteStringCurrent text value in the field.getId()Field identifier for the SetContainerText RPC.com.google.protobuf.ByteStringField identifier for the SetContainerText RPC.getLabel()Display label for the input field.com.google.protobuf.ByteStringDisplay label for the input field.intMaximum allowed character length.Placeholder text shown when field is empty.com.google.protobuf.ByteStringPlaceholder text shown when field is empty.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
String getId()Field identifier for the SetContainerText RPC. Currently supported: "item_name" (anvil rename)
string id = 1;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()Field identifier for the SetContainerText RPC. Currently supported: "item_name" (anvil rename)
string id = 1;- Returns:
- The bytes for id.
-
getLabel
-
getLabelBytes
com.google.protobuf.ByteString getLabelBytes()Display label for the input field.
string label = 2;- Returns:
- The bytes for label.
-
getCurrentValue
String getCurrentValue()Current text value in the field. For anvil: the item's current custom name, or empty if none.
string current_value = 3;- Returns:
- The currentValue.
-
getCurrentValueBytes
com.google.protobuf.ByteString getCurrentValueBytes()Current text value in the field. For anvil: the item's current custom name, or empty if none.
string current_value = 3;- Returns:
- The bytes for currentValue.
-
getMaxLength
int getMaxLength()Maximum allowed character length. For anvil: 50 characters. Value of 0 means no limit.
int32 max_length = 4;- Returns:
- The maxLength.
-
getPlaceholder
String getPlaceholder()Placeholder text shown when field is empty.
string placeholder = 5;- Returns:
- The placeholder.
-
getPlaceholderBytes
com.google.protobuf.ByteString getPlaceholderBytes()Placeholder text shown when field is empty.
string placeholder = 5;- Returns:
- The bytes for placeholder.
-