public static final class AutomatedAgentReply.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AutomatedAgentReply.Builder> implements AutomatedAgentReplyOrBuilder
Represents a response from an automated agent.Protobuf type
google.cloud.dialogflow.v2beta1.AutomatedAgentReply| Modifier and Type | Method and Description |
|---|---|
AutomatedAgentReply.Builder |
addAllResponseMessages(Iterable<? extends ResponseMessage> values)
Response messages from the automated agent.
|
AutomatedAgentReply.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AutomatedAgentReply.Builder |
addResponseMessages(int index,
ResponseMessage.Builder builderForValue)
Response messages from the automated agent.
|
AutomatedAgentReply.Builder |
addResponseMessages(int index,
ResponseMessage value)
Response messages from the automated agent.
|
AutomatedAgentReply.Builder |
addResponseMessages(ResponseMessage.Builder builderForValue)
Response messages from the automated agent.
|
AutomatedAgentReply.Builder |
addResponseMessages(ResponseMessage value)
Response messages from the automated agent.
|
ResponseMessage.Builder |
addResponseMessagesBuilder()
Response messages from the automated agent.
|
ResponseMessage.Builder |
addResponseMessagesBuilder(int index)
Response messages from the automated agent.
|
AutomatedAgentReply |
build() |
AutomatedAgentReply |
buildPartial() |
AutomatedAgentReply.Builder |
clear() |
AutomatedAgentReply.Builder |
clearAllowCancellation()
Indicates whether the partial automated agent reply is interruptible when a
later reply message arrives.
|
AutomatedAgentReply.Builder |
clearAutomatedAgentReplyType()
AutomatedAgentReply type.
|
AutomatedAgentReply.Builder |
clearCxCurrentPage()
The unique identifier of the current Dialogflow CX conversation page.
|
AutomatedAgentReply.Builder |
clearCxSessionParameters()
Deprecated.
|
AutomatedAgentReply.Builder |
clearDetectIntentResponse()
Response of the Dialogflow
[Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent]
call.
|
AutomatedAgentReply.Builder |
clearEvent()
Event name if an event is triggered for the query.
|
AutomatedAgentReply.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AutomatedAgentReply.Builder |
clearIntent()
Name of the intent if an intent is matched for the query.
|
AutomatedAgentReply.Builder |
clearMatch() |
AutomatedAgentReply.Builder |
clearMatchConfidence()
The confidence of the match.
|
AutomatedAgentReply.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AutomatedAgentReply.Builder |
clearParameters()
The collection of current parameters at the time of this response.
|
AutomatedAgentReply.Builder |
clearResponse() |
AutomatedAgentReply.Builder |
clearResponseMessages()
Response messages from the automated agent.
|
AutomatedAgentReply.Builder |
clone() |
boolean |
getAllowCancellation()
Indicates whether the partial automated agent reply is interruptible when a
later reply message arrives.
|
AutomatedAgentReply.AutomatedAgentReplyType |
getAutomatedAgentReplyType()
AutomatedAgentReply type.
|
int |
getAutomatedAgentReplyTypeValue()
AutomatedAgentReply type.
|
String |
getCxCurrentPage()
The unique identifier of the current Dialogflow CX conversation page.
|
com.google.protobuf.ByteString |
getCxCurrentPageBytes()
The unique identifier of the current Dialogflow CX conversation page.
|
com.google.protobuf.Struct |
getCxSessionParameters()
Deprecated.
google.cloud.dialogflow.v2beta1.AutomatedAgentReply.cx_session_parameters is
deprecated. See google/cloud/dialogflow/v2beta1/participant.proto;l=524
|
com.google.protobuf.Struct.Builder |
getCxSessionParametersBuilder()
Deprecated.
|
com.google.protobuf.StructOrBuilder |
getCxSessionParametersOrBuilder()
Deprecated.
|
AutomatedAgentReply |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
DetectIntentResponse |
getDetectIntentResponse()
Response of the Dialogflow
[Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent]
call.
|
DetectIntentResponse.Builder |
getDetectIntentResponseBuilder()
Response of the Dialogflow
[Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent]
call.
|
DetectIntentResponseOrBuilder |
getDetectIntentResponseOrBuilder()
Response of the Dialogflow
[Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent]
call.
|
String |
getEvent()
Event name if an event is triggered for the query.
|
com.google.protobuf.ByteString |
getEventBytes()
Event name if an event is triggered for the query.
|
String |
getIntent()
Name of the intent if an intent is matched for the query.
|
com.google.protobuf.ByteString |
getIntentBytes()
Name of the intent if an intent is matched for the query.
|
AutomatedAgentReply.MatchCase |
getMatchCase() |
float |
getMatchConfidence()
The confidence of the match.
|
com.google.protobuf.Struct |
getParameters()
The collection of current parameters at the time of this response.
|
com.google.protobuf.Struct.Builder |
getParametersBuilder()
The collection of current parameters at the time of this response.
|
com.google.protobuf.StructOrBuilder |
getParametersOrBuilder()
The collection of current parameters at the time of this response.
|
AutomatedAgentReply.ResponseCase |
getResponseCase() |
ResponseMessage |
getResponseMessages(int index)
Response messages from the automated agent.
|
ResponseMessage.Builder |
getResponseMessagesBuilder(int index)
Response messages from the automated agent.
|
List<ResponseMessage.Builder> |
getResponseMessagesBuilderList()
Response messages from the automated agent.
|
int |
getResponseMessagesCount()
Response messages from the automated agent.
|
List<ResponseMessage> |
getResponseMessagesList()
Response messages from the automated agent.
|
ResponseMessageOrBuilder |
getResponseMessagesOrBuilder(int index)
Response messages from the automated agent.
|
List<? extends ResponseMessageOrBuilder> |
getResponseMessagesOrBuilderList()
Response messages from the automated agent.
|
boolean |
hasCxSessionParameters()
Deprecated.
google.cloud.dialogflow.v2beta1.AutomatedAgentReply.cx_session_parameters is
deprecated. See google/cloud/dialogflow/v2beta1/participant.proto;l=524
|
boolean |
hasDetectIntentResponse()
Response of the Dialogflow
[Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent]
call.
|
boolean |
hasEvent()
Event name if an event is triggered for the query.
|
boolean |
hasIntent()
Name of the intent if an intent is matched for the query.
|
boolean |
hasParameters()
The collection of current parameters at the time of this response.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AutomatedAgentReply.Builder |
mergeCxSessionParameters(com.google.protobuf.Struct value)
Deprecated.
|
AutomatedAgentReply.Builder |
mergeDetectIntentResponse(DetectIntentResponse value)
Response of the Dialogflow
[Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent]
call.
|
AutomatedAgentReply.Builder |
mergeFrom(AutomatedAgentReply other) |
AutomatedAgentReply.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AutomatedAgentReply.Builder |
mergeFrom(com.google.protobuf.Message other) |
AutomatedAgentReply.Builder |
mergeParameters(com.google.protobuf.Struct value)
The collection of current parameters at the time of this response.
|
AutomatedAgentReply.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AutomatedAgentReply.Builder |
removeResponseMessages(int index)
Response messages from the automated agent.
|
AutomatedAgentReply.Builder |
setAllowCancellation(boolean value)
Indicates whether the partial automated agent reply is interruptible when a
later reply message arrives.
|
AutomatedAgentReply.Builder |
setAutomatedAgentReplyType(AutomatedAgentReply.AutomatedAgentReplyType value)
AutomatedAgentReply type.
|
AutomatedAgentReply.Builder |
setAutomatedAgentReplyTypeValue(int value)
AutomatedAgentReply type.
|
AutomatedAgentReply.Builder |
setCxCurrentPage(String value)
The unique identifier of the current Dialogflow CX conversation page.
|
AutomatedAgentReply.Builder |
setCxCurrentPageBytes(com.google.protobuf.ByteString value)
The unique identifier of the current Dialogflow CX conversation page.
|
AutomatedAgentReply.Builder |
setCxSessionParameters(com.google.protobuf.Struct.Builder builderForValue)
Deprecated.
|
AutomatedAgentReply.Builder |
setCxSessionParameters(com.google.protobuf.Struct value)
Deprecated.
|
AutomatedAgentReply.Builder |
setDetectIntentResponse(DetectIntentResponse.Builder builderForValue)
Response of the Dialogflow
[Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent]
call.
|
AutomatedAgentReply.Builder |
setDetectIntentResponse(DetectIntentResponse value)
Response of the Dialogflow
[Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent]
call.
|
AutomatedAgentReply.Builder |
setEvent(String value)
Event name if an event is triggered for the query.
|
AutomatedAgentReply.Builder |
setEventBytes(com.google.protobuf.ByteString value)
Event name if an event is triggered for the query.
|
AutomatedAgentReply.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AutomatedAgentReply.Builder |
setIntent(String value)
Name of the intent if an intent is matched for the query.
|
AutomatedAgentReply.Builder |
setIntentBytes(com.google.protobuf.ByteString value)
Name of the intent if an intent is matched for the query.
|
AutomatedAgentReply.Builder |
setMatchConfidence(float value)
The confidence of the match.
|
AutomatedAgentReply.Builder |
setParameters(com.google.protobuf.Struct.Builder builderForValue)
The collection of current parameters at the time of this response.
|
AutomatedAgentReply.Builder |
setParameters(com.google.protobuf.Struct value)
The collection of current parameters at the time of this response.
|
AutomatedAgentReply.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AutomatedAgentReply.Builder |
setResponseMessages(int index,
ResponseMessage.Builder builderForValue)
Response messages from the automated agent.
|
AutomatedAgentReply.Builder |
setResponseMessages(int index,
ResponseMessage value)
Response messages from the automated agent.
|
AutomatedAgentReply.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>public AutomatedAgentReply.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>public AutomatedAgentReply getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AutomatedAgentReply build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AutomatedAgentReply buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AutomatedAgentReply.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>public AutomatedAgentReply.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>public AutomatedAgentReply.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>public AutomatedAgentReply.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>public AutomatedAgentReply.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>public AutomatedAgentReply.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>public AutomatedAgentReply.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AutomatedAgentReply.Builder>public AutomatedAgentReply.Builder mergeFrom(AutomatedAgentReply other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>public AutomatedAgentReply.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AutomatedAgentReply.Builder>IOExceptionpublic AutomatedAgentReply.ResponseCase getResponseCase()
getResponseCase in interface AutomatedAgentReplyOrBuilderpublic AutomatedAgentReply.Builder clearResponse()
public AutomatedAgentReply.MatchCase getMatchCase()
getMatchCase in interface AutomatedAgentReplyOrBuilderpublic AutomatedAgentReply.Builder clearMatch()
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;
hasDetectIntentResponse in interface AutomatedAgentReplyOrBuilderpublic DetectIntentResponse getDetectIntentResponse()
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
.google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1;
getDetectIntentResponse in interface AutomatedAgentReplyOrBuilderpublic AutomatedAgentReply.Builder setDetectIntentResponse(DetectIntentResponse value)
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
.google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1;
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;
public AutomatedAgentReply.Builder mergeDetectIntentResponse(DetectIntentResponse value)
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
.google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1;
public AutomatedAgentReply.Builder clearDetectIntentResponse()
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
.google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1;
public DetectIntentResponse.Builder getDetectIntentResponseBuilder()
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
.google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1;
public DetectIntentResponseOrBuilder getDetectIntentResponseOrBuilder()
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
.google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1;
getDetectIntentResponseOrBuilder in interface AutomatedAgentReplyOrBuilderpublic List<ResponseMessage> getResponseMessagesList()
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;getResponseMessagesList in interface AutomatedAgentReplyOrBuilderpublic int getResponseMessagesCount()
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;getResponseMessagesCount in interface AutomatedAgentReplyOrBuilderpublic ResponseMessage getResponseMessages(int index)
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;getResponseMessages in interface AutomatedAgentReplyOrBuilderpublic AutomatedAgentReply.Builder setResponseMessages(int index, ResponseMessage value)
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;public AutomatedAgentReply.Builder setResponseMessages(int index, ResponseMessage.Builder builderForValue)
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;public AutomatedAgentReply.Builder addResponseMessages(ResponseMessage value)
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;public AutomatedAgentReply.Builder addResponseMessages(int index, ResponseMessage value)
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;public AutomatedAgentReply.Builder addResponseMessages(ResponseMessage.Builder builderForValue)
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;public AutomatedAgentReply.Builder addResponseMessages(int index, ResponseMessage.Builder builderForValue)
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;public AutomatedAgentReply.Builder addAllResponseMessages(Iterable<? extends ResponseMessage> values)
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;public AutomatedAgentReply.Builder clearResponseMessages()
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;public AutomatedAgentReply.Builder removeResponseMessages(int index)
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;public ResponseMessage.Builder getResponseMessagesBuilder(int index)
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;public ResponseMessageOrBuilder getResponseMessagesOrBuilder(int index)
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;getResponseMessagesOrBuilder in interface AutomatedAgentReplyOrBuilderpublic List<? extends ResponseMessageOrBuilder> getResponseMessagesOrBuilderList()
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;getResponseMessagesOrBuilderList in interface AutomatedAgentReplyOrBuilderpublic ResponseMessage.Builder addResponseMessagesBuilder()
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;public ResponseMessage.Builder addResponseMessagesBuilder(int index)
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;public List<ResponseMessage.Builder> getResponseMessagesBuilderList()
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;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) = { ... }hasIntent in interface AutomatedAgentReplyOrBuilderpublic String 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) = { ... }getIntent in interface AutomatedAgentReplyOrBuilderpublic 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) = { ... }getIntentBytes in interface AutomatedAgentReplyOrBuilderpublic AutomatedAgentReply.Builder setIntent(String value)
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) = { ... }value - The intent to set.public AutomatedAgentReply.Builder 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) = { ... }public AutomatedAgentReply.Builder setIntentBytes(com.google.protobuf.ByteString value)
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) = { ... }value - The bytes for intent to set.public boolean hasEvent()
Event name if an event is triggered for the query.
string event = 5;hasEvent in interface AutomatedAgentReplyOrBuilderpublic String getEvent()
Event name if an event is triggered for the query.
string event = 5;getEvent in interface AutomatedAgentReplyOrBuilderpublic com.google.protobuf.ByteString getEventBytes()
Event name if an event is triggered for the query.
string event = 5;getEventBytes in interface AutomatedAgentReplyOrBuilderpublic AutomatedAgentReply.Builder setEvent(String value)
Event name if an event is triggered for the query.
string event = 5;value - The event to set.public AutomatedAgentReply.Builder clearEvent()
Event name if an event is triggered for the query.
string event = 5;public AutomatedAgentReply.Builder setEventBytes(com.google.protobuf.ByteString value)
Event name if an event is triggered for the query.
string event = 5;value - The bytes for event to set.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;getMatchConfidence in interface AutomatedAgentReplyOrBuilderpublic AutomatedAgentReply.Builder setMatchConfidence(float value)
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;value - The matchConfidence to set.public AutomatedAgentReply.Builder 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;public boolean hasParameters()
The collection of current parameters at the time of this response.
.google.protobuf.Struct parameters = 10;hasParameters in interface AutomatedAgentReplyOrBuilderpublic com.google.protobuf.Struct getParameters()
The collection of current parameters at the time of this response.
.google.protobuf.Struct parameters = 10;getParameters in interface AutomatedAgentReplyOrBuilderpublic AutomatedAgentReply.Builder setParameters(com.google.protobuf.Struct value)
The collection of current parameters at the time of this response.
.google.protobuf.Struct parameters = 10;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;public AutomatedAgentReply.Builder mergeParameters(com.google.protobuf.Struct value)
The collection of current parameters at the time of this response.
.google.protobuf.Struct parameters = 10;public AutomatedAgentReply.Builder clearParameters()
The collection of current parameters at the time of this response.
.google.protobuf.Struct parameters = 10;public com.google.protobuf.Struct.Builder getParametersBuilder()
The collection of current parameters at the time of this response.
.google.protobuf.Struct parameters = 10;public com.google.protobuf.StructOrBuilder getParametersOrBuilder()
The collection of current parameters at the time of this response.
.google.protobuf.Struct parameters = 10;getParametersOrBuilder in interface AutomatedAgentReplyOrBuilder@Deprecated public boolean hasCxSessionParameters()
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];hasCxSessionParameters in interface AutomatedAgentReplyOrBuilder@Deprecated public com.google.protobuf.Struct getCxSessionParameters()
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];getCxSessionParameters in interface AutomatedAgentReplyOrBuilder@Deprecated public AutomatedAgentReply.Builder setCxSessionParameters(com.google.protobuf.Struct value)
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];@Deprecated public AutomatedAgentReply.Builder setCxSessionParameters(com.google.protobuf.Struct.Builder builderForValue)
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];@Deprecated public AutomatedAgentReply.Builder mergeCxSessionParameters(com.google.protobuf.Struct value)
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];@Deprecated public AutomatedAgentReply.Builder clearCxSessionParameters()
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];@Deprecated public com.google.protobuf.Struct.Builder getCxSessionParametersBuilder()
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];@Deprecated public com.google.protobuf.StructOrBuilder getCxSessionParametersOrBuilder()
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 in interface AutomatedAgentReplyOrBuilderpublic int getAutomatedAgentReplyTypeValue()
AutomatedAgentReply type.
.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.AutomatedAgentReplyType automated_agent_reply_type = 7;
getAutomatedAgentReplyTypeValue in interface AutomatedAgentReplyOrBuilderpublic AutomatedAgentReply.Builder setAutomatedAgentReplyTypeValue(int value)
AutomatedAgentReply type.
.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.AutomatedAgentReplyType automated_agent_reply_type = 7;
value - The enum numeric value on the wire for automatedAgentReplyType to set.public AutomatedAgentReply.AutomatedAgentReplyType getAutomatedAgentReplyType()
AutomatedAgentReply type.
.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.AutomatedAgentReplyType automated_agent_reply_type = 7;
getAutomatedAgentReplyType in interface AutomatedAgentReplyOrBuilderpublic AutomatedAgentReply.Builder setAutomatedAgentReplyType(AutomatedAgentReply.AutomatedAgentReplyType value)
AutomatedAgentReply type.
.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.AutomatedAgentReplyType automated_agent_reply_type = 7;
value - The automatedAgentReplyType to set.public AutomatedAgentReply.Builder clearAutomatedAgentReplyType()
AutomatedAgentReply type.
.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.AutomatedAgentReplyType automated_agent_reply_type = 7;
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;getAllowCancellation in interface AutomatedAgentReplyOrBuilderpublic AutomatedAgentReply.Builder 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.
bool allow_cancellation = 8;value - The allowCancellation to set.public AutomatedAgentReply.Builder 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;public String 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;getCxCurrentPage in interface AutomatedAgentReplyOrBuilderpublic 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;getCxCurrentPageBytes in interface AutomatedAgentReplyOrBuilderpublic AutomatedAgentReply.Builder setCxCurrentPage(String value)
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;value - The cxCurrentPage to set.public AutomatedAgentReply.Builder 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;public AutomatedAgentReply.Builder setCxCurrentPageBytes(com.google.protobuf.ByteString value)
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;value - The bytes for cxCurrentPage to set.public final AutomatedAgentReply.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>public final AutomatedAgentReply.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>Copyright © 2023 Google LLC. All rights reserved.