From cf2eafda7a5985c6a930373f1460af27763e11f2 Mon Sep 17 00:00:00 2001 From: Matthew Stevenson <52979934+matthewstevenson88@users.noreply.github.com> Date: Mon, 11 Dec 2023 19:32:40 -0800 Subject: [PATCH] Add network_latency_ms field to ALTS's NextHandshakeMessageReq. (#138) * Add network_latency_ms field to ALTS's NextHandshakeMessageReq. * Remove optional label. --- grpc/gcp/handshaker.proto | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/grpc/gcp/handshaker.proto b/grpc/gcp/handshaker.proto index 02764ba4..b1dcd314 100644 --- a/grpc/gcp/handshaker.proto +++ b/grpc/gcp/handshaker.proto @@ -156,6 +156,11 @@ message NextHandshakeMessageReq { // that the peer's out_frames are split into multiple NextHandshakerMessageReq // messages. bytes in_bytes = 1; + + // Number of milliseconds between when the application send the last handshake + // message to the peer and when the application received the current handshake + // message (in the in_bytes field) from the peer. + uint32 network_latency_ms = 2; } message HandshakerReq {