Exemplo n.º 1
0
 // Partial methods called on each request.
 // Allows per-RPC-call modification to the request and CallSettings objects,
 // before the underlying RPC is performed.
 partial void Modify_DetectIntentRequest(ref DetectIntentRequest request, ref gaxgrpc::CallSettings settings);
Exemplo n.º 2
0
 /// <summary>
 /// Processes a natural language query and returns structured, actionable data
 /// as a result. This method is not idempotent, because it may cause contexts
 /// and session entity types to be updated, which in turn might affect
 /// results of future queries.
 /// </summary>
 /// <param name="request">
 /// The request object containing all of the parameters for the API call.
 /// </param>
 /// <param name="callSettings">
 /// If not null, applies overrides to this RPC call.
 /// </param>
 /// <returns>
 /// The RPC response.
 /// </returns>
 public virtual DetectIntentResponse DetectIntent(
     DetectIntentRequest request,
     gaxgrpc::CallSettings callSettings = null)
 {
     throw new sys::NotImplementedException();
 }
Exemplo n.º 3
0
 /// <summary>
 /// Processes a natural language query and returns structured, actionable data
 /// as a result. This method is not idempotent, because it may cause contexts
 /// and session entity types to be updated, which in turn might affect
 /// results of future queries.
 /// </summary>
 /// <param name="request">
 /// The request object containing all of the parameters for the API call.
 /// </param>
 /// <param name="cancellationToken">
 /// A <see cref="st::CancellationToken"/> to use for this RPC.
 /// </param>
 /// <returns>
 /// A Task containing the RPC response.
 /// </returns>
 public virtual stt::Task <DetectIntentResponse> DetectIntentAsync(
     DetectIntentRequest request,
     st::CancellationToken cancellationToken) => DetectIntentAsync(
     request,
     gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
Exemplo n.º 4
0
 /// <summary>
 /// Processes a natural language query and returns structured, actionable data
 /// as a result. This method is not idempotent, because it may cause contexts
 /// and session entity types to be updated, which in turn might affect
 /// results of future queries.
 /// </summary>
 /// <param name="request">
 /// The request object containing all of the parameters for the API call.
 /// </param>
 /// <param name="callSettings">
 /// If not null, applies overrides to this RPC call.
 /// </param>
 /// <returns>
 /// A Task containing the RPC response.
 /// </returns>
 public virtual stt::Task <DetectIntentResponse> DetectIntentAsync(
     DetectIntentRequest request,
     gaxgrpc::CallSettings callSettings = null)
 {
     throw new sys::NotImplementedException();
 }
Exemplo n.º 5
0
 /// <summary>
 /// Processes a natural language query and returns structured, actionable data
 /// as a result. This method is not idempotent, because it may cause contexts
 /// and session entity types to be updated, which in turn might affect
 /// results of future queries.
 ///
 /// Note: Always use agent versions for production traffic.
 /// See [Versions and
 /// environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task <DetectIntentResponse> DetectIntentAsync(DetectIntentRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_DetectIntentRequest(ref request, ref callSettings);
     return(_callDetectIntent.Async(request, callSettings));
 }
Exemplo n.º 6
0
 /// <summary>
 /// Processes a natural language query and returns structured, actionable data
 /// as a result. This method is not idempotent, because it may cause contexts
 /// and session entity types to be updated, which in turn might affect
 /// results of future queries.
 ///
 /// Note: Always use agent versions for production traffic.
 /// See [Versions and
 /// environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>The RPC response.</returns>
 public override DetectIntentResponse DetectIntent(DetectIntentRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_DetectIntentRequest(ref request, ref callSettings);
     return(_callDetectIntent.Sync(request, callSettings));
 }