public static final class AutomatedAgentReply.Builder extends 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(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 |
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(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(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.
|
Struct |
getCxSessionParameters()
Deprecated.
google.cloud.dialogflow.v2beta1.AutomatedAgentReply.cx_session_parameters is
deprecated. See google/cloud/dialogflow/v2beta1/participant.proto;l=487
|
Struct.Builder |
getCxSessionParametersBuilder()
Deprecated.
|
StructOrBuilder |
getCxSessionParametersOrBuilder()
Deprecated.
|
AutomatedAgentReply |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
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.
|
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.
|
ByteString |
getIntentBytes()
Name of the intent if an intent is matched for the query.
|
AutomatedAgentReply.MatchCase |
getMatchCase() |
float |
getMatchConfidence()
The confidence of the match.
|
Struct |
getParameters()
The collection of current parameters at the time of this response.
|
Struct.Builder |
getParametersBuilder()
The collection of current parameters at the time of this response.
|
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=487
|
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 GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AutomatedAgentReply.Builder |
mergeCxSessionParameters(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(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
AutomatedAgentReply.Builder |
mergeFrom(Message other) |
AutomatedAgentReply.Builder |
mergeParameters(Struct value)
The collection of current parameters at the time of this response.
|
AutomatedAgentReply.Builder |
mergeUnknownFields(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 |
setCxSessionParameters(Struct.Builder builderForValue)
Deprecated.
|
AutomatedAgentReply.Builder |
setCxSessionParameters(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(ByteString value)
Event name if an event is triggered for the query.
|
AutomatedAgentReply.Builder |
setField(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(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(Struct.Builder builderForValue)
The collection of current parameters at the time of this response.
|
AutomatedAgentReply.Builder |
setParameters(Struct value)
The collection of current parameters at the time of this response.
|
AutomatedAgentReply.Builder |
setRepeatedField(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(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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>
public AutomatedAgentReply.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>
public AutomatedAgentReply getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public AutomatedAgentReply build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public AutomatedAgentReply buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public AutomatedAgentReply.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>
public AutomatedAgentReply.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>
public AutomatedAgentReply.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>
public AutomatedAgentReply.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>
public AutomatedAgentReply.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>
public AutomatedAgentReply.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>
public AutomatedAgentReply.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<AutomatedAgentReply.Builder>
public AutomatedAgentReply.Builder mergeFrom(AutomatedAgentReply other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>
public AutomatedAgentReply.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<AutomatedAgentReply.Builder>
IOException
public AutomatedAgentReply.ResponseCase getResponseCase()
getResponseCase
in interface AutomatedAgentReplyOrBuilder
public AutomatedAgentReply.Builder clearResponse()
public AutomatedAgentReply.MatchCase getMatchCase()
getMatchCase
in interface AutomatedAgentReplyOrBuilder
public 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 AutomatedAgentReplyOrBuilder
public 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 AutomatedAgentReplyOrBuilder
public 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 AutomatedAgentReplyOrBuilder
public List<ResponseMessage> getResponseMessagesList()
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;
getResponseMessagesList
in interface AutomatedAgentReplyOrBuilder
public int getResponseMessagesCount()
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;
getResponseMessagesCount
in interface AutomatedAgentReplyOrBuilder
public ResponseMessage getResponseMessages(int index)
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;
getResponseMessages
in interface AutomatedAgentReplyOrBuilder
public 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 AutomatedAgentReplyOrBuilder
public List<? extends ResponseMessageOrBuilder> getResponseMessagesOrBuilderList()
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;
getResponseMessagesOrBuilderList
in interface AutomatedAgentReplyOrBuilder
public 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 AutomatedAgentReplyOrBuilder
public 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 AutomatedAgentReplyOrBuilder
public 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 AutomatedAgentReplyOrBuilder
public 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(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 AutomatedAgentReplyOrBuilder
public String getEvent()
Event name if an event is triggered for the query.
string event = 5;
getEvent
in interface AutomatedAgentReplyOrBuilder
public ByteString getEventBytes()
Event name if an event is triggered for the query.
string event = 5;
getEventBytes
in interface AutomatedAgentReplyOrBuilder
public 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(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 AutomatedAgentReplyOrBuilder
public 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 AutomatedAgentReplyOrBuilder
public Struct getParameters()
The collection of current parameters at the time of this response.
.google.protobuf.Struct parameters = 10;
getParameters
in interface AutomatedAgentReplyOrBuilder
public AutomatedAgentReply.Builder setParameters(Struct value)
The collection of current parameters at the time of this response.
.google.protobuf.Struct parameters = 10;
public AutomatedAgentReply.Builder setParameters(Struct.Builder builderForValue)
The collection of current parameters at the time of this response.
.google.protobuf.Struct parameters = 10;
public AutomatedAgentReply.Builder mergeParameters(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 Struct.Builder getParametersBuilder()
The collection of current parameters at the time of this response.
.google.protobuf.Struct parameters = 10;
public 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 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(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(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(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 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 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 AutomatedAgentReplyOrBuilder
public int getAutomatedAgentReplyTypeValue()
AutomatedAgentReply type.
.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.AutomatedAgentReplyType automated_agent_reply_type = 7;
getAutomatedAgentReplyTypeValue
in interface AutomatedAgentReplyOrBuilder
public 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 AutomatedAgentReplyOrBuilder
public 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 AutomatedAgentReplyOrBuilder
public 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 final AutomatedAgentReply.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>
public final AutomatedAgentReply.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>
Copyright © 2022 Google LLC. All rights reserved.