- 4.59.0 (latest)
- 4.58.0
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AutomatedAgentReply.BuilderImplements
AutomatedAgentReplyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AutomatedAgentReply.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AutomatedAgentReply.Builder |
build()
public AutomatedAgentReply build()
Returns | |
---|---|
Type | Description |
AutomatedAgentReply |
buildPartial()
public AutomatedAgentReply buildPartial()
Returns | |
---|---|
Type | Description |
AutomatedAgentReply |
clear()
public AutomatedAgentReply.Builder clear()
Returns | |
---|---|
Type | Description |
AutomatedAgentReply.Builder |
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 | |
---|---|
Type | Description |
AutomatedAgentReply.Builder |
This builder for chaining. |
clearAutomatedAgentReplyType()
public AutomatedAgentReply.Builder clearAutomatedAgentReplyType()
AutomatedAgentReply type.
.google.cloud.dialogflow.v2.AutomatedAgentReply.AutomatedAgentReplyType automated_agent_reply_type = 7;
Returns | |
---|---|
Type | Description |
AutomatedAgentReply.Builder |
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 | |
---|---|
Type | Description |
AutomatedAgentReply.Builder |
This builder for chaining. |
clearDetectIntentResponse()
public AutomatedAgentReply.Builder clearDetectIntentResponse()
Response of the Dialogflow Sessions.DetectIntent call.
.google.cloud.dialogflow.v2.DetectIntentResponse detect_intent_response = 1;
Returns | |
---|---|
Type | Description |
AutomatedAgentReply.Builder |
clearField(Descriptors.FieldDescriptor field)
public AutomatedAgentReply.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AutomatedAgentReply.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AutomatedAgentReply.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AutomatedAgentReply.Builder |
clone()
public AutomatedAgentReply.Builder clone()
Returns | |
---|---|
Type | Description |
AutomatedAgentReply.Builder |
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;
Returns | |
---|---|
Type | Description |
boolean |
The allowCancellation. |
getAutomatedAgentReplyType()
public AutomatedAgentReply.AutomatedAgentReplyType getAutomatedAgentReplyType()
AutomatedAgentReply type.
.google.cloud.dialogflow.v2.AutomatedAgentReply.AutomatedAgentReplyType automated_agent_reply_type = 7;
Returns | |
---|---|
Type | Description |
AutomatedAgentReply.AutomatedAgentReplyType |
The automatedAgentReplyType. |
getAutomatedAgentReplyTypeValue()
public int getAutomatedAgentReplyTypeValue()
AutomatedAgentReply type.
.google.cloud.dialogflow.v2.AutomatedAgentReply.AutomatedAgentReplyType automated_agent_reply_type = 7;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for automatedAgentReplyType. |
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;
Returns | |
---|---|
Type | Description |
String |
The cxCurrentPage. |
getCxCurrentPageBytes()
public 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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for cxCurrentPage. |
getDefaultInstanceForType()
public AutomatedAgentReply getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AutomatedAgentReply |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDetectIntentResponse()
public DetectIntentResponse getDetectIntentResponse()
Response of the Dialogflow Sessions.DetectIntent call.
.google.cloud.dialogflow.v2.DetectIntentResponse detect_intent_response = 1;
Returns | |
---|---|
Type | Description |
DetectIntentResponse |
The detectIntentResponse. |
getDetectIntentResponseBuilder()
public DetectIntentResponse.Builder getDetectIntentResponseBuilder()
Response of the Dialogflow Sessions.DetectIntent call.
.google.cloud.dialogflow.v2.DetectIntentResponse detect_intent_response = 1;
Returns | |
---|---|
Type | Description |
DetectIntentResponse.Builder |
getDetectIntentResponseOrBuilder()
public DetectIntentResponseOrBuilder getDetectIntentResponseOrBuilder()
Response of the Dialogflow Sessions.DetectIntent call.
.google.cloud.dialogflow.v2.DetectIntentResponse detect_intent_response = 1;
Returns | |
---|---|
Type | Description |
DetectIntentResponseOrBuilder |
hasDetectIntentResponse()
public boolean hasDetectIntentResponse()
Response of the Dialogflow Sessions.DetectIntent call.
.google.cloud.dialogflow.v2.DetectIntentResponse detect_intent_response = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the detectIntentResponse field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeDetectIntentResponse(DetectIntentResponse value)
public AutomatedAgentReply.Builder mergeDetectIntentResponse(DetectIntentResponse value)
Response of the Dialogflow Sessions.DetectIntent call.
.google.cloud.dialogflow.v2.DetectIntentResponse detect_intent_response = 1;
Parameter | |
---|---|
Name | Description |
value |
DetectIntentResponse |
Returns | |
---|---|
Type | Description |
AutomatedAgentReply.Builder |
mergeFrom(AutomatedAgentReply other)
public AutomatedAgentReply.Builder mergeFrom(AutomatedAgentReply other)
Parameter | |
---|---|
Name | Description |
other |
AutomatedAgentReply |
Returns | |
---|---|
Type | Description |
AutomatedAgentReply.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AutomatedAgentReply.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AutomatedAgentReply.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AutomatedAgentReply.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AutomatedAgentReply.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AutomatedAgentReply.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AutomatedAgentReply.Builder |
setAllowCancellation(boolean value)
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;
Parameter | |
---|---|
Name | Description |
value |
boolean The allowCancellation to set. |
Returns | |
---|---|
Type | Description |
AutomatedAgentReply.Builder |
This builder for chaining. |
setAutomatedAgentReplyType(AutomatedAgentReply.AutomatedAgentReplyType value)
public AutomatedAgentReply.Builder setAutomatedAgentReplyType(AutomatedAgentReply.AutomatedAgentReplyType value)
AutomatedAgentReply type.
.google.cloud.dialogflow.v2.AutomatedAgentReply.AutomatedAgentReplyType automated_agent_reply_type = 7;
Parameter | |
---|---|
Name | Description |
value |
AutomatedAgentReply.AutomatedAgentReplyType The automatedAgentReplyType to set. |
Returns | |
---|---|
Type | Description |
AutomatedAgentReply.Builder |
This builder for chaining. |
setAutomatedAgentReplyTypeValue(int value)
public AutomatedAgentReply.Builder setAutomatedAgentReplyTypeValue(int value)
AutomatedAgentReply type.
.google.cloud.dialogflow.v2.AutomatedAgentReply.AutomatedAgentReplyType automated_agent_reply_type = 7;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for automatedAgentReplyType to set. |
Returns | |
---|---|
Type | Description |
AutomatedAgentReply.Builder |
This builder for chaining. |
setCxCurrentPage(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The cxCurrentPage to set. |
Returns | |
---|---|
Type | Description |
AutomatedAgentReply.Builder |
This builder for chaining. |
setCxCurrentPageBytes(ByteString value)
public AutomatedAgentReply.Builder setCxCurrentPageBytes(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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for cxCurrentPage to set. |
Returns | |
---|---|
Type | Description |
AutomatedAgentReply.Builder |
This builder for chaining. |
setDetectIntentResponse(DetectIntentResponse value)
public AutomatedAgentReply.Builder setDetectIntentResponse(DetectIntentResponse value)
Response of the Dialogflow Sessions.DetectIntent call.
.google.cloud.dialogflow.v2.DetectIntentResponse detect_intent_response = 1;
Parameter | |
---|---|
Name | Description |
value |
DetectIntentResponse |
Returns | |
---|---|
Type | Description |
AutomatedAgentReply.Builder |
setDetectIntentResponse(DetectIntentResponse.Builder builderForValue)
public AutomatedAgentReply.Builder setDetectIntentResponse(DetectIntentResponse.Builder builderForValue)
Response of the Dialogflow Sessions.DetectIntent call.
.google.cloud.dialogflow.v2.DetectIntentResponse detect_intent_response = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
DetectIntentResponse.Builder |
Returns | |
---|---|
Type | Description |
AutomatedAgentReply.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AutomatedAgentReply.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AutomatedAgentReply.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AutomatedAgentReply.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AutomatedAgentReply.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AutomatedAgentReply.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AutomatedAgentReply.Builder |