weight property

  1. @TagNumber.new(2)
int get weight

Optional. Specifies the proportion of requests forwareded to the backend referenced by the service_name field. This is computed as: weight/Sum(weights in destinations) Weights in all destinations does not need to sum up to 100.

Implementation

@$pb.TagNumber(2)
$core.int get weight => $_getIZ(1);
  1. @TagNumber.new(2)
set weight (int v)

Implementation

@$pb.TagNumber(2)
set weight($core.int v) {
  $_setSignedInt32(1, v);
}