public static final class Agent.RemoteDialogflowAgent extends GeneratedMessage implements Agent.RemoteDialogflowAgentOrBuilder
The agent which will transfer execution to a remote
Dialogflow
CX agent.
The Dialogflow agent will process subsequent user queries until the session
ends or flow ends, and the control is transferred back to the parent CES
agent.
Protobuf type google.cloud.ces.v1.Agent.RemoteDialogflowAgent
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
AGENT_FIELD_NUMBER
public static final int AGENT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ENVIRONMENT_ID_FIELD_NUMBER
public static final int ENVIRONMENT_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FLOW_ID_FIELD_NUMBER
public static final int FLOW_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int INPUT_VARIABLE_MAPPING_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
OUTPUT_VARIABLE_MAPPING_FIELD_NUMBER
public static final int OUTPUT_VARIABLE_MAPPING_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RESPECT_RESPONSE_INTERRUPTION_SETTINGS_FIELD_NUMBER
public static final int RESPECT_RESPONSE_INTERRUPTION_SETTINGS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Agent.RemoteDialogflowAgent getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Agent.RemoteDialogflowAgent.Builder newBuilder()
newBuilder(Agent.RemoteDialogflowAgent prototype)
public static Agent.RemoteDialogflowAgent.Builder newBuilder(Agent.RemoteDialogflowAgent prototype)
public static Agent.RemoteDialogflowAgent parseDelimitedFrom(InputStream input)
public static Agent.RemoteDialogflowAgent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Agent.RemoteDialogflowAgent parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Agent.RemoteDialogflowAgent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Agent.RemoteDialogflowAgent parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Agent.RemoteDialogflowAgent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Agent.RemoteDialogflowAgent parseFrom(CodedInputStream input)
public static Agent.RemoteDialogflowAgent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Agent.RemoteDialogflowAgent parseFrom(InputStream input)
public static Agent.RemoteDialogflowAgent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Agent.RemoteDialogflowAgent parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Agent.RemoteDialogflowAgent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Agent.RemoteDialogflowAgent> parser()
Methods
public boolean containsInputVariableMapping(String key)
Optional. The mapping of the app variables names to the Dialogflow
session parameters names to be sent to the Dialogflow agent as input.
map<string, string> input_variable_mapping = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
key |
String
|
containsOutputVariableMapping(String key)
public boolean containsOutputVariableMapping(String key)
Optional. The mapping of the Dialogflow session parameters names to the
app variables names to be sent back to the CES agent after the Dialogflow
agent execution ends.
map<string, string> output_variable_mapping = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
key |
String
|
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAgent()
Required. The
Dialogflow
agent resource name.
Format: projects/{project}/locations/{location}/agents/{agent}
string agent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
String |
The agent.
|
getAgentBytes()
public ByteString getAgentBytes()
Required. The
Dialogflow
agent resource name.
Format: projects/{project}/locations/{location}/agents/{agent}
string agent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
ByteString |
The bytes for agent.
|
getDefaultInstanceForType()
public Agent.RemoteDialogflowAgent getDefaultInstanceForType()
getEnvironmentId()
public String getEnvironmentId()
Optional. The environment ID of the Dialogflow agent to be used for the
agent execution. If not specified, the draft environment will be used.
string environment_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The environmentId.
|
getEnvironmentIdBytes()
public ByteString getEnvironmentIdBytes()
Optional. The environment ID of the Dialogflow agent to be used for the
agent execution. If not specified, the draft environment will be used.
string environment_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for environmentId.
|
getFlowId()
public String getFlowId()
Optional. The flow ID of the flow in the Dialogflow agent.
string flow_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The flowId.
|
getFlowIdBytes()
public ByteString getFlowIdBytes()
Optional. The flow ID of the flow in the Dialogflow agent.
string flow_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for flowId.
|
public Map<String,String> getInputVariableMapping()
public int getInputVariableMappingCount()
Optional. The mapping of the app variables names to the Dialogflow
session parameters names to be sent to the Dialogflow agent as input.
map<string, string> input_variable_mapping = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
|
public Map<String,String> getInputVariableMappingMap()
Optional. The mapping of the app variables names to the Dialogflow
session parameters names to be sent to the Dialogflow agent as input.
map<string, string> input_variable_mapping = 4 [(.google.api.field_behavior) = OPTIONAL];
public String getInputVariableMappingOrDefault(String key, String defaultValue)
Optional. The mapping of the app variables names to the Dialogflow
session parameters names to be sent to the Dialogflow agent as input.
map<string, string> input_variable_mapping = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
|
public String getInputVariableMappingOrThrow(String key)
Optional. The mapping of the app variables names to the Dialogflow
session parameters names to be sent to the Dialogflow agent as input.
map<string, string> input_variable_mapping = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
key |
String
|
| Returns |
| Type |
Description |
String |
|
getOutputVariableMapping() (deprecated)
public Map<String,String> getOutputVariableMapping()
getOutputVariableMappingCount()
public int getOutputVariableMappingCount()
Optional. The mapping of the Dialogflow session parameters names to the
app variables names to be sent back to the CES agent after the Dialogflow
agent execution ends.
map<string, string> output_variable_mapping = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
|
getOutputVariableMappingMap()
public Map<String,String> getOutputVariableMappingMap()
Optional. The mapping of the Dialogflow session parameters names to the
app variables names to be sent back to the CES agent after the Dialogflow
agent execution ends.
map<string, string> output_variable_mapping = 5 [(.google.api.field_behavior) = OPTIONAL];
getOutputVariableMappingOrDefault(String key, String defaultValue)
public String getOutputVariableMappingOrDefault(String key, String defaultValue)
Optional. The mapping of the Dialogflow session parameters names to the
app variables names to be sent back to the CES agent after the Dialogflow
agent execution ends.
map<string, string> output_variable_mapping = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
|
getOutputVariableMappingOrThrow(String key)
public String getOutputVariableMappingOrThrow(String key)
Optional. The mapping of the Dialogflow session parameters names to the
app variables names to be sent back to the CES agent after the Dialogflow
agent execution ends.
map<string, string> output_variable_mapping = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
key |
String
|
| Returns |
| Type |
Description |
String |
|
getParserForType()
public Parser<Agent.RemoteDialogflowAgent> getParserForType()
Overrides
getRespectResponseInterruptionSettings()
public boolean getRespectResponseInterruptionSettings()
Optional. Indicates whether to respect the message-level interruption
settings configured in the Dialogflow agent.
- If false: all response messages from the Dialogflow agent follow the
app-level barge-in settings.
- If true: only response messages with
allow_playback_interruption
set to true will be interruptable, all other messages follow the
app-level barge-in settings.
bool respect_response_interruption_settings = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The respectResponseInterruptionSettings.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Agent.RemoteDialogflowAgent.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Agent.RemoteDialogflowAgent.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Agent.RemoteDialogflowAgent.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides