Package com.google.cloud.dialogflow.v2
Class ToolCall.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ToolCall.Builder>
com.google.cloud.dialogflow.v2.ToolCall.Builder
- All Implemented Interfaces:
ToolCallOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ToolCall
public static final class ToolCall.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ToolCall.Builder>
implements ToolCallOrBuilder
Represents a call of a specific tool's action with the specified inputs.Protobuf type
google.cloud.dialogflow.v2.ToolCall-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Optional.Optional.Optional.Optional.Output only.Optional.Output only.Optional.Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.StructOptional.com.google.protobuf.Struct.BuilderOptional.com.google.protobuf.StructOrBuilderOptional.getState()Output only.intOutput only.getTool()Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.booleanOptional.booleanOptional.booleanOptional.booleanOutput only.booleanOptional.booleanhasTool()Optional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeInputParameters(com.google.protobuf.Struct value) Optional.Optional.setActionBytes(com.google.protobuf.ByteString value) Optional.setAnswerRecord(String value) Optional.setAnswerRecordBytes(com.google.protobuf.ByteString value) Optional.Optional.setCesAppBytes(com.google.protobuf.ByteString value) Optional.setCesTool(String value) Optional.setCesToolBytes(com.google.protobuf.ByteString value) Optional.setCesToolset(String value) Optional.setCesToolsetBytes(com.google.protobuf.ByteString value) Optional.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setInputParameters(com.google.protobuf.Struct value) Optional.setInputParameters(com.google.protobuf.Struct.Builder builderForValue) Optional.setState(ToolCall.State value) Output only.setStateValue(int value) Output only.Optional.setToolBytes(com.google.protobuf.ByteString value) Optional.setToolDisplayDetails(String value) Optional.setToolDisplayDetailsBytes(com.google.protobuf.ByteString value) Optional.setToolDisplayName(String value) Optional.setToolDisplayNameBytes(com.google.protobuf.ByteString value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ToolCall.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ToolCall.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ToolCall.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ToolCall.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ToolCall.Builder>
-
mergeFrom
public ToolCall.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ToolCall.Builder>- Throws:
IOException
-
getSourceCase
- Specified by:
getSourceCasein interfaceToolCallOrBuilder
-
clearSource
-
hasTool
public boolean hasTool()Optional. The [tool][google.cloud.dialogflow.v2.Tool] associated with this call. Format: `projects/<ProjectID>/locations/<LocationID>/tools/<ToolID>`.
string tool = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
hasToolin interfaceToolCallOrBuilder- Returns:
- Whether the tool field is set.
-
getTool
Optional. The [tool][google.cloud.dialogflow.v2.Tool] associated with this call. Format: `projects/<ProjectID>/locations/<LocationID>/tools/<ToolID>`.
string tool = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getToolin interfaceToolCallOrBuilder- Returns:
- The tool.
-
getToolBytes
public com.google.protobuf.ByteString getToolBytes()Optional. The [tool][google.cloud.dialogflow.v2.Tool] associated with this call. Format: `projects/<ProjectID>/locations/<LocationID>/tools/<ToolID>`.
string tool = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getToolBytesin interfaceToolCallOrBuilder- Returns:
- The bytes for tool.
-
setTool
Optional. The [tool][google.cloud.dialogflow.v2.Tool] associated with this call. Format: `projects/<ProjectID>/locations/<LocationID>/tools/<ToolID>`.
string tool = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The tool to set.- Returns:
- This builder for chaining.
-
clearTool
Optional. The [tool][google.cloud.dialogflow.v2.Tool] associated with this call. Format: `projects/<ProjectID>/locations/<LocationID>/tools/<ToolID>`.
string tool = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setToolBytes
Optional. The [tool][google.cloud.dialogflow.v2.Tool] associated with this call. Format: `projects/<ProjectID>/locations/<LocationID>/tools/<ToolID>`.
string tool = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for tool to set.- Returns:
- This builder for chaining.
-
hasCesTool
public boolean hasCesTool()Optional. CES tool name for this call. Format: `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>/tools/<ToolID>`.
string ces_tool = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
hasCesToolin interfaceToolCallOrBuilder- Returns:
- Whether the cesTool field is set.
-
getCesTool
Optional. CES tool name for this call. Format: `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>/tools/<ToolID>`.
string ces_tool = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getCesToolin interfaceToolCallOrBuilder- Returns:
- The cesTool.
-
getCesToolBytes
public com.google.protobuf.ByteString getCesToolBytes()Optional. CES tool name for this call. Format: `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>/tools/<ToolID>`.
string ces_tool = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getCesToolBytesin interfaceToolCallOrBuilder- Returns:
- The bytes for cesTool.
-
setCesTool
Optional. CES tool name for this call. Format: `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>/tools/<ToolID>`.
string ces_tool = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The cesTool to set.- Returns:
- This builder for chaining.
-
clearCesTool
Optional. CES tool name for this call. Format: `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>/tools/<ToolID>`.
string ces_tool = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setCesToolBytes
Optional. CES tool name for this call. Format: `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>/tools/<ToolID>`.
string ces_tool = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for cesTool to set.- Returns:
- This builder for chaining.
-
hasCesToolset
public boolean hasCesToolset()Optional. CES toolset name for this call. Format: `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>/toolsets/ToolsetID>`.
string ces_toolset = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
hasCesToolsetin interfaceToolCallOrBuilder- Returns:
- Whether the cesToolset field is set.
-
getCesToolset
Optional. CES toolset name for this call. Format: `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>/toolsets/ToolsetID>`.
string ces_toolset = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getCesToolsetin interfaceToolCallOrBuilder- Returns:
- The cesToolset.
-
getCesToolsetBytes
public com.google.protobuf.ByteString getCesToolsetBytes()Optional. CES toolset name for this call. Format: `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>/toolsets/ToolsetID>`.
string ces_toolset = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getCesToolsetBytesin interfaceToolCallOrBuilder- Returns:
- The bytes for cesToolset.
-
setCesToolset
Optional. CES toolset name for this call. Format: `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>/toolsets/ToolsetID>`.
string ces_toolset = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The cesToolset to set.- Returns:
- This builder for chaining.
-
clearCesToolset
Optional. CES toolset name for this call. Format: `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>/toolsets/ToolsetID>`.
string ces_toolset = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setCesToolsetBytes
Optional. CES toolset name for this call. Format: `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>/toolsets/ToolsetID>`.
string ces_toolset = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for cesToolset to set.- Returns:
- This builder for chaining.
-
hasCesApp
public boolean hasCesApp()Optional. CES app name for this call. Format: `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>`.
string ces_app = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
hasCesAppin interfaceToolCallOrBuilder- Returns:
- Whether the cesApp field is set.
-
getCesApp
Optional. CES app name for this call. Format: `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>`.
string ces_app = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getCesAppin interfaceToolCallOrBuilder- Returns:
- The cesApp.
-
getCesAppBytes
public com.google.protobuf.ByteString getCesAppBytes()Optional. CES app name for this call. Format: `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>`.
string ces_app = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getCesAppBytesin interfaceToolCallOrBuilder- Returns:
- The bytes for cesApp.
-
setCesApp
Optional. CES app name for this call. Format: `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>`.
string ces_app = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The cesApp to set.- Returns:
- This builder for chaining.
-
clearCesApp
Optional. CES app name for this call. Format: `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>`.
string ces_app = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setCesAppBytes
Optional. CES app name for this call. Format: `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>`.
string ces_app = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for cesApp to set.- Returns:
- This builder for chaining.
-
getToolDisplayName
Optional. A human readable short name of the tool, to be shown on the UI.
string tool_display_name = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getToolDisplayNamein interfaceToolCallOrBuilder- Returns:
- The toolDisplayName.
-
getToolDisplayNameBytes
public com.google.protobuf.ByteString getToolDisplayNameBytes()Optional. A human readable short name of the tool, to be shown on the UI.
string tool_display_name = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getToolDisplayNameBytesin interfaceToolCallOrBuilder- Returns:
- The bytes for toolDisplayName.
-
setToolDisplayName
Optional. A human readable short name of the tool, to be shown on the UI.
string tool_display_name = 9 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The toolDisplayName to set.- Returns:
- This builder for chaining.
-
clearToolDisplayName
Optional. A human readable short name of the tool, to be shown on the UI.
string tool_display_name = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setToolDisplayNameBytes
Optional. A human readable short name of the tool, to be shown on the UI.
string tool_display_name = 9 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for toolDisplayName to set.- Returns:
- This builder for chaining.
-
getToolDisplayDetails
Optional. A human readable description of the tool.
string tool_display_details = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getToolDisplayDetailsin interfaceToolCallOrBuilder- Returns:
- The toolDisplayDetails.
-
getToolDisplayDetailsBytes
public com.google.protobuf.ByteString getToolDisplayDetailsBytes()Optional. A human readable description of the tool.
string tool_display_details = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getToolDisplayDetailsBytesin interfaceToolCallOrBuilder- Returns:
- The bytes for toolDisplayDetails.
-
setToolDisplayDetails
Optional. A human readable description of the tool.
string tool_display_details = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The toolDisplayDetails to set.- Returns:
- This builder for chaining.
-
clearToolDisplayDetails
Optional. A human readable description of the tool.
string tool_display_details = 10 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setToolDisplayDetailsBytes
Optional. A human readable description of the tool.
string tool_display_details = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for toolDisplayDetails to set.- Returns:
- This builder for chaining.
-
getAction
Optional. The name of the tool's action associated with this call.
string action = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getActionin interfaceToolCallOrBuilder- Returns:
- The action.
-
getActionBytes
public com.google.protobuf.ByteString getActionBytes()Optional. The name of the tool's action associated with this call.
string action = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getActionBytesin interfaceToolCallOrBuilder- Returns:
- The bytes for action.
-
setAction
Optional. The name of the tool's action associated with this call.
string action = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The action to set.- Returns:
- This builder for chaining.
-
clearAction
Optional. The name of the tool's action associated with this call.
string action = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setActionBytes
Optional. The name of the tool's action associated with this call.
string action = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for action to set.- Returns:
- This builder for chaining.
-
hasInputParameters
public boolean hasInputParameters()Optional. The action's input parameters.
.google.protobuf.Struct input_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasInputParametersin interfaceToolCallOrBuilder- Returns:
- Whether the inputParameters field is set.
-
getInputParameters
public com.google.protobuf.Struct getInputParameters()Optional. The action's input parameters.
.google.protobuf.Struct input_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getInputParametersin interfaceToolCallOrBuilder- Returns:
- The inputParameters.
-
setInputParameters
Optional. The action's input parameters.
.google.protobuf.Struct input_parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; -
setInputParameters
Optional. The action's input parameters.
.google.protobuf.Struct input_parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; -
mergeInputParameters
Optional. The action's input parameters.
.google.protobuf.Struct input_parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; -
clearInputParameters
Optional. The action's input parameters.
.google.protobuf.Struct input_parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getInputParametersBuilder
public com.google.protobuf.Struct.Builder getInputParametersBuilder()Optional. The action's input parameters.
.google.protobuf.Struct input_parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getInputParametersOrBuilder
public com.google.protobuf.StructOrBuilder getInputParametersOrBuilder()Optional. The action's input parameters.
.google.protobuf.Struct input_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getInputParametersOrBuilderin interfaceToolCallOrBuilder
-
hasCreateTime
public boolean hasCreateTime()Output only. Create time of the tool call.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceToolCallOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Create time of the tool call.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceToolCallOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. Create time of the tool call.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. Create time of the tool call.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. Create time of the tool call.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. Create time of the tool call.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. Create time of the tool call.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Create time of the tool call.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceToolCallOrBuilder
-
getAnswerRecord
Optional. The answer record associated with this tool call.
string answer_record = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnswerRecordin interfaceToolCallOrBuilder- Returns:
- The answerRecord.
-
getAnswerRecordBytes
public com.google.protobuf.ByteString getAnswerRecordBytes()Optional. The answer record associated with this tool call.
string answer_record = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnswerRecordBytesin interfaceToolCallOrBuilder- Returns:
- The bytes for answerRecord.
-
setAnswerRecord
Optional. The answer record associated with this tool call.
string answer_record = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The answerRecord to set.- Returns:
- This builder for chaining.
-
clearAnswerRecord
Optional. The answer record associated with this tool call.
string answer_record = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setAnswerRecordBytes
Optional. The answer record associated with this tool call.
string answer_record = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for answerRecord to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()Output only. State of the tool call.
.google.cloud.dialogflow.v2.ToolCall.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceToolCallOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. State of the tool call.
.google.cloud.dialogflow.v2.ToolCall.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. State of the tool call.
.google.cloud.dialogflow.v2.ToolCall.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceToolCallOrBuilder- Returns:
- The state.
-
setState
Output only. State of the tool call.
.google.cloud.dialogflow.v2.ToolCall.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. State of the tool call.
.google.cloud.dialogflow.v2.ToolCall.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-