Send feedback
Class Intent.Message.Suggestion.Builder (4.7.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.7.1 keyboard_arrow_down
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
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
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-27 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-27 UTC."],[],[]]