chore: implement comments from #16316 (#16616)

This commit is contained in:
Julien Robert
2023-06-22 10:07:00 +00:00
committed by GitHub
parent 99a570a7aa
commit 7149bcf7ea
4 changed files with 12 additions and 536 deletions
+2 -2
View File
@@ -4678,8 +4678,8 @@ type PositionalArgDescriptor struct {
// applied to last positional parameter and the proto_field must a repeated
// field. Note: It is mutually exclusive with optional.
Varargs bool `protobuf:"varint,2,opt,name=varargs,proto3" json:"varargs,omitempty"`
// optional makes a positional parameter optional. This can only be applied
// to the last positional parameter. Note: It is mutually exclusive with varargs.
// optional makes the last positional parameter optional.
// Note: It is mutually exclusive with varargs.
Optional bool `protobuf:"varint,3,opt,name=optional,proto3" json:"optional,omitempty"`
}