public static final class ResponseMessage.LiveAgentHandoff.Builder extends GeneratedMessageV3.Builder<ResponseMessage.LiveAgentHandoff.Builder> implements ResponseMessage.LiveAgentHandoffOrBuilder
Indicates that the conversation should be handed off to a live agent.
Dialogflow only uses this to determine which conversations were handed off
to a human agent for measurement purposes. What else to do with this signal
is up to you and your handoff procedures.
You may set this, for example:
- In the
entry_fulfillment
of a Page if
entering the page indicates something went extremely wrong in the
conversation.
- In a webhook response when you determine that the customer issue can only
be handled by a human.
Protobuf type google.cloud.dialogflow.cx.v3.ResponseMessage.LiveAgentHandoff
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResponseMessage.LiveAgentHandoff.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ResponseMessage.LiveAgentHandoff build()
buildPartial()
public ResponseMessage.LiveAgentHandoff buildPartial()
clear()
public ResponseMessage.LiveAgentHandoff.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ResponseMessage.LiveAgentHandoff.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ResponseMessage.LiveAgentHandoff.Builder clearMetadata()
Custom metadata for your handoff procedure. Dialogflow doesn't impose
any structure on this.
.google.protobuf.Struct metadata = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public ResponseMessage.LiveAgentHandoff.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ResponseMessage.LiveAgentHandoff.Builder clone()
Overrides
getDefaultInstanceForType()
public ResponseMessage.LiveAgentHandoff getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Struct getMetadata()
Custom metadata for your handoff procedure. Dialogflow doesn't impose
any structure on this.
.google.protobuf.Struct metadata = 1;
Returns |
Type |
Description |
Struct |
The metadata.
|
public Struct.Builder getMetadataBuilder()
Custom metadata for your handoff procedure. Dialogflow doesn't impose
any structure on this.
.google.protobuf.Struct metadata = 1;
public StructOrBuilder getMetadataOrBuilder()
Custom metadata for your handoff procedure. Dialogflow doesn't impose
any structure on this.
.google.protobuf.Struct metadata = 1;
public boolean hasMetadata()
Custom metadata for your handoff procedure. Dialogflow doesn't impose
any structure on this.
.google.protobuf.Struct metadata = 1;
Returns |
Type |
Description |
boolean |
Whether the metadata field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ResponseMessage.LiveAgentHandoff other)
public ResponseMessage.LiveAgentHandoff.Builder mergeFrom(ResponseMessage.LiveAgentHandoff other)
public ResponseMessage.LiveAgentHandoff.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ResponseMessage.LiveAgentHandoff.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public ResponseMessage.LiveAgentHandoff.Builder mergeMetadata(Struct value)
Custom metadata for your handoff procedure. Dialogflow doesn't impose
any structure on this.
.google.protobuf.Struct metadata = 1;
Parameter |
Name |
Description |
value |
Struct
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResponseMessage.LiveAgentHandoff.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ResponseMessage.LiveAgentHandoff.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ResponseMessage.LiveAgentHandoff.Builder setMetadata(Struct value)
Custom metadata for your handoff procedure. Dialogflow doesn't impose
any structure on this.
.google.protobuf.Struct metadata = 1;
Parameter |
Name |
Description |
value |
Struct
|
public ResponseMessage.LiveAgentHandoff.Builder setMetadata(Struct.Builder builderForValue)
Custom metadata for your handoff procedure. Dialogflow doesn't impose
any structure on this.
.google.protobuf.Struct metadata = 1;
Parameter |
Name |
Description |
builderForValue |
Builder
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResponseMessage.LiveAgentHandoff.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ResponseMessage.LiveAgentHandoff.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides