public static final class Intent.Message.Suggestion.Builder extends GeneratedMessageV3.Builder<Intent.Message.Suggestion.Builder> implements Intent.Message.SuggestionOrBuilder
The suggestion chip message that the user can tap to quickly post a reply
to the conversation.
Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.Suggestion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Intent.Message.Suggestion build()
Returns
buildPartial()
public Intent.Message.Suggestion buildPartial()
Returns
clear()
public Intent.Message.Suggestion.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Intent.Message.Suggestion.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Intent.Message.Suggestion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTitle()
public Intent.Message.Suggestion.Builder clearTitle()
Required. The text shown the in the suggestion chip.
string title = 1;
Returns
clone()
public Intent.Message.Suggestion.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Intent.Message.Suggestion getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getTitle()
Required. The text shown the in the suggestion chip.
string title = 1;
Returns
Type |
Description |
String |
The title.
|
getTitleBytes()
public ByteString getTitleBytes()
Required. The text shown the in the suggestion chip.
string title = 1;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Intent.Message.Suggestion other)
public Intent.Message.Suggestion.Builder mergeFrom(Intent.Message.Suggestion other)
Parameter
Returns
public Intent.Message.Suggestion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Intent.Message.Suggestion.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.Suggestion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.Suggestion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Intent.Message.Suggestion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setTitle(String value)
public Intent.Message.Suggestion.Builder setTitle(String value)
Required. The text shown the in the suggestion chip.
string title = 1;
Parameter
Name |
Description |
value |
String
The title to set.
|
Returns
setTitleBytes(ByteString value)
public Intent.Message.Suggestion.Builder setTitleBytes(ByteString value)
Required. The text shown the in the suggestion chip.
string title = 1;
Parameter
Name |
Description |
value |
ByteString
The bytes for title to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.Suggestion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides