public interface OriginalDetectIntentRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.Struct |
getPayload()
Optional.
|
com.google.protobuf.StructOrBuilder |
getPayloadOrBuilder()
Optional.
|
String |
getSource()
The source of this request, e.g., `google`, `facebook`, `slack`.
|
com.google.protobuf.ByteString |
getSourceBytes()
The source of this request, e.g., `google`, `facebook`, `slack`.
|
String |
getVersion()
Optional.
|
com.google.protobuf.ByteString |
getVersionBytes()
Optional.
|
boolean |
hasPayload()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getSource()
The source of this request, e.g., `google`, `facebook`, `slack`. It is set by Dialogflow-owned servers.
string source = 1;com.google.protobuf.ByteString getSourceBytes()
The source of this request, e.g., `google`, `facebook`, `slack`. It is set by Dialogflow-owned servers.
string source = 1;String getVersion()
Optional. The version of the protocol used for this request. This field is AoG-specific.
string version = 2;com.google.protobuf.ByteString getVersionBytes()
Optional. The version of the protocol used for this request. This field is AoG-specific.
string version = 2;boolean hasPayload()
Optional. This field is set to the value of `QueryParameters.payload` field
passed in the request.
This field is used for the telephony gateway. It should have a
structure similar to this JSON message:
<pre>{
"telephony": {
"caller_id": "+18558363987"
}
}</pre>
Note: The caller ID field (`caller_id`) will be in
[E.164 format](https://en.wikipedia.org/wiki/E.164) and is only supported
for Enterprise Edition and not for Standard Edition agents. When the
telephony gateway is used with a standard tier agent the `caller_id` field
above will have a value of `REDACTED_IN_STANDARD_TIER_AGENT`.
.google.protobuf.Struct payload = 3;com.google.protobuf.Struct getPayload()
Optional. This field is set to the value of `QueryParameters.payload` field
passed in the request.
This field is used for the telephony gateway. It should have a
structure similar to this JSON message:
<pre>{
"telephony": {
"caller_id": "+18558363987"
}
}</pre>
Note: The caller ID field (`caller_id`) will be in
[E.164 format](https://en.wikipedia.org/wiki/E.164) and is only supported
for Enterprise Edition and not for Standard Edition agents. When the
telephony gateway is used with a standard tier agent the `caller_id` field
above will have a value of `REDACTED_IN_STANDARD_TIER_AGENT`.
.google.protobuf.Struct payload = 3;com.google.protobuf.StructOrBuilder getPayloadOrBuilder()
Optional. This field is set to the value of `QueryParameters.payload` field
passed in the request.
This field is used for the telephony gateway. It should have a
structure similar to this JSON message:
<pre>{
"telephony": {
"caller_id": "+18558363987"
}
}</pre>
Note: The caller ID field (`caller_id`) will be in
[E.164 format](https://en.wikipedia.org/wiki/E.164) and is only supported
for Enterprise Edition and not for Standard Edition agents. When the
telephony gateway is used with a standard tier agent the `caller_id` field
above will have a value of `REDACTED_IN_STANDARD_TIER_AGENT`.
.google.protobuf.Struct payload = 3;Copyright © 2019 Google LLC. All rights reserved.