selector property

  1. @TagNumber.new(1)
String get selector

Selects one or more request or response message fields to apply this FieldPolicy.

When a FieldPolicy is used in proto annotation, the selector must be left as empty. The service config generator will automatically fill the correct value.

When a FieldPolicy is used in service config, the selector must be a comma-separated string with valid request or response field paths, such as "foo.bar" or "foo.bar,foo.baz".

Implementation

@$pb.TagNumber(1)
$core.String get selector => $_getSZ(0);
  1. @TagNumber.new(1)
set selector (String value)

Implementation

@$pb.TagNumber(1)
set selector($core.String value) => $_setString(0, value);