Interface MatchIntentRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MatchIntentRequest
,MatchIntentRequest.Builder
public interface MatchIntentRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getPersistParameterChanges()
Persist session parameter changes from `query_params`.QueryInput
getQueryInput()
Required.QueryInputOrBuilder
getQueryInputOrBuilder()
Required.QueryParameters
getQueryParams()
The parameters of this query.QueryParametersOrBuilder
getQueryParamsOrBuilder()
The parameters of this query.String
getSession()
Required.com.google.protobuf.ByteString
getSessionBytes()
Required.boolean
hasQueryInput()
Required.boolean
hasQueryParams()
The parameters of this query.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSession
String getSession()
Required. The name of the session this query is sent to. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID>` or `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The session.
-
getSessionBytes
com.google.protobuf.ByteString getSessionBytes()
Required. The name of the session this query is sent to. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID>` or `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for session.
-
hasQueryParams
boolean hasQueryParams()
The parameters of this query.
.google.cloud.dialogflow.cx.v3.QueryParameters query_params = 2;
- Returns:
- Whether the queryParams field is set.
-
getQueryParams
QueryParameters getQueryParams()
The parameters of this query.
.google.cloud.dialogflow.cx.v3.QueryParameters query_params = 2;
- Returns:
- The queryParams.
-
getQueryParamsOrBuilder
QueryParametersOrBuilder getQueryParamsOrBuilder()
The parameters of this query.
.google.cloud.dialogflow.cx.v3.QueryParameters query_params = 2;
-
hasQueryInput
boolean hasQueryInput()
Required. The input specification.
.google.cloud.dialogflow.cx.v3.QueryInput query_input = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the queryInput field is set.
-
getQueryInput
QueryInput getQueryInput()
Required. The input specification.
.google.cloud.dialogflow.cx.v3.QueryInput query_input = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The queryInput.
-
getQueryInputOrBuilder
QueryInputOrBuilder getQueryInputOrBuilder()
Required. The input specification.
.google.cloud.dialogflow.cx.v3.QueryInput query_input = 3 [(.google.api.field_behavior) = REQUIRED];
-
getPersistParameterChanges
boolean getPersistParameterChanges()
Persist session parameter changes from `query_params`.
bool persist_parameter_changes = 5;
- Returns:
- The persistParameterChanges.
-
-