Interface OriginalDetectIntentRequestOrBuilder (4.5.11)

public interface OriginalDetectIntentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPayload()

public abstract 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 for Essentials Edition agents.

.google.protobuf.Struct payload = 3;

Returns
TypeDescription
Struct

The payload.

getPayloadOrBuilder()

public abstract 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 for Essentials Edition agents.

.google.protobuf.Struct payload = 3;

Returns
TypeDescription
StructOrBuilder

getSource()

public abstract String getSource()

The source of this request, e.g., google, facebook, slack. It is set by Dialogflow-owned servers.

string source = 1;

Returns
TypeDescription
String

The source.

getSourceBytes()

public abstract ByteString getSourceBytes()

The source of this request, e.g., google, facebook, slack. It is set by Dialogflow-owned servers.

string source = 1;

Returns
TypeDescription
ByteString

The bytes for source.

getVersion()

public abstract String getVersion()

Optional. The version of the protocol used for this request. This field is AoG-specific.

string version = 2;

Returns
TypeDescription
String

The version.

getVersionBytes()

public abstract ByteString getVersionBytes()

Optional. The version of the protocol used for this request. This field is AoG-specific.

string version = 2;

Returns
TypeDescription
ByteString

The bytes for version.

hasPayload()

public abstract 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 for Essentials Edition agents.

.google.protobuf.Struct payload = 3;

Returns
TypeDescription
boolean

Whether the payload field is set.