Class AutomatedAgentReply.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<AutomatedAgentReply.Builder> implements AutomatedAgentReplyOrBuilder
Represents a response from an automated agent.
Protobuf typegoogle.cloud.dialogflow.v2beta1.AutomatedAgentReply
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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 value)
Response messages from the automated agent.AutomatedAgentReply.Builder
addResponseMessages(int index, ResponseMessage.Builder builderForValue)
Response messages from the automated agent.AutomatedAgentReply.Builder
addResponseMessages(ResponseMessage value)
Response messages from the automated agent.AutomatedAgentReply.Builder
addResponseMessages(ResponseMessage.Builder builderForValue)
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.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.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 value)
Deprecated.AutomatedAgentReply.Builder
setCxSessionParameters(com.google.protobuf.Struct.Builder builderForValue)
Deprecated.AutomatedAgentReply.Builder
setDetectIntentResponse(DetectIntentResponse value)
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.AutomatedAgentReply.Builder
setDetectIntentResponse(DetectIntentResponse.Builder builderForValue)
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 value)
The collection of current parameters at the time of this response.AutomatedAgentReply.Builder
setParameters(com.google.protobuf.Struct.Builder builderForValue)
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 value)
Response messages from the automated agent.AutomatedAgentReply.Builder
setResponseMessages(int index, ResponseMessage.Builder builderForValue)
Response messages from the automated agent.AutomatedAgentReply.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>
-
clear
public AutomatedAgentReply.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>
-
getDefaultInstanceForType
public AutomatedAgentReply getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AutomatedAgentReply build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AutomatedAgentReply buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AutomatedAgentReply.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>
-
setField
public AutomatedAgentReply.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>
-
clearField
public AutomatedAgentReply.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>
-
clearOneof
public AutomatedAgentReply.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>
-
setRepeatedField
public AutomatedAgentReply.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>
-
addRepeatedField
public AutomatedAgentReply.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>
-
mergeFrom
public AutomatedAgentReply.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AutomatedAgentReply.Builder>
-
mergeFrom
public AutomatedAgentReply.Builder mergeFrom(AutomatedAgentReply other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>
-
mergeFrom
public AutomatedAgentReply.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AutomatedAgentReply.Builder>
- Throws:
IOException
-
getResponseCase
public AutomatedAgentReply.ResponseCase getResponseCase()
- Specified by:
getResponseCase
in interfaceAutomatedAgentReplyOrBuilder
-
clearResponse
public AutomatedAgentReply.Builder clearResponse()
-
getMatchCase
public AutomatedAgentReply.MatchCase getMatchCase()
- Specified by:
getMatchCase
in interfaceAutomatedAgentReplyOrBuilder
-
clearMatch
public AutomatedAgentReply.Builder 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:
hasDetectIntentResponse
in interfaceAutomatedAgentReplyOrBuilder
- Returns:
- Whether the detectIntentResponse field is set.
-
getDetectIntentResponse
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;
- Specified by:
getDetectIntentResponse
in interfaceAutomatedAgentReplyOrBuilder
- Returns:
- The detectIntentResponse.
-
setDetectIntentResponse
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;
-
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
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;
-
clearDetectIntentResponse
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;
-
getDetectIntentResponseBuilder
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;
-
getDetectIntentResponseOrBuilder
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;
- Specified by:
getDetectIntentResponseOrBuilder
in interfaceAutomatedAgentReplyOrBuilder
-
getResponseMessagesList
public List<ResponseMessage> getResponseMessagesList()
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;
- Specified by:
getResponseMessagesList
in interfaceAutomatedAgentReplyOrBuilder
-
getResponseMessagesCount
public int getResponseMessagesCount()
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;
- Specified by:
getResponseMessagesCount
in interfaceAutomatedAgentReplyOrBuilder
-
getResponseMessages
public ResponseMessage getResponseMessages(int index)
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;
- Specified by:
getResponseMessages
in interfaceAutomatedAgentReplyOrBuilder
-
setResponseMessages
public AutomatedAgentReply.Builder setResponseMessages(int index, ResponseMessage value)
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
public AutomatedAgentReply.Builder addResponseMessages(ResponseMessage value)
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;
-
addResponseMessages
public AutomatedAgentReply.Builder addResponseMessages(int index, ResponseMessage value)
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;
-
addResponseMessages
public AutomatedAgentReply.Builder addResponseMessages(ResponseMessage.Builder builderForValue)
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
public AutomatedAgentReply.Builder clearResponseMessages()
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;
-
removeResponseMessages
public AutomatedAgentReply.Builder removeResponseMessages(int index)
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;
-
getResponseMessagesBuilder
public ResponseMessage.Builder getResponseMessagesBuilder(int index)
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;
-
getResponseMessagesOrBuilder
public ResponseMessageOrBuilder getResponseMessagesOrBuilder(int index)
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;
- Specified by:
getResponseMessagesOrBuilder
in interfaceAutomatedAgentReplyOrBuilder
-
getResponseMessagesOrBuilderList
public List<? extends ResponseMessageOrBuilder> getResponseMessagesOrBuilderList()
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;
- Specified by:
getResponseMessagesOrBuilderList
in interfaceAutomatedAgentReplyOrBuilder
-
addResponseMessagesBuilder
public ResponseMessage.Builder addResponseMessagesBuilder()
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;
-
addResponseMessagesBuilder
public ResponseMessage.Builder addResponseMessagesBuilder(int index)
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;
-
getResponseMessagesBuilderList
public List<ResponseMessage.Builder> 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:
hasIntent
in interfaceAutomatedAgentReplyOrBuilder
- Returns:
- Whether the intent field is set.
-
getIntent
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) = { ... }
- Specified by:
getIntent
in 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:
getIntentBytes
in interfaceAutomatedAgentReplyOrBuilder
- Returns:
- The bytes for intent.
-
setIntent
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) = { ... }
- Parameters:
value
- The intent to set.- Returns:
- This builder for chaining.
-
clearIntent
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) = { ... }
- Returns:
- This builder for chaining.
-
setIntentBytes
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) = { ... }
- 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:
hasEvent
in interfaceAutomatedAgentReplyOrBuilder
- Returns:
- Whether the event field is set.
-
getEvent
public String getEvent()
Event name if an event is triggered for the query.
string event = 5;
- Specified by:
getEvent
in 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:
getEventBytes
in interfaceAutomatedAgentReplyOrBuilder
- Returns:
- The bytes for event.
-
setEvent
public AutomatedAgentReply.Builder setEvent(String value)
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
public AutomatedAgentReply.Builder clearEvent()
Event name if an event is triggered for the query.
string event = 5;
- Returns:
- This builder for chaining.
-
setEventBytes
public AutomatedAgentReply.Builder setEventBytes(com.google.protobuf.ByteString value)
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:
getMatchConfidence
in interfaceAutomatedAgentReplyOrBuilder
- Returns:
- The matchConfidence.
-
setMatchConfidence
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;
- Parameters:
value
- The matchConfidence to set.- Returns:
- This builder for chaining.
-
clearMatchConfidence
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;
- 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:
hasParameters
in 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:
getParameters
in interfaceAutomatedAgentReplyOrBuilder
- Returns:
- The parameters.
-
setParameters
public AutomatedAgentReply.Builder setParameters(com.google.protobuf.Struct value)
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
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;
-
clearParameters
public AutomatedAgentReply.Builder 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:
getParametersOrBuilder
in interfaceAutomatedAgentReplyOrBuilder
-
hasCxSessionParameters
@Deprecated public boolean hasCxSessionParameters()
Deprecated.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.cx_session_parameters is deprecated. See google/cloud/dialogflow/v2beta1/participant.proto;l=525The 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:
hasCxSessionParameters
in interfaceAutomatedAgentReplyOrBuilder
- Returns:
- Whether the cxSessionParameters field is set.
-
getCxSessionParameters
@Deprecated public com.google.protobuf.Struct getCxSessionParameters()
Deprecated.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.cx_session_parameters is deprecated. See google/cloud/dialogflow/v2beta1/participant.proto;l=525The 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:
getCxSessionParameters
in 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 public AutomatedAgentReply.Builder 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 public com.google.protobuf.Struct.Builder 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 public com.google.protobuf.StructOrBuilder 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:
getCxSessionParametersOrBuilder
in interfaceAutomatedAgentReplyOrBuilder
-
getAutomatedAgentReplyTypeValue
public int getAutomatedAgentReplyTypeValue()
AutomatedAgentReply type.
.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.AutomatedAgentReplyType automated_agent_reply_type = 7;
- Specified by:
getAutomatedAgentReplyTypeValue
in interfaceAutomatedAgentReplyOrBuilder
- Returns:
- The enum numeric value on the wire for automatedAgentReplyType.
-
setAutomatedAgentReplyTypeValue
public AutomatedAgentReply.Builder setAutomatedAgentReplyTypeValue(int value)
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
public AutomatedAgentReply.AutomatedAgentReplyType getAutomatedAgentReplyType()
AutomatedAgentReply type.
.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.AutomatedAgentReplyType automated_agent_reply_type = 7;
- Specified by:
getAutomatedAgentReplyType
in 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
public AutomatedAgentReply.Builder 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:
getAllowCancellation
in interfaceAutomatedAgentReplyOrBuilder
- Returns:
- The allowCancellation.
-
setAllowCancellation
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;
- Parameters:
value
- The allowCancellation to set.- Returns:
- This builder for chaining.
-
clearAllowCancellation
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;
- Returns:
- This builder for chaining.
-
getCxCurrentPage
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;
- Specified by:
getCxCurrentPage
in 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:
getCxCurrentPageBytes
in interfaceAutomatedAgentReplyOrBuilder
- Returns:
- The bytes for cxCurrentPage.
-
setCxCurrentPage
public 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;
- Parameters:
value
- The cxCurrentPage to set.- Returns:
- This builder for chaining.
-
clearCxCurrentPage
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;
- Returns:
- This builder for chaining.
-
setCxCurrentPageBytes
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;
- Parameters:
value
- The bytes for cxCurrentPage to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final AutomatedAgentReply.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>
-
mergeUnknownFields
public final AutomatedAgentReply.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AutomatedAgentReply.Builder>
-
-