/// <summary>Snippet for StreamingReadFeatureValues</summary> public async Task StreamingReadFeatureValuesRequestObject() { // Snippet: StreamingReadFeatureValues(StreamingReadFeatureValuesRequest, CallSettings) // Create client FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient = FeaturestoreOnlineServingServiceClient.Create(); // Initialize request argument(s) StreamingReadFeatureValuesRequest request = new StreamingReadFeatureValuesRequest { EntityTypeAsEntityTypeName = EntityTypeName.FromProjectLocationFeaturestoreEntityType("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"), EntityIds = { "", }, FeatureSelector = new FeatureSelector(), }; // Make the request, returning a streaming response FeaturestoreOnlineServingServiceClient.StreamingReadFeatureValuesStream response = featurestoreOnlineServingServiceClient.StreamingReadFeatureValues(request); // Read streaming responses from server until complete // Note that C# 8 code can use await foreach AsyncResponseStream <ReadFeatureValuesResponse> responseStream = response.GetResponseStream(); while (await responseStream.MoveNextAsync()) { ReadFeatureValuesResponse responseItem = responseStream.Current; // Do something with streamed response } // The response stream has completed // End snippet }
partial void Modify_StreamingReadFeatureValuesRequest(ref StreamingReadFeatureValuesRequest request, ref gaxgrpc::CallSettings settings);
/// <summary> /// Reads Feature values for multiple entities. Depending on their size, data /// for different entities may be broken /// up across multiple responses. /// </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 server stream.</returns> public virtual StreamingReadFeatureValuesStream StreamingReadFeatureValues(StreamingReadFeatureValuesRequest request, gaxgrpc::CallSettings callSettings = null) => throw new sys::NotImplementedException();