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.v2.AutomatedAgentReply
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 boolean hasDetectIntentResponse()
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2.Sessions.DetectIntent] call.
.google.cloud.dialogflow.v2.DetectIntentResponse detect_intent_response = 1;
hasDetectIntentResponse
in interface AutomatedAgentReplyOrBuilder
public DetectIntentResponse getDetectIntentResponse()
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2.Sessions.DetectIntent] call.
.google.cloud.dialogflow.v2.DetectIntentResponse detect_intent_response = 1;
getDetectIntentResponse
in interface AutomatedAgentReplyOrBuilder
public AutomatedAgentReply.Builder setDetectIntentResponse(DetectIntentResponse value)
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2.Sessions.DetectIntent] call.
.google.cloud.dialogflow.v2.DetectIntentResponse detect_intent_response = 1;
public AutomatedAgentReply.Builder setDetectIntentResponse(DetectIntentResponse.Builder builderForValue)
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2.Sessions.DetectIntent] call.
.google.cloud.dialogflow.v2.DetectIntentResponse detect_intent_response = 1;
public AutomatedAgentReply.Builder mergeDetectIntentResponse(DetectIntentResponse value)
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2.Sessions.DetectIntent] call.
.google.cloud.dialogflow.v2.DetectIntentResponse detect_intent_response = 1;
public AutomatedAgentReply.Builder clearDetectIntentResponse()
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2.Sessions.DetectIntent] call.
.google.cloud.dialogflow.v2.DetectIntentResponse detect_intent_response = 1;
public DetectIntentResponse.Builder getDetectIntentResponseBuilder()
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2.Sessions.DetectIntent] call.
.google.cloud.dialogflow.v2.DetectIntentResponse detect_intent_response = 1;
public DetectIntentResponseOrBuilder getDetectIntentResponseOrBuilder()
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2.Sessions.DetectIntent] call.
.google.cloud.dialogflow.v2.DetectIntentResponse detect_intent_response = 1;
getDetectIntentResponseOrBuilder
in interface AutomatedAgentReplyOrBuilder
public int getAutomatedAgentReplyTypeValue()
AutomatedAgentReply type.
.google.cloud.dialogflow.v2.AutomatedAgentReply.AutomatedAgentReplyType automated_agent_reply_type = 7;
getAutomatedAgentReplyTypeValue
in interface AutomatedAgentReplyOrBuilder
public AutomatedAgentReply.Builder setAutomatedAgentReplyTypeValue(int value)
AutomatedAgentReply type.
.google.cloud.dialogflow.v2.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.v2.AutomatedAgentReply.AutomatedAgentReplyType automated_agent_reply_type = 7;
getAutomatedAgentReplyType
in interface AutomatedAgentReplyOrBuilder
public AutomatedAgentReply.Builder setAutomatedAgentReplyType(AutomatedAgentReply.AutomatedAgentReplyType value)
AutomatedAgentReply type.
.google.cloud.dialogflow.v2.AutomatedAgentReply.AutomatedAgentReplyType automated_agent_reply_type = 7;
value
- The automatedAgentReplyType to set.public AutomatedAgentReply.Builder clearAutomatedAgentReplyType()
AutomatedAgentReply type.
.google.cloud.dialogflow.v2.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.