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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.Suggestion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Intent.Message.Suggestion build()
buildPartial()
public Intent.Message.Suggestion buildPartial()
clear()
public Intent.Message.Suggestion.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Intent.Message.Suggestion.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Intent.Message.Suggestion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTitle()
public Intent.Message.Suggestion.Builder clearTitle()
Required. The text shown the in the suggestion chip.
string title = 1;
clone()
public Intent.Message.Suggestion.Builder clone()
Overrides
getDefaultInstanceForType()
public Intent.Message.Suggestion getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Type |
Description |
ByteString |
The bytes for title.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Intent.Message.Suggestion other)
public Intent.Message.Suggestion.Builder mergeFrom(Intent.Message.Suggestion other)
public Intent.Message.Suggestion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Intent.Message.Suggestion.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.Suggestion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.Suggestion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Intent.Message.Suggestion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.Suggestion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides