- 4.60.0 (latest)
- 4.59.0
- 4.58.0
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
public static final class Suggestion.Builder extends GeneratedMessageV3.Builder<Suggestion.Builder> implements SuggestionOrBuilder
Represents a suggestion for a human agent.
Protobuf type google.cloud.dialogflow.v2beta1.Suggestion
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Suggestion.BuilderImplements
SuggestionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllArticles(Iterable<? extends Suggestion.Article> values)
public Suggestion.Builder addAllArticles(Iterable<? extends Suggestion.Article> values)
Output only. Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.Article articles = 2;
Name | Description |
values | Iterable<? extends com.google.cloud.dialogflow.v2beta1.Suggestion.Article> |
Type | Description |
Suggestion.Builder |
addAllFaqAnswers(Iterable<? extends Suggestion.FaqAnswer> values)
public Suggestion.Builder addAllFaqAnswers(Iterable<? extends Suggestion.FaqAnswer> values)
Output only. Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer faq_answers = 4;
Name | Description |
values | Iterable<? extends com.google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer> |
Type | Description |
Suggestion.Builder |
addArticles(Suggestion.Article value)
public Suggestion.Builder addArticles(Suggestion.Article value)
Output only. Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.Article articles = 2;
Name | Description |
value | Suggestion.Article |
Type | Description |
Suggestion.Builder |
addArticles(Suggestion.Article.Builder builderForValue)
public Suggestion.Builder addArticles(Suggestion.Article.Builder builderForValue)
Output only. Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.Article articles = 2;
Name | Description |
builderForValue | Suggestion.Article.Builder |
Type | Description |
Suggestion.Builder |
addArticles(int index, Suggestion.Article value)
public Suggestion.Builder addArticles(int index, Suggestion.Article value)
Output only. Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.Article articles = 2;
Name | Description |
index | int |
value | Suggestion.Article |
Type | Description |
Suggestion.Builder |
addArticles(int index, Suggestion.Article.Builder builderForValue)
public Suggestion.Builder addArticles(int index, Suggestion.Article.Builder builderForValue)
Output only. Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.Article articles = 2;
Name | Description |
index | int |
builderForValue | Suggestion.Article.Builder |
Type | Description |
Suggestion.Builder |
addArticlesBuilder()
public Suggestion.Article.Builder addArticlesBuilder()
Output only. Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.Article articles = 2;
Type | Description |
Suggestion.Article.Builder |
addArticlesBuilder(int index)
public Suggestion.Article.Builder addArticlesBuilder(int index)
Output only. Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.Article articles = 2;
Name | Description |
index | int |
Type | Description |
Suggestion.Article.Builder |
addFaqAnswers(Suggestion.FaqAnswer value)
public Suggestion.Builder addFaqAnswers(Suggestion.FaqAnswer value)
Output only. Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer faq_answers = 4;
Name | Description |
value | Suggestion.FaqAnswer |
Type | Description |
Suggestion.Builder |
addFaqAnswers(Suggestion.FaqAnswer.Builder builderForValue)
public Suggestion.Builder addFaqAnswers(Suggestion.FaqAnswer.Builder builderForValue)
Output only. Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer faq_answers = 4;
Name | Description |
builderForValue | Suggestion.FaqAnswer.Builder |
Type | Description |
Suggestion.Builder |
addFaqAnswers(int index, Suggestion.FaqAnswer value)
public Suggestion.Builder addFaqAnswers(int index, Suggestion.FaqAnswer value)
Output only. Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer faq_answers = 4;
Name | Description |
index | int |
value | Suggestion.FaqAnswer |
Type | Description |
Suggestion.Builder |
addFaqAnswers(int index, Suggestion.FaqAnswer.Builder builderForValue)
public Suggestion.Builder addFaqAnswers(int index, Suggestion.FaqAnswer.Builder builderForValue)
Output only. Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer faq_answers = 4;
Name | Description |
index | int |
builderForValue | Suggestion.FaqAnswer.Builder |
Type | Description |
Suggestion.Builder |
addFaqAnswersBuilder()
public Suggestion.FaqAnswer.Builder addFaqAnswersBuilder()
Output only. Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer faq_answers = 4;
Type | Description |
Suggestion.FaqAnswer.Builder |
addFaqAnswersBuilder(int index)
public Suggestion.FaqAnswer.Builder addFaqAnswersBuilder(int index)
Output only. Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer faq_answers = 4;
Name | Description |
index | int |
Type | Description |
Suggestion.FaqAnswer.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Suggestion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Suggestion.Builder |
build()
public Suggestion build()
Type | Description |
Suggestion |
buildPartial()
public Suggestion buildPartial()
Type | Description |
Suggestion |
clear()
public Suggestion.Builder clear()
Type | Description |
Suggestion.Builder |
clearArticles()
public Suggestion.Builder clearArticles()
Output only. Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.Article articles = 2;
Type | Description |
Suggestion.Builder |
clearCreateTime()
public Suggestion.Builder clearCreateTime()
Output only. The time the suggestion was created.
.google.protobuf.Timestamp create_time = 5;
Type | Description |
Suggestion.Builder |
clearFaqAnswers()
public Suggestion.Builder clearFaqAnswers()
Output only. Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer faq_answers = 4;
Type | Description |
Suggestion.Builder |
clearField(Descriptors.FieldDescriptor field)
public Suggestion.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Suggestion.Builder |
clearLatestMessage()
public Suggestion.Builder clearLatestMessage()
Output only. Latest message used as context to compile this suggestion.
Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/messages/<Message ID>
.
string latest_message = 7;
Type | Description |
Suggestion.Builder | This builder for chaining. |
clearName()
public Suggestion.Builder clearName()
Output only. The name of this suggestion.
Format:
projects/<Project ID>/locations/<Location ID>/conversations/<Conversation
ID>/participants/*/suggestions/<Suggestion ID>
.
string name = 1;
Type | Description |
Suggestion.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Suggestion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Suggestion.Builder |
clone()
public Suggestion.Builder clone()
Type | Description |
Suggestion.Builder |
getArticles(int index)
public Suggestion.Article getArticles(int index)
Output only. Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.Article articles = 2;
Name | Description |
index | int |
Type | Description |
Suggestion.Article |
getArticlesBuilder(int index)
public Suggestion.Article.Builder getArticlesBuilder(int index)
Output only. Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.Article articles = 2;
Name | Description |
index | int |
Type | Description |
Suggestion.Article.Builder |
getArticlesBuilderList()
public List<Suggestion.Article.Builder> getArticlesBuilderList()
Output only. Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.Article articles = 2;
Type | Description |
List<Builder> |
getArticlesCount()
public int getArticlesCount()
Output only. Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.Article articles = 2;
Type | Description |
int |
getArticlesList()
public List<Suggestion.Article> getArticlesList()
Output only. Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.Article articles = 2;
Type | Description |
List<Article> |
getArticlesOrBuilder(int index)
public Suggestion.ArticleOrBuilder getArticlesOrBuilder(int index)
Output only. Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.Article articles = 2;
Name | Description |
index | int |
Type | Description |
Suggestion.ArticleOrBuilder |
getArticlesOrBuilderList()
public List<? extends Suggestion.ArticleOrBuilder> getArticlesOrBuilderList()
Output only. Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.Article articles = 2;
Type | Description |
List<? extends com.google.cloud.dialogflow.v2beta1.Suggestion.ArticleOrBuilder> |
getCreateTime()
public Timestamp getCreateTime()
Output only. The time the suggestion was created.
.google.protobuf.Timestamp create_time = 5;
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The time the suggestion was created.
.google.protobuf.Timestamp create_time = 5;
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time the suggestion was created.
.google.protobuf.Timestamp create_time = 5;
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Suggestion getDefaultInstanceForType()
Type | Description |
Suggestion |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getFaqAnswers(int index)
public Suggestion.FaqAnswer getFaqAnswers(int index)
Output only. Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer faq_answers = 4;
Name | Description |
index | int |
Type | Description |
Suggestion.FaqAnswer |
getFaqAnswersBuilder(int index)
public Suggestion.FaqAnswer.Builder getFaqAnswersBuilder(int index)
Output only. Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer faq_answers = 4;
Name | Description |
index | int |
Type | Description |
Suggestion.FaqAnswer.Builder |
getFaqAnswersBuilderList()
public List<Suggestion.FaqAnswer.Builder> getFaqAnswersBuilderList()
Output only. Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer faq_answers = 4;
Type | Description |
List<Builder> |
getFaqAnswersCount()
public int getFaqAnswersCount()
Output only. Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer faq_answers = 4;
Type | Description |
int |
getFaqAnswersList()
public List<Suggestion.FaqAnswer> getFaqAnswersList()
Output only. Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer faq_answers = 4;
Type | Description |
List<FaqAnswer> |
getFaqAnswersOrBuilder(int index)
public Suggestion.FaqAnswerOrBuilder getFaqAnswersOrBuilder(int index)
Output only. Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer faq_answers = 4;
Name | Description |
index | int |
Type | Description |
Suggestion.FaqAnswerOrBuilder |
getFaqAnswersOrBuilderList()
public List<? extends Suggestion.FaqAnswerOrBuilder> getFaqAnswersOrBuilderList()
Output only. Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer faq_answers = 4;
Type | Description |
List<? extends com.google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswerOrBuilder> |
getLatestMessage()
public String getLatestMessage()
Output only. Latest message used as context to compile this suggestion.
Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/messages/<Message ID>
.
string latest_message = 7;
Type | Description |
String | The latestMessage. |
getLatestMessageBytes()
public ByteString getLatestMessageBytes()
Output only. Latest message used as context to compile this suggestion.
Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/messages/<Message ID>
.
string latest_message = 7;
Type | Description |
ByteString | The bytes for latestMessage. |
getName()
public String getName()
Output only. The name of this suggestion.
Format:
projects/<Project ID>/locations/<Location ID>/conversations/<Conversation
ID>/participants/*/suggestions/<Suggestion ID>
.
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The name of this suggestion.
Format:
projects/<Project ID>/locations/<Location ID>/conversations/<Conversation
ID>/participants/*/suggestions/<Suggestion ID>
.
string name = 1;
Type | Description |
ByteString | The bytes for name. |
hasCreateTime()
public boolean hasCreateTime()
Output only. The time the suggestion was created.
.google.protobuf.Timestamp create_time = 5;
Type | Description |
boolean | Whether the createTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Suggestion.Builder mergeCreateTime(Timestamp value)
Output only. The time the suggestion was created.
.google.protobuf.Timestamp create_time = 5;
Name | Description |
value | Timestamp |
Type | Description |
Suggestion.Builder |
mergeFrom(Suggestion other)
public Suggestion.Builder mergeFrom(Suggestion other)
Name | Description |
other | Suggestion |
Type | Description |
Suggestion.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Suggestion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Suggestion.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Suggestion.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Suggestion.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Suggestion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Suggestion.Builder |
removeArticles(int index)
public Suggestion.Builder removeArticles(int index)
Output only. Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.Article articles = 2;
Name | Description |
index | int |
Type | Description |
Suggestion.Builder |
removeFaqAnswers(int index)
public Suggestion.Builder removeFaqAnswers(int index)
Output only. Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer faq_answers = 4;
Name | Description |
index | int |
Type | Description |
Suggestion.Builder |
setArticles(int index, Suggestion.Article value)
public Suggestion.Builder setArticles(int index, Suggestion.Article value)
Output only. Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.Article articles = 2;
Name | Description |
index | int |
value | Suggestion.Article |
Type | Description |
Suggestion.Builder |
setArticles(int index, Suggestion.Article.Builder builderForValue)
public Suggestion.Builder setArticles(int index, Suggestion.Article.Builder builderForValue)
Output only. Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.Article articles = 2;
Name | Description |
index | int |
builderForValue | Suggestion.Article.Builder |
Type | Description |
Suggestion.Builder |
setCreateTime(Timestamp value)
public Suggestion.Builder setCreateTime(Timestamp value)
Output only. The time the suggestion was created.
.google.protobuf.Timestamp create_time = 5;
Name | Description |
value | Timestamp |
Type | Description |
Suggestion.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Suggestion.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The time the suggestion was created.
.google.protobuf.Timestamp create_time = 5;
Name | Description |
builderForValue | Builder |
Type | Description |
Suggestion.Builder |
setFaqAnswers(int index, Suggestion.FaqAnswer value)
public Suggestion.Builder setFaqAnswers(int index, Suggestion.FaqAnswer value)
Output only. Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer faq_answers = 4;
Name | Description |
index | int |
value | Suggestion.FaqAnswer |
Type | Description |
Suggestion.Builder |
setFaqAnswers(int index, Suggestion.FaqAnswer.Builder builderForValue)
public Suggestion.Builder setFaqAnswers(int index, Suggestion.FaqAnswer.Builder builderForValue)
Output only. Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer faq_answers = 4;
Name | Description |
index | int |
builderForValue | Suggestion.FaqAnswer.Builder |
Type | Description |
Suggestion.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Suggestion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Suggestion.Builder |
setLatestMessage(String value)
public Suggestion.Builder setLatestMessage(String value)
Output only. Latest message used as context to compile this suggestion.
Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/messages/<Message ID>
.
string latest_message = 7;
Name | Description |
value | String The latestMessage to set. |
Type | Description |
Suggestion.Builder | This builder for chaining. |
setLatestMessageBytes(ByteString value)
public Suggestion.Builder setLatestMessageBytes(ByteString value)
Output only. Latest message used as context to compile this suggestion.
Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/messages/<Message ID>
.
string latest_message = 7;
Name | Description |
value | ByteString The bytes for latestMessage to set. |
Type | Description |
Suggestion.Builder | This builder for chaining. |
setName(String value)
public Suggestion.Builder setName(String value)
Output only. The name of this suggestion.
Format:
projects/<Project ID>/locations/<Location ID>/conversations/<Conversation
ID>/participants/*/suggestions/<Suggestion ID>
.
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
Suggestion.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Suggestion.Builder setNameBytes(ByteString value)
Output only. The name of this suggestion.
Format:
projects/<Project ID>/locations/<Location ID>/conversations/<Conversation
ID>/participants/*/suggestions/<Suggestion ID>
.
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Suggestion.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Suggestion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Suggestion.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Suggestion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Suggestion.Builder |