public static final class GeneratorSuggestion.Builder extends GeneratedMessage.Builder<GeneratorSuggestion.Builder> implements GeneratorSuggestionOrBuilderSuggestion generated using a Generator.
Protobuf type google.cloud.dialogflow.v2beta1.GeneratorSuggestion
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GeneratorSuggestion.BuilderImplements
GeneratorSuggestionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllToolCallInfo(Iterable<? extends GeneratorSuggestion.ToolCallInfo> values)
public GeneratorSuggestion.Builder addAllToolCallInfo(Iterable<? extends GeneratorSuggestion.ToolCallInfo> values)Optional. List of request and response for tool calls executed.
repeated .google.cloud.dialogflow.v2beta1.GeneratorSuggestion.ToolCallInfo tool_call_info = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2beta1.GeneratorSuggestion.ToolCallInfo> |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.Builder |
|
addToolCallInfo(GeneratorSuggestion.ToolCallInfo value)
public GeneratorSuggestion.Builder addToolCallInfo(GeneratorSuggestion.ToolCallInfo value)Optional. List of request and response for tool calls executed.
repeated .google.cloud.dialogflow.v2beta1.GeneratorSuggestion.ToolCallInfo tool_call_info = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
GeneratorSuggestion.ToolCallInfo |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.Builder |
|
addToolCallInfo(GeneratorSuggestion.ToolCallInfo.Builder builderForValue)
public GeneratorSuggestion.Builder addToolCallInfo(GeneratorSuggestion.ToolCallInfo.Builder builderForValue)Optional. List of request and response for tool calls executed.
repeated .google.cloud.dialogflow.v2beta1.GeneratorSuggestion.ToolCallInfo tool_call_info = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
GeneratorSuggestion.ToolCallInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.Builder |
|
addToolCallInfo(int index, GeneratorSuggestion.ToolCallInfo value)
public GeneratorSuggestion.Builder addToolCallInfo(int index, GeneratorSuggestion.ToolCallInfo value)Optional. List of request and response for tool calls executed.
repeated .google.cloud.dialogflow.v2beta1.GeneratorSuggestion.ToolCallInfo tool_call_info = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
GeneratorSuggestion.ToolCallInfo |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.Builder |
|
addToolCallInfo(int index, GeneratorSuggestion.ToolCallInfo.Builder builderForValue)
public GeneratorSuggestion.Builder addToolCallInfo(int index, GeneratorSuggestion.ToolCallInfo.Builder builderForValue)Optional. List of request and response for tool calls executed.
repeated .google.cloud.dialogflow.v2beta1.GeneratorSuggestion.ToolCallInfo tool_call_info = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
GeneratorSuggestion.ToolCallInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.Builder |
|
addToolCallInfoBuilder()
public GeneratorSuggestion.ToolCallInfo.Builder addToolCallInfoBuilder()Optional. List of request and response for tool calls executed.
repeated .google.cloud.dialogflow.v2beta1.GeneratorSuggestion.ToolCallInfo tool_call_info = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.ToolCallInfo.Builder |
|
addToolCallInfoBuilder(int index)
public GeneratorSuggestion.ToolCallInfo.Builder addToolCallInfoBuilder(int index)Optional. List of request and response for tool calls executed.
repeated .google.cloud.dialogflow.v2beta1.GeneratorSuggestion.ToolCallInfo tool_call_info = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.ToolCallInfo.Builder |
|
build()
public GeneratorSuggestion build()| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion |
|
buildPartial()
public GeneratorSuggestion buildPartial()| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion |
|
clear()
public GeneratorSuggestion.Builder clear()| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.Builder |
|
clearAgentCoachingSuggestion()
public GeneratorSuggestion.Builder clearAgentCoachingSuggestion()Optional. Suggestion to coach the agent.
.google.cloud.dialogflow.v2beta1.AgentCoachingSuggestion agent_coaching_suggestion = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.Builder |
|
clearFreeFormSuggestion()
public GeneratorSuggestion.Builder clearFreeFormSuggestion()Optional. Free form suggestion.
.google.cloud.dialogflow.v2beta1.FreeFormSuggestion free_form_suggestion = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.Builder |
|
clearSuggestion()
public GeneratorSuggestion.Builder clearSuggestion()| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.Builder |
|
clearSummarySuggestion()
public GeneratorSuggestion.Builder clearSummarySuggestion()Optional. Suggested summary.
.google.cloud.dialogflow.v2beta1.SummarySuggestion summary_suggestion = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.Builder |
|
clearToolCallInfo()
public GeneratorSuggestion.Builder clearToolCallInfo()Optional. List of request and response for tool calls executed.
repeated .google.cloud.dialogflow.v2beta1.GeneratorSuggestion.ToolCallInfo tool_call_info = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.Builder |
|
getAgentCoachingSuggestion()
public AgentCoachingSuggestion getAgentCoachingSuggestion()Optional. Suggestion to coach the agent.
.google.cloud.dialogflow.v2beta1.AgentCoachingSuggestion agent_coaching_suggestion = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion |
The agentCoachingSuggestion. |
getAgentCoachingSuggestionBuilder()
public AgentCoachingSuggestion.Builder getAgentCoachingSuggestionBuilder()Optional. Suggestion to coach the agent.
.google.cloud.dialogflow.v2beta1.AgentCoachingSuggestion agent_coaching_suggestion = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.Builder |
|
getAgentCoachingSuggestionOrBuilder()
public AgentCoachingSuggestionOrBuilder getAgentCoachingSuggestionOrBuilder()Optional. Suggestion to coach the agent.
.google.cloud.dialogflow.v2beta1.AgentCoachingSuggestion agent_coaching_suggestion = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestionOrBuilder |
|
getDefaultInstanceForType()
public GeneratorSuggestion getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFreeFormSuggestion()
public FreeFormSuggestion getFreeFormSuggestion()Optional. Free form suggestion.
.google.cloud.dialogflow.v2beta1.FreeFormSuggestion free_form_suggestion = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FreeFormSuggestion |
The freeFormSuggestion. |
getFreeFormSuggestionBuilder()
public FreeFormSuggestion.Builder getFreeFormSuggestionBuilder()Optional. Free form suggestion.
.google.cloud.dialogflow.v2beta1.FreeFormSuggestion free_form_suggestion = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FreeFormSuggestion.Builder |
|
getFreeFormSuggestionOrBuilder()
public FreeFormSuggestionOrBuilder getFreeFormSuggestionOrBuilder()Optional. Free form suggestion.
.google.cloud.dialogflow.v2beta1.FreeFormSuggestion free_form_suggestion = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FreeFormSuggestionOrBuilder |
|
getSuggestionCase()
public GeneratorSuggestion.SuggestionCase getSuggestionCase()| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.SuggestionCase |
|
getSummarySuggestion()
public SummarySuggestion getSummarySuggestion()Optional. Suggested summary.
.google.cloud.dialogflow.v2beta1.SummarySuggestion summary_suggestion = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SummarySuggestion |
The summarySuggestion. |
getSummarySuggestionBuilder()
public SummarySuggestion.Builder getSummarySuggestionBuilder()Optional. Suggested summary.
.google.cloud.dialogflow.v2beta1.SummarySuggestion summary_suggestion = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SummarySuggestion.Builder |
|
getSummarySuggestionOrBuilder()
public SummarySuggestionOrBuilder getSummarySuggestionOrBuilder()Optional. Suggested summary.
.google.cloud.dialogflow.v2beta1.SummarySuggestion summary_suggestion = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SummarySuggestionOrBuilder |
|
getToolCallInfo(int index)
public GeneratorSuggestion.ToolCallInfo getToolCallInfo(int index)Optional. List of request and response for tool calls executed.
repeated .google.cloud.dialogflow.v2beta1.GeneratorSuggestion.ToolCallInfo tool_call_info = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.ToolCallInfo |
|
getToolCallInfoBuilder(int index)
public GeneratorSuggestion.ToolCallInfo.Builder getToolCallInfoBuilder(int index)Optional. List of request and response for tool calls executed.
repeated .google.cloud.dialogflow.v2beta1.GeneratorSuggestion.ToolCallInfo tool_call_info = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.ToolCallInfo.Builder |
|
getToolCallInfoBuilderList()
public List<GeneratorSuggestion.ToolCallInfo.Builder> getToolCallInfoBuilderList()Optional. List of request and response for tool calls executed.
repeated .google.cloud.dialogflow.v2beta1.GeneratorSuggestion.ToolCallInfo tool_call_info = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getToolCallInfoCount()
public int getToolCallInfoCount()Optional. List of request and response for tool calls executed.
repeated .google.cloud.dialogflow.v2beta1.GeneratorSuggestion.ToolCallInfo tool_call_info = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getToolCallInfoList()
public List<GeneratorSuggestion.ToolCallInfo> getToolCallInfoList()Optional. List of request and response for tool calls executed.
repeated .google.cloud.dialogflow.v2beta1.GeneratorSuggestion.ToolCallInfo tool_call_info = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<ToolCallInfo> |
|
getToolCallInfoOrBuilder(int index)
public GeneratorSuggestion.ToolCallInfoOrBuilder getToolCallInfoOrBuilder(int index)Optional. List of request and response for tool calls executed.
repeated .google.cloud.dialogflow.v2beta1.GeneratorSuggestion.ToolCallInfo tool_call_info = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.ToolCallInfoOrBuilder |
|
getToolCallInfoOrBuilderList()
public List<? extends GeneratorSuggestion.ToolCallInfoOrBuilder> getToolCallInfoOrBuilderList()Optional. List of request and response for tool calls executed.
repeated .google.cloud.dialogflow.v2beta1.GeneratorSuggestion.ToolCallInfo tool_call_info = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.dialogflow.v2beta1.GeneratorSuggestion.ToolCallInfoOrBuilder> |
|
hasAgentCoachingSuggestion()
public boolean hasAgentCoachingSuggestion()Optional. Suggestion to coach the agent.
.google.cloud.dialogflow.v2beta1.AgentCoachingSuggestion agent_coaching_suggestion = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the agentCoachingSuggestion field is set. |
hasFreeFormSuggestion()
public boolean hasFreeFormSuggestion()Optional. Free form suggestion.
.google.cloud.dialogflow.v2beta1.FreeFormSuggestion free_form_suggestion = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the freeFormSuggestion field is set. |
hasSummarySuggestion()
public boolean hasSummarySuggestion()Optional. Suggested summary.
.google.cloud.dialogflow.v2beta1.SummarySuggestion summary_suggestion = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the summarySuggestion field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAgentCoachingSuggestion(AgentCoachingSuggestion value)
public GeneratorSuggestion.Builder mergeAgentCoachingSuggestion(AgentCoachingSuggestion value)Optional. Suggestion to coach the agent.
.google.cloud.dialogflow.v2beta1.AgentCoachingSuggestion agent_coaching_suggestion = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AgentCoachingSuggestion |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.Builder |
|
mergeFreeFormSuggestion(FreeFormSuggestion value)
public GeneratorSuggestion.Builder mergeFreeFormSuggestion(FreeFormSuggestion value)Optional. Free form suggestion.
.google.cloud.dialogflow.v2beta1.FreeFormSuggestion free_form_suggestion = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FreeFormSuggestion |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.Builder |
|
mergeFrom(GeneratorSuggestion other)
public GeneratorSuggestion.Builder mergeFrom(GeneratorSuggestion other)| Parameter | |
|---|---|
| Name | Description |
other |
GeneratorSuggestion |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GeneratorSuggestion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GeneratorSuggestion.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.Builder |
|
mergeSummarySuggestion(SummarySuggestion value)
public GeneratorSuggestion.Builder mergeSummarySuggestion(SummarySuggestion value)Optional. Suggested summary.
.google.cloud.dialogflow.v2beta1.SummarySuggestion summary_suggestion = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SummarySuggestion |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.Builder |
|
removeToolCallInfo(int index)
public GeneratorSuggestion.Builder removeToolCallInfo(int index)Optional. List of request and response for tool calls executed.
repeated .google.cloud.dialogflow.v2beta1.GeneratorSuggestion.ToolCallInfo tool_call_info = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.Builder |
|
setAgentCoachingSuggestion(AgentCoachingSuggestion value)
public GeneratorSuggestion.Builder setAgentCoachingSuggestion(AgentCoachingSuggestion value)Optional. Suggestion to coach the agent.
.google.cloud.dialogflow.v2beta1.AgentCoachingSuggestion agent_coaching_suggestion = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AgentCoachingSuggestion |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.Builder |
|
setAgentCoachingSuggestion(AgentCoachingSuggestion.Builder builderForValue)
public GeneratorSuggestion.Builder setAgentCoachingSuggestion(AgentCoachingSuggestion.Builder builderForValue)Optional. Suggestion to coach the agent.
.google.cloud.dialogflow.v2beta1.AgentCoachingSuggestion agent_coaching_suggestion = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AgentCoachingSuggestion.Builder |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.Builder |
|
setFreeFormSuggestion(FreeFormSuggestion value)
public GeneratorSuggestion.Builder setFreeFormSuggestion(FreeFormSuggestion value)Optional. Free form suggestion.
.google.cloud.dialogflow.v2beta1.FreeFormSuggestion free_form_suggestion = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FreeFormSuggestion |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.Builder |
|
setFreeFormSuggestion(FreeFormSuggestion.Builder builderForValue)
public GeneratorSuggestion.Builder setFreeFormSuggestion(FreeFormSuggestion.Builder builderForValue)Optional. Free form suggestion.
.google.cloud.dialogflow.v2beta1.FreeFormSuggestion free_form_suggestion = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FreeFormSuggestion.Builder |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.Builder |
|
setSummarySuggestion(SummarySuggestion value)
public GeneratorSuggestion.Builder setSummarySuggestion(SummarySuggestion value)Optional. Suggested summary.
.google.cloud.dialogflow.v2beta1.SummarySuggestion summary_suggestion = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SummarySuggestion |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.Builder |
|
setSummarySuggestion(SummarySuggestion.Builder builderForValue)
public GeneratorSuggestion.Builder setSummarySuggestion(SummarySuggestion.Builder builderForValue)Optional. Suggested summary.
.google.cloud.dialogflow.v2beta1.SummarySuggestion summary_suggestion = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SummarySuggestion.Builder |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.Builder |
|
setToolCallInfo(int index, GeneratorSuggestion.ToolCallInfo value)
public GeneratorSuggestion.Builder setToolCallInfo(int index, GeneratorSuggestion.ToolCallInfo value)Optional. List of request and response for tool calls executed.
repeated .google.cloud.dialogflow.v2beta1.GeneratorSuggestion.ToolCallInfo tool_call_info = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
GeneratorSuggestion.ToolCallInfo |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.Builder |
|
setToolCallInfo(int index, GeneratorSuggestion.ToolCallInfo.Builder builderForValue)
public GeneratorSuggestion.Builder setToolCallInfo(int index, GeneratorSuggestion.ToolCallInfo.Builder builderForValue)Optional. List of request and response for tool calls executed.
repeated .google.cloud.dialogflow.v2beta1.GeneratorSuggestion.ToolCallInfo tool_call_info = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
GeneratorSuggestion.ToolCallInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.Builder |
|