public interface OriginalDetectIntentRequestOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Struct |
getPayload()
Optional.
|
StructOrBuilder |
getPayloadOrBuilder()
Optional.
|
String |
getSource()
The source of this request, e.g., `google`, `facebook`, `slack`.
|
ByteString |
getSourceBytes()
The source of this request, e.g., `google`, `facebook`, `slack`.
|
String |
getVersion()
Optional.
|
ByteString |
getVersionBytes()
Optional.
|
boolean |
hasPayload()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getSource()
The source of this request, e.g., `google`, `facebook`, `slack`. It is set by Dialogflow-owned servers.
string source = 1;
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;
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 the `QueryParameters.payload` field passed in the request. Some integrations that query a Dialogflow agent may provide additional information in the payload. In particular, for the Dialogflow Phone Gateway integration, this field has the form: <pre>{ "telephony": { "caller_id": "+18558363987" } }</pre> Note: The caller ID field (`caller_id`) will be redacted for Trial Edition agents and populated with the caller ID in [E.164 format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition agents.
.google.protobuf.Struct payload = 3;
Struct getPayload()
Optional. This field is set to the value of the `QueryParameters.payload` field passed in the request. Some integrations that query a Dialogflow agent may provide additional information in the payload. In particular, for the Dialogflow Phone Gateway integration, this field has the form: <pre>{ "telephony": { "caller_id": "+18558363987" } }</pre> Note: The caller ID field (`caller_id`) will be redacted for Trial Edition agents and populated with the caller ID in [E.164 format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition agents.
.google.protobuf.Struct payload = 3;
StructOrBuilder getPayloadOrBuilder()
Optional. This field is set to the value of the `QueryParameters.payload` field passed in the request. Some integrations that query a Dialogflow agent may provide additional information in the payload. In particular, for the Dialogflow Phone Gateway integration, this field has the form: <pre>{ "telephony": { "caller_id": "+18558363987" } }</pre> Note: The caller ID field (`caller_id`) will be redacted for Trial Edition agents and populated with the caller ID in [E.164 format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition agents.
.google.protobuf.Struct payload = 3;
Copyright © 2022 Google LLC. All rights reserved.