- 0.89.0 (latest)
- 0.87.0
- 0.86.0
- 0.85.0
- 0.84.0
- 0.83.0
- 0.81.0
- 0.79.0
- 0.78.0
- 0.75.0
- 0.74.0
- 0.73.0
- 0.71.0
- 0.70.0
- 0.69.0
- 0.68.0
- 0.67.0
- 0.66.0
- 0.65.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class ToolCallResult.Builder extends GeneratedMessageV3.Builder<ToolCallResult.Builder> implements ToolCallResultOrBuilderThe result of calling a tool's action that has been executed by the client.
 Protobuf type google.cloud.dialogflow.cx.v3beta1.ToolCallResult
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ToolCallResult.BuilderImplements
ToolCallResultOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ToolCallResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.Builder | |
build()
public ToolCallResult build()| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult | |
buildPartial()
public ToolCallResult buildPartial()| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult | |
clear()
public ToolCallResult.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.Builder | |
clearAction()
public ToolCallResult.Builder clearAction()The name of the tool's action associated with this call.
 string action = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.Builder | This builder for chaining. | 
clearError()
public ToolCallResult.Builder clearError()The tool call's error.
 .google.cloud.dialogflow.cx.v3beta1.ToolCallResult.Error error = 3;
| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.Builder | |
clearField(Descriptors.FieldDescriptor field)
public ToolCallResult.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.Builder | |
clearOneof(Descriptors.OneofDescriptor oneof)
public ToolCallResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.Builder | |
clearOutputParameters()
public ToolCallResult.Builder clearOutputParameters()The tool call's output parameters.
 .google.protobuf.Struct output_parameters = 4;
| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.Builder | |
clearResult()
public ToolCallResult.Builder clearResult()| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.Builder | |
clearTool()
public ToolCallResult.Builder clearTool() The tool associated with this call.
 Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
 ID>/tools/<Tool ID>.
 
 string tool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.Builder | This builder for chaining. | 
clone()
public ToolCallResult.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.Builder | |
getAction()
public String getAction()The name of the tool's action associated with this call.
 string action = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| String | The action. | 
getActionBytes()
public ByteString getActionBytes()The name of the tool's action associated with this call.
 string action = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for action. | 
getDefaultInstanceForType()
public ToolCallResult getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getError()
public ToolCallResult.Error getError()The tool call's error.
 .google.cloud.dialogflow.cx.v3beta1.ToolCallResult.Error error = 3;
| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.Error | The error. | 
getErrorBuilder()
public ToolCallResult.Error.Builder getErrorBuilder()The tool call's error.
 .google.cloud.dialogflow.cx.v3beta1.ToolCallResult.Error error = 3;
| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.Error.Builder | |
getErrorOrBuilder()
public ToolCallResult.ErrorOrBuilder getErrorOrBuilder()The tool call's error.
 .google.cloud.dialogflow.cx.v3beta1.ToolCallResult.Error error = 3;
| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.ErrorOrBuilder | |
getOutputParameters()
public Struct getOutputParameters()The tool call's output parameters.
 .google.protobuf.Struct output_parameters = 4;
| Returns | |
|---|---|
| Type | Description | 
| Struct | The outputParameters. | 
getOutputParametersBuilder()
public Struct.Builder getOutputParametersBuilder()The tool call's output parameters.
 .google.protobuf.Struct output_parameters = 4;
| Returns | |
|---|---|
| Type | Description | 
| Builder | |
getOutputParametersOrBuilder()
public StructOrBuilder getOutputParametersOrBuilder()The tool call's output parameters.
 .google.protobuf.Struct output_parameters = 4;
| Returns | |
|---|---|
| Type | Description | 
| StructOrBuilder | |
getResultCase()
public ToolCallResult.ResultCase getResultCase()| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.ResultCase | |
getTool()
public String getTool() The tool associated with this call.
 Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
 ID>/tools/<Tool ID>.
 
 string tool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
| String | The tool. | 
getToolBytes()
public ByteString getToolBytes() The tool associated with this call.
 Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
 ID>/tools/<Tool ID>.
 
 string tool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for tool. | 
hasError()
public boolean hasError()The tool call's error.
 .google.cloud.dialogflow.cx.v3beta1.ToolCallResult.Error error = 3;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the error field is set. | 
hasOutputParameters()
public boolean hasOutputParameters()The tool call's output parameters.
 .google.protobuf.Struct output_parameters = 4;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the outputParameters field is set. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeError(ToolCallResult.Error value)
public ToolCallResult.Builder mergeError(ToolCallResult.Error value)The tool call's error.
 .google.cloud.dialogflow.cx.v3beta1.ToolCallResult.Error error = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | ToolCallResult.Error | 
| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.Builder | |
mergeFrom(ToolCallResult other)
public ToolCallResult.Builder mergeFrom(ToolCallResult other)| Parameter | |
|---|---|
| Name | Description | 
| other | ToolCallResult | 
| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ToolCallResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public ToolCallResult.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.Builder | |
mergeOutputParameters(Struct value)
public ToolCallResult.Builder mergeOutputParameters(Struct value)The tool call's output parameters.
 .google.protobuf.Struct output_parameters = 4;
| Parameter | |
|---|---|
| Name | Description | 
| value | Struct | 
| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ToolCallResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.Builder | |
setAction(String value)
public ToolCallResult.Builder setAction(String value)The name of the tool's action associated with this call.
 string action = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe action to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.Builder | This builder for chaining. | 
setActionBytes(ByteString value)
public ToolCallResult.Builder setActionBytes(ByteString value)The name of the tool's action associated with this call.
 string action = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for action to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.Builder | This builder for chaining. | 
setError(ToolCallResult.Error value)
public ToolCallResult.Builder setError(ToolCallResult.Error value)The tool call's error.
 .google.cloud.dialogflow.cx.v3beta1.ToolCallResult.Error error = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | ToolCallResult.Error | 
| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.Builder | |
setError(ToolCallResult.Error.Builder builderForValue)
public ToolCallResult.Builder setError(ToolCallResult.Error.Builder builderForValue)The tool call's error.
 .google.cloud.dialogflow.cx.v3beta1.ToolCallResult.Error error = 3;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | ToolCallResult.Error.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.Builder | |
setField(Descriptors.FieldDescriptor field, Object value)
public ToolCallResult.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.Builder | |
setOutputParameters(Struct value)
public ToolCallResult.Builder setOutputParameters(Struct value)The tool call's output parameters.
 .google.protobuf.Struct output_parameters = 4;
| Parameter | |
|---|---|
| Name | Description | 
| value | Struct | 
| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.Builder | |
setOutputParameters(Struct.Builder builderForValue)
public ToolCallResult.Builder setOutputParameters(Struct.Builder builderForValue)The tool call's output parameters.
 .google.protobuf.Struct output_parameters = 4;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Builder | 
| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.Builder | |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ToolCallResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.Builder | |
setTool(String value)
public ToolCallResult.Builder setTool(String value) The tool associated with this call.
 Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
 ID>/tools/<Tool ID>.
 
 string tool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe tool to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.Builder | This builder for chaining. | 
setToolBytes(ByteString value)
public ToolCallResult.Builder setToolBytes(ByteString value) The tool associated with this call.
 Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
 ID>/tools/<Tool ID>.
 
 string tool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for tool to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.Builder | This builder for chaining. | 
setUnknownFields(UnknownFieldSet unknownFields)
public final ToolCallResult.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.Builder | |