Class AutomatedAgentReply.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AutomatedAgentReply.Builder>
com.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.Builder
- All Implemented Interfaces:
AutomatedAgentReplyOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AutomatedAgentReply
public static final class AutomatedAgentReply.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AutomatedAgentReply.Builder>
implements AutomatedAgentReplyOrBuilder
Represents a response from an automated agent.Protobuf type
google.cloud.dialogflow.v2beta1.AutomatedAgentReply-
Method Summary
Modifier and TypeMethodDescriptionaddAllResponseMessages(Iterable<? extends ResponseMessage> values) Response messages from the automated agent.addResponseMessages(int index, ResponseMessage value) Response messages from the automated agent.addResponseMessages(int index, ResponseMessage.Builder builderForValue) Response messages from the automated agent.Response messages from the automated agent.addResponseMessages(ResponseMessage.Builder builderForValue) Response messages from the automated agent.Response messages from the automated agent.addResponseMessagesBuilder(int index) Response messages from the automated agent.build()clear()Indicates whether the partial automated agent reply is interruptible when a later reply message arrives. e.g. if the agent specified some music as partial response, it can be cancelled.AutomatedAgentReply type.The auth code for accessing Call Companion UI.The unique identifier of the current Dialogflow CX conversation page.Deprecated.Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.Event name if an event is triggered for the query.Name of the intent if an intent is matched for the query.The confidence of the match.The collection of current parameters at the time of this response.Response messages from the automated agent.booleanIndicates whether the partial automated agent reply is interruptible when a later reply message arrives. e.g. if the agent specified some music as partial response, it can be cancelled.AutomatedAgentReply type.intAutomatedAgentReply type.com.google.protobuf.ByteStringThe auth code for accessing Call Companion UI.The unique identifier of the current Dialogflow CX conversation page.com.google.protobuf.ByteStringThe unique identifier of the current Dialogflow CX conversation page.com.google.protobuf.StructDeprecated.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.cx_session_parameters is deprecated.com.google.protobuf.Struct.BuilderDeprecated.com.google.protobuf.StructOrBuilderDeprecated.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorResponse of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.getEvent()Event name if an event is triggered for the query.com.google.protobuf.ByteStringEvent name if an event is triggered for the query.Name of the intent if an intent is matched for the query.com.google.protobuf.ByteStringName of the intent if an intent is matched for the query.floatThe confidence of the match.com.google.protobuf.StructThe collection of current parameters at the time of this response.com.google.protobuf.Struct.BuilderThe collection of current parameters at the time of this response.com.google.protobuf.StructOrBuilderThe collection of current parameters at the time of this response.getResponseMessages(int index) Response messages from the automated agent.getResponseMessagesBuilder(int index) Response messages from the automated agent.Response messages from the automated agent.intResponse messages from the automated agent.Response messages from the automated agent.getResponseMessagesOrBuilder(int index) Response messages from the automated agent.List<? extends ResponseMessageOrBuilder>Response messages from the automated agent.booleanDeprecated.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.cx_session_parameters is deprecated.booleanResponse of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.booleanhasEvent()Event name if an event is triggered for the query.booleanName of the intent if an intent is matched for the query.booleanThe collection of current parameters at the time of this response.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCxSessionParameters(com.google.protobuf.Struct value) Deprecated.Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.mergeFrom(AutomatedAgentReply other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeParameters(com.google.protobuf.Struct value) The collection of current parameters at the time of this response.removeResponseMessages(int index) Response messages from the automated agent.setAllowCancellation(boolean value) Indicates whether the partial automated agent reply is interruptible when a later reply message arrives. e.g. if the agent specified some music as partial response, it can be cancelled.AutomatedAgentReply type.setAutomatedAgentReplyTypeValue(int value) AutomatedAgentReply type.setCallCompanionAuthCode(com.google.protobuf.ByteString value) The auth code for accessing Call Companion UI.setCxCurrentPage(String value) The unique identifier of the current Dialogflow CX conversation page.setCxCurrentPageBytes(com.google.protobuf.ByteString value) The unique identifier of the current Dialogflow CX conversation page.setCxSessionParameters(com.google.protobuf.Struct value) Deprecated.setCxSessionParameters(com.google.protobuf.Struct.Builder builderForValue) Deprecated.Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.setDetectIntentResponse(DetectIntentResponse.Builder builderForValue) Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.Event name if an event is triggered for the query.setEventBytes(com.google.protobuf.ByteString value) Event name if an event is triggered for the query.Name of the intent if an intent is matched for the query.setIntentBytes(com.google.protobuf.ByteString value) Name of the intent if an intent is matched for the query.setMatchConfidence(float value) The confidence of the match.setParameters(com.google.protobuf.Struct value) The collection of current parameters at the time of this response.setParameters(com.google.protobuf.Struct.Builder builderForValue) The collection of current parameters at the time of this response.setResponseMessages(int index, ResponseMessage value) Response messages from the automated agent.setResponseMessages(int index, ResponseMessage.Builder builderForValue) Response messages from the automated agent.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<AutomatedAgentReply.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<AutomatedAgentReply.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<AutomatedAgentReply.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<AutomatedAgentReply.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AutomatedAgentReply.Builder>
-
mergeFrom
public AutomatedAgentReply.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<AutomatedAgentReply.Builder>- Throws:
IOException
-
getResponseCase
- Specified by:
getResponseCasein interfaceAutomatedAgentReplyOrBuilder
-
clearResponse
-
getMatchCase
- Specified by:
getMatchCasein interfaceAutomatedAgentReplyOrBuilder
-
clearMatch
-
hasDetectIntentResponse
public boolean hasDetectIntentResponse()Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
.google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1;- Specified by:
hasDetectIntentResponsein interfaceAutomatedAgentReplyOrBuilder- Returns:
- Whether the detectIntentResponse field is set.
-
getDetectIntentResponse
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
.google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1;- Specified by:
getDetectIntentResponsein interfaceAutomatedAgentReplyOrBuilder- Returns:
- The detectIntentResponse.
-
setDetectIntentResponse
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
.google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1; -
setDetectIntentResponse
public AutomatedAgentReply.Builder setDetectIntentResponse(DetectIntentResponse.Builder builderForValue) Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
.google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1; -
mergeDetectIntentResponse
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
.google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1; -
clearDetectIntentResponse
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
.google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1; -
getDetectIntentResponseBuilder
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
.google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1; -
getDetectIntentResponseOrBuilder
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
.google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1;- Specified by:
getDetectIntentResponseOrBuilderin interfaceAutomatedAgentReplyOrBuilder
-
getResponseMessagesList
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;- Specified by:
getResponseMessagesListin interfaceAutomatedAgentReplyOrBuilder
-
getResponseMessagesCount
public int getResponseMessagesCount()Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;- Specified by:
getResponseMessagesCountin interfaceAutomatedAgentReplyOrBuilder
-
getResponseMessages
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;- Specified by:
getResponseMessagesin interfaceAutomatedAgentReplyOrBuilder
-
setResponseMessages
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3; -
setResponseMessages
public AutomatedAgentReply.Builder setResponseMessages(int index, ResponseMessage.Builder builderForValue) Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3; -
addResponseMessages
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3; -
addResponseMessages
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3; -
addResponseMessages
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3; -
addResponseMessages
public AutomatedAgentReply.Builder addResponseMessages(int index, ResponseMessage.Builder builderForValue) Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3; -
addAllResponseMessages
public AutomatedAgentReply.Builder addAllResponseMessages(Iterable<? extends ResponseMessage> values) Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3; -
clearResponseMessages
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3; -
removeResponseMessages
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3; -
getResponseMessagesBuilder
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3; -
getResponseMessagesOrBuilder
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;- Specified by:
getResponseMessagesOrBuilderin interfaceAutomatedAgentReplyOrBuilder
-
getResponseMessagesOrBuilderList
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;- Specified by:
getResponseMessagesOrBuilderListin interfaceAutomatedAgentReplyOrBuilder
-
addResponseMessagesBuilder
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3; -
addResponseMessagesBuilder
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3; -
getResponseMessagesBuilderList
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3; -
hasIntent
public boolean hasIntent()Name of the intent if an intent is matched for the query. For a V2 query, the value format is `projects/<Project ID>/locations/ <Location ID>/agent/intents/<Intent ID>`. For a V3 query, the value format is `projects/<Project ID>/locations/ <Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
string intent = 4 [(.google.api.resource_reference) = { ... }- Specified by:
hasIntentin interfaceAutomatedAgentReplyOrBuilder- Returns:
- Whether the intent field is set.
-
getIntent
Name of the intent if an intent is matched for the query. For a V2 query, the value format is `projects/<Project ID>/locations/ <Location ID>/agent/intents/<Intent ID>`. For a V3 query, the value format is `projects/<Project ID>/locations/ <Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
string intent = 4 [(.google.api.resource_reference) = { ... }- Specified by:
getIntentin interfaceAutomatedAgentReplyOrBuilder- Returns:
- The intent.
-
getIntentBytes
public com.google.protobuf.ByteString getIntentBytes()Name of the intent if an intent is matched for the query. For a V2 query, the value format is `projects/<Project ID>/locations/ <Location ID>/agent/intents/<Intent ID>`. For a V3 query, the value format is `projects/<Project ID>/locations/ <Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
string intent = 4 [(.google.api.resource_reference) = { ... }- Specified by:
getIntentBytesin interfaceAutomatedAgentReplyOrBuilder- Returns:
- The bytes for intent.
-
setIntent
Name of the intent if an intent is matched for the query. For a V2 query, the value format is `projects/<Project ID>/locations/ <Location ID>/agent/intents/<Intent ID>`. For a V3 query, the value format is `projects/<Project ID>/locations/ <Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
string intent = 4 [(.google.api.resource_reference) = { ... }- Parameters:
value- The intent to set.- Returns:
- This builder for chaining.
-
clearIntent
Name of the intent if an intent is matched for the query. For a V2 query, the value format is `projects/<Project ID>/locations/ <Location ID>/agent/intents/<Intent ID>`. For a V3 query, the value format is `projects/<Project ID>/locations/ <Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
string intent = 4 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setIntentBytes
Name of the intent if an intent is matched for the query. For a V2 query, the value format is `projects/<Project ID>/locations/ <Location ID>/agent/intents/<Intent ID>`. For a V3 query, the value format is `projects/<Project ID>/locations/ <Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
string intent = 4 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for intent to set.- Returns:
- This builder for chaining.
-
hasEvent
public boolean hasEvent()Event name if an event is triggered for the query.
string event = 5;- Specified by:
hasEventin interfaceAutomatedAgentReplyOrBuilder- Returns:
- Whether the event field is set.
-
getEvent
Event name if an event is triggered for the query.
string event = 5;- Specified by:
getEventin interfaceAutomatedAgentReplyOrBuilder- Returns:
- The event.
-
getEventBytes
public com.google.protobuf.ByteString getEventBytes()Event name if an event is triggered for the query.
string event = 5;- Specified by:
getEventBytesin interfaceAutomatedAgentReplyOrBuilder- Returns:
- The bytes for event.
-
setEvent
Event name if an event is triggered for the query.
string event = 5;- Parameters:
value- The event to set.- Returns:
- This builder for chaining.
-
clearEvent
Event name if an event is triggered for the query.
string event = 5;- Returns:
- This builder for chaining.
-
setEventBytes
Event name if an event is triggered for the query.
string event = 5;- Parameters:
value- The bytes for event to set.- Returns:
- This builder for chaining.
-
getMatchConfidence
public float getMatchConfidence()The confidence of the match. Values range from 0.0 (completely uncertain) to 1.0 (completely certain). This value is for informational purpose only and is only used to help match the best intent within the classification threshold. This value may change for the same end-user expression at any time due to a model retraining or change in implementation.
float match_confidence = 9;- Specified by:
getMatchConfidencein interfaceAutomatedAgentReplyOrBuilder- Returns:
- The matchConfidence.
-
setMatchConfidence
The confidence of the match. Values range from 0.0 (completely uncertain) to 1.0 (completely certain). This value is for informational purpose only and is only used to help match the best intent within the classification threshold. This value may change for the same end-user expression at any time due to a model retraining or change in implementation.
float match_confidence = 9;- Parameters:
value- The matchConfidence to set.- Returns:
- This builder for chaining.
-
clearMatchConfidence
The confidence of the match. Values range from 0.0 (completely uncertain) to 1.0 (completely certain). This value is for informational purpose only and is only used to help match the best intent within the classification threshold. This value may change for the same end-user expression at any time due to a model retraining or change in implementation.
float match_confidence = 9;- Returns:
- This builder for chaining.
-
hasParameters
public boolean hasParameters()The collection of current parameters at the time of this response.
.google.protobuf.Struct parameters = 10;- Specified by:
hasParametersin interfaceAutomatedAgentReplyOrBuilder- Returns:
- Whether the parameters field is set.
-
getParameters
public com.google.protobuf.Struct getParameters()The collection of current parameters at the time of this response.
.google.protobuf.Struct parameters = 10;- Specified by:
getParametersin interfaceAutomatedAgentReplyOrBuilder- Returns:
- The parameters.
-
setParameters
The collection of current parameters at the time of this response.
.google.protobuf.Struct parameters = 10; -
setParameters
public AutomatedAgentReply.Builder setParameters(com.google.protobuf.Struct.Builder builderForValue) The collection of current parameters at the time of this response.
.google.protobuf.Struct parameters = 10; -
mergeParameters
The collection of current parameters at the time of this response.
.google.protobuf.Struct parameters = 10; -
clearParameters
The collection of current parameters at the time of this response.
.google.protobuf.Struct parameters = 10; -
getParametersBuilder
public com.google.protobuf.Struct.Builder getParametersBuilder()The collection of current parameters at the time of this response.
.google.protobuf.Struct parameters = 10; -
getParametersOrBuilder
public com.google.protobuf.StructOrBuilder getParametersOrBuilder()The collection of current parameters at the time of this response.
.google.protobuf.Struct parameters = 10;- Specified by:
getParametersOrBuilderin interfaceAutomatedAgentReplyOrBuilder
-
hasCxSessionParameters
Deprecated.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.cx_session_parameters is deprecated. See google/cloud/dialogflow/v2beta1/participant.proto;l=584The collection of current Dialogflow CX agent session parameters at the time of this response. Deprecated: Use `parameters` instead.
.google.protobuf.Struct cx_session_parameters = 6 [deprecated = true];- Specified by:
hasCxSessionParametersin interfaceAutomatedAgentReplyOrBuilder- Returns:
- Whether the cxSessionParameters field is set.
-
getCxSessionParameters
Deprecated.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.cx_session_parameters is deprecated. See google/cloud/dialogflow/v2beta1/participant.proto;l=584The collection of current Dialogflow CX agent session parameters at the time of this response. Deprecated: Use `parameters` instead.
.google.protobuf.Struct cx_session_parameters = 6 [deprecated = true];- Specified by:
getCxSessionParametersin interfaceAutomatedAgentReplyOrBuilder- Returns:
- The cxSessionParameters.
-
setCxSessionParameters
@Deprecated public AutomatedAgentReply.Builder setCxSessionParameters(com.google.protobuf.Struct value) Deprecated.The collection of current Dialogflow CX agent session parameters at the time of this response. Deprecated: Use `parameters` instead.
.google.protobuf.Struct cx_session_parameters = 6 [deprecated = true]; -
setCxSessionParameters
@Deprecated public AutomatedAgentReply.Builder setCxSessionParameters(com.google.protobuf.Struct.Builder builderForValue) Deprecated.The collection of current Dialogflow CX agent session parameters at the time of this response. Deprecated: Use `parameters` instead.
.google.protobuf.Struct cx_session_parameters = 6 [deprecated = true]; -
mergeCxSessionParameters
@Deprecated public AutomatedAgentReply.Builder mergeCxSessionParameters(com.google.protobuf.Struct value) Deprecated.The collection of current Dialogflow CX agent session parameters at the time of this response. Deprecated: Use `parameters` instead.
.google.protobuf.Struct cx_session_parameters = 6 [deprecated = true]; -
clearCxSessionParameters
Deprecated.The collection of current Dialogflow CX agent session parameters at the time of this response. Deprecated: Use `parameters` instead.
.google.protobuf.Struct cx_session_parameters = 6 [deprecated = true]; -
getCxSessionParametersBuilder
Deprecated.The collection of current Dialogflow CX agent session parameters at the time of this response. Deprecated: Use `parameters` instead.
.google.protobuf.Struct cx_session_parameters = 6 [deprecated = true]; -
getCxSessionParametersOrBuilder
Deprecated.The collection of current Dialogflow CX agent session parameters at the time of this response. Deprecated: Use `parameters` instead.
.google.protobuf.Struct cx_session_parameters = 6 [deprecated = true];- Specified by:
getCxSessionParametersOrBuilderin interfaceAutomatedAgentReplyOrBuilder
-
getAutomatedAgentReplyTypeValue
public int getAutomatedAgentReplyTypeValue()AutomatedAgentReply type.
.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.AutomatedAgentReplyType automated_agent_reply_type = 7;- Specified by:
getAutomatedAgentReplyTypeValuein interfaceAutomatedAgentReplyOrBuilder- Returns:
- The enum numeric value on the wire for automatedAgentReplyType.
-
setAutomatedAgentReplyTypeValue
AutomatedAgentReply type.
.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.AutomatedAgentReplyType automated_agent_reply_type = 7;- Parameters:
value- The enum numeric value on the wire for automatedAgentReplyType to set.- Returns:
- This builder for chaining.
-
getAutomatedAgentReplyType
AutomatedAgentReply type.
.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.AutomatedAgentReplyType automated_agent_reply_type = 7;- Specified by:
getAutomatedAgentReplyTypein interfaceAutomatedAgentReplyOrBuilder- Returns:
- The automatedAgentReplyType.
-
setAutomatedAgentReplyType
public AutomatedAgentReply.Builder setAutomatedAgentReplyType(AutomatedAgentReply.AutomatedAgentReplyType value) AutomatedAgentReply type.
.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.AutomatedAgentReplyType automated_agent_reply_type = 7;- Parameters:
value- The automatedAgentReplyType to set.- Returns:
- This builder for chaining.
-
clearAutomatedAgentReplyType
AutomatedAgentReply type.
.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.AutomatedAgentReplyType automated_agent_reply_type = 7;- Returns:
- This builder for chaining.
-
getAllowCancellation
public boolean getAllowCancellation()Indicates whether the partial automated agent reply is interruptible when a later reply message arrives. e.g. if the agent specified some music as partial response, it can be cancelled.
bool allow_cancellation = 8;- Specified by:
getAllowCancellationin interfaceAutomatedAgentReplyOrBuilder- Returns:
- The allowCancellation.
-
setAllowCancellation
Indicates whether the partial automated agent reply is interruptible when a later reply message arrives. e.g. if the agent specified some music as partial response, it can be cancelled.
bool allow_cancellation = 8;- Parameters:
value- The allowCancellation to set.- Returns:
- This builder for chaining.
-
clearAllowCancellation
Indicates whether the partial automated agent reply is interruptible when a later reply message arrives. e.g. if the agent specified some music as partial response, it can be cancelled.
bool allow_cancellation = 8;- Returns:
- This builder for chaining.
-
getCxCurrentPage
The unique identifier of the current Dialogflow CX conversation page. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>`.
string cx_current_page = 11;- Specified by:
getCxCurrentPagein interfaceAutomatedAgentReplyOrBuilder- Returns:
- The cxCurrentPage.
-
getCxCurrentPageBytes
public com.google.protobuf.ByteString getCxCurrentPageBytes()The unique identifier of the current Dialogflow CX conversation page. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>`.
string cx_current_page = 11;- Specified by:
getCxCurrentPageBytesin interfaceAutomatedAgentReplyOrBuilder- Returns:
- The bytes for cxCurrentPage.
-
setCxCurrentPage
The unique identifier of the current Dialogflow CX conversation page. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>`.
string cx_current_page = 11;- Parameters:
value- The cxCurrentPage to set.- Returns:
- This builder for chaining.
-
clearCxCurrentPage
The unique identifier of the current Dialogflow CX conversation page. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>`.
string cx_current_page = 11;- Returns:
- This builder for chaining.
-
setCxCurrentPageBytes
The unique identifier of the current Dialogflow CX conversation page. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>`.
string cx_current_page = 11;- Parameters:
value- The bytes for cxCurrentPage to set.- Returns:
- This builder for chaining.
-
getCallCompanionAuthCode
public com.google.protobuf.ByteString getCallCompanionAuthCode()The auth code for accessing Call Companion UI.
bytes call_companion_auth_code = 12;- Specified by:
getCallCompanionAuthCodein interfaceAutomatedAgentReplyOrBuilder- Returns:
- The callCompanionAuthCode.
-
setCallCompanionAuthCode
The auth code for accessing Call Companion UI.
bytes call_companion_auth_code = 12;- Parameters:
value- The callCompanionAuthCode to set.- Returns:
- This builder for chaining.
-
clearCallCompanionAuthCode
The auth code for accessing Call Companion UI.
bytes call_companion_auth_code = 12;- Returns:
- This builder for chaining.
-