timeout property

  1. @TagNumber(2)
Duration get timeout

The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.

Implementation

@$pb.TagNumber(2)
$4.Duration get timeout => $_getN(1);
  1. @TagNumber(2)
set timeout (Duration v)

Implementation

@$pb.TagNumber(2)
set timeout($4.Duration v) {
  setField(2, v);
}