Class Intent.Message.Suggestion.Builder (4.5.11)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Intent.Message.Suggestion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Intent.Message.Suggestion.Builder
Overrides

build()

public Intent.Message.Suggestion build()
Returns
TypeDescription
Intent.Message.Suggestion

buildPartial()

public Intent.Message.Suggestion buildPartial()
Returns
TypeDescription
Intent.Message.Suggestion

clear()

public Intent.Message.Suggestion.Builder clear()
Returns
TypeDescription
Intent.Message.Suggestion.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Intent.Message.Suggestion.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Intent.Message.Suggestion.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Intent.Message.Suggestion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Intent.Message.Suggestion.Builder
Overrides

clearTitle()

public Intent.Message.Suggestion.Builder clearTitle()

Required. The text shown the in the suggestion chip.

string title = 1;

Returns
TypeDescription
Intent.Message.Suggestion.Builder

This builder for chaining.

clone()

public Intent.Message.Suggestion.Builder clone()
Returns
TypeDescription
Intent.Message.Suggestion.Builder
Overrides

getDefaultInstanceForType()

public Intent.Message.Suggestion getDefaultInstanceForType()
Returns
TypeDescription
Intent.Message.Suggestion

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getTitle()

public String getTitle()

Required. The text shown the in the suggestion chip.

string title = 1;

Returns
TypeDescription
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

Required. The text shown the in the suggestion chip.

string title = 1;

Returns
TypeDescription
ByteString

The bytes for title.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Intent.Message.Suggestion other)

public Intent.Message.Suggestion.Builder mergeFrom(Intent.Message.Suggestion other)
Parameter
NameDescription
otherIntent.Message.Suggestion
Returns
TypeDescription
Intent.Message.Suggestion.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Intent.Message.Suggestion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.Suggestion.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Intent.Message.Suggestion.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Intent.Message.Suggestion.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Intent.Message.Suggestion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Intent.Message.Suggestion.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Intent.Message.Suggestion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Intent.Message.Suggestion.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Intent.Message.Suggestion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Intent.Message.Suggestion.Builder
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
NameDescription
valueString

The title to set.

Returns
TypeDescription
Intent.Message.Suggestion.Builder

This builder for chaining.

setTitleBytes(ByteString value)

public Intent.Message.Suggestion.Builder setTitleBytes(ByteString value)

Required. The text shown the in the suggestion chip.

string title = 1;

Parameter
NameDescription
valueByteString

The bytes for title to set.

Returns
TypeDescription
Intent.Message.Suggestion.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Intent.Message.Suggestion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Intent.Message.Suggestion.Builder
Overrides