clientv3/watch.go
func (pr *progressRequest) toPB() *pb.WatchRequest {
	req := &pb.WatchProgressRequest{}
	cr := &pb.WatchRequest_ProgressRequest{ProgressRequest: req}
	return &pb.WatchRequest{RequestUnion: cr}
}
func (pr *progressRequest) toPB() *pb.WatchRequest {
	req := &pb.WatchProgressRequest{}
	cr := &pb.WatchRequest_ProgressRequest{ProgressRequest: req}
	return &pb.WatchRequest{RequestUnion: cr}
}
func ( pr * progressRequest ) toPB ( ) * pb . WatchRequest { req := & pb . WatchProgressRequest { } cr := & pb . WatchRequest_ProgressRequest { ProgressRequest : req } return & pb . WatchRequest { RequestUnion : cr } }
// toPB converts an internal progress request structure to its protobuf WatchRequest structure.
toPB converts an internal progress request structure to its protobuf WatchRequest structure .