public static final class Suggestions.SuggestionItem.Builder extends GeneratedMessageV3.Builder<Suggestions.SuggestionItem.Builder> implements Suggestions.SuggestionItemOrBuilder
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Suggestions.SuggestionItem.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Suggestions.SuggestionItem build()
buildPartial()
public Suggestions.SuggestionItem buildPartial()
clear()
public Suggestions.SuggestionItem.Builder clear()
Overrides
clearContent()
public Suggestions.SuggestionItem.Builder clearContent()
clearField(Descriptors.FieldDescriptor field)
public Suggestions.SuggestionItem.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Suggestions.SuggestionItem.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearText()
public Suggestions.SuggestionItem.Builder clearText()
The value of a suggested input to a text input field. This is
equivalent to what users enter themselves.
string text = 1;
clone()
public Suggestions.SuggestionItem.Builder clone()
Overrides
getContentCase()
public Suggestions.SuggestionItem.ContentCase getContentCase()
getDefaultInstanceForType()
public Suggestions.SuggestionItem getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getText()
The value of a suggested input to a text input field. This is
equivalent to what users enter themselves.
string text = 1;
Returns |
Type |
Description |
String |
The text.
|
getTextBytes()
public ByteString getTextBytes()
The value of a suggested input to a text input field. This is
equivalent to what users enter themselves.
string text = 1;
Returns |
Type |
Description |
ByteString |
The bytes for text.
|
hasText()
The value of a suggested input to a text input field. This is
equivalent to what users enter themselves.
string text = 1;
Returns |
Type |
Description |
boolean |
Whether the text field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Suggestions.SuggestionItem other)
public Suggestions.SuggestionItem.Builder mergeFrom(Suggestions.SuggestionItem other)
public Suggestions.SuggestionItem.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Suggestions.SuggestionItem.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Suggestions.SuggestionItem.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Suggestions.SuggestionItem.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Suggestions.SuggestionItem.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setText(String value)
public Suggestions.SuggestionItem.Builder setText(String value)
The value of a suggested input to a text input field. This is
equivalent to what users enter themselves.
string text = 1;
Parameter |
Name |
Description |
value |
String
The text to set.
|
setTextBytes(ByteString value)
public Suggestions.SuggestionItem.Builder setTextBytes(ByteString value)
The value of a suggested input to a text input field. This is
equivalent to what users enter themselves.
string text = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for text to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Suggestions.SuggestionItem.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides