Пример #1
0
 /// <summary>
 /// Performs bidirectional streaming speech recognition: receive results while
 /// sending audio. This method is only available via the gRPC API (not REST).
 /// </summary>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <param name="streamingSettings">If not null, applies streaming overrides to this RPC call.</param>
 /// <returns>The client-server stream.</returns>
 public virtual StreamingRecognizeStream StreamingRecognize(gaxgrpc::CallSettings callSettings = null, gaxgrpc::BidirectionalStreamingSettings streamingSettings = null) =>
 throw new sys::NotImplementedException();
Пример #2
0
 /// <summary>
 /// Processes a natural language query in audio format in a streaming fashion
 /// and returns structured, actionable data as a result. This method is only
 /// available via the gRPC API (not REST).
 /// </summary>
 /// <param name="callSettings">
 /// If not null, applies overrides to this RPC call.
 /// </param>
 /// <param name="streamingSettings">
 /// If not null, applies streaming overrides to this RPC call.
 /// </param>
 /// <returns>
 /// The client-server stream.
 /// </returns>
 public virtual StreamingDetectIntentStream StreamingDetectIntent(
     gaxgrpc::CallSettings callSettings = null,
     gaxgrpc::BidirectionalStreamingSettings streamingSettings = null)
 {
     throw new sys::NotImplementedException();
 }
Пример #3
0
        /// <summary>
        /// Processes a natural language query in audio format in a streaming fashion
        /// and returns structured, actionable data as a result. This method is only
        /// available via the gRPC API (not REST).
        /// </summary>
        /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
        /// <param name="streamingSettings">If not null, applies streaming overrides to this RPC call.</param>
        /// <returns>The client-server stream.</returns>
        public override SessionsClient.StreamingDetectIntentStream StreamingDetectIntent(gaxgrpc::CallSettings callSettings = null, gaxgrpc::BidirectionalStreamingSettings streamingSettings = null)
        {
            Modify_StreamingDetectIntentRequestCallSettings(ref callSettings);
            gaxgrpc::BidirectionalStreamingSettings effectiveStreamingSettings = streamingSettings ?? _callStreamingDetectIntent.StreamingSettings;
            grpccore::AsyncDuplexStreamingCall <StreamingDetectIntentRequest, StreamingDetectIntentResponse> call = _callStreamingDetectIntent.Call(callSettings);
            gaxgrpc::BufferedClientStreamWriter <StreamingDetectIntentRequest> writeBuffer = new gaxgrpc::BufferedClientStreamWriter <StreamingDetectIntentRequest>(call.RequestStream, effectiveStreamingSettings.BufferedClientWriterCapacity);

            return(new StreamingDetectIntentStreamImpl(this, call, writeBuffer));
        }
Пример #4
0
 /// <summary>
 /// Performs bidirectional streaming speech translation: receive results while
 /// sending audio. This method is only available via the gRPC API (not REST).
 /// </summary>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <param name="streamingSettings">If not null, applies streaming overrides to this RPC call.</param>
 /// <returns>The client-server stream.</returns>
 public virtual StreamingTranslateSpeechStream StreamingTranslateSpeech(gaxgrpc::CallSettings callSettings = null, gaxgrpc::BidirectionalStreamingSettings streamingSettings = null) =>
 throw new sys::NotImplementedException();
Пример #5
0
        /// <summary>
        /// Egress streams egress requests and responses. Logically, this is not
        /// actually a streaming request, but uses streaming as a mechanism to flip
        /// the client-server relationship of gRPC so that the server can act as a
        /// client.
        /// The listener, the RPC server, accepts connections from the dialer,
        /// the RPC client.
        /// The listener streams http requests and the dialer streams http responses.
        /// </summary>
        /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
        /// <param name="streamingSettings">If not null, applies streaming overrides to this RPC call.</param>
        /// <returns>The client-server stream.</returns>
        public override TetherClient.EgressStream Egress(gaxgrpc::CallSettings callSettings = null, gaxgrpc::BidirectionalStreamingSettings streamingSettings = null)
        {
            Modify_EgressResponseCallSettings(ref callSettings);
            gaxgrpc::BidirectionalStreamingSettings effectiveStreamingSettings      = streamingSettings ?? _callEgress.StreamingSettings;
            grpccore::AsyncDuplexStreamingCall <EgressResponse, EgressRequest> call = _callEgress.Call(callSettings);
            gaxgrpc::BufferedClientStreamWriter <EgressResponse> writeBuffer        = new gaxgrpc::BufferedClientStreamWriter <EgressResponse>(call.RequestStream, effectiveStreamingSettings.BufferedClientWriterCapacity);

            return(new EgressStreamImpl(this, call, writeBuffer));
        }
 /// <summary>
 /// </summary>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <param name="streamingSettings">If not null, applies streaming overrides to this RPC call.</param>
 /// <returns>The client-server stream.</returns>
 public virtual MethodBidiStream MethodBidi(gaxgrpc::CallSettings callSettings = null, gaxgrpc::BidirectionalStreamingSettings streamingSettings = null) =>
 throw new sys::NotImplementedException();