public static final class ToolCallSuggestion.Builder extends GeneratedMessage.Builder<ToolCallSuggestion.Builder> implements ToolCallSuggestionOrBuilderStructured wrapper that pairs tool execution details with strongly-typed citations.
Protobuf type google.cloud.dialogflow.v2.ToolCallSuggestion
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ToolCallSuggestion.BuilderImplements
ToolCallSuggestionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ToolCallSuggestion build()| Returns | |
|---|---|
| Type | Description |
ToolCallSuggestion |
|
buildPartial()
public ToolCallSuggestion buildPartial()| Returns | |
|---|---|
| Type | Description |
ToolCallSuggestion |
|
clear()
public ToolCallSuggestion.Builder clear()| Returns | |
|---|---|
| Type | Description |
ToolCallSuggestion.Builder |
|
clearTextUpdate()
public ToolCallSuggestion.Builder clearTextUpdate()Optional. The conversational text update generated by the agent accompanying this tool call (e.g. "The status of your order 12345 is currently being retrieved..."). This is a status update emitted alongside in-flight tool execution and is not accumulated into the final response.
string text_update = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ToolCallSuggestion.Builder |
This builder for chaining. |
clearToolCallInfo()
public ToolCallSuggestion.Builder clearToolCallInfo()Optional. Tool execution request/response details.
.google.cloud.dialogflow.v2.GeneratorSuggestion.ToolCallInfo tool_call_info = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ToolCallSuggestion.Builder |
|
getDefaultInstanceForType()
public ToolCallSuggestion getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ToolCallSuggestion |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getTextUpdate()
public String getTextUpdate()Optional. The conversational text update generated by the agent accompanying this tool call (e.g. "The status of your order 12345 is currently being retrieved..."). This is a status update emitted alongside in-flight tool execution and is not accumulated into the final response.
string text_update = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The textUpdate. |
getTextUpdateBytes()
public ByteString getTextUpdateBytes()Optional. The conversational text update generated by the agent accompanying this tool call (e.g. "The status of your order 12345 is currently being retrieved..."). This is a status update emitted alongside in-flight tool execution and is not accumulated into the final response.
string text_update = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for textUpdate. |
getToolCallInfo()
public GeneratorSuggestion.ToolCallInfo getToolCallInfo()Optional. Tool execution request/response details.
.google.cloud.dialogflow.v2.GeneratorSuggestion.ToolCallInfo tool_call_info = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.ToolCallInfo |
The toolCallInfo. |
getToolCallInfoBuilder()
public GeneratorSuggestion.ToolCallInfo.Builder getToolCallInfoBuilder()Optional. Tool execution request/response details.
.google.cloud.dialogflow.v2.GeneratorSuggestion.ToolCallInfo tool_call_info = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.ToolCallInfo.Builder |
|
getToolCallInfoOrBuilder()
public GeneratorSuggestion.ToolCallInfoOrBuilder getToolCallInfoOrBuilder()Optional. Tool execution request/response details.
.google.cloud.dialogflow.v2.GeneratorSuggestion.ToolCallInfo tool_call_info = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.ToolCallInfoOrBuilder |
|
hasToolCallInfo()
public boolean hasToolCallInfo()Optional. Tool execution request/response details.
.google.cloud.dialogflow.v2.GeneratorSuggestion.ToolCallInfo tool_call_info = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the toolCallInfo field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ToolCallSuggestion other)
public ToolCallSuggestion.Builder mergeFrom(ToolCallSuggestion other)| Parameter | |
|---|---|
| Name | Description |
other |
ToolCallSuggestion |
| Returns | |
|---|---|
| Type | Description |
ToolCallSuggestion.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ToolCallSuggestion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ToolCallSuggestion.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ToolCallSuggestion.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ToolCallSuggestion.Builder |
|
mergeToolCallInfo(GeneratorSuggestion.ToolCallInfo value)
public ToolCallSuggestion.Builder mergeToolCallInfo(GeneratorSuggestion.ToolCallInfo value)Optional. Tool execution request/response details.
.google.cloud.dialogflow.v2.GeneratorSuggestion.ToolCallInfo tool_call_info = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
GeneratorSuggestion.ToolCallInfo |
| Returns | |
|---|---|
| Type | Description |
ToolCallSuggestion.Builder |
|
setTextUpdate(String value)
public ToolCallSuggestion.Builder setTextUpdate(String value)Optional. The conversational text update generated by the agent accompanying this tool call (e.g. "The status of your order 12345 is currently being retrieved..."). This is a status update emitted alongside in-flight tool execution and is not accumulated into the final response.
string text_update = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe textUpdate to set. |
| Returns | |
|---|---|
| Type | Description |
ToolCallSuggestion.Builder |
This builder for chaining. |
setTextUpdateBytes(ByteString value)
public ToolCallSuggestion.Builder setTextUpdateBytes(ByteString value)Optional. The conversational text update generated by the agent accompanying this tool call (e.g. "The status of your order 12345 is currently being retrieved..."). This is a status update emitted alongside in-flight tool execution and is not accumulated into the final response.
string text_update = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for textUpdate to set. |
| Returns | |
|---|---|
| Type | Description |
ToolCallSuggestion.Builder |
This builder for chaining. |
setToolCallInfo(GeneratorSuggestion.ToolCallInfo value)
public ToolCallSuggestion.Builder setToolCallInfo(GeneratorSuggestion.ToolCallInfo value)Optional. Tool execution request/response details.
.google.cloud.dialogflow.v2.GeneratorSuggestion.ToolCallInfo tool_call_info = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
GeneratorSuggestion.ToolCallInfo |
| Returns | |
|---|---|
| Type | Description |
ToolCallSuggestion.Builder |
|
setToolCallInfo(GeneratorSuggestion.ToolCallInfo.Builder builderForValue)
public ToolCallSuggestion.Builder setToolCallInfo(GeneratorSuggestion.ToolCallInfo.Builder builderForValue)Optional. Tool execution request/response details.
.google.cloud.dialogflow.v2.GeneratorSuggestion.ToolCallInfo tool_call_info = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
GeneratorSuggestion.ToolCallInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
ToolCallSuggestion.Builder |
|