Package com.google.cloud.dialogflow.v2
Interface OriginalDetectIntentRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OriginalDetectIntentRequest,OriginalDetectIntentRequest.Builder
public interface OriginalDetectIntentRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.StructgetPayload()Optional.com.google.protobuf.StructOrBuildergetPayloadOrBuilder()Optional.StringgetSource()The source of this request, e.g., `google`, `facebook`, `slack`.com.google.protobuf.ByteStringgetSourceBytes()The source of this request, e.g., `google`, `facebook`, `slack`.StringgetVersion()Optional.com.google.protobuf.ByteStringgetVersionBytes()Optional.booleanhasPayload()Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSource
String getSource()
The source of this request, e.g., `google`, `facebook`, `slack`. It is set by Dialogflow-owned servers.
string source = 1;- Returns:
- The source.
-
getSourceBytes
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;- Returns:
- The bytes for source.
-
getVersion
String getVersion()
Optional. The version of the protocol used for this request. This field is AoG-specific.
string version = 2;- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()
Optional. The version of the protocol used for this request. This field is AoG-specific.
string version = 2;- Returns:
- The bytes for version.
-
hasPayload
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;- Returns:
- Whether the payload field is set.
-
getPayload
com.google.protobuf.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;- Returns:
- The payload.
-
getPayloadOrBuilder
com.google.protobuf.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;
-
-