public static final class InputField.TextInput.Builder extends GeneratedMessageV3.Builder<InputField.TextInput.Builder> implements InputField.TextInputOrBuilder
Text input allows the business to provide a text value.
Protobuf type google.shopping.merchant.issueresolution.v1beta.InputField.TextInput
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InputField.TextInput.BuilderImplements
InputField.TextInputOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InputField.TextInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
InputField.TextInput.Builder |
build()
public InputField.TextInput build()
Returns | |
---|---|
Type | Description |
InputField.TextInput |
buildPartial()
public InputField.TextInput buildPartial()
Returns | |
---|---|
Type | Description |
InputField.TextInput |
clear()
public InputField.TextInput.Builder clear()
Returns | |
---|---|
Type | Description |
InputField.TextInput.Builder |
clearAdditionalInfo()
public InputField.TextInput.Builder clearAdditionalInfo()
Additional info regarding the field to be displayed to the business. For example, warning to not include personal identifiable information. There may be more information to be shown in a tooltip.
optional .google.shopping.merchant.issueresolution.v1beta.TextWithTooltip additional_info = 2;
Returns | |
---|---|
Type | Description |
InputField.TextInput.Builder |
clearAriaLabel()
public InputField.TextInput.Builder clearAriaLabel()
Text to be used as the aria-label for the input.
optional string aria_label = 4;
Returns | |
---|---|
Type | Description |
InputField.TextInput.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public InputField.TextInput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
InputField.TextInput.Builder |
clearFormatInfo()
public InputField.TextInput.Builder clearFormatInfo()
Information about the required format. If present, it should be shown close to the input field to help the business to provide a correct value. For example: "VAT numbers should be in a format similar to SK9999999999"
optional string format_info = 3;
Returns | |
---|---|
Type | Description |
InputField.TextInput.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public InputField.TextInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
InputField.TextInput.Builder |
clearType()
public InputField.TextInput.Builder clearType()
Type of the text input
.google.shopping.merchant.issueresolution.v1beta.InputField.TextInput.TextInputType type = 1;
Returns | |
---|---|
Type | Description |
InputField.TextInput.Builder |
This builder for chaining. |
clone()
public InputField.TextInput.Builder clone()
Returns | |
---|---|
Type | Description |
InputField.TextInput.Builder |
getAdditionalInfo()
public TextWithTooltip getAdditionalInfo()
Additional info regarding the field to be displayed to the business. For example, warning to not include personal identifiable information. There may be more information to be shown in a tooltip.
optional .google.shopping.merchant.issueresolution.v1beta.TextWithTooltip additional_info = 2;
Returns | |
---|---|
Type | Description |
TextWithTooltip |
The additionalInfo. |
getAdditionalInfoBuilder()
public TextWithTooltip.Builder getAdditionalInfoBuilder()
Additional info regarding the field to be displayed to the business. For example, warning to not include personal identifiable information. There may be more information to be shown in a tooltip.
optional .google.shopping.merchant.issueresolution.v1beta.TextWithTooltip additional_info = 2;
Returns | |
---|---|
Type | Description |
TextWithTooltip.Builder |
getAdditionalInfoOrBuilder()
public TextWithTooltipOrBuilder getAdditionalInfoOrBuilder()
Additional info regarding the field to be displayed to the business. For example, warning to not include personal identifiable information. There may be more information to be shown in a tooltip.
optional .google.shopping.merchant.issueresolution.v1beta.TextWithTooltip additional_info = 2;
Returns | |
---|---|
Type | Description |
TextWithTooltipOrBuilder |
getAriaLabel()
public String getAriaLabel()
Text to be used as the aria-label for the input.
optional string aria_label = 4;
Returns | |
---|---|
Type | Description |
String |
The ariaLabel. |
getAriaLabelBytes()
public ByteString getAriaLabelBytes()
Text to be used as the aria-label for the input.
optional string aria_label = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for ariaLabel. |
getDefaultInstanceForType()
public InputField.TextInput getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
InputField.TextInput |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFormatInfo()
public String getFormatInfo()
Information about the required format. If present, it should be shown close to the input field to help the business to provide a correct value. For example: "VAT numbers should be in a format similar to SK9999999999"
optional string format_info = 3;
Returns | |
---|---|
Type | Description |
String |
The formatInfo. |
getFormatInfoBytes()
public ByteString getFormatInfoBytes()
Information about the required format. If present, it should be shown close to the input field to help the business to provide a correct value. For example: "VAT numbers should be in a format similar to SK9999999999"
optional string format_info = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for formatInfo. |
getType()
public InputField.TextInput.TextInputType getType()
Type of the text input
.google.shopping.merchant.issueresolution.v1beta.InputField.TextInput.TextInputType type = 1;
Returns | |
---|---|
Type | Description |
InputField.TextInput.TextInputType |
The type. |
getTypeValue()
public int getTypeValue()
Type of the text input
.google.shopping.merchant.issueresolution.v1beta.InputField.TextInput.TextInputType type = 1;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for type. |
hasAdditionalInfo()
public boolean hasAdditionalInfo()
Additional info regarding the field to be displayed to the business. For example, warning to not include personal identifiable information. There may be more information to be shown in a tooltip.
optional .google.shopping.merchant.issueresolution.v1beta.TextWithTooltip additional_info = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the additionalInfo field is set. |
hasAriaLabel()
public boolean hasAriaLabel()
Text to be used as the aria-label for the input.
optional string aria_label = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the ariaLabel field is set. |
hasFormatInfo()
public boolean hasFormatInfo()
Information about the required format. If present, it should be shown close to the input field to help the business to provide a correct value. For example: "VAT numbers should be in a format similar to SK9999999999"
optional string format_info = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the formatInfo field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAdditionalInfo(TextWithTooltip value)
public InputField.TextInput.Builder mergeAdditionalInfo(TextWithTooltip value)
Additional info regarding the field to be displayed to the business. For example, warning to not include personal identifiable information. There may be more information to be shown in a tooltip.
optional .google.shopping.merchant.issueresolution.v1beta.TextWithTooltip additional_info = 2;
Parameter | |
---|---|
Name | Description |
value |
TextWithTooltip |
Returns | |
---|---|
Type | Description |
InputField.TextInput.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InputField.TextInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
InputField.TextInput.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public InputField.TextInput.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
InputField.TextInput.Builder |
mergeFrom(InputField.TextInput other)
public InputField.TextInput.Builder mergeFrom(InputField.TextInput other)
Parameter | |
---|---|
Name | Description |
other |
InputField.TextInput |
Returns | |
---|---|
Type | Description |
InputField.TextInput.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InputField.TextInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
InputField.TextInput.Builder |
setAdditionalInfo(TextWithTooltip value)
public InputField.TextInput.Builder setAdditionalInfo(TextWithTooltip value)
Additional info regarding the field to be displayed to the business. For example, warning to not include personal identifiable information. There may be more information to be shown in a tooltip.
optional .google.shopping.merchant.issueresolution.v1beta.TextWithTooltip additional_info = 2;
Parameter | |
---|---|
Name | Description |
value |
TextWithTooltip |
Returns | |
---|---|
Type | Description |
InputField.TextInput.Builder |
setAdditionalInfo(TextWithTooltip.Builder builderForValue)
public InputField.TextInput.Builder setAdditionalInfo(TextWithTooltip.Builder builderForValue)
Additional info regarding the field to be displayed to the business. For example, warning to not include personal identifiable information. There may be more information to be shown in a tooltip.
optional .google.shopping.merchant.issueresolution.v1beta.TextWithTooltip additional_info = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
TextWithTooltip.Builder |
Returns | |
---|---|
Type | Description |
InputField.TextInput.Builder |
setAriaLabel(String value)
public InputField.TextInput.Builder setAriaLabel(String value)
Text to be used as the aria-label for the input.
optional string aria_label = 4;
Parameter | |
---|---|
Name | Description |
value |
String The ariaLabel to set. |
Returns | |
---|---|
Type | Description |
InputField.TextInput.Builder |
This builder for chaining. |
setAriaLabelBytes(ByteString value)
public InputField.TextInput.Builder setAriaLabelBytes(ByteString value)
Text to be used as the aria-label for the input.
optional string aria_label = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for ariaLabel to set. |
Returns | |
---|---|
Type | Description |
InputField.TextInput.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public InputField.TextInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
InputField.TextInput.Builder |
setFormatInfo(String value)
public InputField.TextInput.Builder setFormatInfo(String value)
Information about the required format. If present, it should be shown close to the input field to help the business to provide a correct value. For example: "VAT numbers should be in a format similar to SK9999999999"
optional string format_info = 3;
Parameter | |
---|---|
Name | Description |
value |
String The formatInfo to set. |
Returns | |
---|---|
Type | Description |
InputField.TextInput.Builder |
This builder for chaining. |
setFormatInfoBytes(ByteString value)
public InputField.TextInput.Builder setFormatInfoBytes(ByteString value)
Information about the required format. If present, it should be shown close to the input field to help the business to provide a correct value. For example: "VAT numbers should be in a format similar to SK9999999999"
optional string format_info = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for formatInfo to set. |
Returns | |
---|---|
Type | Description |
InputField.TextInput.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InputField.TextInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
InputField.TextInput.Builder |
setType(InputField.TextInput.TextInputType value)
public InputField.TextInput.Builder setType(InputField.TextInput.TextInputType value)
Type of the text input
.google.shopping.merchant.issueresolution.v1beta.InputField.TextInput.TextInputType type = 1;
Parameter | |
---|---|
Name | Description |
value |
InputField.TextInput.TextInputType The type to set. |
Returns | |
---|---|
Type | Description |
InputField.TextInput.Builder |
This builder for chaining. |
setTypeValue(int value)
public InputField.TextInput.Builder setTypeValue(int value)
Type of the text input
.google.shopping.merchant.issueresolution.v1beta.InputField.TextInput.TextInputType type = 1;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for type to set. |
Returns | |
---|---|
Type | Description |
InputField.TextInput.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final InputField.TextInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
InputField.TextInput.Builder |