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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResponseMessage.LiveAgentHandoff.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ResponseMessage.LiveAgentHandoff build()
Returns
buildPartial()
public ResponseMessage.LiveAgentHandoff buildPartial()
Returns
clear()
public ResponseMessage.LiveAgentHandoff.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ResponseMessage.LiveAgentHandoff.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ResponseMessage.LiveAgentHandoff.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ResponseMessage.LiveAgentHandoff.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ResponseMessage.LiveAgentHandoff getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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;
Returns
public StructOrBuilder getMetadataOrBuilder()
Custom metadata for your handoff procedure. Dialogflow doesn't impose
any structure on this.
.google.protobuf.Struct metadata = 1;
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ResponseMessage.LiveAgentHandoff other)
public ResponseMessage.LiveAgentHandoff.Builder mergeFrom(ResponseMessage.LiveAgentHandoff other)
Parameter
Returns
public ResponseMessage.LiveAgentHandoff.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ResponseMessage.LiveAgentHandoff.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResponseMessage.LiveAgentHandoff.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ResponseMessage.LiveAgentHandoff.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResponseMessage.LiveAgentHandoff.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ResponseMessage.LiveAgentHandoff.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides